ajith-ab/react-native-receive-sharing-intent

Error: java.lang.NullPointerException in version 2.0.0

prasanthvenkatachalam opened this issue · 1 comments

When opening app, I am facing android.content.intent.hasextra(java.lang.String) on null object reference
Error

solved by following below steps.
Open node_modules>react-native-receive-sharing-intent>java>com.reactnativereceivesharingintent>ReceiveSharingIntentModule.java> and comment this line mActivity.setIntent(null).
its works for me