jaumard / sms_autofill

Flutter plugin to provide SMS code autofill support
MIT License
281 stars 173 forks source link

App Crashing on Android 12 while fetching mobile hints #228

Closed yogeshelevn closed 3 weeks ago

yogeshelevn commented 2 months ago

sms_authfill is encountering crashes specifically on the Android 12 version of the app when it tries to retrieve mobile hints. This leads to a fatal exception, which is then logged in the Firebase console.

Fatal Exception: io.flutter.plugins.firebase.crashlytics.FlutterError: PlatformException(error, No Activity found to handle null, null, android.content.ActivityNotFoundException: No Activity found to handle null at android.app.Instrumentation.checkStartActivityResult(Instrumentation.java:2117) at android.app.Activity.startIntentSenderForResultInner(Activity.java:5670) at android.app.Activity.startIntentSenderForResult(Activity.java:5636) at android.app.Activity.startIntentSenderForResult(Activity.java:5603) at gf.b.h(Unknown Source:64) at gf.b.a(Unknown Source:66) at ig.j$a.a(Unknown Source:17) at xf.c.l(Unknown Source:18) at xf.c.m(Unknown Source:40) at xf.c.i(Unknown Source:0) at xf.b.run(Unknown Source:12) at android.os.Handler.handleCallback(Handler.java:938) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loopOnce(Looper.java:201) at android.os.Looper.loop(Looper.java:288) at android.app.ActivityThread.main(ActivityThread.java:7870) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1009) ) at StandardMethodCodec.decodeEnvelope(message_codecs.dart:651) at MethodChannel._invokeMethod(platform_channel.dart:334) at SmsAutoFill.hint(sms_autofill.dart:30) at _LoginPageState.fetchMobileHints(login_page.dart:82)

AryanBisht-03 commented 2 months ago

Buddy did u get any solution for this.?

yogeshelevn commented 2 months ago

@AryanBisht-03 No, I am also waiting for positive response here...

Akhileshzoop commented 1 month ago

@yogeshelevn Same buddy

vidhi002 commented 1 month ago

did you find any solution?

jaumard commented 3 weeks ago

should be ok on 2.4.0