I am trying to make an Android app using expo. https://docs.expo.io/versions/latest/sdk/notifications/I copied this example and used it.
If you use the expo app to print the barcode, you will receive a push notification without any problem If you build and install with apk, there will be no response even if you press the button.
I don't know if I have to set it up separately.
In fact, I don't think the concept of expo and fcm itself was captured.
react-native
Did you test on this page as well? I don't know what code you copied and used, but I think it happened during the token authentication process. Each device connected through the Expo client is given a unique token value. With this ExponentPushToken
, notifications can be delivered directly through the Expo push server.
The diagram below is the push notification lifecycle. If you look at this diagram and read original , it will help you understand the concept of push notification that is more outside than Expo and FCM :)
Source: React Native Push Notifications
884 When building Fast API+Uvicorn environment with PyInstaller, console=False results in an error
577 PHP ssh2_scp_send fails to send files as intended
567 Who developed the "avformat-59.dll" that comes with FFmpeg?
596 GDB gets version error when attempting to debug with the Presense SDK (IDE)
603 Uncaught (inpromise) Error on Electron: An object could not be cloned
© 2024 OneMinuteCode. All rights reserved.