chore: update examples README
This commit is contained in:
parent
9eb5502076
commit
324fc2ac65
@ -47,10 +47,7 @@ cd examples/bare && yarn install
|
|||||||
# for visionOS
|
# for visionOS
|
||||||
pod install --project-directory=visionos
|
pod install --project-directory=visionos
|
||||||
```
|
```
|
||||||
> [!IMPORTANT]
|
⚠️ You will need to hit it twice, because expo-plugin changes are not applied in the first run.
|
||||||
> You will need to hit it twice, because expo-plugin changes are not applied in the first run.
|
|
||||||
> [!TIP]
|
|
||||||
> Make sure you've already downloaded the visionOS simulator on which you want to launch the app.
|
|
||||||
|
|
||||||
Now you are ready to run the App. (Flag `--interactive` is optional, but it is recommended as it allows you to choose the device you want to run the app on. Select `BareExample` scheme)
|
Now you are ready to run the App. (Flag `--interactive` is optional, but it is recommended as it allows you to choose the device you want to run the app on. Select `BareExample` scheme)
|
||||||
```bash
|
```bash
|
||||||
@ -77,6 +74,9 @@ If Metro Bundler is not running (or it did not start), you can start it by runni
|
|||||||
yarn start
|
yarn start
|
||||||
```
|
```
|
||||||
|
|
||||||
|
> [!TIP]
|
||||||
|
> Make sure you've already downloaded the simulator on which you want to launch the app.
|
||||||
|
|
||||||
## [Expo](https://github.com/TheWidlarzGroup/react-native-video/tree/master/examples/bare)
|
## [Expo](https://github.com/TheWidlarzGroup/react-native-video/tree/master/examples/bare)
|
||||||
|
|
||||||
### Configuration
|
### Configuration
|
||||||
@ -169,4 +169,4 @@ That's it! Now you can commit changes and create a PR.
|
|||||||
|
|
||||||
#### Expo
|
#### Expo
|
||||||
To update `expo` example you should follow this [guide](https://docs.expo.dev/workflow/upgrading-expo-sdk-walkthrough).
|
To update `expo` example you should follow this [guide](https://docs.expo.dev/workflow/upgrading-expo-sdk-walkthrough).
|
||||||
After updating `expo` example you will need to use prebuild (yarn expo prebuild) - if it fails you will need to add `--clean` flag to the command - this will remove manual link of `react-native-video` package so you will need to link it again.
|
After updating `expo` example you will need to use prebuild (yarn expo prebuild) - if it fails you will need to add `--clean` flag to the command - this will remove manual link of `react-native-video` package so you will need to link it again.
|
||||||
|
Loading…
Reference in New Issue
Block a user