Tkko / Flutter_Pinput

Flutter package to create Pin code input text field with every pixel customization possibility 🎨 with beautiful animations, iOS autofill, Android autofill
https://pub.dev/packages/pinput
MIT License
775 stars 179 forks source link

Error Receiving Broadcast Intent #131

Closed faisalmushtaq007 closed 1 year ago

faisalmushtaq007 commented 1 year ago

i am using the latest version of pinput package and when i verify the phone number and move to otp screen. I minimize the app for getting otp and when i return to app it crashes with the following error: " java.lang.RuntimeException: Error receiving broadcast Intent { act=com.google.android.gms.auth.api.phone.SMS_RETRIEVED flg=0x200010 pkg=com.lelafe.psajk (has extras) } in com.google.android.gms.internal.firebase-auth-api.zzyt@207799d E/AndroidRuntime( 5801): at android.app.LoadedApk$ReceiverDispatcher$Args.lambda$getRunnable$0$android-app-LoadedApk$ReceiverDispatcher$Args(LoadedApk.java:1928) "

Tkko commented 1 year ago

Are you using firebase_auth? Which Android verification type are you using? AndroidSmsAutofillMethod.smsUserConsentApi or AndroidSmsAutofillMethod.smsRetrieverApi

Tkko commented 1 year ago

Closing the issue for now, feel free to reopen if needed.