This PR improves deep linking and shows my journey trying to learn and understand them.
Steps to configure:
Be sure to add yourschemename to your linking prefixes.
npx uri-scheme add yourschemename
To test it, run:
npx uri-scheme open yourschemename://details
Edit: I managed to make it work for Android only by the above commands. Opening [yourschemename]://details from the website section of a contact (from the phonebook) for example won't wont.
Troubleshooting:
npm ERR! Override for @types/react-dom@^18.0.5 conflicts with direct dependency
Simply remove @types/react-dom from package.json for the time being. Uninstall not required.
Summary
This PR improves deep linking and shows my journey trying to learn and understand them.
Steps to configure:
Be sure to add
yourschemename
to your linking prefixes.To test it, run:
Edit: I managed to make it work for Android only by the above commands. Opening
[yourschemename]://details
from the website section of a contact (from the phonebook) for example won't wont.Troubleshooting:
Simply remove
@types/react-dom
frompackage.json
for the time being. Uninstall not required.localhost:3000
not working for AndroidUse
10.0.2.2
instead oflocalhost