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

Support for iOS 18 Limited state & contact picker? #744

Closed
sahil-ahuja-1 opened this issue Aug 28, 2024 · 6 comments
Closed

Support for iOS 18 Limited state & contact picker? #744

sahil-ahuja-1 opened this issue Aug 28, 2024 · 6 comments

Comments

@sahil-ahuja-1
Copy link

Hi @morenoh149 ! Thanks for this awesome and very useful library :)

I was wondering if you were planning to add support for the upcoming iOS 18 changes with the limited contact state and opening the contact picker?

Right now, the permission shows as authorized even if it is limited. Thanks in advance!

@morenoh149
Copy link
Owner

@sahil-ahuja-1 no plans to support it. Do you have a link to where these features are described?

@Lee-sungheon
Copy link
Contributor

@morenoh149 https://developer.apple.com/videos/play/wwdc2024/10121/
Here's a reference to the relevant feature. There is a need for additional functionality regarding limited permissions. Do you still have no plans to add this feature?

@morenoh149
Copy link
Owner

no plans to add it. I'm open to merging the addition if anyone wants to contribute it. The api has to make sense across ios and android.

@sahil-ahuja-1
Copy link
Author

Thanks @Lee-sungheon

Could we release a 8.0.2 version with this change included?

@morenoh149
Copy link
Owner

@sahil-ahuja-1 v8.0.2 is released, please test it https://www.npmjs.com/package/react-native-contacts

@gorkemogut
Copy link

It has typos "double closing brackets"

on ln 609

    else if( [CNContactStore authorizationStatusForEntityType:entityType]== CNAuthorizationStatusAuthorized || [CNContactStore authorizationStatusForEntityType:entityType] == CNAuthorizationStatusLimited**))**
    else if([CNContactStore authorizationStatusForEntityType:entityType]== CNAuthorizationStatusAuthorized)

on ln 1443

else if( [CNContactStore authorizationStatusForEntityType:entityType]== CNAuthorizationStatusAuthorized || [CNContactStore authorizationStatusForEntityType:entityType] == CNAuthorizationStatusLimited**))**

on ln 1493

else if( [CNContactStore authorizationStatusForEntityType:entityType]== CNAuthorizationStatusAuthorized || [CNContactStore authorizationStatusForEntityType:entityType] == CNAuthorizationStatusLimited**))**

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

No branches or pull requests

4 participants