Product: lb-phone.
Issue: After phone setup settings.locale is null until user selects a language.
When: Between user phone setup and user changing language in the settings
How to recreate:
getSettings().then((settings: any) => {
console.log(settings)
})
Im building a custom app and im fetching the locales when the app is mounted.
After the user finished setting up the phone, settings.locale is null until he changes it.
Reproduce:
- Use https://github.com/lbphone/lb-phone-app-template/tree/main/react-ts to create a custom app and log the user settings https://github.com/lbphone/lb-phone-app-template/blob/main/react-ts/ui/src/App.tsx#L20
- Setup a new phone
- Open the custom App
settings object will be missing thelocaleproperty - Open the settings app and change locale
- Open the custom App
localeis now present
Attachment: Not required
Version: 1.6.0
Framework: Not required
Has this bug appeared more than once? If so, how often?: Every time
Expected behavior
- Return the locale the user chose on setup