evollu / evollu/react-native-fcm

getFCMToken is returning undefined

Open
#562 14 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 have a curious problem

I can configure the iOS push notifications correctly. But after a few days the users start to say they can't get the notifications. I think the issue are with the certificates so I change either the develop and the production certificates but no luck.
Then I try to generate an APN auth key but the result was the same.

All I can get in the log is this (I use the push controller of the example):

'TOKEN (getFCMToken)', undefined
'APNS TOKEN (getFCMToken)', ''

I think maybe need to wait to ask to Firebase for the token so I put a delay of a minute to request for the token but nothing changes.

My RN version is 0.48.1 and react-native-fcm: 9.1.0 ?
The problem is only on iOS on Android the notifications seems to work fine

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.