Skip to content

Commit c34246b

Browse files
authored
Release 7.6.2 (#573)
* Set CT version to 7.1.2 * Fix CT initialization when creating a push notification in the background * Set version to 7.6.2
1 parent 17f31bb commit c34246b

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

AndroidSDKCore/src/main/java/com/leanplum/migration/wrapper/CTWrapper.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

common-methods.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
ext {
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

sdk-version.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
7.6.1
1+
7.6.2

0 commit comments

Comments
 (0)