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 App Groups #32

Open
Steven-Chan opened this issue Aug 23, 2016 · 2 comments
Open

Support App Groups #32

Steven-Chan opened this issue Aug 23, 2016 · 2 comments

Comments

@Steven-Chan
Copy link
Contributor

Currently the sdk saves accessToken and currentRecordID in [NSUserDefaults standardUserDefaults], which not accessible across apps in app group, in case I want to add extension to existing app.

@cheungpat
Copy link
Contributor

Steven mentioned that one use case is to support apps with extensions like Watch Extension. The required credentials need to be stored with -[NSUserDefaults initWithSuiteName:].

It seems the app itself cannot find entitled app groups in runtime, therefore some explicit configuration is needed so that the SDK will save credentials in other user defaults object.

@cheungpat
Copy link
Contributor

@Steven-Chan do you want to try implement this?

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

No branches or pull requests

2 participants