-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Closed
Labels
blocked: firebase-supportPending feedback or review from google support or response on official sdk repo issue.Pending feedback or review from google support or response on official sdk repo issue.platform: iosplugin: messagingFCM only - ( messaging() ) - do not use for NotificationsFCM only - ( messaging() ) - do not use for Notificationstype: bugNew bug reportNew bug report
Description
Prior to the Firebase Messaging version before Installations, the FCM token would delete and refresh on iOS. Since installations, deleteToken has no effect. Same in FlutterFire.
Issue
From debugging, after calling [FIRInstallations installations] deleteWithCompletion once, deleteToken will start to refresh the token
[[FIRInstallations installations] deleteWithCompletion:^(NSError * _Nullable error) {
if (error) {
[RNFBSharedUtils rejectPromiseWithNSError:reject error:error];
} else {
resolve([NSNull null]);
}
}];
Project Files
Javascript
Click To Expand
package.json:
# N/Afirebase.json for react-native-firebase v6:
# N/AiOS
Click To Expand
ios/Podfile:
- I'm not using Pods
- I'm using Pods and my Podfile looks like:
# N/AAppDelegate.m:
// N/AAndroid
Click To Expand
Have you converted to AndroidX?
- my application is an AndroidX application?
- I am using
android/gradle.settingsjetifier=truefor Android compatibility? - I am using the NPM package
jetifierfor react-native compatibility?
android/build.gradle:
// N/Aandroid/app/build.gradle:
// N/Aandroid/settings.gradle:
// N/AMainApplication.java:
// N/AAndroidManifest.xml:
<!-- N/A -->Environment
Click To Expand
react-native info output:
OUTPUT GOES HERE
- Platform that you're experiencing the issue on:
- iOS
- Android
- iOS but have not tested behavior on Android
- Android but have not tested behavior on iOS
- Both
react-native-firebaseversion you're using that has this issue:e.g. 5.4.3
Firebasemodule(s) you're using that has the issue:e.g. Instance ID
- Are you using
TypeScript?Y/N&VERSION
- 👉 Check out
React Native FirebaseandInvertaseon Twitter for updates on the library.
henriquedamota, Brunohes and kirstywilliams
Metadata
Metadata
Assignees
Labels
blocked: firebase-supportPending feedback or review from google support or response on official sdk repo issue.Pending feedback or review from google support or response on official sdk repo issue.platform: iosplugin: messagingFCM only - ( messaging() ) - do not use for NotificationsFCM only - ( messaging() ) - do not use for Notificationstype: bugNew bug reportNew bug report