Hi ! I am using react-native-appwrite:0.4.0 to write password-reset functionality. However, whenever I call the account.createRecovery(email, "http://mysocietyapp.co/reset-password"), I get an error stating: Invalid 'url' param: URL host must be one of: localhost, cloud-appwite.io, appwrite.io, *.appwrite.io . This makes no sense. How am I supposed to handle password reset if I cannot deep link to the application, neither can I make my own reset-password page on my server.
TL;DR
Issue: Error message states restricted URL hosts when trying to create password reset link with react-native-appwrite.
Solution: This error occurs due to restricted URL hosts in appwrite. To resolve, host the reset-password page on an accepted host like localhost, cloud-appwrite.io, appwrite.io, or *.appwrite.io.