tschoffelen / react-native-email-link

📭 Open an email client from React Native (for 'magic link' type functionality).
MIT License
409 stars 74 forks source link

URL encode body #71

Closed tschoffelen closed 4 years ago

tschoffelen commented 4 years ago

Fix for a problem where the body would not be parsed correctly if it contained special characters such as question marks, as pointed out by #62.

@mvanroon do you think this should be sufficient to make it work?


Fixes #62

mvanroon commented 4 years ago

yep, that should do the trick

tschoffelen commented 4 years ago

Released this as a new minor version. If you're updating to this new version @mvanroon, you should probably take out the URL encoding in your own code, otherwise it will encode it twice, which might cause problems for the end-user.

react-native-email-link@1.9.0

mvanroon commented 4 years ago

I've added it to our trello board :) I'll let you know if things work as expected

Oh and thanks!