@react-native-ohos/react-native-audio 4.2.3-rc.3 → 4.3.0-rc.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/harmony/audio/oh-package.json5 +1 -1
- package/harmony/audio.har +0 -0
- package/index.js +1 -1
- package/package.json +1 -1
package/harmony/audio.har
CHANGED
|
Binary file
|
package/index.js
CHANGED
|
@@ -10,7 +10,7 @@ import ReactNative, {
|
|
|
10
10
|
} from "react-native";
|
|
11
11
|
|
|
12
12
|
// @ts-ignore We want to check whether __turboModuleProxy exitst, it may not
|
|
13
|
-
const isTurboModuleEnabled = global.
|
|
13
|
+
const isTurboModuleEnabled = global.nativeModuleProxy != null;
|
|
14
14
|
|
|
15
15
|
const nativeRecorderManager = isTurboModuleEnabled ?
|
|
16
16
|
require("./NativeAudio").default :
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@react-native-ohos/react-native-audio",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.3.0-rc.1",
|
|
4
4
|
"description": "React Native extension for recording audio",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"author": "Joshua Sierles <joshua@diluvia.net> (https://github.com/jsierles)",
|