Skip to content
This repository has been archived by the owner on Dec 13, 2021. It is now read-only.

Demonstrates Haxe/OpenFL bindings for the Google Mobile Ads GDPR Consent SDK

License

Notifications You must be signed in to change notification settings

Tw1ddle/samcodes-consent-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Haxe GDPR Consent Demo

License

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!

Usage

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.

Screenshots

Pre-rendered consent screen:

Screenshot of the actual demo:

Notes

  • Run the JavaScript build here. There's no web-based consent support yet.
  • Got an idea or suggestion? Open an issue on GitHub, or send Sam a message on Twitter.

About

Demonstrates Haxe/OpenFL bindings for the Google Mobile Ads GDPR Consent SDK

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages