mirror of
https://github.com/zhigang1992/react-navigation.git
synced 2026-03-06 17:34:59 +08:00
add command to open URI in the iOS simulator (#909)
This commit is contained in:
@@ -72,7 +72,13 @@ Now you can press play in Xcode, or re-build on the command line:
|
||||
react-native run-ios
|
||||
```
|
||||
|
||||
To test the URI in iOS, open safari and type `mychat://chat/Taylor`.
|
||||
To test the URI on the simulator, run the following:
|
||||
|
||||
```
|
||||
xcrun simctl openurl booted mychat://chat/Taylor
|
||||
```
|
||||
|
||||
To test the URI on a real device, open Safari and type `mychat://chat/Taylor`.
|
||||
|
||||
## Android
|
||||
|
||||
|
||||
Reference in New Issue
Block a user