Admob OpenFL extension v2

In 2015 I’ve made my first version of Admob OpenFL extension.
At that time it only supported Android, so I was happy to abandon it as soon as “official” extension with Android and iOS support became available: https://lib.haxe.org/p/extension-admob/.
Fast forward to 2021 and it was abandoned as well as no one really updated it for 4+ years…
It was working ok until recently when Apple introduced iOS14 and their App Tracking Transparency: https://developers.google.com/admob/ios/ios14?hl=en.

Well, as old saying goes: “If you want something done right, you have to do it yourself”.
So, here is my new version of Admob OpenFL extension, that supports both Android and iOS and has lots of cool features:
https://github.com/pozirk/extension-admob

It took me around a week to make it work. While Android part was quite easy and straightforward, with iOS part I wanted to climb the walls.
Biggest issue was the speed, or rather lack of it, as I was working on iOS part in virtual machine, and it was slooooow. Any small change required me to rebuild the extension and then rebuild my project to test the change.
On virtual machine this procedure could easily take 20-25 minutes and then if I need another small change, I have to repeat everything all over again.
Anyway, extension is out there and I hope to keep it up to date!


DISCLAIMER: The content in this blog represents the opinion of the author. No information here should be used for any purpose except for entertainment.