To give more clarity on the issue, i am developing this for IOS using expo notifications and expo sdk44 in my current project.
I have a couple of questions which i failed to find the answer to in their official documentation.
Is it possible to display images in a local notification while using expo's expo-notification library?
Is it possible to send "data-only" messages to Apple devices using expo push notification service?
Thanks in advance
expo-notifications has limited features and not currently support a custom image in the notification.
In case you need a native-like notification experience, you should opt for https://notifee.app/.
Related
I have an issue with push notification in iOS devices using Firebase Cloud Messaging although it worked before. When I check apple dev account,I realized that some information has expired (like keys, profiles), I updated all of its and GoogleService-Info.plist but it still not work. Has anyone face with this issue? Please give me a solution. Thanks
link issue
Follow all the setup related to
Firebase App Integration from here
Firebase Cloud Messaging from here
For iOS, you need to set up Capabilities(Push Notifications & Background Modes)
You have setup all the things related iOS from here
Let me know still you have any queries. I hope it will help you!
I have a React Native app (testing on iOS) and am trying to incorporate Push notifications. I am using the following module:https://www.npmjs.com/package/react-native-firebase-push-notifications.
I tried running example app code and am able to obtain
a (1) message token and (2) successfully obtain permissions from my device.
I am trying to send a test notification from Firebase and am using my device's token. However, nothing happens upon triggering a test notification. Any tips? I believe I followed the key upload instructions correctly (https://firebase.google.com/docs/cloud-messaging/ios/certs)
I hope you have uploaded pem/p8 file on firebase console at "Cloud Messaging" in Project settings. Check this image
I figured it out! Although I thought I had done this in the past, I did not have Remote notification enabled in background modes, nor did I have Push notifications checked in the Signing & Capabilities section of project setting on Xcode. Thank you!
Is that possible to use Interactive Push Notifications in ExpoKit? Or this feature is only available in pure Expo now?
Currently you will not be able to use Expo’s Interactive push notifications outside of a managed Expo project. There are some other alternatives can be used such as wix/react-native-ntifications.
So what are your experiences with sending remote notifications to RN app from FCM?
I did some research today, tried bunch of tutorials, but most of them didn't work.
So I wanna hear your opinion, which library are you using for this and what guide did you follow?
react-native-push-notification
react-native-fcm
react-native-firebase
react-native-onesignal
I did the connection a few days ago. It is not difficult but it requires a lot of configuration as notification is a native feature. I recommend you the following library that can help you:
React Native FCM
Also take in count the following things:
For ios you need get some certificates from apple.
This guide help with the setup and android part.
Remote notification can't reach iOS emulator since it can't fetch APNS token. Use real device.
I used to react-native-fcm, but now I use react-native-firebase, it is simple to use, just follow the documentation https://rnfirebase.io/docs/v5.x.x/getting-started
just follow the installation tab guide, cloud messaging tab guide, and notification tab, also you can find js code there. for IOS part, you need some extra work to add some certificate to your developer id and add some certificate to your firebase app.
I am looking for a solution or a guideline for one that will enable me to register to one of the big services that enable push notification.
I know that it will be easier in IOS http://www.adobe.com/devnet/air/articles/ios-push-notifications.html
I have problem with it android even though I successfully send a push notification to android. but without registration like explained Heading here.
http://afterisk.wordpress.com/2012/09/22/the-only-free-and-fully-functional-android-gcm-native-extension-for-adobe-air/
Could someone direct me to a solution
Thanks