v1.1
VERY IMPORTANT:
consentState== GDPRLocation.PERSONAL_CONSENT
may need to be replaced with consentState.isPersonalConsent()
READ the migration info below
Changes
- changed default read and connection timeout for location check from 10s/15s to 5s/3s
New features
- add optional additional location check fallbacks (via
TelephoneManager
andTimeZone
) - removed text justification for android >= 26, because it does not work correct
- added ability to add sub networks to networks
- networks are shown as list now
- added ability to load AdMob's ad providers from google automatically
- added ability to add privacy policy link and sub networks link to network definitions
- added a new consent state:
GDPRConsent.AUTOMATIC_PERSONAL_CONSENT
- allow to customise read and connect timeout for location check
- ability to use your own logger:
GDPR.getInstance().initLogger(new GDPR.ILogger() { ... });
Migration
withCheckRequestLocation(boolean, boolean, boolean)
is split up intowithCheckRequestLocation(boolean)
andwithCheckRequestLocationFallbacks(boolean, boolean)
GDPRLocation.UNKNOWN
=> renamed toGDPRLocation.UNDEFINED
GDPRLocation.EAA
=> renamed toGDPRLocation.IN_EAA_OR_UNKNOWN
- Interface changed:
IGDPRCallback::onConsentNeedsToBeRequested(GDPRLocation location)
=>IGDPRCallback::onConsentNeedsToBeRequested(GDPRPreperationData data)
consentState== GDPRLocation.PERSONAL_CONSENT
may need to be replaced withconsentState.isPersonalConsent()
GDPR.canCollectPersonalInformation(boolean)
is replaced withGDPR.canCollectPersonalInformation()
because of the new consent state, so the boolean is not necessary anymore