Migration guide from 2.x to 3.x - optimove-tech/Optimove-SDK-Android GitHub Wiki

Deprecations removed

  • Optimove#setScreenVisit(Activity activity, String screenTitle), use Optimove#reportScreenVisit(String screenName) instead.

  • Optimove#setScreenVisit(Activity activity, String screenTitle, String screenCategory), use Optimove#reportScreenVisit(String screenName, String screenCategory) instead.

  • Optimove#setScreenVisit(String screenPath, String screenTitle), use Optimove#reportScreenVisit(String screenName) instead.

  • Optimove#setScreenVisit(String screenPath, String screenTitle, String screenCategory), use Optimove#reportScreenVisit(String screenName, String screenCategory) instead.

  • Optimove#startTestMode(SdkOperationListener operationListener), no need to start test mode anymore. Use Optimove site for tests.

  • Optimove#stopTestMode(SdkOperationListener operationListener), no need to stop test mode anymore. Use Optimove site for tests.

  • Optimove#registerSuccessStateListener(OptimoveSuccessStateListener stateListener), no need to register for lifecycle events, you can use the SDK directly.

  • Optimove#unregisterSuccessStateListener(OptimoveSuccessStateListener stateListener), no need to unregister from lifecycle events.