Tag: onesignal

OneSignal:onNotificationProcessing在一段时间后不会被调用

我已经成功实施了OneSignal设备到设备推送通知,但几个小时后,它就停止了所有3个设备的工作。 在logcat中显示以下输出,而不是onNotificationProcessing调用: 11-29 15:51:35.348 16383-16383/? E/FirebaseInstanceId: Failed to resolve target intent service, skipping classname enforcement 11-29 15:51:35.348 3672-5620/? W/ActivityManager: Unable to start service Intent { act=com.google.firebase.MESSAGING_EVENT pkg=com.APP.ID (has extras) } U=0: not found 11-29 15:51:35.353 16383-16383/? E/FirebaseInstanceId: Error while delivering the message: ServiceIntent not found. 在应用程序类onCreate OneSignal.startInit(ctx).init() OneSignal.idsAvailable { osId, gcmId -> saveToFirebase(osId) } 在清单中 […]