I’m getting this error when I call verifyPhoneNumber()
method..there is nothing wrong with my phone auth codes since it’s working perfectly fine before I changed my bundleId and redownloaded the google-service.json
file.
my project got messed up since I changed my bundle id and changed my google-service.json I don’t know what to do since I’m new to coding and don’t have any idea what this stack trace is talking about.
in ios, the app is being killed and leaving no stack trace at all. in android, I’m getting this stack trace.
what I’ve tried:
flutter clean,
flutter pub get,
flutter pub cache repair
deleted the build folder, .gradle folder, podfile.lock and pods folder , then run flutter run -v to recreate the folders but it didn’t fix the problem.
any help would be greatly appreciated. i can show more details if needed.
E/JavaBinder(12658): !!! FAILED BINDER TRANSACTION !!! (parcel size = 624)
W/GmsClient(12658): IGmsServiceBroker.getService failed
W/GmsClient(12658): android.os.DeadObjectException: Transaction failed on small parcel; remote process probably died, but this could also be caused by running out of binder buffe
W/GmsClient(12658): at android.os.BinderProxy.transactNative(Native Method)
W/GmsClient(12658): at android.os.BinderProxy.transact(BinderProxy.java:584)
W/GmsClient(12658): at com.google.android.gms.common.internal.zzac.getService(com.google.android.gms:play-services-basement@@18.1.0:8)
W/GmsClient(12658): at com.google.android.gms.common.internal.BaseGmsClient.getRemoteService(com.google.android.gms:play-services-basement@@18.1.0:14)
W/GmsClient(12658): at com.google.android.gms.common.api.internal.zabt.run(com.google.android.gms:play-services-base@@18.0.1:7)
W/GmsClient(12658): at android.os.Handler.handleCallback(Handler.java:942)
W/GmsClient(12658): at android.os.Handler.dispatchMessage(Handler.java:99)
W/GmsClient(12658): at android.os.Looper.loopOnce(Looper.java:201)
W/GmsClient(12658): at android.os.Looper.loop(Looper.java:288)
W/GmsClient(12658): at android.os.HandlerThread.run(HandlerThread.java:67)
E/JavaBinder(12658): !!! FAILED BINDER TRANSACTION !!! (parcel size = 624)
W/GmsClient(12658): IGmsServiceBroker.getService failed
W/GmsClient(12658): android.os.DeadObjectException: Transaction failed on small parcel; remote process probably died, but this could also be caused by running out of binder buffe
W/GmsClient(12658): at android.os.BinderProxy.transactNative(Native Method)
W/GmsClient(12658): at android.os.BinderProxy.transact(BinderProxy.java:584)
W/GmsClient(12658): at com.google.android.gms.common.internal.zzac.getService(com.google.android.gms:play-services-basement@@18.1.0:8)
W/GmsClient(12658): at com.google.android.gms.common.internal.BaseGmsClient.getRemoteService(com.google.android.gms:play-services-basement@@18.1.0:14)
W/GmsClient(12658): at com.google.android.gms.common.api.internal.zabt.run(com.google.android.gms:play-services-base@@18.0.1:7)
W/GmsClient(12658): at android.os.Handler.handleCallback(Handler.java:942)
W/GmsClient(12658): at android.os.Handler.dispatchMessage(Handler.java:99)
W/GmsClient(12658): at android.os.Looper.loopOnce(Looper.java:201)
W/GmsClient(12658): at android.os.Looper.loop(Looper.java:288)
W/GmsClient(12658): at android.os.HandlerThread.run(HandlerThread.java:67)
E/JavaBinder(12658): !!! FAILED BINDER TRANSACTION !!! (parcel size = 624)
W/GmsClient(12658): IGmsServiceBroker.getService failed
W/GmsClient(12658): android.os.DeadObjectException: Transaction failed on small parcel; remote process probably died, but this could also be caused by running out of binder buffe
W/GmsClient(12658): at android.os.BinderProxy.transactNative(Native Method)
W/GmsClient(12658): at android.os.BinderProxy.transact(BinderProxy.java:584)
2
Answers
I found the problem
One of the initialization function in initState() was too long, with a lot of printing to log and multiple updating a status variable.
I reduce the printing and the status updating and…. everything is working
Try following.
it worked for me.