Please provide the following:
- SDK Version: 40
- Platforms(Android/iOS/web/all): Android
The push notification is only working in development mode in development device it’s not working in development mode in other device… (fcm setted) after I build using bundleRelease (eject) and published to playstore. it’s not working could I set as production in google console or expo console ? where ? I’m testing with insomnia (exp.host/–/api/v2/push/send) and it’s ok in development, but not in other devices and production , why working in one device and not in others device in test ? I see the exponent push generated after install as well
I recently tried:
// Notifications.setNotificationHandler(null); //tried as well
Notifications.setNotificationHandler({
handleNotification: async () => {
return {
shouldShowAlert: true,
shouldPlaySound: true,
shouldSetBadge: false,
};
},
});