Please provide the following:
- SDK Version: 40.0.1
- Platforms(Android/iOS/web/all): Android/iOS
I am trying to understand the usage of the addPushTokenListener
listener (Notifications - Expo Documentation) …
It says that I will get a new token, but what I see is a token that looks different than the one I would get from the getExpoPushTokenAsync
method … The latter returns a format like ExponentPushToken[abc]
but addPushTokenListener
returns an object where the data property is a longer random string…
I am using Expo’s push notifications service at https://exp.host/--/api/v2/push/send
Could someone explain what this means?
Thanks in advance