Extension-admob, runOnUiThread locks app

To initialize admob it calls “mainActivity.runOnUiThread”, which blocks the UI for too long, resulting in ANRs in the android-console.

Is there a way to run it in a background thread?

If it doesn’t talk to Haxe, probably! If it does talk to Haxe, you will want it to run on the render thread

Not sure if i understand the “If it doesn’t talk to Haxe” part, but i dont think it does.
The extension just delegates the calls to java/admob.
There is a callback, but not directly linked to the runOnUiThread part.