react-native-email-link: Not working 100%?
We’re testing this on iOS and Android and seeing mixed results from the same code. We have a button, running openInbox()
onPress.
-
iOS (11)
- Simulator:
Nothing occurs when running the method, although I have a feeling this could be due to not having any accounts setup on the device.Expected behaviour. - Real device:
Always get taken directly to the system Mail.app, even though I have Gmail installed and configuredResolved
- Simulator:
-
Android
- Simulator: Nothing occurs when running the method, I have a configured gmail account on the device.
- Real device: Nothing occurs when running the method, there are mail accounts configured on the device
We have added the LSApplicationQueriesSchemes
keys as specified in README, are there any
other steps not documented?
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Comments: 17 (16 by maintainers)
I must admit that I have not tested it with the Gmail app for iOS anytime recently - seems like the URL scheme might have changed.
This library does not currently support Android. I do have working code available for opening the inbox on Android, but haven’t yet found the time to merge it since it’s native code and will require a bit more testing then the simple Javascript required to make this work on iOS.
I understand you’re actively working on making this work for your app, so if I add the native code to a separate branch, could you try to merge it into the existing code in this lib? Would that work for you?