Shin-NiL / Godot-Android-Admob-Plugin

Android AdMob plugin for Godot Game Engine 3.2 or higher
MIT License
548 stars 67 forks source link

Add Function to Initialize AdMob in Background #245

Closed InfoDevkota closed 1 week ago

InfoDevkota commented 1 week ago

The initialize_on_background_thread() function is added to initialize AdMob on a background thread. I experienced a few ANRs on some low-end devices, and using background initialization along with the OPTIMIZE_AD_LOADING flag significantly improved responsiveness on my test device.

Official docs:

Shin-NiL commented 1 week ago

Thank you, my friend :)