[🐛] getAPNSToken always returns null except right after registration #6464
Labels
help: needs-triage
Issue needs additional investigation/triaging.
type: bug
New bug report
Type: Stale
Issue has become stale - automatically added by Stale bot
Issue
Hi, I encounter exactly the same issue from here
evollu/react-native-fcm#510
When running this code on a real device
the
iosToken
isnull
except the first time it registers for remote messagesProject Files
Javascript
Click To Expand
package.json
:# N/A
firebase.json
for react-native-firebase v6:# N/A
iOS
Click To Expand
ios/Podfile
:# N/A
AppDelegate.m
:// N/A
Android
Click To Expand
Have you converted to AndroidX?
android/gradle.settings
jetifier=true
for Android compatibility?jetifier
for react-native compatibility?android/build.gradle
:// N/A
android/app/build.gradle
:// N/A
android/settings.gradle
:// N/A
MainApplication.java
:// N/A
AndroidManifest.xml
:<!-- N/A -->
Environment
Click To Expand
react-native info
output:react-native-firebase
version you're using that has this issue:e.g. 5.4.3
Firebase
module(s) you're using that has the issue:e.g. Instance ID
TypeScript
?Y/N
&VERSION
React Native Firebase
andInvertase
on Twitter for updates on the library.The text was updated successfully, but these errors were encountered: