wix / react-native-notifications

React Native Notifications
MIT License
3.23k stars 763 forks source link

app crash - java.lang.IllegalArgumentException #877

Closed faustaleonardo closed 2 years ago

faustaleonardo commented 2 years ago

Issue

App crash related to IllegalArgumentException.

Fatal Exception: java.lang.IllegalArgumentException: No such service ComponentInfo{com.traveloka.dove/com.wix.reactnativenotifications.fcm.FcmInstanceIdRefreshHandlerService}
       at android.os.Parcel.readException(Parcel.java:2017)
       at android.os.Parcel.readException(Parcel.java:1959)
       at android.app.job.IJobScheduler$Stub$Proxy.enqueue(IJobScheduler.java:211)
       at android.app.JobSchedulerImpl.enqueue(JobSchedulerImpl.java:53)
       at androidx.core.app.JobIntentService$JobWorkEnqueuer.enqueueWork(JobIntentService.java:342)
       at androidx.core.app.JobIntentService.enqueueWork(JobIntentService.java:522)
       at androidx.core.app.JobIntentService.enqueueWork(JobIntentService.java:500)
       at com.wix.reactnativenotifications.fcm.FcmInstanceIdRefreshHandlerService.enqueueWork(FcmInstanceIdRefreshHandlerService.java:15)
       at com.wix.reactnativenotifications.RNNotificationsModule.startFcmIntentService(RNNotificationsModule.java:147)
       at com.wix.reactnativenotifications.RNNotificationsModule.initialize(RNNotificationsModule.java:52)
       at com.facebook.react.bridge.ModuleHolder.doInitialize(ModuleHolder.java:236)
       at com.facebook.react.bridge.ModuleHolder.markInitializable(ModuleHolder.java:100)
       at com.facebook.react.bridge.NativeModuleRegistry.notifyJSInstanceInitialized(NativeModuleRegistry.java:107)
       at com.facebook.react.bridge.CatalystInstanceImpl$2.run(CatalystInstanceImpl.java:436)
       at android.os.Handler.handleCallback(Handler.java:790)
       at android.os.Handler.dispatchMessage(Handler.java:99)
       at com.facebook.react.bridge.queue.MessageQueueThreadHandler.dispatchMessage(MessageQueueThreadHandler.java:27)
       at android.os.Looper.loop(Looper.java:164)
       at com.facebook.react.bridge.queue.MessageQueueThreadImpl$4.run(MessageQueueThreadImpl.java:226)
       at java.lang.Thread.run(Thread.java:764)
RN: 0.65.1
react-native-notifications: "4.1.0"

Description

This issue only happened on Lava smartphone with OS version 8 to be precise.

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

stale[bot] commented 2 years ago

The issue has been closed for inactivity.