Locale.getDefault().language
.LifecycleObserver
. This time is paused when the app goes in background (using onMoveToBackground
) .and it's resumed when the app return active (using onMoveToForeground
).MBAudience.setPushEnabled(context: Context, push_enabled: Boolean)
, the default value is true
ACCESS_FINE_LOCATION
or ACCESS_COARSE_LOCATION
is enabled while app in foreground.