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>)