ionic-team / cordova-plugin-ios-keychain

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

.get return null on iOS 10.1 #15

Closed afilhodaniel closed 7 years ago

afilhodaniel commented 7 years ago

Hi,

The .get resource always return null on iOS 10. But, on any other version its fine.

Any error is throwed. The .get executes successfully, but without data.

Sravan-Nayini commented 7 years ago

Yes Even I am facing this issue.get() always returning null.

Sravan-Nayini commented 7 years ago

any workaround please?

Sravan-Nayini commented 7 years ago

follow this step. Add KeyChain Entitlement, Go to project settings->Capabilities->Keychain Sharing->Add Keychain Groups+Turn On

Now working fine

afilhodaniel commented 7 years ago

@Sravan-Nayini yes, this works fine! Thanks!

johnborges commented 7 years ago

@Sravan-Nayini suggestion above doesn't work for me.

mlynch commented 7 years ago

Anyone else have thoughts on whether @Sravan-Nayini's suggestion works? Standing by and will update/close issue accordingly

rachelpopa commented 7 years ago

I am seeing the same thing with the latest version. Sravan-Nayini 's suggestion does not work for me and I always use keychain sharing anyways. It is resulting in a success but the value returned is null. This is on iOS 10.2

marcosbrigante commented 7 years ago

I see the null problem on simulator, on device it works nicely.

mlynch commented 7 years ago

Looks like a simulator limitation