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

iOS permissions issue #765

Open
MydusApps opened this issue Dec 6, 2024 · 2 comments
Open

iOS permissions issue #765

MydusApps opened this issue Dec 6, 2024 · 2 comments

Comments

@MydusApps
Copy link

Permissions promise is not completing, nor is it triggering a permissions request on the device for iOS 18. All the correct permissions have been stated in the Info.plist. This was working in previous versions.

Please let me know if you require any additional info to resolve this.

@C0zmaCatalin
Copy link

I am experiencing this issue as well. The code works perfectly on versions lower than 18.0. However, on versions 18.0 and above, neither the then nor the catch block executes, and no console log is printed.

Contacts.checkPermission() .then((permission) => { console.log(permission); }) .then((err) => { console.log(err); });

@MydusApps
Copy link
Author

A work around we have found is to use react-native-permissions to request permissions from the user and then use react-native-contacts to retrieve the contact data. I hope this helps.

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