-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Warnings about CharSequence and String #53
Comments
Hello, this day. Any idea on how to get rid of this inner exception? Thank you very much for your diligence. See you soon.
|
This will be fixed on version 2.0.0. |
Hi, amazing work!
I have these warnings on Android, when I use shareMultiple with images, everything is ok but, I just wanted to say this to have cleaner code.
Thanks
W/Bundle (25424): Key android.intent.extra.TEXT expected ArrayList but value was a java.lang.String. The default value was returned.
W/Bundle (25424): Attempt to cast generated internal exception:
W/Bundle (25424): java.lang.ClassCastException: java.lang.String cannot be cast to java.util.ArrayList
W/Bundle (25424): at android.os.BaseBundle.getCharSequenceArrayList(BaseBundle.java:1302)
W/Bundle (25424): at android.os.Bundle.getCharSequenceArrayList(Bundle.java:1076)
W/Bundle (25424): at android.content.Intent.getCharSequenceArrayListExtra(Intent.java:7570)
W/Bundle (25424): at android.content.Intent.migrateExtraStreamToClipData(Intent.java:10415)
W/Bundle (25424): at android.content.Intent.migrateExtraStreamToClipData(Intent.java:10378)
W/Bundle (25424): at android.app.Instrumentation.execStartActivity(Instrumentation.java:1735)
W/Bundle (25424): at android.app.Activity.startActivityForResult(Activity.java:4594)
W/Bundle (25424): at android.app.Activity.startActivityForResult(Activity.java:4552)
W/Bundle (25424): at android.app.Activity.startActivity(Activity.java:4917)
W/Bundle (25424): at android.app.Activity.startActivity(Activity.java:4885)
W/Bundle (25424): at com.zt.shareextend.Share.startChooserActivity(Share.java:104)
W/Bundle (25424): at com.zt.shareextend.Share.share(Share.java:96)
W/Bundle (25424): at com.zt.shareextend.MethodCallHandlerImpl.onMethodCall(MethodCallHandlerImpl.java:29)
W/Bundle (25424): at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:230)
W/Bundle (25424): at io.flutter.embedding.engine.dart.DartMessenger.handleMessageFromDart(DartMessenger.java:85)
W/Bundle (25424): at io.flutter.embedding.engine.FlutterJNI.handlePlatformMessage(FlutterJNI.java:692)
W/Bundle (25424): at android.os.MessageQueue.nativePollOnce(Native Method)
W/Bundle (25424): at android.os.MessageQueue.next(MessageQueue.java:326)
W/Bundle (25424): at android.os.Looper.loop(Looper.java:160)
W/Bundle (25424): at android.app.ActivityThread.main(ActivityThread.java:6923)
W/Bundle (25424): at java.lang.reflect.Method.invoke(Native Method)
W/Bundle (25424): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
W/Bundle (25424): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:870)
The text was updated successfully, but these errors were encountered: