Gravity
Search…
Magic Links
You can open your application using external links and even pass data to your application on load.
Inside /app/app.json you can set the scheme to your own app name, then launch your app using gravity://
When using Expo in development, the exp:// scheme will be automatically injected, and your production scheme name will be used when your app is built. You can also pass in a route and parameters, like so:
1
gravity://resetpassword?token=xxx
Copied!
For a full example, please refer to the reset password or user invite flow, both of which send a magic link that opens the app.
Last modified 1yr ago
Copy link