react-native-wakeword 1.1.5 → 1.1.6
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/ios/KeyWordDetection.xcframework/Info.plist +5 -5
- package/ios/KeyWordDetection.xcframework/ios-arm64/KeyWordDetection.framework/KeyWordDetection +0 -0
- package/ios/KeyWordDetection.xcframework/ios-arm64/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/Project/arm64-apple-ios.swiftsourceinfo +0 -0
- package/ios/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/KeyWordDetection +0 -0
- package/ios/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/Project/arm64-apple-ios-simulator.swiftsourceinfo +0 -0
- package/ios/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/Project/x86_64-apple-ios-simulator.swiftsourceinfo +0 -0
- package/ios/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/_CodeSignature/CodeResources +4 -4
- package/ios/KeyWordRNBridge.h +1 -0
- package/package.json +1 -1
- package/wakewords/KeyWordRNBridge.js +15 -5
|
@@ -8,32 +8,32 @@
|
|
|
8
8
|
<key>BinaryPath</key>
|
|
9
9
|
<string>KeyWordDetection.framework/KeyWordDetection</string>
|
|
10
10
|
<key>LibraryIdentifier</key>
|
|
11
|
-
<string>ios-
|
|
11
|
+
<string>ios-arm64</string>
|
|
12
12
|
<key>LibraryPath</key>
|
|
13
13
|
<string>KeyWordDetection.framework</string>
|
|
14
14
|
<key>SupportedArchitectures</key>
|
|
15
15
|
<array>
|
|
16
16
|
<string>arm64</string>
|
|
17
|
-
<string>x86_64</string>
|
|
18
17
|
</array>
|
|
19
18
|
<key>SupportedPlatform</key>
|
|
20
19
|
<string>ios</string>
|
|
21
|
-
<key>SupportedPlatformVariant</key>
|
|
22
|
-
<string>simulator</string>
|
|
23
20
|
</dict>
|
|
24
21
|
<dict>
|
|
25
22
|
<key>BinaryPath</key>
|
|
26
23
|
<string>KeyWordDetection.framework/KeyWordDetection</string>
|
|
27
24
|
<key>LibraryIdentifier</key>
|
|
28
|
-
<string>ios-
|
|
25
|
+
<string>ios-arm64_x86_64-simulator</string>
|
|
29
26
|
<key>LibraryPath</key>
|
|
30
27
|
<string>KeyWordDetection.framework</string>
|
|
31
28
|
<key>SupportedArchitectures</key>
|
|
32
29
|
<array>
|
|
33
30
|
<string>arm64</string>
|
|
31
|
+
<string>x86_64</string>
|
|
34
32
|
</array>
|
|
35
33
|
<key>SupportedPlatform</key>
|
|
36
34
|
<string>ios</string>
|
|
35
|
+
<key>SupportedPlatformVariant</key>
|
|
36
|
+
<string>simulator</string>
|
|
37
37
|
</dict>
|
|
38
38
|
</array>
|
|
39
39
|
<key>CFBundlePackageType</key>
|
package/ios/KeyWordDetection.xcframework/ios-arm64/KeyWordDetection.framework/KeyWordDetection
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -18,11 +18,11 @@
|
|
|
18
18
|
</data>
|
|
19
19
|
<key>Modules/KeyWordDetection.swiftmodule/Project/arm64-apple-ios-simulator.swiftsourceinfo</key>
|
|
20
20
|
<data>
|
|
21
|
-
|
|
21
|
+
Yeo7JrYTf7xdo8vzQXOLYe0TuPU=
|
|
22
22
|
</data>
|
|
23
23
|
<key>Modules/KeyWordDetection.swiftmodule/Project/x86_64-apple-ios-simulator.swiftsourceinfo</key>
|
|
24
24
|
<data>
|
|
25
|
-
|
|
25
|
+
HnrzTcb3KYBjQ0kjipA22LUjKQU=
|
|
26
26
|
</data>
|
|
27
27
|
<key>Modules/KeyWordDetection.swiftmodule/arm64-apple-ios-simulator.abi.json</key>
|
|
28
28
|
<data>
|
|
@@ -89,14 +89,14 @@
|
|
|
89
89
|
<dict>
|
|
90
90
|
<key>hash2</key>
|
|
91
91
|
<data>
|
|
92
|
-
|
|
92
|
+
Ao4E7yAPxIizbksWH5CQyRi2GtdcCGhgs5a0dt8FQ9M=
|
|
93
93
|
</data>
|
|
94
94
|
</dict>
|
|
95
95
|
<key>Modules/KeyWordDetection.swiftmodule/Project/x86_64-apple-ios-simulator.swiftsourceinfo</key>
|
|
96
96
|
<dict>
|
|
97
97
|
<key>hash2</key>
|
|
98
98
|
<data>
|
|
99
|
-
|
|
99
|
+
XDctd7aXKgmWH0Z7aqPivub4p5L0ryTVwzM4NXFDQ7U=
|
|
100
100
|
</data>
|
|
101
101
|
</dict>
|
|
102
102
|
<key>Modules/KeyWordDetection.swiftmodule/arm64-apple-ios-simulator.abi.json</key>
|
package/ios/KeyWordRNBridge.h
CHANGED
package/package.json
CHANGED
|
@@ -105,22 +105,32 @@ export const createKeyWordRNBridgeInstance = async (instanceId, isSticky) => {
|
|
|
105
105
|
};
|
|
106
106
|
|
|
107
107
|
export const enableDucking = async () => {
|
|
108
|
-
|
|
108
|
+
if (Platform.OS === 'ios') {
|
|
109
|
+
await KeyWordRNBridge.enableAggressiveDucking();
|
|
110
|
+
}
|
|
109
111
|
}
|
|
110
112
|
|
|
111
113
|
export const disableDucking = async () => {
|
|
112
|
-
|
|
114
|
+
if (Platform.OS === 'ios') {
|
|
115
|
+
await KeyWordRNBridge.disableDucking();
|
|
116
|
+
}
|
|
113
117
|
}
|
|
114
118
|
|
|
115
119
|
export const restartListeningAfterDucking = async () => {
|
|
116
|
-
|
|
120
|
+
if (Platform.OS === 'ios') {
|
|
121
|
+
await KeyWordRNBridge.restartListeningAfterDucking();
|
|
122
|
+
}
|
|
117
123
|
}
|
|
118
124
|
|
|
119
125
|
export const initAudioSessAndDuckManage = async () => {
|
|
120
|
-
|
|
126
|
+
if (Platform.OS === 'ios') {
|
|
127
|
+
await KeyWordRNBridge.initAudioSessAndDuckManage();
|
|
128
|
+
}
|
|
121
129
|
}
|
|
122
130
|
|
|
123
131
|
export const disableDuckingAndCleanup = async () => {
|
|
124
|
-
|
|
132
|
+
if (Platform.OS === 'ios') {
|
|
133
|
+
await KeyWordRNBridge.disableDuckingAndCleanup();
|
|
134
|
+
}
|
|
125
135
|
}
|
|
126
136
|
|