feat!(ios): remove native dependency promises
(#3631)
This commit is contained in:
@@ -6,7 +6,8 @@
|
||||
## Beta Information
|
||||
> ⚠️ **Version 6 Beta**: The following documentation may refer to features only available through the v6.0.0 alpha releases, [please see version 5.2.x](https://github.com/react-native-video/react-native-video/blob/v5.2.0/README.md) for the current documentation!
|
||||
|
||||
Version 6.x recommends react-native >= 0.68.2.
|
||||
Version 6.x requires **react-native >= 0.68.2**
|
||||
> ⚠️ from **6.0.0-beta.8** requires also **iOS >= 13.0** (default in react-native 0.73)
|
||||
|
||||
For older versions of react-native, [please use version 5.x](https://github.com/react-native-video/react-native-video/tree/v5.2.0).
|
||||
|
||||
|
@@ -22,6 +22,7 @@ Then follow the instructions for your platform to link react-native-video into y
|
||||
## iOS
|
||||
|
||||
### Standard Method
|
||||
Run `pod install` in the `ios` directory of your project.
|
||||
|
||||
### Enable custom feature in podfile file
|
||||
|
||||
@@ -155,16 +156,8 @@ Select RCTVideo-tvOS
|
||||
<summary>visionOS</summary>
|
||||
|
||||
## visionOS
|
||||
Add patch for `promises` pods to your pod files to make it work with `visionOS` target.
|
||||
> This patch is required only for `visionOS` target and will be removed in future.
|
||||
```diff
|
||||
+ pod 'PromisesSwift', :podspec => '../node_modules/react-native-video/ios/patches/PromisesSwift.podspec'
|
||||
+ pod 'PromisesObjC', :podspec => '../node_modules/react-native-video/ios/patches/PromisesObjC.podspec'
|
||||
```
|
||||
Run `pod install` in the `visionos` directory of your project
|
||||
|
||||
**Remember** to run `pod install` after adding this patch.
|
||||
|
||||
After this you can follow the same steps as for `iOS` target.
|
||||
</details>
|
||||
|
||||
## Examples
|
||||
|
Reference in New Issue
Block a user