evollu / evollu/react-native-fcm

undefined is not an object (evaluating '_reactNativeFcm.NotificationActionType.TextInput')

Open
#821 9 comments 1 reaction 0 assignees View on GitHub
Dominant language
Java
Stars
1.7k
Forks
661
PR merge metrics
No merged PRs in 30d

Description

While using this library i get following error please help!!

undefined is not an object (evaluating '_reactNativeFcm.NotificationActionType.TextInput')
Module AppRegistry is not a registered callable module (calling runApplication)

FATAL EXCEPTION: main
Process: com.coupanreact, PID: 21083
java.lang.NullPointerException: Attempt to invoke virtual method 'char[] java.lang.String.toCharArray()' on a null object reference
at java.io.File.fixSlashes(File.java:185)
at java.io.File.(File.java:134)
at com.facebook.react.devsupport.StackTraceHelper$StackFrameImpl.(StackTraceHelper.java:43)
at com.facebook.react.devsupport.StackTraceHelper$StackFrameImpl.(StackTraceHelper.java:31)
at com.facebook.react.devsupport.StackTraceHelper.convertJsStackTrace(StackTraceHelper.java:115)
at com.facebook.react.devsupport.DevSupportManagerImpl$3.run(DevSupportManagerImpl.java:294)
at android.os.Handler.handleCallback(Handler.java:739)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:135)
at android.app.ActivityThread.main(ActivityThread.java:5257)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:902)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:697)

i amusing versions:-
react-native-cli: 2.0.1
react-native: 0.44.0

Contributor guide

No contributing guide indexed for this repository

Research direction

No source file or test is identified. Reproduce the failure with react-native 0.44.0 and react-native-cli 2.0.1, then trace the NotificationActionType.TextInput entry point and the resulting AppRegistry error; the issue is done when the notification action is available and the application registers successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java, react-native
Domain
mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.