This fixes a bug with notification display on android. Previously, it was required to initialize the SDK prior to displaying a notification (receiving the FCM message intent). If the developer was initializing from react native code only, then initialize did not happen in time, which prevented notification from displaying. This would only happen if the application was in a terminal state.
This android version bump included a fix to remove notification display's dependency upon initialize.
Check List
[x] Are you changing anything with the public API?
NO
[x] Are your changes backwards compatible with previous SDK Versions?
YES
Changelog / Code Overview
Bump to Klaviyo Android version 2.1.1
Test Plan
With test app, kill the app and reboot your device.
Send a notification from klaviyo
Notification should pop up (previously, it wouldn't appear, and you could see an error in the logcat)
Description
This fixes a bug with notification display on android. Previously, it was required to initialize the SDK prior to displaying a notification (receiving the FCM message intent). If the developer was initializing from react native code only, then initialize did not happen in time, which prevented notification from displaying. This would only happen if the application was in a terminal state. This android version bump included a fix to remove notification display's dependency upon
initialize
.Check List
Changelog / Code Overview
Test Plan
Related Issues/Tickets