登出时取消消息推送注册
This commit is contained in:
@@ -49,7 +49,7 @@ object AppState {
|
||||
UserId = resp.id
|
||||
|
||||
// 注册 JPush
|
||||
Messaging.RegistDevice(scope, context)
|
||||
Messaging.registerDevice(scope, context)
|
||||
// 注册 Trtc
|
||||
val config = V2TIMSDKConfig()
|
||||
|
||||
@@ -140,6 +140,5 @@ object AppState {
|
||||
TrtcService::class.java
|
||||
)
|
||||
context.stopService(trtcService)
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user