Hi there.
I recently released a game and it has a high ANR rating (2.5%).
The project uses: Starling, FeathersUI, Spine, obfuscation with kindi, sounds. A number of extensions are connected: admob, in-app-billing, display cutouts detection and some others.
Most of the ANR is the same as in this issue: https://github.com/airsdk/Adobe-Runtime-Support/issues/1319
And in this regard, I have a question for the community. Does anyone have any game projects which do not have the problem of high ANR? Does anyone have any experience with reducing ANR to the level allowed by android (0.47%) if it was high originally? Maybe there is a particularly stable version of AIR where these ANRs do not show up? Are there any workarounds or game implementation specifics to look out for?
We all use plus or minus the same libraries and extensions. So if there is no ANR problem in some cases, it is probably possible to achieve the correct behaviour for problematic projects as well.
Of the ideas I'm going to try:
-Total disabling of all extensions
-Disable sound (several times I noticed on the desktop, that at the time of playing sounds game may freeze for a couple of seconds, on mobile never saw this).
-Additional optimization of the game. The problem is that on the available devices the game runs stably and ANRs are not reproduced.
I would be grateful for any advice or help.
Thank you.