Demo of Google Mobile Ads Consent SDK bindings for Android and iOS Haxe OpenFL targets.
This is deprecated - I am no longer updating it because I do not currently use ads requiring GDPR consent in my projects. Feel free to fork this and bring it up to date though!
This demo app uses HaxeFlixel and one of my haxelibs, so install these first:
haxelib install flixel
haxelib install samcodes-consent # Or use lib/samcodes-consent submodule in the repo
Enter your AdMob publisher id in the ConsentWrapper
class for the Consent SDK to work with. You can also optionally set your privacy policy URL.
Pre-rendered consent screen:
Screenshot of the actual demo: