ionic-team / cordova-plugin-ios-keychain

Apache Cordova (PhoneGap) plugin
Other
62 stars 44 forks source link

plugin doesn't work with iOS 10 #12

Closed jas67 closed 8 years ago

jas67 commented 8 years ago

I can not get the plugin to work with iOS 10 targets. I am testing with both SDK 9.3 and SDK 10.0. Builds with both SDKs work fine on iOS 9.3 targets, but, not on iOS 10 targets.

Something, has apparently changed with how iOS 10 handles keychains.

jas67 commented 8 years ago

I was able to get it working by turning on "Keychain Sharing" in the Capabilities tab of my project in Xcode.

jacquesdev commented 8 years ago

I am not sure how the capabilities work, but is there any way that when the plugin is installed, that it could turn Keychain Sharing on automatically? (for iOS10?)

jas67 commented 8 years ago

https://github.com/Telerik-Verified-Plugins/Keychain-Sharing https://github.com/Telerik-Verified-Plugins/Keychain-Sharing

cordova plugin add --variable KEYCHAIN_ACCESS_GROUP=com.company.app https://github.com/Telerik-Verified-Plugins/Keychain-Sharing

On Sep 20, 2016, at 12:13 PM, Jacques de Villiers notifications@github.com<mailto:notifications@github.com> wrote:

I am not sure how the capabilities work, but is there any way that when the plugin is installed, that it could turn Keychain Sharing on automatically? (for iOS10?)

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHubhttps://github.com/driftyco/cordova-plugin-ios-keychain/issues/12#issuecomment-248351067, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AM6YL9Tv2rgsHD0cDNklKBzxXoUyMSsSks5qsAY3gaJpZM4KBvSA.