已合并
test:react-native-audio for 0.84 #2001
LiQiang创建于 15 天前
test:react-native-audio for 0.84 #2001
已合并
LiQiang创建于 15 天前
7 个文件变更+965-402
@@ -16,7 +16,6 @@
16 // "@react-native-ohos/react-native-baidu-map": "file:../../node_modules/@react-native-ohos/react-native-baidu-map/harmony/baidu_map.har",16 // "@react-native-ohos/react-native-baidu-map": "file:../../node_modules/@react-native-ohos/react-native-baidu-map/harmony/baidu_map.har",
17 // "@react-native-ohos/react-native-view-shot": "file:../../node_modules/@react-native-ohos/react-native-view-shot/harmony/view_shot.har",17 // "@react-native-ohos/react-native-view-shot": "file:../../node_modules/@react-native-ohos/react-native-view-shot/harmony/view_shot.har",
18 // "@react-native-ohos/react-native-fs": "file:../../node_modules/@react-native-ohos/react-native-fs/harmony/fs.har",18 // "@react-native-ohos/react-native-fs": "file:../../node_modules/@react-native-ohos/react-native-fs/harmony/fs.har",
19- // "@react-native-ohos/react-native-audio": "file:../../node_modules/@react-native-ohos/react-native-audio/harmony/audio.har",
20 // "@react-native-ohos/react-native-amap3d": "file:../../node_modules/@react-native-ohos/react-native-amap3d/harmony/rn_amap3d.har",19 // "@react-native-ohos/react-native-amap3d": "file:../../node_modules/@react-native-ohos/react-native-amap3d/harmony/rn_amap3d.har",
21 // "@react-native-ohos/react-native-charts-wrapper": "file:../../node_modules/@react-native-ohos/react-native-charts-wrapper/harmony/charts_wrapper.har",20 // "@react-native-ohos/react-native-charts-wrapper": "file:../../node_modules/@react-native-ohos/react-native-charts-wrapper/harmony/charts_wrapper.har",
22// "@react-native-ohos/react-native-pager-view": "file:../../node_modules/@react-native-ohos/react-native-pager-view/harmony/pager_view.har",21// "@react-native-ohos/react-native-pager-view": "file:../../node_modules/@react-native-ohos/react-native-pager-view/harmony/pager_view.har",
@@ -22,7 +22,6 @@ add_subdirectory("${RNOH_CPP_DIR}" ./rn)
22# add_subdirectory("${OH_MODULES}/@react-native-ohos/react-native-baidu-map/src/main/cpp" ./baidu-map)22# add_subdirectory("${OH_MODULES}/@react-native-ohos/react-native-baidu-map/src/main/cpp" ./baidu-map)
23# add_subdirectory("${OH_MODULES}/@react-native-ohos/react-native-view-shot/src/main/cpp" ./view-shot)23# add_subdirectory("${OH_MODULES}/@react-native-ohos/react-native-view-shot/src/main/cpp" ./view-shot)
24# add_subdirectory("${OH_MODULES}/@react-native-ohos/react-native-fs/src/main/cpp" ./fs)24# add_subdirectory("${OH_MODULES}/@react-native-ohos/react-native-fs/src/main/cpp" ./fs)
25-# add_subdirectory("${OH_MODULES}/@react-native-ohos/react-native-audio/src/main/cpp" ./audio)
26# add_subdirectory("${OH_MODULES}/@react-native-ohos/react-native-amap3d/src/main/cpp" ./rn_amap3d)25# add_subdirectory("${OH_MODULES}/@react-native-ohos/react-native-amap3d/src/main/cpp" ./rn_amap3d)
27#add_subdirectory("${OH_MODULES}/@react-native-ohos/react-native-pager-view/src/main/cpp" ./pager_view)26#add_subdirectory("${OH_MODULES}/@react-native-ohos/react-native-pager-view/src/main/cpp" ./pager_view)
28add_subdirectory("${OH_MODULES}/@react-native-ohos/react-native-safe-area-context/src/main/cpp" ./safe-area)27add_subdirectory("${OH_MODULES}/@react-native-ohos/react-native-safe-area-context/src/main/cpp" ./safe-area)
@@ -11,7 +11,6 @@
11// #include "BaiduMapPackage.h"11// #include "BaiduMapPackage.h"
12// #include "ViewShotPackage.h"12// #include "ViewShotPackage.h"
13// #include "RNFSPackage.h"13// #include "RNFSPackage.h"
14-// #include "AudioPackage.h"
15// #include "MapViewPackage.h"14// #include "MapViewPackage.h"
16// #include "ViewPagerPackage.h"15// #include "ViewPagerPackage.h"
17#include "SafeAreaViewPackage.h"16#include "SafeAreaViewPackage.h"
@@ -46,7 +45,6 @@ std::vector<std::shared_ptr<Package>> PackageProvider::getPackages(Package::Cont
46 // std::make_shared<BaiduMapPackage>(ctx),45 // std::make_shared<BaiduMapPackage>(ctx),
47 // std::make_shared<ViewShotPackage>(ctx),46 // std::make_shared<ViewShotPackage>(ctx),
48 // std::make_shared<RNFSPackage>(ctx),47 // std::make_shared<RNFSPackage>(ctx),
49- // std::make_shared<AudioPackage>(ctx),
50 // std::make_shared<MapViewPackage>(ctx),48 // std::make_shared<MapViewPackage>(ctx),
51// std::make_shared<ViewPagerPackage>(ctx),49// std::make_shared<ViewPagerPackage>(ctx),
52 std::make_shared<SafeAreaViewPackage>(ctx),50 std::make_shared<SafeAreaViewPackage>(ctx),
@@ -10,7 +10,6 @@ import { createRNOHPackages as createRNOHPackagesAutolinking } from "./RNOHPacka
10// import {BaiduMapPackage} from '@react-native-ohos/react-native-baidu-map/ts';10// import {BaiduMapPackage} from '@react-native-ohos/react-native-baidu-map/ts';
11// import { ViewShotPackage } from '@react-native-ohos/react-native-view-shot/ts';11// import { ViewShotPackage } from '@react-native-ohos/react-native-view-shot/ts';
12// import { FsPackage } from '@react-native-ohos/react-native-fs/ts';12// import { FsPackage } from '@react-native-ohos/react-native-fs/ts';
13-// import {AudioPackage} from '@react-native-ohos/react-native-audio/ts';
14// import {AMap3DPackage} from '@react-native-ohos/react-native-amap3d/ts';13// import {AMap3DPackage} from '@react-native-ohos/react-native-amap3d/ts';
15// import {ChartsWrapperPackage} from '@react-native-ohos/react-native-charts-wrapper/ts';14// import {ChartsWrapperPackage} from '@react-native-ohos/react-native-charts-wrapper/ts';
16// import { ViewPagerPackage } from '@react-native-ohos/react-native-pager-view/ts';15// import { ViewPagerPackage } from '@react-native-ohos/react-native-pager-view/ts';
@@ -47,7 +46,6 @@ export function createRNPackages(ctx: RNPackageContext): RNPackage[] {
47 // new BaiduMapPackage(ctx),46 // new BaiduMapPackage(ctx),
48 // new ViewShotPackage(ctx),47 // new ViewShotPackage(ctx),
49 // new FsPackage(ctx),48 // new FsPackage(ctx),
50- // new AudioPackage(ctx),
51 // new AMap3DPackage(ctx),49 // new AMap3DPackage(ctx),
52 // new ChartsWrapperPackage(ctx),50 // new ChartsWrapperPackage(ctx),
53 // new ViewPagerPackage(ctx),51 // new ViewPagerPackage(ctx),
@@ -22,6 +22,8 @@
22 "react-native-screens": "3.29.0",22 "react-native-screens": "3.29.0",
23 "@react-navigation/core": "file:./rnoh_package/react-navigation-core-3.7.9.tgz",23 "@react-navigation/core": "file:./rnoh_package/react-navigation-core-3.7.9.tgz",
24 "react-native-swipeable-item": "^2.0.9",24 "react-native-swipeable-item": "^2.0.9",
25+ "@react-native-ohos/react-native-ffmpeg-kit": "6.2.0-rc.1",
26+ "@react-native-ohos/react-native-audio": "4.4.0-beta.2",
25 "@react-native-ohos/react-native-image-picker": "8.3.0-rc.11",27 "@react-native-ohos/react-native-image-picker": "8.3.0-rc.11",
26 "@rnoh/testerino": "file:./rnoh_package/testerino/rnoh-testerino-0.0.12.tgz",28 "@rnoh/testerino": "file:./rnoh_package/testerino/rnoh-testerino-0.0.12.tgz",
27 "@react-native-ohos/react-native-exit-app": "2.2.0-beta.1",29 "@react-native-ohos/react-native-exit-app": "2.2.0-beta.1",
@@ -154,11 +154,11 @@ const Components: Array<RNTesterModuleInfo> = [
154 category: 'Map',154 category: 'Map',
155 module: require('../examples/react-native-amap3d/index').default,155 module: require('../examples/react-native-amap3d/index').default,
156 },156 },
157- // {157+ {
158- // key: 'react-native-Audio',158+ key: 'react-native-Audio',
159- // category: 'Map',159+ category: 'Map',
160- // module: require('../examples/react-native-Audio/AudioDemo').default,160+ module: require('../examples/react-native-Audio/AudioDemo').default,
161- // },161+ },
162 // {162 // {
163 // key: 'react-native-callkeep',163 // key: 'react-native-callkeep',
164 // category: 'Tools',164 // category: 'Tools',