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:
Marc Rousavy
2026-03-18 22:44:49 +01:00
committed by GitHub
co-authored by fnwk
parent 309c31e6bb
commit a01d203bcb
267 changed files with 2066 additions and 2523 deletions
+2 -2
View File
@@ -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