From 30248ef2058b7bd4706ce0153e8caa3528f43dc7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8F=B6=E5=AD=90=E7=BB=B4?= Date: Mon, 18 Nov 2024 18:20:40 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E7=A5=9E=E7=AD=96=E4=B8=8A=E6=8A=A5?= =?UTF-8?q?=E6=9E=81=E5=85=89=E6=8E=A8=E9=80=81ID=E6=94=B9=E4=B8=BAprofile?= =?UTF-8?q?Set=E6=96=B9=E6=B3=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/src/main/java/com/gh/gamecenter/SplashScreenActivity.kt | 2 +- .../src/main/java/com/gh/gamecenter/jg/push/JPushHelper.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/com/gh/gamecenter/SplashScreenActivity.kt b/app/src/main/java/com/gh/gamecenter/SplashScreenActivity.kt index bace256651..0cf618a33a 100644 --- a/app/src/main/java/com/gh/gamecenter/SplashScreenActivity.kt +++ b/app/src/main/java/com/gh/gamecenter/SplashScreenActivity.kt @@ -285,7 +285,7 @@ class SplashScreenActivity : BaseActivity() { val pushProvider = ARouter.getInstance().build(RouteConsts.provider.push).navigation() as? IPushProvider val registrationId = pushProvider?.getRegistrationId(this) if (!registrationId.isNullOrEmpty()) { - SensorsBridge.profileAppend(KEY_REGISTRATION_ID, registrationId) + SensorsBridge.profileSet(KEY_REGISTRATION_ID, registrationId) } } diff --git a/feature/jg_push/src/main/java/com/gh/gamecenter/jg/push/JPushHelper.kt b/feature/jg_push/src/main/java/com/gh/gamecenter/jg/push/JPushHelper.kt index 9b0e955172..84b7df147a 100644 --- a/feature/jg_push/src/main/java/com/gh/gamecenter/jg/push/JPushHelper.kt +++ b/feature/jg_push/src/main/java/com/gh/gamecenter/jg/push/JPushHelper.kt @@ -39,7 +39,7 @@ object JPushHelper { // 绑定ID关系 @SuppressLint("CheckResult") fun bindRegistrationId(registrationId: String?) { - SensorsBridge.profileAppend(KEY_REGISTRATION_ID, registrationId ?: "") + SensorsBridge.profileSet(KEY_REGISTRATION_ID, registrationId ?: "") val appProvider = ARouter.getInstance().build(RouteConsts.provider.app).navigation() as? IAppProvider val data = mapOf(