Skip to content

v1.2.3

Compare
Choose a tag to compare
@MFlisar MFlisar released this 06 Jun 07:00
· 66 commits to master since this release
  • 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>)