-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Duplicate push notificaion iOS on TestFlight #7969
Comments
This issue only occurs on TestFlight. Is there any way to test this locally? |
I'm not sure. Based on the sample code I shared, is there anything wrong? I'm trying to figure out if I've made a mistake in the implementation. |
Nothing jumps out at me I'm afraid. Worth removing things until it is fixed to help locate issue. I notice you're using Notifee as well, that might be the first thing to check out if you're sending notification via messaging + notifee. |
I added Notifee after reading somewhere that it might help fix the issue, but it didn't. With or without it, I was getting duplicate push notifications. |
Hello 👋, to help manage issues we automatically close stale issues. This issue has been automatically marked as stale because it has not had activity for quite some time.Has this issue been fixed, or does it still require attention?
Thank you for your contributions. |
Issue
Describe your issue here
I recently migrated from
@react-native-community/push-notification-ios
andreact-native-push-notification
to@react-native-firebase/messaging
. Things are working fine on Android, but on iOS, I'm receiving duplicate push notifications. I'm using PubNub to send push notifications. This issue occurs only on TestFlight builds.Project Files
Javascript
Click To Expand
package.json
:firebase.json
for react-native-firebase v6: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
Reproducible code
Token generation
index.js
Notification interaction
Pubnub push code
React Native Firebase
andInvertase
on Twitter for updates on the library.The text was updated successfully, but these errors were encountered: