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

Check if folder exists or not #142

Open
gauravmehta13 opened this issue Aug 1, 2023 · 1 comment
Open

Check if folder exists or not #142

gauravmehta13 opened this issue Aug 1, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@gauravmehta13
Copy link

I am planning to create a whatsapp status downloader using this plugin.
If the uri is not found, the plugin opens downloads folder.

how can we check if the uri is not found and show appropriate message rather than redirecting to downloads to select.

image

@gauravmehta13 gauravmehta13 added the bug Something isn't working label Aug 1, 2023
@alexrintt
Copy link
Owner

alexrintt commented Aug 1, 2023

I would recommend checking if the WhatsApp app is installed or not instead of checking if their internal status folder exists.

I recommend this approach because you can't know if the status folder exists before the user grants the permission.

That's not something related to this package btw, this is a constraint from android scoped storage.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants