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 support for container groups #386

Open
mikezliu opened this issue Apr 11, 2018 · 1 comment
Open

Add support for container groups #386

mikezliu opened this issue Apr 11, 2018 · 1 comment

Comments

@mikezliu
Copy link

mikezliu commented Apr 11, 2018

When the settings plist contains the string ApplicationGroupContainerIdentifier and a custom container name, it's not currently used by InAppSettingsKit. See https://developer.apple.com/library/content/documentation/PreferenceSettings/Conceptual/SettingsApplicationSchemaReference/Articles/RootContent.html for information about this key. Container groups are used for sharing settings such as between the app and its widgets.

Looking in IASKSettingsStoreUserDefaults, it appears that standardUserDefaults is always used. This should call initWithSuiteName with the name of the container from the key ApplicationGroupContainerIdentifier.

@futuretap
Copy link
Owner

Thanks for noticing this. Indeed, we don't support the ApplicationGroupContainerIdentifier yet. Would you be willing to contribute a fix in a pull request?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants