Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
• When react-native apps get reloaded, the existing bridge is destroyed and a new bridge is created. • Our SDK was not properly registering the new bridge to receive onReceived and onOpened events for notifications • Changes the 'registeredEvents' boolean to be an instance variable instead of a static variable. • Also adds code to remove event listeners when the bridge gets destroyed.
- Loading branch information