admob-plus: @ratson **This problem is not yet solved**, see the attached screenshot for the latest app version
@ratson **This problem is not yet solved**, see the attached screenshot for the latest app version
Crash logs from playstore
Exception java.lang.RuntimeException: at android.app.ActivityThread.performDestroyActivity (ActivityThread.java:5265) at android.app.ActivityThread.handleDestroyActivity (ActivityThread.java:5296) at android.app.servertransaction.DestroyActivityItem.execute (DestroyActivityItem.java:44) at android.app.servertransaction.TransactionExecutor.executeLifecycleState (TransactionExecutor.java:176) at android.app.servertransaction.TransactionExecutor.execute (TransactionExecutor.java:97) at android.app.ActivityThread$H.handleMessage (ActivityThread.java:2130) at android.os.Handler.dispatchMessage (Handler.java:106) at android.os.Looper.loop (Looper.java:223) at android.app.ActivityThread.main (ActivityThread.java:8001) at java.lang.reflect.Method.invoke at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:635) at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:947) Caused by java.util.ConcurrentModificationException: at java.util.LinkedHashMap$LinkedHashIterator.nextNode (LinkedHashMap.java:757) at java.util.LinkedHashMap$LinkedEntryIterator.next (LinkedHashMap.java:790) at java.util.LinkedHashMap$LinkedEntryIterator.next (LinkedHashMap.java:788) at admob.plus.cordova.AdMob.onDestroy (AdMob.kt:219) at org.apache.cordova.PluginManager.onDestroy (PluginManager.java:339) at org.apache.cordova.CordovaWebViewImpl.handleDestroy (CordovaWebViewImpl.java:531) at org.apache.cordova.CordovaActivity.onDestroy (CordovaActivity.java:327) at android.app.Activity.performDestroy (Activity.java:8362) at android.app.Instrumentation.callActivityOnDestroy (Instrumentation.java:1344) at android.app.ActivityThread.performDestroyActivity (ActivityThread.java:5250)
_Originally posted by @merbin2012 in https://github.com/admob-plus/admob-plus/issues/588#issuecomment-1598066859_
About this issue
- Original URL
- State: closed
- Created a year ago
- Comments: 34 (6 by maintainers)
Commits related to this issue
- fix(cordova/android): use thread-safe hash map, #592 — committed to admob-plus/admob-plus by ratson a year ago
- fix(cordova/android): remove ads item in main thread, #592 — committed to admob-plus/admob-plus by ratson a year ago
- fix(cordova/android): clone map to remove item safely, #592 — committed to admob-plus/admob-plus by ratson a year ago
@EYALIN What Kotlin version issue do you have? You can change the Kotlin version with
GradlePluginKotlinVersion
inconfig.xml
.@ratson @EYALIN Thank you ratson, this issue is fixed. I’m not seen any crash logs related to this.
@ratson can you maybe add try-catch there, for now, so we will not have those exceptions?
@merbin2012 here you have the bug https://github.com/apache/cordova-android/issues/1616
and it’s on the roadmap for 12.0.1 https://github.com/apache/cordova-android/milestone/16
if you have a workaround for it it will help me a lot
Just to appreciate the amazing @ratson work.
Thanks for your help and hope my app could grow up quickly to star contribute as soon as possible to this awesome project, that help thousands developers.