Hi, This package has worked perfectly for most cases, but I have a cases where the app crashed with the following stack trace. Would recommend wrapping with try / catch.
Fatal Exception: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String android.content.Context.getPackageName()' on a null object reference
at android.content.ComponentName.(ComponentName.java:131)
at android.content.Intent.(Intent.java:7162)
at com.google.android.play.core.review.c.launchReviewFlow(:4)
at com.reactlibrary.RnInAppReviewModule$1.onComplete(RnInAppReviewModule.java:39)
at com.google.android.play.core.tasks.a.run(:23)
at android.os.Handler.handleCallback(Handler.java:883)
at android.os.Handler.dispatchMessage(Handler.java:100)
at android.os.Looper.loop(Looper.java:237)
at android.app.ActivityThread.main(ActivityThread.java:8167)
at java.lang.reflect.Method.invoke(Method.java)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:496)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1100)