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 iOS App Groups #1086

Open
bpeltonc opened this issue Apr 19, 2024 · 1 comment
Open

Add support for iOS App Groups #1086

bpeltonc opened this issue Apr 19, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@bpeltonc
Copy link

bpeltonc commented Apr 19, 2024

Proposal

Currently, the library stores the manifest.json file in a folder that can't be easily found by iOS apps that need access to this file, but target different platforms (e.g. WatchOS, Widget extensions, etc). Apple supports this functionality via App Groups, so the issue is entirely in the way this library interacts with the native APIs and can be fixed. Ideally React Native Async Storage would expose a JavaScript method that creates an App Group and writes data to a file in there.

Alternatives

No response

Implementation Details

No response

Additional Context

No response

@bpeltonc bpeltonc added the enhancement New feature or request label Apr 19, 2024
@NTag
Copy link

NTag commented May 7, 2024

Agreed, I also need this feature to share data between two apps I develop. It's a safe Apple feature allowing multiple apps from the same developer to access the same data: https://developer.apple.com/documentation/xcode/configuring-app-groups

I'd be great that async-storage supports it 🙌

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants