react-native-push-notification icon indicating copy to clipboard operation
react-native-push-notification copied to clipboard

Crash java.lang.RuntimeException: Could not invoke RNPushNotification.requestPermissions

Open juanctecdam opened this issue 2 years ago • 0 comments

Hi everyone,

I'm currently facing this issue. It will crash as soon as I invoke PushNotification.configure I don't understand what's going on but it's really strange:

Complete stack trace:

2022-07-26 17:08:21.237 13605-13692/? E/AndroidRuntime: FATAL EXCEPTION: mqt_native_modules Process: nl.vlogout.app, PID: 13605 java.lang.RuntimeException: Could not invoke RNPushNotification.requestPermissions at com.facebook.react.bridge.JavaMethodWrapper.invoke(JavaMethodWrapper.java:383) at com.facebook.react.bridge.JavaModuleWrapper.invoke(JavaModuleWrapper.java:151) at com.facebook.react.bridge.queue.NativeRunnable.run(Native Method) at android.os.Handler.handleCallback(Handler.java:914) at android.os.Handler.dispatchMessage(Handler.java:100) at com.facebook.react.bridge.queue.MessageQueueThreadHandler.dispatchMessage(MessageQueueThreadHandler.java:27) at android.os.Looper.loop(Looper.java:241)

Any clue on what might be going wrong? Currently on version 5.1.1

Thanks!

juanctecdam avatar Jul 26 '22 15:07 juanctecdam