Duplicate Push Notifications
See original GitHub issueSummary
Some users are reporting getting 20+ notifications of the same thing when ive only sent one request. Seems to have happened today for the first time with no code changes for 3 months and 150 DAU.
Managed or bare workflow? If you have ios/
or android/
directories in your project, the answer is bare!
bare
What platform(s) does this occur on?
Android
SDK Version (managed workflow only)
No response
Environment
expo-env-info 1.0.3 environment info: System: OS: macOS 12.3 Shell: 3.0.0 - /usr/local/bin/fish Binaries: Node: 14.19.0 - ~/.nvm/versions/node/v14.19.0/bin/node npm: 6.14.16 - ~/.nvm/versions/node/v14.19.0/bin/npm Watchman: 2022.03.21.00 - /usr/local/bin/watchman Managers: CocoaPods: 1.11.2 - /Users/renato/.rbenv/shims/pod SDKs: iOS SDK: Platforms: DriverKit 21.4, iOS 15.4, macOS 12.3, tvOS 15.4, watchOS 8.5 IDEs: Android Studio: 3.6 AI-192.7142.36.36.6392135 Xcode: 13.3/13E113 - /usr/bin/xcodebuild npmPackages: babel-preset-expo: 9.0.2 => 9.0.2 expo: ^44.0.6 => 44.0.6 react: ^17.0.2 => 17.0.2 react-dom: ^17.0.2 => 17.0.2 react-native: ^0.67.4 => 0.67.4 Expo Workflow: bare
Reproducible demo
seems to not be related to local code.
Issue Analytics
- State:
- Created a year ago
- Reactions:4
- Comments:9
Same issue here, different expo notification tokens are created for a same Android device, resulting in multiple duplicate notifications. Not sure if this is caused by updating expo SDK
I’m facing the same experience here, all of the notifications are double.
I went through the different expo SDK versions, expo 42 and expo 45. turn out it has a different expo notification token. maybe that is a cause.
btw, the only difference from my project was that expo42 uses classic build and expo45 uses eas build.