Releases: MFlisar/GDPRDialog
Releases · MFlisar/GDPRDialog
v1.2.5
v1.2.4
v1.2.3
-
new language added: portuguese
-
added new location fallback method (
Locale
) -
define a custom order of location checks, so no need to use the internet based method at all if you don't want to, e.g.:
// example 1 builder.withCheckRequestLocation(GDPRLocationCheck.TELEPHONY_MANAGER, GDPRLocationCheck.TIMEZONE); // example 2 builder.withCheckRequestLocation(GDPRLocationCheck.TELEPHONY_MANAGER, GDPRLocationCheck.TIMEZONE, GDPRLocationCheck.LOCALE);
Migration
builder.withCheckRequestLocation(true)
=>builder.withCheckRequestLocation(GDPRLocationCheck.DEFAULT)
builder.withCheckRequestLocationFallbacks(...)
=> pass in your fallbacks inbuilder.withCheckRequestLocation(<method including fallbacks>)
v1.2.2
v1.2.1
v1.2
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
v1.0
v0.5.2 - test release
- withForceSelection added to setup
- added an explicit question to the dialog
v0.5.1 - test release
- added bottom sheet style
- added landscape layout