diff --git a/docusaurus/docs/reactnative/basics/migrating-from-5.x-to-6.x.mdx b/docusaurus/docs/reactnative/basics/migrating-from-5.x-to-6.x.mdx index 623d28b35c..194a00cdef 100644 --- a/docusaurus/docs/reactnative/basics/migrating-from-5.x-to-6.x.mdx +++ b/docusaurus/docs/reactnative/basics/migrating-from-5.x-to-6.x.mdx @@ -94,3 +94,7 @@ registerNativeHandlers({ ### Change the type of `quotedMessage` in `MessageInputContext` The type of `quotedMessage` is changed from `MessageType | boolean` to `MessageType | undefined` for better in the `MessageInputContext`. + +## Other Changes + +- Upgrade the peer dependency version of `react-native-video` to `>=6.4.2`. diff --git a/examples/SampleApp/ios/Podfile.lock b/examples/SampleApp/ios/Podfile.lock index 06902023a3..26249bbe80 100644 --- a/examples/SampleApp/ios/Podfile.lock +++ b/examples/SampleApp/ios/Podfile.lock @@ -1058,16 +1058,6 @@ PODS: - React-Core - react-native-safe-area-context (4.10.7): - React-Core - - react-native-video (6.0.0-beta.8): - - glog - - RCT-Folly (= 2022.05.16.00) - - React-Core - - react-native-video/Video (= 6.0.0-beta.8) - - react-native-video/Video (6.0.0-beta.8): - - glog - - PromisesSwift - - RCT-Folly (= 2022.05.16.00) - - React-Core - React-nativeconfig (0.73.5) - React-NativeModulesApple (0.73.5): - glog @@ -1327,7 +1317,6 @@ DEPENDENCIES: - "react-native-image-resizer (from `../node_modules/@bam.tech/react-native-image-resizer`)" - "react-native-netinfo (from `../node_modules/@react-native-community/netinfo`)" - react-native-safe-area-context (from `../node_modules/react-native-safe-area-context`) - - react-native-video (from `../node_modules/react-native-video`) - React-nativeconfig (from `../node_modules/react-native/ReactCommon`) - React-NativeModulesApple (from `../node_modules/react-native/ReactCommon/react/nativemodule/core/platform/ios`) - React-perflogger (from `../node_modules/react-native/ReactCommon/reactperflogger`) @@ -1459,8 +1448,6 @@ EXTERNAL SOURCES: :path: "../node_modules/@react-native-community/netinfo" react-native-safe-area-context: :path: "../node_modules/react-native-safe-area-context" - react-native-video: - :path: "../node_modules/react-native-video" React-nativeconfig: :path: "../node_modules/react-native/ReactCommon" React-NativeModulesApple: @@ -1583,7 +1570,6 @@ SPEC CHECKSUMS: react-native-image-resizer: fd0c333eca55147bd55c5e054cac95dcd0da6814 react-native-netinfo: 076df4f9b07f6670acf4ce9a75aac8d34c2e2ccc react-native-safe-area-context: 422017db8bcabbada9ad607d010996c56713234c - react-native-video: 2e38d3e0f7382427539b6b436812553480fcf70a React-nativeconfig: 78e2b14c0ee479449845b67bbe103343257cbcc0 React-NativeModulesApple: 4fce13d416890352a7a9621427459fe738c4e79a React-perflogger: 0dd9f1725d55f8264b81efadd373fe1d9cca7dc2 diff --git a/examples/SampleApp/ios/SampleApp.xcodeproj/project.pbxproj b/examples/SampleApp/ios/SampleApp.xcodeproj/project.pbxproj index 6b047dcb41..33ea86763c 100644 --- a/examples/SampleApp/ios/SampleApp.xcodeproj/project.pbxproj +++ b/examples/SampleApp/ios/SampleApp.xcodeproj/project.pbxproj @@ -642,6 +642,9 @@ " ${PODS_CONFIGURATION_BUILD_DIR}/ReactCommon/ReactCommon.framework/Headers", " ${PODS_CONFIGURATION_BUILD_DIR}/React-Fabric/React_Fabric.framework/Headers/react/renderer/components/view/platform/cxx", " ${PODS_CONFIGURATION_BUILD_DIR}/React-graphics/React_graphics.framework/Headers", + " ${PODS_CONFIGURATION_BUILD_DIR}/ReactCommon/ReactCommon.framework/Headers", + " ${PODS_CONFIGURATION_BUILD_DIR}/React-Fabric/React_Fabric.framework/Headers/react/renderer/components/view/platform/cxx", + " ${PODS_CONFIGURATION_BUILD_DIR}/React-graphics/React_graphics.framework/Headers", ); IPHONEOS_DEPLOYMENT_TARGET = 13.4; LD_RUNPATH_SEARCH_PATHS = ( @@ -762,6 +765,9 @@ " ${PODS_CONFIGURATION_BUILD_DIR}/ReactCommon/ReactCommon.framework/Headers", " ${PODS_CONFIGURATION_BUILD_DIR}/React-Fabric/React_Fabric.framework/Headers/react/renderer/components/view/platform/cxx", " ${PODS_CONFIGURATION_BUILD_DIR}/React-graphics/React_graphics.framework/Headers", + " ${PODS_CONFIGURATION_BUILD_DIR}/ReactCommon/ReactCommon.framework/Headers", + " ${PODS_CONFIGURATION_BUILD_DIR}/React-Fabric/React_Fabric.framework/Headers/react/renderer/components/view/platform/cxx", + " ${PODS_CONFIGURATION_BUILD_DIR}/React-graphics/React_graphics.framework/Headers", ); IPHONEOS_DEPLOYMENT_TARGET = 13.4; LD_RUNPATH_SEARCH_PATHS = ( diff --git a/examples/SampleApp/package.json b/examples/SampleApp/package.json index bfcda8eb71..f6b7647387 100644 --- a/examples/SampleApp/package.json +++ b/examples/SampleApp/package.json @@ -48,7 +48,6 @@ "react-native-screens": "^3.32.0", "react-native-share": "^10.2.1", "react-native-svg": "^14.1.0", - "react-native-video": "6.0.0-beta.8", "stream-chat-react-native": "link:../../package/native-package", "stream-chat-react-native-core": "link:../../package" }, diff --git a/examples/SampleApp/yarn.lock b/examples/SampleApp/yarn.lock index 88259f4def..fbd4eb5854 100644 --- a/examples/SampleApp/yarn.lock +++ b/examples/SampleApp/yarn.lock @@ -6370,11 +6370,6 @@ react-native-url-polyfill@^1.3.0: dependencies: whatwg-url-without-unicode "8.0.0-3" -react-native-video@6.0.0-beta.8: - version "6.0.0-beta.8" - resolved "https://registry.yarnpkg.com/react-native-video/-/react-native-video-6.0.0-beta.8.tgz#76597ea61d3791beb14731e9e469ddb86e88adf9" - integrity sha512-pWAJKhP6yt7sIe/u4vi292sWaHNgqSwZbKzauRKBHHEJr2pY/EG7Lis5hDI+rOJlQ0NmsPEurbUPH5TGQsFJFw== - react-native@*, react-native@^0.73.0: version "0.73.5" resolved "https://registry.yarnpkg.com/react-native/-/react-native-0.73.5.tgz#724fd1ae8ec8fee1dcf619c82bdd1695d3cff463" diff --git a/examples/TypeScriptMessaging/ios/Podfile.lock b/examples/TypeScriptMessaging/ios/Podfile.lock index 250f883987..cb6d73253e 100644 --- a/examples/TypeScriptMessaging/ios/Podfile.lock +++ b/examples/TypeScriptMessaging/ios/Podfile.lock @@ -77,9 +77,6 @@ PODS: - React-callinvoker - React-Core - OpenSSL-Universal (1.1.1100) - - PromisesObjC (2.4.0) - - PromisesSwift (2.4.0): - - PromisesObjC (= 2.4.0) - RCT-Folly (2022.05.16.00): - boost - DoubleConversion @@ -971,14 +968,13 @@ PODS: - React-Core - react-native-safe-area-context (4.10.7): - React-Core - - react-native-video (6.0.0-beta.8): + - react-native-video (6.4.2): - glog - RCT-Folly (= 2022.05.16.00) - React-Core - - react-native-video/Video (= 6.0.0-beta.8) - - react-native-video/Video (6.0.0-beta.8): + - react-native-video/Video (= 6.4.2) + - react-native-video/Video (6.4.2): - glog - - PromisesSwift - RCT-Folly (= 2022.05.16.00) - React-Core - React-nativeconfig (0.73.6) @@ -1282,8 +1278,6 @@ SPEC REPOS: - fmt - libevent - OpenSSL-Universal - - PromisesObjC - - PromisesSwift - SocketRocket EXTERNAL SOURCES: @@ -1441,8 +1435,6 @@ SPEC CHECKSUMS: libevent: 4049cae6c81cdb3654a443be001fb9bdceff7913 op-sqlite: 5688336af53053aa37f0ec3496487dc2734c91cc OpenSSL-Universal: ebc357f1e6bc71fa463ccb2fe676756aff50e88c - PromisesObjC: f5707f49cb48b9636751c5b2e7d227e43fba9f47 - PromisesSwift: 9d77319bbe72ebf6d872900551f7eeba9bce2851 RCT-Folly: 7169b2b1c44399c76a47b5deaaba715eeeb476c0 RCTRequired: ca1d7414aba0b27efcfa2ccd37637edb1ab77d96 RCTTypeSafety: 678e344fb976ff98343ca61dc62e151f3a042292 @@ -1472,7 +1464,7 @@ SPEC CHECKSUMS: react-native-image-resizer: fd0c333eca55147bd55c5e054cac95dcd0da6814 react-native-netinfo: 076df4f9b07f6670acf4ce9a75aac8d34c2e2ccc react-native-safe-area-context: 422017db8bcabbada9ad607d010996c56713234c - react-native-video: d440605e68cf173e70f0b25112455e3d86890663 + react-native-video: da6a37174e0cf74ba3decdbe671a0bf8e309538c React-nativeconfig: b4d4e9901d4cabb57be63053fd2aa6086eb3c85f React-NativeModulesApple: cd26e56d56350e123da0c1e3e4c76cb58a05e1ee React-perflogger: 5f49905de275bac07ac7ea7f575a70611fa988f2 diff --git a/examples/TypeScriptMessaging/package.json b/examples/TypeScriptMessaging/package.json index d70cd77d34..afcd2df8ee 100644 --- a/examples/TypeScriptMessaging/package.json +++ b/examples/TypeScriptMessaging/package.json @@ -32,7 +32,7 @@ "react-native-screens": "^3.32.0", "react-native-share": "^10.2.1", "react-native-svg": "^14.0.0", - "react-native-video": "6.0.0-beta.8", + "react-native-video": "^6.4.2", "stream-chat-react-native": "link:../../package/native-package", "stream-chat-react-native-core": "link:../../package" }, diff --git a/examples/TypeScriptMessaging/yarn.lock b/examples/TypeScriptMessaging/yarn.lock index ccb0ab2a40..28f4567f39 100644 --- a/examples/TypeScriptMessaging/yarn.lock +++ b/examples/TypeScriptMessaging/yarn.lock @@ -6492,10 +6492,10 @@ react-native-url-polyfill@^1.3.0: dependencies: whatwg-url-without-unicode "8.0.0-3" -react-native-video@6.0.0-beta.8: - version "6.0.0-beta.8" - resolved "https://registry.yarnpkg.com/react-native-video/-/react-native-video-6.0.0-beta.8.tgz#76597ea61d3791beb14731e9e469ddb86e88adf9" - integrity sha512-pWAJKhP6yt7sIe/u4vi292sWaHNgqSwZbKzauRKBHHEJr2pY/EG7Lis5hDI+rOJlQ0NmsPEurbUPH5TGQsFJFw== +react-native-video@6.4.2: + version "6.4.2" + resolved "https://registry.yarnpkg.com/react-native-video/-/react-native-video-6.4.2.tgz#f1d8e7594d36aa513ba21aa86bcd6e11c2716915" + integrity sha512-8/8AVnamWJU80ZTWFFrLtpzfJeonSM8C8C8YycWAnjzro+FpJqpnQFFheVU2l2BSrnRTGA3eT2p4euXc+SByMw== react-native@*, react-native@^0.73.6: version "0.73.6" diff --git a/package/native-package/package.json b/package/native-package/package.json index a69b1a0996..66390b4ebe 100644 --- a/package/native-package/package.json +++ b/package/native-package/package.json @@ -24,7 +24,7 @@ "react-native-haptic-feedback": ">=2.2.0", "react-native-image-picker": ">=7.1.2", "react-native-share": ">=10.2.1", - "react-native-video": ">=5.2.1" + "react-native-video": ">=6.4.2" }, "peerDependenciesMeta": { "@react-native-clipboard/clipboard": {