File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
AndroidSDKCore/src/main/java/com/leanplum/migration/wrapper Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -89,7 +89,7 @@ internal class CTWrapper(
8989 }
9090 cleverTapInstance?.apply {
9191 setLibrary(" Leanplum" )
92- if (! ActivityLifecycleCallback .registered) {
92+ if (! ActivityLifecycleCallback .registered && LeanplumActivityHelper .getCurrentActivity() != null ) {
9393 ActivityLifecycleCallback .register(context.applicationContext as ? Application )
9494 if (! LeanplumActivityHelper .isActivityPaused() && ! CleverTapAPI .isAppForeground()) {
9595 // Trigger onActivityResumed because onResume of ActivityLifecycle has already been executed
Original file line number Diff line number Diff line change 22ext {
33 COMPILE_SDK_VERSION = 34
44 APPCOMPAT_LIBRARY_VERSION = ' 1.6.0-rc01'
5- CT_SDK_VERSION = ' 7.1.1 '
5+ CT_SDK_VERSION = ' 7.1.2 '
66 MIN_SDK_VERSION = 19
77 JAVA_VERSION = JavaVersion . VERSION_1_8
88
Original file line number Diff line number Diff line change 1- 7.6.1
1+ 7.6.2
You can’t perform that action at this time.
0 commit comments