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
tried with "react-native": "^0.29.0", also.
have made all config changes told in react-native-system-notification docs.added android:launchMode="singleTask" in manifest file. and issue of app loading every time , even when launching from background got solved, now it resumes. So after that the event listener is not working.
Notification.addListener('press', function(e) {
console.log(e);
});
the listener works when app is running in the foreground. But in the background app launches on clicking notification but event listener not triggered.
Any Suggestions ?
Thanks in advance.