Skip to content

Commit

Permalink
Android: on destroy, set this.registeredEvents = false;
Browse files Browse the repository at this point in the history
for android RN restart issue: OneSignal#583
  • Loading branch information
slorber committed Aug 3, 2018
1 parent 7f0f731 commit 2d58456
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -436,6 +436,7 @@ public String getName() {
public void onHostDestroy() {
OneSignal.removeNotificationOpenedHandler();
OneSignal.removeNotificationReceivedHandler();
this.registeredEvents = false;
}

@Override
Expand Down

0 comments on commit 2d58456

Please sign in to comment.