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

Add default entitlements plist file to nativescript sdk #281

Merged
merged 1 commit into from
Mar 29, 2018

Conversation

tejasranade
Copy link
Contributor

Description

Refer to Kinvey/nativescript-sdk#31 for details on the issue and and proposed fix.

Changes

This PR adds a default app.entitlements file to the nativescript-sdk.

Tests

Tested manually with a MIC sample (https://github.com/tejasranade/EnterpriseSSO)

<dict>
<key>keychain-access-groups</key>
<array>
<string>$(AppIdentifierPrefix)$(PRODUCT_BUNDLE_IDENTIFIER)</string>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How did you determine this should be the value here?

Copy link
Contributor Author

@tejasranade tejasranade Mar 28, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good question. I believe I found this as the recommended default. It's basically a way to create a group identifier without having to hardcode any part of it. Here's some info on it - https://stackoverflow.com/a/39437477
And this is a tutorial on what the value means - https://evgenii.com/blog/sharing-keychain-in-ios/
I'll try to find the official docs about this, but we've been using this same value in all our sample apps and templates. @

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok thanks for the explanation.

@thomasconner thomasconner self-assigned this Mar 29, 2018
@thomasconner thomasconner merged commit 0182f41 into master Mar 29, 2018
@thomasconner thomasconner deleted the MLIBZ-2375_ns_keychain branch March 29, 2018 13:05
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.

2 participants