React-Native-Onesignal Bug Fixes & Improvements
Fixes multiple issues that would have caused the SDK to be unable to initialize, especially when using react-native-navigation
• This was primarily caused by how Activity objects are initialized with react-native-navigation
. The OneSignal SDK was receiving a null activity.
- Updated the SDK to fallback to initialize using a context instead.
- This resolves #516 and #547, and likely caused further difficult to debug issues where devices would not get registered in OneSignal and crashes.
• Fixed an issue that, in very rare situations when getTags
is called rapidly multiple times, would have caused the SDK to crash since React Native only allows a callback to be called once
• Updates android API level to 26