distriqt / ANE-GooglePlayServices

Shared library including the Google Play Services Client Library
https://airnativeextensions.com
18 stars 1 forks source link

Current version of CloudMessaging cause some ANRs #23

Closed sjabberwocky closed 11 months ago

sjabberwocky commented 1 year ago

Hi!

I was checking the ANRs of our game and found that the current version of CloudMessaging ANE can generate some additional ANRs. And it was fixed in latest update by Firebase team.

https://firebase.google.com/support/release-notes/android#messaging_v23-0-7

Native method - android.os.MessageQueue.nativePollOnce

  #00  pc 0x00000000000c8b38  /apex/com.android.runtime/lib64/bionic/libc.so (__epoll_pwait+8)
  #01  pc 0x00000000000168d4  /system/lib64/libutils.so (android::Looper::pollInner(int)+180)
  #02  pc 0x00000000000167b8  /system/lib64/libutils.so (android::Looper::pollOnce(int, int*, int*, void**)+112)
  #03  pc 0x000000000014d19c  /system/lib64/libandroid_runtime.so (android::android_os_MessageQueue_nativePollOnce(_JNIEnv*, _jobject*, long, int)+44)
  at android.os.MessageQueue.nativePollOnce (Native method)
  at android.os.MessageQueue.next (MessageQueue.java:339)
  at android.os.Looper.loopOnce (Looper.java:179)
  at android.os.Looper.loop (Looper.java:344)
  at android.app.ActivityThread.main (ActivityThread.java:8248)
  at java.lang.reflect.Method.invoke (Native method)
  at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:589)
  at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1071)
marchbold commented 1 year ago

Thanks, we have an update in the works.

github-actions[bot] commented 1 year ago

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 5 days.

marchbold commented 11 months ago

Hi, I seemed to have forgotten to update this issue, but we are using 23.1.2 of messaging now. https://github.com/distriqt/ANE-PushNotifications/releases/tag/v12.0.0