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

Read file path from platform-specific identifier on iOS #68

Closed
petrot opened this issue Sep 4, 2023 · 1 comment
Closed

Read file path from platform-specific identifier on iOS #68

petrot opened this issue Sep 4, 2023 · 1 comment

Comments

@petrot
Copy link

petrot commented Sep 4, 2023

Is your feature request related to a problem? Please describe.
On Android, the Media.savePhoto method returns with the saved file's path. On iOS, the savePhoto response is void.
To get the saved file's path on iOS, I tried to use the getMedias method to list the files in my gallery subfolder and pick the latest one (which is the saved file). It works fine, but the file object contains only the base64 data and the identifier property, which is the file's platform-specific identifier.

Describe the solution you'd like
Can the file path be retrieved from the platform-specific identifier?

@nkalupahana
Copy link
Collaborator

Hi! Unfortunately, iOS doesn't work the same way as Android, so there is no "file path" that we could reference for where the photo is saved. This is how we perform changes in a photo library -- you'll see the success message is just a Bool, no other info.

@nkalupahana nkalupahana closed this as not planned Won't fix, can't repro, duplicate, stale Sep 10, 2023
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