Skip to content

react-native iOS settings may not be defined with new architecture #757

Open
@quinnturner

Description

Describe the bug

For settings.AppleLocale, settings can be null/undefined using the new arch, so I think we also need a check _a.settings?.AppleLocale

To reproduce

When I loaded my application using React 0.77 with the new architecture on an iOS simulator with the latest iOS version settings was undefined or null

Expected behavior

Check for nullability on settings

SDK version
Latest

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingpackage: sdk/react-nativeIssues that affect the react native SDK.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions