You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error when LaunchReview.launch on notification clicked. Occured on both background & foreground push notifications.
launch_review: ^3.0.1
Flutter 2.8.1
E/MethodChannel#launch_review(17220): java.lang.NullPointerException: Attempt to invoke virtual method 'android.content.pm.PackageManager android.app.Activity.getPackageManager()' on a null object reference
E/MethodChannel#launch_review(17220): at com.iyaffle.launchreview.LaunchReviewPlugin.onMethodCall(LaunchReviewPlugin.java:59)
E/MethodChannel#launch_review(17220): at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:262)
E/MethodChannel#launch_review(17220): at io.flutter.embedding.engine.dart.DartMessenger.invokeHandler(DartMessenger.java:178)
E/MethodChannel#launch_review(17220): at io.flutter.embedding.engine.dart.DartMessenger.lambda$handleMessageFromDart$0$DartMessenger(DartMessenger.java:206)
E/MethodChannel#launch_review(17220): at io.flutter.embedding.engine.dart.-$$Lambda$DartMessenger$R4HPk6oFVb-i-YR_PN9YE6kqx1I.run(Unknown Source:12)
E/MethodChannel#launch_review(17220): at android.os.Handler.handleCallback(Handler.java:938)
E/MethodChannel#launch_review(17220): at android.os.Handler.dispatchMessage(Handler.java:99)
E/MethodChannel#launch_review(17220): at android.os.Looper.loopOnce(Looper.java:201)
E/MethodChannel#launch_review(17220): at android.os.Looper.loop(Looper.java:288)
E/MethodChannel#launch_review(17220): at android.app.ActivityThread.main(ActivityThread.java:7839)
E/MethodChannel#launch_review(17220): at java.lang.reflect.Method.invoke(Native Method)
E/MethodChannel#launch_review(17220): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
E/MethodChannel#launch_review(17220): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1003)
E/flutter (17220): [ERROR:flutter/lib/ui/ui_dart_state.cc(209)] Unhandled Exception: PlatformException(error, Attempt to invoke virtual method 'android.content.pm.PackageManager android.app.Activity.getPackageManager()' on a null object reference, null, java.lang.NullPointerException: Attempt to invoke virtual method 'android.content.pm.PackageManager android.app.Activity.getPackageManager()' on a null object reference
E/flutter (17220): at com.iyaffle.launchreview.LaunchReviewPlugin.onMethodCall(LaunchReviewPlugin.java:59)
E/flutter (17220): at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:262)
E/flutter (17220): at io.flutter.embedding.engine.dart.DartMessenger.invokeHandler(DartMessenger.java:178)
E/flutter (17220): at io.flutter.embedding.engine.dart.DartMessenger.lambda$handleMessageFromDart$0$DartMessenger(DartMessenger.java:206)
E/flutter (17220): at io.flutter.embedding.engine.dart.-$$Lambda$DartMessenger$R4HPk6oFVb-i-YR_PN9YE6kqx1I.run(Unknown Source:12)
E/flutter (17220): at android.os.Handler.handleCallback(Handler.java:938)
E/flutter (17220): at android.os.Handler.dispatchMessage(Handler.java:99)
E/flutter (17220): at android.os.Looper.loopOnce(Looper.java:201)
E/flutter (17220): at android.os.Looper.loop(Looper.java:288)
E/flutter (17220): at android.app.ActivityThread.main(ActivityThread.java:7839)
E/flutter (17220): at java.lang.reflect.Method.invoke(Native Method)
E/flutter (17220): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
E/flutter (17220): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1003)
E/flutter (17220): )
E/flutter (17220): #0 StandardMethodCodec.decodeEnvelope (package:flutter/src/services/message_codecs.dart:607:7)
E/flutter (17220): #1 MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:167:18)
E/flutter (17220): <asynchronous suspension>
E/flutter (17220): #2 LaunchReview.launch (package:launch_review/launch_review.dart:14:5)
E/flutter (17220): <asynchronous suspension>
The text was updated successfully, but these errors were encountered:
Error when LaunchReview.launch on notification clicked. Occured on both background & foreground push notifications.
launch_review: ^3.0.1
Flutter 2.8.1
The text was updated successfully, but these errors were encountered: