Skip to content
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

Location permission setting direct open in IOS device setting #39

Closed
dhruvi7489 opened this issue Aug 17, 2023 · 1 comment
Closed

Location permission setting direct open in IOS device setting #39

dhruvi7489 opened this issue Aug 17, 2023 · 1 comment

Comments

@dhruvi7489
Copy link

Hi guys,

App store rejecting my apk because of security reasons to given access in my app.

My code:
NativeSettings.open({
optionAndroid: AndroidSettings.ApplicationDetails,
optionIOS: IOSSettings.App
}).then((res: any) => {
// Code
}).catch((err: any) => {
// Code
})

But in this module i don't find any specific way to open device setting directly to location access permission.

Can anyone suggest me how i can give specific location access permission in IOS?

@RaphaelWoude
Copy link
Owner

RaphaelWoude commented Aug 30, 2023

Hi @dhruvi7489

Apple is very vague with what they allow for applications these days. The package supports different options outside of IOSSettings.App but we don't know if these are allowed at this moment in time as Apple does not provide us with a list of allowed and disallowed options.

You can try IOSSettings.Location but I cannot guarantee that this will not be rejected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants