目前我的leancloud账号下有三个应用,我在app端使用的1号的appId和appKey,但是在绑定设备id时候却把installlationId 存到了2号应用的_Installlation表中。初始化时候也是用的1号的appId和appKey.
AVOSCloud.initialize(context.getApplicationContext(), appId, appKey);
private fun bindPushId() {
PushService.setDefaultPushCallback(this, LifeMeetActivity::class.java)
AVInstallation.getCurrentInstallation().saveInBackground(object : SaveCallback() {
override fun done(p0: AVException?) {
if (null == p0) {
AVInstallation.getCurrentInstallation().saveInBackground()
Log.d("Push---------》", AVInstallation.getCurrentInstallation().objectId)
manageRpcCall(mAppService.bindPush(InstalllationParam(AVInstallation.getCurrentInstallation().objectId)), object : com.soocedu.base.net.subscriber.NetHandleSubscriber<List<String>>() {
override fun onSuccess(t: List<String>?, message: String?) {
}
})
} else {
Log.e("Push---------》", p0.message)
}
}
})
}
请问此种情况如何解决?