gdpr_dialog 1.0.9 gdpr_dialog: ^1.0.9 copied to clipboard
Library for use GDPR dialog from user for personalized ads and non personalized ads.
GDPR dialog #
showDialog method get admob publisherID and privacy string url of your site. Then get request native to android/ios dialog and set result as boolean.
Bool variable "isForTest" for testing library, set true to activate setDebugGeography. (works only for Android)
In release build set false or delete this argument!
true = show personalized adsß
false = show non personalized ads
Usage #
GdprDialog().showDialog('pub-id', 'privacy-policy/', isForTest: false, testDeviceId: '').then((onValue) {
print(onValue); // result of users choise
});
In release build you need only first two parameters.