我已经在我的一个Android应用程序中实现了someignal作为推送通知。通知工作正常,如果它在通知发送时间有工作互联网,但如果设备没有互联网连接,我们发送通知,而不是当用户在设备中启用互联网并收到通知而不是应用程序崩溃...有什么问题?
注意:附加错误日志
由于
04-10 23:20:12.288: E/OneSignal(16528): at com.onesignal.BadgeCountUpdater.update(BadgeCountUpdater.java:44)
04-10 23:20:12.288: E/OneSignal(16528): at com.onesignal.NotificationBundleProcessor.saveNotification(NotificationBundleProcessor.java:111)
04-10 23:20:12.288: E/OneSignal(16528): at com.onesignal.NotificationBundleProcessor.Process(NotificationBundleProcessor.java:77)
04-10 23:20:12.288: E/OneSignal(16528): at com.onesignal.GcmIntentService.onHandleIntent(GcmIntentService.java:66)
04-10 23:20:12.288: E/AndroidRuntime(16528): at com.onesignal.shortcutbadger.ShortcutBadger.initBadger(ShortcutBadger.java:92)
04-10 23:20:12.288: E/AndroidRuntime(16528): at com.onesignal.shortcutbadger.ShortcutBadger.applyCountOrThrow(ShortcutBadger.java:65)
04-10 23:20:12.288: E/AndroidRuntime(16528): at com.onesignal.shortcutbadger.ShortcutBadger.applyCount(ShortcutBadger.java:50)
04-10 23:20:12.288: E/AndroidRuntime(16528): at com.onesignal.BadgeCountUpdater.updateCount(BadgeCountUpdater.java:71)
04-10 23:20:12.288: E/AndroidRuntime(16528): at com.onesignal.BadgeCountUpdater.update(BadgeCountUpdater.java:65)
04-10 23:20:12.288: E/AndroidRuntime(16528): at com.onesignal.NotificationBundleProcessor.saveNotification(NotificationBundleProcessor.java:111)
04-10 23:20:12.288: E/AndroidRuntime(16528): at com.onesignal.NotificationBundleProcessor.Process(NotificationBundleProcessor.java:77)
04-10 23:20:12.288: E/AndroidRuntime(16528): at com.onesignal.GcmIntentService.onHandleIntent(GcmIntentService.java:66)