gdpr_dialog 1.0.5 copy "gdpr_dialog: ^1.0.5" to clipboard
gdpr_dialog: ^1.0.5 copied to clipboard

outdated

Library for use GDPR dialog from user for personalized ads and non personalized ads. Now works only with android platform.

GDPR dialog #

Works only with Android now! #

showDialog method get admob publisherID and privacy string url of your site. Then get request native to android dialog and set result as boolean.

Bool variable "isForTest" for testing library, set true to activate setDebugGeography.

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.

45
likes
0
pub points
89%
popularity

Publisher

unverified uploader

Library for use GDPR dialog from user for personalized ads and non personalized ads. Now works only with android platform.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on gdpr_dialog