You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The messaging.onMessage callback fires when re-opening an app on Android.
For example with this code, open an app, then background the app (don't close it):
// This gets called once on app mount.firebaseApp.messaging().onMessage(notification=>{// onMessage handler stuff, gets fired whenever the app is backgrounded and then re-opened.});
Bring the app back up, and the callback for "onMessage" is fired.
Environment
Environment:
OS: macOS Sierra 10.12.6
Node: 6.10.3
Yarn: 1.3.2
npm: 3.10.10
Watchman: Not Found
Xcode: Xcode 9.2 Build version 9C40b
Android Studio: Not Found
Uh oh!
There was an error while loading. Please reload this page.
Issue
The messaging.onMessage callback fires when re-opening an app on Android.
For example with this code, open an app, then background the app (don't close it):
Bring the app back up, and the callback for "onMessage" is fired.
Environment
Environment:
OS: macOS Sierra 10.12.6
Node: 6.10.3
Yarn: 1.3.2
npm: 3.10.10
Watchman: Not Found
Xcode: Xcode 9.2 Build version 9C40b
Android Studio: Not Found
Packages: (wanted => installed)
react: 16.2.0 => 16.2.0
react-native: 0.52.2 => 0.52.2
react-native-firebase: 3.2.5 => 3.2.5
The text was updated successfully, but these errors were encountered: