react-native-onesignal
react-native-onesignal copied to clipboard
Android: on destroy, set this.registeredEvents = false;
for android RN restart issue: https://github.com/geektimecoil/react-native-onesignal/issues/583
the new release seems to work fine for me so this fix is probably not needed anymore see https://github.com/geektimecoil/react-native-onesignal/issues/583
@slorber Thanks for the PR and following up!
@slorber @Nightsd01 Can you test if pressing the back button to close the app then opening a notification still properly fires the open event to the javascript side? This is the only edge case I can think. If this is not an issue then I think we can close this PR.
For future reference this builds on PR #592.