getStorefrontLocaleWith
fun Purchases.getStorefrontLocaleWith(onError: (<Error class: unknown class>) -> Unit = ON_ERROR_STUB, onSuccess: (storefrontLocale: Locale) -> Unit)
This method will try to obtain the Store (Google/Amazon) locale. Note: this locale only has a region set. If there is any error, it will return null and log said error.
Parameters
onSuccess
Will be called after the call has completed.
onError
Will be called after the call has completed with an error.