Merge branch 'fix/jg_push' into 'release'
fix: 神策上报极光推送ID改为profileSet方法 See merge request halo/android/assistant-android!1980
This commit is contained in:
@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -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(
|
||||
|
||||
Reference in New Issue
Block a user