This repository has been archived by the owner on May 10, 2024. It is now read-only.
Ads region on iOS is unsupported if users Calendar is set to a non-default option #2022
Labels
Milestone
Ref brave/brave-browser#7029
Relevant PR: brave/brave-core#4069
In iOS we use
NSLocale
to determine the users current locale and feed this into the ads library. If an iOS user sets a non-default calendar for their region (For example switching from Gregorian to Japanese) the identifier reported byNSLocale
ends up looking like thisen_US@calendar=japanese
which then is not parsed correctly by bat-native-ads since it is looking foren_US
/en-US
specifically.This results in the user seeing "Ads region not supported" status on the Rewards Settings page even if they are in a supported region
The text was updated successfully, but these errors were encountered: