-
Notifications
You must be signed in to change notification settings - Fork 248
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
Support multiple attachments on Android #161
Conversation
Instant crash on first run what am i missing? EDIT: OK got it running. Please add the changes made in |
6475caf
to
88c09d3
Compare
I've implemented the FileProvider the way https://github.com/react-native-community/react-native-share does it so it will work if the app has its own FileProvider implementation (otherwise the manifest merger will fail on build). |
88c09d3
to
b815b1d
Compare
Even better, good catch. The only thing im not quite sure about is Shouldn't this be up to the user instead of having it inside the lib? |
True, I only added it to mimic RNShare's implementation - I assume it would work without it? |
It does. If the user needs it however, its up to him to add the permission into the app's manifest. If you remove the permission from your commit, i think we're good to go. |
b815b1d
to
8be5225
Compare
Should we use |
Does not make a big difference right now but looking into the future it might be a good decision to do that, yes. |
8be5225
to
d77e6ee
Compare
@Relax594 all done! |
Thank you! ping @chirag04 LGTM. |
awesome! appreciate your contributions 🙌 |
### Description We weren't able to attach logs on certain devices. I suspect [this PR](chirag04/react-native-mail#161) fixed the issue, though I need someone else to confirm since it works fine on my device fixes #5730
### Description We weren't able to attach logs on certain devices. I suspect [this PR](chirag04/react-native-mail#161) fixed the issue, though I need someone else to confirm since it works fine on my device fixes #5730
Fixes #153.
I've tested this in my app using my patch via
patch-package
but haven't tested it properly standalone.It uses
FileProvider
so might need to include some of #127.Please can someone else test it too to make sure there's nothing else missing in this implementation?