receive_sharing_intent icon indicating copy to clipboard operation
receive_sharing_intent copied to clipboard

Random crash on app launch

Open nosmirck opened this issue 4 years ago • 2 comments

I am unable to reproduce this crash, but I'm getting crash reports from 1-2% of my users (Samsung Galazy 9, 10 and 20) with Android 10

Here's the stack trace of the crash (a native crash on your plugin):

Fatal Exception: java.lang.IllegalStateException
uri must not be null

com.kasem.receive_sharing_intent.ReceiveSharingIntentPlugin.a (ReceiveSharingIntentPlugin.java:36)
com.kasem.receive_sharing_intent.ReceiveSharingIntentPlugin.a (ReceiveSharingIntentPlugin.java:120)
com.kasem.receive_sharing_intent.ReceiveSharingIntentPlugin.onNewIntent (ReceiveSharingIntentPlugin.java:17)
io.flutter.app.FlutterPluginRegistry.onNewIntent (FlutterPluginRegistry.java:18)
io.flutter.app.FlutterActivityDelegate.onNewIntent (FlutterActivityDelegate.java:18)
io.flutter.app.FlutterActivity.onNewIntent (FlutterActivity.java:2)
...

nosmirck avatar Oct 02 '20 15:10 nosmirck

I am seeing something similar, but a slightly different stack trace. @nosmirck did you manage to resolve this?

Fatal Exception: java.lang.IllegalStateException
uri must not be null

com.kasem.receive_sharing_intent.ReceiveSharingIntentPlugin.b (ReceiveSharingIntentPlugin.java:175)
com.kasem.receive_sharing_intent.ReceiveSharingIntentPlugin.a (ReceiveSharingIntentPlugin.java:118)
com.kasem.receive_sharing_intent.ReceiveSharingIntentPlugin.a (ReceiveSharingIntentPlugin.java:6)
io.flutter.embedding.engine.FlutterEnginePluginRegistry$FlutterEngineActivityPluginBinding.a (FlutterEnginePluginRegistry.java:18)
io.flutter.embedding.engine.FlutterEnginePluginRegistry.a (FlutterEnginePluginRegistry.java:15)
io.flutter.embedding.android.FlutterActivityAndFragmentDelegate.a (FlutterActivityAndFragmentDelegate.java:20)
io.flutter.embedding.android.FlutterActivity.onNewIntent (FlutterActivity.java:5)

royston-c avatar Mar 15 '21 12:03 royston-c

Affected devices

  • Samsung Galaxy S21+ 5G
  • Samsung Galaxy Note10+ 5G
  • Samsung Galaxy Note20 5G
  • Samsung Galaxy A5(2017)
  • POCO X3 NFC
  • Samsung Galaxy S10+
  • Huawei P10

royston-c avatar Mar 23 '21 11:03 royston-c