diff --git a/docs/pages/other/_meta.json b/docs/pages/other/_meta.json index ca7f6658..2280f458 100644 --- a/docs/pages/other/_meta.json +++ b/docs/pages/other/_meta.json @@ -1,5 +1,6 @@ { "caching": "Caching", "misc": "Misc", - "debug": "Debugging" + "debug": "Debugging", + "new-arch": "New Architecture" } \ No newline at end of file diff --git a/docs/pages/other/new-arch.md b/docs/pages/other/new-arch.md new file mode 100644 index 00000000..fb761663 --- /dev/null +++ b/docs/pages/other/new-arch.md @@ -0,0 +1,25 @@ +# New Architecture + +## Fabric +Library currently does not support Fabric. We are working on it. In the meantime, you can use Interop Layer. + +## Interop Layer +You can use this library on New Architecture by using Interop Layer.
To use Interop Layer you need to have `react-native` >= `0.72.0` & `react-native-video` >= `6.0.0-beta.5`. + +For `react-native` < `0.74` you need to add config in `react-native.config.js` file. + +```javascript +module.exports = { + project: { + android: { + unstable_reactLegacyComponentNames: ['Video'], + }, + ios: { + unstable_reactLegacyComponentNames: ['Video'], + }, + }, +}; +``` + +## Bridgeless Mode +Library currently does not support Bridgeless Mode. We are working on it.