Skip to content

Releases: MFlisar/GDPRDialog

v1.2.5

12 Sep 07:56
Compare
Choose a tag to compare

Polish translation added

v1.2.4

11 Jun 12:25
Compare
Choose a tag to compare
  • fixed grammar errors in english texts
  • added french translation
  • builder withShowPaidOrFreeInfoText added

v1.2.3

06 Jun 07:00
Compare
Choose a tag to compare
  • 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 in builder.withCheckRequestLocation(<method including fallbacks>)

v1.2.2

30 May 07:31
Compare
Choose a tag to compare
  • spanish translation added
  • removed the text justification, as it may not work on some devices / in some cases

v1.2.1

28 May 05:10
Compare
Choose a tag to compare
  • fix isStateSaved missing problem for support library < 26.1.0
  • added a few networks

v1.2

26 May 10:47
Compare
Choose a tag to compare

Use https for loading AdMob networks

v1.1

26 May 06:27
Compare
Choose a tag to compare

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

v1.0

24 May 14:10
Compare
Choose a tag to compare

First release

You may need to change your code if you already used a test release

v0.5.2 - test release

23 May 12:00
Compare
Choose a tag to compare
v0.5.2 - test release Pre-release
Pre-release
  • withForceSelection added to setup
  • added an explicit question to the dialog

v0.5.1 - test release

23 May 09:35
Compare
Choose a tag to compare
v0.5.1 - test release Pre-release
Pre-release
  • added bottom sheet style
  • added landscape layout