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

Couldn't find meta-data for provider with authority com.example.postouapp.com.postouapp.provider, com.whatsapp, null) #1

Open
vkbaloda opened this issue Sep 28, 2021 · 0 comments

Comments

@vkbaloda
Copy link

This error comes when uses the normal shareToWhatsapp method with imageFile URL and some message.

This must be happening because you used your own apps applicationId when getting file path with FileProvider. I think it should be something like this (use the clients applicationId):
FileProvider.getUriForFile(context, context.getApplicationContext().getPackageName() + ".provider", file);

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