Skip to content

v1.1

Compare
Choose a tag to compare
@MFlisar MFlisar released this 26 May 06:27
· 97 commits to master since this release

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 and TimeZone)
  • 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 into withCheckRequestLocation(boolean) and withCheckRequestLocationFallbacks(boolean, boolean)
  • GDPRLocation.UNKNOWN => renamed to GDPRLocation.UNDEFINED
  • GDPRLocation.EAA => renamed to GDPRLocation.IN_EAA_OR_UNKNOWN
  • Interface changed:
    IGDPRCallback::onConsentNeedsToBeRequested(GDPRLocation location) => IGDPRCallback::onConsentNeedsToBeRequested(GDPRPreperationData data)
  • consentState== GDPRLocation.PERSONAL_CONSENT may need to be replaced with consentState.isPersonalConsent()
  • GDPR.canCollectPersonalInformation(boolean) is replaced with GDPR.canCollectPersonalInformation() because of the new consent state, so the boolean is not necessary anymore