File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed
AndroidSDKCore/src/main/java/com/leanplum Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,6 @@ import android.app.Application
2626import android.content.Context
2727import android.text.TextUtils
2828import com.clevertap.android.sdk.ActivityLifecycleCallback
29- import com.clevertap.android.sdk.CTUtils
3029import com.clevertap.android.sdk.CleverTapAPI
3130import com.clevertap.android.sdk.CleverTapInstanceConfig
3231import com.clevertap.android.sdk.pushnotification.PushConstants
@@ -38,6 +37,7 @@ import com.leanplum.migration.MigrationConstants
3837import com.leanplum.migration.MigrationManager
3938import com.leanplum.migration.push.FcmMigrationHandler
4039import com.leanplum.migration.push.HmsMigrationHandler
40+ import com.leanplum.utils.CTUtils
4141import com.leanplum.utils.SharedPreferencesUtil
4242
4343internal class CTWrapper (
Original file line number Diff line number Diff line change 1- package com.clevertap.android.sdk
1+ package com.leanplum.utils
22
33import android.annotation.SuppressLint
4+ import com.clevertap.android.sdk.CleverTapAPI
45import com.clevertap.android.sdk.task.CTExecutorFactory
56import com.clevertap.android.sdk.task.Task
67
78object CTUtils {
89
910 @SuppressLint(" RestrictedApi" )
1011 fun ensureLocalDataStoreValue (key : String , cleverTapApi : CleverTapAPI ) {
11- val value = cleverTapApi.coreState.localDataStore.getProfileValueForKey (key)
12+ val value = cleverTapApi.coreState.localDataStore.getProfileProperty (key)
1213 if (value == null ) {
13- cleverTapApi.coreState.localDataStore.setProfileField( key, " " )
14+ cleverTapApi.coreState.localDataStore.updateProfileFields( mapOf ( key to " " ) )
1415 }
1516 }
1617
@@ -25,5 +26,4 @@ object CTUtils {
2526 null
2627 }
2728 }
28-
2929}
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 = ' 6.2.1 '
5+ CT_SDK_VERSION = ' 7.0.0 '
66 MIN_SDK_VERSION = 19
77 JAVA_VERSION = JavaVersion . VERSION_1_8
88
You can’t perform that action at this time.
0 commit comments