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 Keychain Sharing #54

Closed
wants to merge 1 commit into from
Closed

iOS Keychain Sharing #54

wants to merge 1 commit into from

Conversation

maxperry
Copy link

@maxperry maxperry commented Feb 7, 2017

Hi,

I split the index.js file into index.ios.js and index.android.js, and I refactored all the methods of the iOS module (except the ones for Shared Web Credentials) to allow to pass an accessGroup string.

This enables Keychain sharing on iOS, which is very convenient when developing an App Extension, just like in my case where I needed to access the keychain in order to share the login credentials.

Please refer to the links below for more info:
http://evgenii.com/blog/sharing-keychain-in-ios/
http://swiftandpainless.com/ios8-share-extension-with-a-shared-keychain/

We'll also need to update the README if you decide to merge.

Cheers!

@oblador
Copy link
Owner

oblador commented Feb 10, 2017

Thanks! I wanted a slightly different API for this, but it's now released in 1.1.0. Use it with an option object instead { accessGroup: 'com.my.app' }.

@oblador oblador closed this Feb 10, 2017
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

Successfully merging this pull request may close these issues.

None yet

2 participants