Files
react-navigation/example
Satyajit Sahoo 86e64fdcd8 feat: associate path with the route it opens when deep linking (#9384)
This commit adds a new optional property on the `route` object called `path`.
This property will be added if the screen was opened from a deep link.

Having this property helps with few things:

- Preserve the URL when the path was unmatched, e.g. 404 routes
- Expose the path to the user so they could handle it manually if needed, e.g. open in a webview
- Avoid changing URL if state to path doesn't match current path, e.g. if orders of params change

Fixes #9102
2021-03-05 12:20:35 +01:00
..
2020-10-25 01:58:38 +02:00
2020-03-22 23:58:06 +01:00
2020-05-20 13:27:29 +02:00
2021-01-08 13:59:24 +01:00
2021-03-05 02:40:08 +01:00
2020-09-23 01:34:55 +02:00

Example for React Navigation

If you want to run the example from the repo,

  • Clone the repository and run yarn in the project root
  • Run yarn example start to start the packager
  • Follow the instructions to open it with the Expo app

You can also run the currently published app on Expo on your Android device or iOS simulator or the web app in your browser.