Skip to content
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

[crash] com.google.android.gms.common.api.ApiException: 16 #68

Closed
liubowen-ola opened this issue Sep 4, 2023 · 6 comments · Fixed by #84
Closed

[crash] com.google.android.gms.common.api.ApiException: 16 #68

liubowen-ola opened this issue Sep 4, 2023 · 6 comments · Fixed by #84
Labels
bug Something isn't working new issues

Comments

@liubowen-ola
Copy link

The otp_autofill:3.0.0 (latest) version, cause the crash on some Android devices.

Fatal Exception: java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=1, result=-1, data=Intent { (has extras) }} to activity {sg.partying.android.lite/com.imbb.banban.android.MainActivity}: com.google.android.gms.common.api.ApiException: 16:
at android.app.ActivityThread.deliverResults(ActivityThread.java:4458)
at android.app.ActivityThread.handleSendResult(ActivityThread.java:4500)
at android.app.servertransaction.ActivityResultItem.execute(ActivityResultItem.java:49)
at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:108)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:68)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1839)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:201)
at android.app.ActivityThread.main(ActivityThread.java:6861)
at java.lang.reflect.Method.invoke(Method.java)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:547)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:873)

Caused by com.google.android.gms.common.api.ApiException: 16:
at com.google.android.gms.internal.auth-api.zbay.getPhoneNumberFromIntent(com.google.android.gms:play-services-auth@@20.6.0:4)
at ru.surfstudio.otp_autofill.OTPPlugin.onActivityResult(OTPPlugin.kt:134)
at io.flutter.embedding.engine.FlutterEngineConnectionRegistry$FlutterEngineActivityPluginBinding.onActivityResult(FlutterEngineConnectionRegistry.java:807)
at io.flutter.embedding.engine.FlutterEngineConnectionRegistry.onActivityResult(FlutterEngineConnectionRegistry.java:430)
at io.flutter.embedding.android.FlutterActivityAndFragmentDelegate.onActivityResult(FlutterActivityAndFragmentDelegate.java:811)
at io.flutter.embedding.android.FlutterActivity.onActivityResult(FlutterActivity.java:771)
at android.app.Activity.dispatchActivityResult(Activity.java:7598)
at android.app.ActivityThread.deliverResults(ActivityThread.java:4451)
at android.app.ActivityThread.handleSendResult(ActivityThread.java:4500)
at android.app.servertransaction.ActivityResultItem.execute(ActivityResultItem.java:49)
at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:108)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:68)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1839)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:201)
at android.app.ActivityThread.main(ActivityThread.java:6861)
at java.lang.reflect.Method.invoke(Method.java)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:547)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:873)

@liubowen-ola liubowen-ola added the bug Something isn't working label Sep 4, 2023
@No1Ks
Copy link

No1Ks commented Oct 16, 2023

This issue still exists. Fix it please

@No1Ks
Copy link

No1Ks commented Jan 26, 2024

3.0.2 contains this bug too

@romreed
Copy link
Contributor

romreed commented Mar 19, 2024

@No1Ks Hi
check please fix
add to your pubspec.yaml

  otp_autofill:
    git:
      url: https://github.com/romreed/flutter-otp-autofill

@No1Ks
Copy link

No1Ks commented Mar 19, 2024

@No1Ks Hi check please fix add to your pubspec.yaml

  otp_autofill:
    git:
      url: https://github.com/BPCdb/flutter-otp-autofill

404

@romreed
Copy link
Contributor

romreed commented Mar 19, 2024

@No1Ks Hi check please fix add to your pubspec.yaml

  otp_autofill:
    git:
      url: https://github.com/BPCdb/flutter-otp-autofill

404
@No1Ks New url https://github.com/romreed/flutter-otp-autofill

@No1Ks
Copy link

No1Ks commented Mar 19, 2024

@No1Ks Hi check please fix add to your pubspec.yaml

  otp_autofill:
    git:
      url: https://github.com/BPCdb/flutter-otp-autofill

404
@No1Ks New url https://github.com/romreed/flutter-otp-autofill

Thank you) ll check tomorrow!

@DmitrDomrachev DmitrDomrachev linked a pull request Apr 3, 2024 that will close this issue
7 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working new issues
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants