mirror of
https://github.com/zoriya/react-native-video.git
synced 2026-08-16 02:56:22 +00:00
chore: Upgrade to Nitro 0.35.0 (#4849)
* chore: Upgrade to Nitro 0.35.0 * Replace `bigint` with `UInt64` * chore: Regenerate specs now for Nitro 0.35.0 * fix: Use Int64 as it can be -1 * Remove unnecessary patches * fix: change duration type to number * fix: avoid mutating VideoInformation fields after init * chore: regenerate specs with new duration type * fix: use Double for duration in VideoInformation * docs: react-native-nitro-modules version * chore: update react-native-nitro-modules version (rnv & drm) --------- Co-authored-by: fnwk <filip.wnek200@gmail.com>
This commit is contained in:
@@ -15,7 +15,7 @@ React Native Video is a library that allows you to play various kinds of video i
|
||||
|
||||
### Minimal Package Requirements
|
||||
- `react-native` `0.75.0` or higher
|
||||
- `react-native-nitro-modules` `0.27.2` or higher
|
||||
- `react-native-nitro-modules` `0.35.0` or higher
|
||||
|
||||
## Installation
|
||||
|
||||
@@ -63,7 +63,7 @@ Without this patch you won't be able "recognize" errors, all will be thrown as u
|
||||
:::
|
||||
|
||||
<details>
|
||||
<summary>For `react-native-nitro-modules` 0.27.X or higher</summary>
|
||||
<summary>Patch for `react-native-nitro-modules`</summary>
|
||||
|
||||
```diff
|
||||
diff --git a/node_modules/react-native-nitro-modules/cpp/core/HybridFunction.hpp b/node_modules/react-native-nitro-modules/cpp/core/HybridFunction.hpp
|
||||
|
||||
Reference in New Issue
Block a user