-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
react-native iOS settings may not be defined with new architecture #757
Comments
Hey @quinnturner, do you know if it is ever non-null (for instance on a real device)? I can approve your PR for now, but my concern here is that the code may actually need re-structured to make this call at a different time, or with a different API. So I will likely leave this issue open even after merging the PR until that behavior can be validated. |
Honestly, I know very little about this code. I had to use this patch to get new arch to work but besides that, I have zero insights. Sorry! |
Ok. Just be aware that if you are using auto-environment attributes for targeting, that this value could be missing with this change. |
Filed internally as SDK-1048 |
@quinnturner Your change is released in 10.9.5. Thank you, |
Describe the bug
For
settings.AppleLocale
,settings
can benull
/undefined
using the new arch, so I think we also need a check _a.settings?.AppleLocaleTo reproduce
When I loaded my application using React 0.77 with the new architecture on an iOS simulator with the latest iOS version
settings
wasundefined
ornull
Expected behavior
Check for nullability on
settings
SDK version
Latest
The text was updated successfully, but these errors were encountered: