Skip to content

ReactNative SDK 2.0.0

Compare
Choose a tag to compare
@nzagorchev nzagorchev released this 02 Dec 14:45
· 38 commits to master since this release

Leanplum iOS SDK 6.0.2
Leanplum Android SDK 7.0.1
CleverTap React Native SDK 0.9.4

Version 2.0.0 includes CleverTap React Native SDK 0.9.4 as a dependency to allow seamless client migration.
The SDK will continue to work as before for clients that are not migrating yet.
Note that you still need to add the CleverTap React Native SDK 0.9.4 dependency to your app.
For more details check the Changelog in our documentation.
For questions and migration requirements and possibilities, reach out to your point of contact at Leanplum.

Features

  • Pause/Resume In-app messages
  • Enable/Disable In-app messages
  • onMessageDisplayed, onMessageDismissed, onMessageAction callbacks
  • onCleverTapReady callback
  • access to the MigrationConfig
  • Date objects are passed as Dates to setUserAttributes
  • Use Gradle 7.4

Notes

In order for the Migration Wrapper to work as expected, ensure that lifecycle callbacks are enabled in Application.onCreate:

Leanplum.setApplicationContext(this);
LeanplumActivityHelper.enableLifecycleCallbacks(this);