tiendung01023 / zalo_flutter

This plugin supports communication with the Zalo APIs
MIT License
8 stars 20 forks source link

java.lang.Exception: DeviceHelper.getAdvertiseID call on main thread!! #12

Closed enjoy2000 closed 6 months ago

enjoy2000 commented 10 months ago

Flutter version:

Flutter (Channel stable, 3.16.5, on macOS 13.5.1 22G90 darwin-arm64, locale en-VN)
E/getAdvertiseID(30585): java.lang.Exception: DeviceHelper.getAdvertiseID call on main thread!!
E/getAdvertiseID(30585):    at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
E/getAdvertiseID(30585):    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2308)
E/getAdvertiseID(30585):    at android.os.Handler.dispatchMessage(Handler.java:106)
E/getAdvertiseID(30585):    at android.os.Looper.loopOnce(Looper.java:201)
E/getAdvertiseID(30585):    at android.os.Looper.loop(Looper.java:288)
E/getAdvertiseID(30585):    at android.app.ActivityThread.main(ActivityThread.java:7898)
E/getAdvertiseID(30585):    at java.lang.reflect.Method.invoke(Native Method)
E/getAdvertiseID(30585):    at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
E/getAdvertiseID(30585):    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:936)

Got this error randomly with the login function? Any ideas how to fix it?

tiendung01023 commented 7 months ago

When the error occurs, can you log in?

enjoy2000 commented 6 months ago

can I think 😕 I didn't work on that any more tho