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

Allow reading from/writing to iOS shared app group directory #626

Open
mohammadrafigh opened this issue Jun 5, 2024 · 0 comments
Open

Comments

@mohammadrafigh
Copy link

mohammadrafigh commented Jun 5, 2024

Feature Request

Motivation Behind Feature

There are many cases that there is a need to access files and directories of the main app target from another target (extension).
For example, if you want to read a file in a Notification Service Extension, currently there is no way to handle that.

Feature Description

You can easily add this as an option or another method to write into or read from the shared app group directory like this (in Swift)

FileManager.default.containerURL(forSecurityApplicationGroupIdentifier: "group.my.app.onesignal")

It will return the URL that the plugin can facilitate it like any other URL it's handling.

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

1 participant