This is a question related to expo

Asked 1 years ago, Updated 1 years ago, 92 views

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

2022-09-20 21:40

1 Answers

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


2022-09-20 21:40

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.