evollu / evollu/react-native-fcm

Switching between APNs environments (dev/prod)

Open
#564 3 comments 0 reactions 0 assignees View on GitHub
question
Dominant language
Java
Stars
1.7k
Forks
661
PR merge metrics
No merged PRs in 30d

Description

I'm not sure if this is related to this library (which is awesome btw) or directly to FCM, but I have run into some problems receiving iOS notifications when using different versions of my app on one device. For example, currently my iPhone receives notifications only when my app is installed with TestFlight, but not when I run the development build from XCode. When I released my app in AppStore and installed it to the same device, it doesn't receive notifications either, which is strange since it should be the exactly same binary that is in TestFlight.

I think I received notifications in the iOS XCode dev build as long as I hadn't installed it via TestFlight, but after the first TestFlight installation remote notifications stopped working in dev mode.

Has this something to do with the way FCM handles APNs tokens? I'm using a single APNs Authentication Key in Firebase console. Is there any way to force refresh/reset the FCM token?

I'm using react-native-fcm 8.0.0 with react-native 0.47.2

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.