react-native-wakeword 1.1.7 → 1.1.9
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/KeyWordDetection.podspec +3 -1
- package/ios/KeyWordDetection.xcframework/Info.plist +5 -5
- package/ios/KeyWordDetection.xcframework/ios-arm64/KeyWordDetection.framework/Headers/KeyWordDetection-Swift.h +13 -3
- package/ios/KeyWordDetection.xcframework/ios-arm64/KeyWordDetection.framework/Headers/KeyWordDetection.h +0 -1
- package/ios/KeyWordDetection.xcframework/ios-arm64/KeyWordDetection.framework/Info.plist +0 -0
- package/ios/KeyWordDetection.xcframework/ios-arm64/KeyWordDetection.framework/KeyWordDetection +0 -0
- package/ios/KeyWordDetection.xcframework/ios-arm64/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/arm64-apple-ios.abi.json +358 -61
- package/ios/KeyWordDetection.xcframework/ios-arm64/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/arm64-apple-ios.private.swiftinterface +10 -3
- package/ios/KeyWordDetection.xcframework/ios-arm64/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
- package/ios/KeyWordDetection.xcframework/ios-arm64/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/arm64-apple-ios.swiftinterface +10 -3
- package/ios/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/Headers/KeyWordDetection-Swift.h +26 -6
- package/ios/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/Headers/KeyWordDetection.h +0 -1
- package/ios/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/Info.plist +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/arm64-apple-ios-simulator.abi.json +364 -61
- package/ios/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +10 -3
- package/ios/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
- package/ios/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/arm64-apple-ios-simulator.swiftinterface +10 -3
- package/ios/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/x86_64-apple-ios-simulator.abi.json +364 -61
- package/ios/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +10 -3
- package/ios/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
- package/ios/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +10 -3
- package/ios/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/_CodeSignature/CodeDirectory +0 -0
- package/ios/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/_CodeSignature/CodeRequirements +0 -0
- package/ios/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/_CodeSignature/CodeRequirements-1 +0 -0
- package/ios/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/_CodeSignature/CodeResources +74 -44
- package/ios/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/_CodeSignature/CodeSignature +0 -0
- package/package.json +1 -1
- package/ios/KeyWordDetection.xcframework/ios-arm64/KeyWordDetection.framework/Headers/module.modulemap +0 -4
- 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/Headers/module.modulemap +0 -4
- 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/react-native-wakeword.podspec +0 -39
- package/react-native.config.js +0 -25
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// swift-interface-format-version: 1.0
|
|
2
2
|
// swift-compiler-version: Apple Swift version 6.0.3 effective-5.10 (swiftlang-6.0.3.1.10 clang-1600.0.30.1)
|
|
3
|
-
// swift-module-flags: -target x86_64-apple-ios13.
|
|
3
|
+
// swift-module-flags: -target x86_64-apple-ios13.5-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -Onone -enable-bare-slash-regex -module-name KeyWordDetection
|
|
4
4
|
// swift-module-flags-ignorable: -no-verify-emitted-module-interface
|
|
5
5
|
import AVFAudio
|
|
6
6
|
import AVFoundation
|
|
@@ -102,6 +102,12 @@ public class AVAudioWrapper {
|
|
|
102
102
|
@objc public protocol KeywordDetectionRNDelegate {
|
|
103
103
|
@objc func KeywordDetectionDidDetectEvent(_ eventInfo: [Swift.String : Any])
|
|
104
104
|
}
|
|
105
|
+
@_inheritsConvenienceInitializers @objc(KWDRuntimeWrapper) public class KWDRuntimeWrapper : ObjectiveC.NSObject {
|
|
106
|
+
@objc(shared) public static let shared: KeyWordDetection.KWDRuntimeWrapper
|
|
107
|
+
@objc weak public var delegate: (any KeyWordDetection.KeywordDetectionRNDelegate)?
|
|
108
|
+
@objc override dynamic public init()
|
|
109
|
+
@objc deinit
|
|
110
|
+
}
|
|
105
111
|
@objc public class KeyWordsDetection : ObjectiveC.NSObject {
|
|
106
112
|
@objc weak public var delegate: (any KeyWordDetection.KeywordDetectionRNDelegate)?
|
|
107
113
|
public var eventSink: (([Swift.String : Any]) -> Swift.Void)?
|
|
@@ -120,11 +126,12 @@ public class AVAudioWrapper {
|
|
|
120
126
|
@_inheritsConvenienceInitializers @objc public class AudioSessionAndDuckingManager : ObjectiveC.NSObject {
|
|
121
127
|
@objc public static let shared: KeyWordDetection.AudioSessionAndDuckingManager
|
|
122
128
|
@objc public func initAudioSessAndDuckManage()
|
|
129
|
+
@objc public func disableDucking()
|
|
130
|
+
@objc public func _disableDucking()
|
|
123
131
|
@objc public func enableAggressiveDucking()
|
|
132
|
+
@objc public func _enableAggressiveDucking()
|
|
124
133
|
@objc public func enableAggressiveDuckingWorksMaxSilencing()
|
|
125
134
|
@objc public func enableAggressiveDuckingWorksOnSecondTime()
|
|
126
|
-
@objc public func disableDucking()
|
|
127
|
-
@objc public func _disableDucking()
|
|
128
135
|
@objc public func disableDuckingWorks()
|
|
129
136
|
@objc public func disableDuckingDidNotUnDuck()
|
|
130
137
|
@objc public func disableDuckingOrg()
|
|
Binary file
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// swift-interface-format-version: 1.0
|
|
2
2
|
// swift-compiler-version: Apple Swift version 6.0.3 effective-5.10 (swiftlang-6.0.3.1.10 clang-1600.0.30.1)
|
|
3
|
-
// swift-module-flags: -target x86_64-apple-ios13.
|
|
3
|
+
// swift-module-flags: -target x86_64-apple-ios13.5-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -Onone -enable-bare-slash-regex -module-name KeyWordDetection
|
|
4
4
|
// swift-module-flags-ignorable: -no-verify-emitted-module-interface
|
|
5
5
|
import AVFAudio
|
|
6
6
|
import AVFoundation
|
|
@@ -102,6 +102,12 @@ public class AVAudioWrapper {
|
|
|
102
102
|
@objc public protocol KeywordDetectionRNDelegate {
|
|
103
103
|
@objc func KeywordDetectionDidDetectEvent(_ eventInfo: [Swift.String : Any])
|
|
104
104
|
}
|
|
105
|
+
@_inheritsConvenienceInitializers @objc(KWDRuntimeWrapper) public class KWDRuntimeWrapper : ObjectiveC.NSObject {
|
|
106
|
+
@objc(shared) public static let shared: KeyWordDetection.KWDRuntimeWrapper
|
|
107
|
+
@objc weak public var delegate: (any KeyWordDetection.KeywordDetectionRNDelegate)?
|
|
108
|
+
@objc override dynamic public init()
|
|
109
|
+
@objc deinit
|
|
110
|
+
}
|
|
105
111
|
@objc public class KeyWordsDetection : ObjectiveC.NSObject {
|
|
106
112
|
@objc weak public var delegate: (any KeyWordDetection.KeywordDetectionRNDelegate)?
|
|
107
113
|
public var eventSink: (([Swift.String : Any]) -> Swift.Void)?
|
|
@@ -120,11 +126,12 @@ public class AVAudioWrapper {
|
|
|
120
126
|
@_inheritsConvenienceInitializers @objc public class AudioSessionAndDuckingManager : ObjectiveC.NSObject {
|
|
121
127
|
@objc public static let shared: KeyWordDetection.AudioSessionAndDuckingManager
|
|
122
128
|
@objc public func initAudioSessAndDuckManage()
|
|
129
|
+
@objc public func disableDucking()
|
|
130
|
+
@objc public func _disableDucking()
|
|
123
131
|
@objc public func enableAggressiveDucking()
|
|
132
|
+
@objc public func _enableAggressiveDucking()
|
|
124
133
|
@objc public func enableAggressiveDuckingWorksMaxSilencing()
|
|
125
134
|
@objc public func enableAggressiveDuckingWorksOnSecondTime()
|
|
126
|
-
@objc public func disableDucking()
|
|
127
|
-
@objc public func _disableDucking()
|
|
128
135
|
@objc public func disableDuckingWorks()
|
|
129
136
|
@objc public func disableDuckingDidNotUnDuck()
|
|
130
137
|
@objc public func disableDuckingOrg()
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -6,63 +6,55 @@
|
|
|
6
6
|
<dict>
|
|
7
7
|
<key>Headers/KeyWordDetection-Swift.h</key>
|
|
8
8
|
<data>
|
|
9
|
-
|
|
9
|
+
7zn5qZROHzSdlLAyOQOLC9UPdlo=
|
|
10
10
|
</data>
|
|
11
11
|
<key>Headers/KeyWordDetection.h</key>
|
|
12
12
|
<data>
|
|
13
|
-
|
|
13
|
+
lkKX9KK+xzMSJAVMjPGtKjkZ4MU=
|
|
14
14
|
</data>
|
|
15
15
|
<key>Info.plist</key>
|
|
16
16
|
<data>
|
|
17
|
-
|
|
18
|
-
</data>
|
|
19
|
-
<key>Modules/KeyWordDetection.swiftmodule/Project/arm64-apple-ios-simulator.swiftsourceinfo</key>
|
|
20
|
-
<data>
|
|
21
|
-
GWeQiIysrix4Yf4kGciQPmbgDyE=
|
|
22
|
-
</data>
|
|
23
|
-
<key>Modules/KeyWordDetection.swiftmodule/Project/x86_64-apple-ios-simulator.swiftsourceinfo</key>
|
|
24
|
-
<data>
|
|
25
|
-
D3+VosYu2xR8gJFwgZ25RMsgJwk=
|
|
17
|
+
Lkp0UW3JFvhnGcS1kWcWmYo3V3g=
|
|
26
18
|
</data>
|
|
27
19
|
<key>Modules/KeyWordDetection.swiftmodule/arm64-apple-ios-simulator.abi.json</key>
|
|
28
20
|
<data>
|
|
29
|
-
|
|
21
|
+
/iPaUlR+SAg5UAZ7zPebvMp53yg=
|
|
30
22
|
</data>
|
|
31
23
|
<key>Modules/KeyWordDetection.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface</key>
|
|
32
24
|
<data>
|
|
33
|
-
|
|
25
|
+
Ok0/pS2BNSe+t/upxXefHyiju80=
|
|
34
26
|
</data>
|
|
35
27
|
<key>Modules/KeyWordDetection.swiftmodule/arm64-apple-ios-simulator.swiftdoc</key>
|
|
36
28
|
<data>
|
|
37
|
-
|
|
29
|
+
N/zj104RQwr4GfyBt674gjk+760=
|
|
38
30
|
</data>
|
|
39
31
|
<key>Modules/KeyWordDetection.swiftmodule/arm64-apple-ios-simulator.swiftinterface</key>
|
|
40
32
|
<data>
|
|
41
|
-
|
|
33
|
+
Ok0/pS2BNSe+t/upxXefHyiju80=
|
|
42
34
|
</data>
|
|
43
35
|
<key>Modules/KeyWordDetection.swiftmodule/arm64-apple-ios-simulator.swiftmodule</key>
|
|
44
36
|
<data>
|
|
45
|
-
|
|
37
|
+
4M40Goc/yqZGzkE6o+rpfmhdves=
|
|
46
38
|
</data>
|
|
47
39
|
<key>Modules/KeyWordDetection.swiftmodule/x86_64-apple-ios-simulator.abi.json</key>
|
|
48
40
|
<data>
|
|
49
|
-
|
|
41
|
+
/iPaUlR+SAg5UAZ7zPebvMp53yg=
|
|
50
42
|
</data>
|
|
51
43
|
<key>Modules/KeyWordDetection.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface</key>
|
|
52
44
|
<data>
|
|
53
|
-
|
|
45
|
+
cTRpjFzbWaY3y3mn9q/S9J01hrY=
|
|
54
46
|
</data>
|
|
55
47
|
<key>Modules/KeyWordDetection.swiftmodule/x86_64-apple-ios-simulator.swiftdoc</key>
|
|
56
48
|
<data>
|
|
57
|
-
|
|
49
|
+
9WBTC4+muwWhpu8g/LgcCr6pdng=
|
|
58
50
|
</data>
|
|
59
51
|
<key>Modules/KeyWordDetection.swiftmodule/x86_64-apple-ios-simulator.swiftinterface</key>
|
|
60
52
|
<data>
|
|
61
|
-
|
|
53
|
+
cTRpjFzbWaY3y3mn9q/S9J01hrY=
|
|
62
54
|
</data>
|
|
63
55
|
<key>Modules/KeyWordDetection.swiftmodule/x86_64-apple-ios-simulator.swiftmodule</key>
|
|
64
56
|
<data>
|
|
65
|
-
|
|
57
|
+
2E9aWI2bm08aYegrwTS//gUpWuY=
|
|
66
58
|
</data>
|
|
67
59
|
<key>Modules/module.modulemap</key>
|
|
68
60
|
<data>
|
|
@@ -73,104 +65,142 @@
|
|
|
73
65
|
<dict>
|
|
74
66
|
<key>Headers/KeyWordDetection-Swift.h</key>
|
|
75
67
|
<dict>
|
|
76
|
-
<key>
|
|
68
|
+
<key>hash</key>
|
|
77
69
|
<data>
|
|
78
|
-
|
|
70
|
+
7zn5qZROHzSdlLAyOQOLC9UPdlo=
|
|
79
71
|
</data>
|
|
80
|
-
</dict>
|
|
81
|
-
<key>Headers/KeyWordDetection.h</key>
|
|
82
|
-
<dict>
|
|
83
72
|
<key>hash2</key>
|
|
84
73
|
<data>
|
|
85
|
-
|
|
74
|
+
hh9sunT06jfDNrjWrYzZWhltrb/fsOXF+BL8HlUTh1o=
|
|
86
75
|
</data>
|
|
87
76
|
</dict>
|
|
88
|
-
<key>
|
|
77
|
+
<key>Headers/KeyWordDetection.h</key>
|
|
89
78
|
<dict>
|
|
90
|
-
<key>
|
|
79
|
+
<key>hash</key>
|
|
91
80
|
<data>
|
|
92
|
-
|
|
81
|
+
lkKX9KK+xzMSJAVMjPGtKjkZ4MU=
|
|
93
82
|
</data>
|
|
94
|
-
</dict>
|
|
95
|
-
<key>Modules/KeyWordDetection.swiftmodule/Project/x86_64-apple-ios-simulator.swiftsourceinfo</key>
|
|
96
|
-
<dict>
|
|
97
83
|
<key>hash2</key>
|
|
98
84
|
<data>
|
|
99
|
-
|
|
85
|
+
G+zWBJ40O5nsbLDiX//hKX8sDUcq+MGuQMYUI2Aqx/Q=
|
|
100
86
|
</data>
|
|
101
87
|
</dict>
|
|
102
88
|
<key>Modules/KeyWordDetection.swiftmodule/arm64-apple-ios-simulator.abi.json</key>
|
|
103
89
|
<dict>
|
|
90
|
+
<key>hash</key>
|
|
91
|
+
<data>
|
|
92
|
+
/iPaUlR+SAg5UAZ7zPebvMp53yg=
|
|
93
|
+
</data>
|
|
104
94
|
<key>hash2</key>
|
|
105
95
|
<data>
|
|
106
|
-
|
|
96
|
+
tuRQSIfc6Phg2kfUToi9lctGX87D/ykVEa0ZhL4E+hE=
|
|
107
97
|
</data>
|
|
108
98
|
</dict>
|
|
109
99
|
<key>Modules/KeyWordDetection.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface</key>
|
|
110
100
|
<dict>
|
|
101
|
+
<key>hash</key>
|
|
102
|
+
<data>
|
|
103
|
+
Ok0/pS2BNSe+t/upxXefHyiju80=
|
|
104
|
+
</data>
|
|
111
105
|
<key>hash2</key>
|
|
112
106
|
<data>
|
|
113
|
-
|
|
107
|
+
zsfQk5AZDhH17P6ao/VawpNjx5xgfRYdCkxqwz+TAG0=
|
|
114
108
|
</data>
|
|
115
109
|
</dict>
|
|
116
110
|
<key>Modules/KeyWordDetection.swiftmodule/arm64-apple-ios-simulator.swiftdoc</key>
|
|
117
111
|
<dict>
|
|
112
|
+
<key>hash</key>
|
|
113
|
+
<data>
|
|
114
|
+
N/zj104RQwr4GfyBt674gjk+760=
|
|
115
|
+
</data>
|
|
118
116
|
<key>hash2</key>
|
|
119
117
|
<data>
|
|
120
|
-
|
|
118
|
+
rM5LdkOglWCkwyKAwOsdvbRpFzcdfpp5SrRSez+KUAU=
|
|
121
119
|
</data>
|
|
122
120
|
</dict>
|
|
123
121
|
<key>Modules/KeyWordDetection.swiftmodule/arm64-apple-ios-simulator.swiftinterface</key>
|
|
124
122
|
<dict>
|
|
123
|
+
<key>hash</key>
|
|
124
|
+
<data>
|
|
125
|
+
Ok0/pS2BNSe+t/upxXefHyiju80=
|
|
126
|
+
</data>
|
|
125
127
|
<key>hash2</key>
|
|
126
128
|
<data>
|
|
127
|
-
|
|
129
|
+
zsfQk5AZDhH17P6ao/VawpNjx5xgfRYdCkxqwz+TAG0=
|
|
128
130
|
</data>
|
|
129
131
|
</dict>
|
|
130
132
|
<key>Modules/KeyWordDetection.swiftmodule/arm64-apple-ios-simulator.swiftmodule</key>
|
|
131
133
|
<dict>
|
|
134
|
+
<key>hash</key>
|
|
135
|
+
<data>
|
|
136
|
+
4M40Goc/yqZGzkE6o+rpfmhdves=
|
|
137
|
+
</data>
|
|
132
138
|
<key>hash2</key>
|
|
133
139
|
<data>
|
|
134
|
-
|
|
140
|
+
KSD3QVmiNbZGaFVSeU+cHjBmg08z8PzlbeVSw4J/BOY=
|
|
135
141
|
</data>
|
|
136
142
|
</dict>
|
|
137
143
|
<key>Modules/KeyWordDetection.swiftmodule/x86_64-apple-ios-simulator.abi.json</key>
|
|
138
144
|
<dict>
|
|
145
|
+
<key>hash</key>
|
|
146
|
+
<data>
|
|
147
|
+
/iPaUlR+SAg5UAZ7zPebvMp53yg=
|
|
148
|
+
</data>
|
|
139
149
|
<key>hash2</key>
|
|
140
150
|
<data>
|
|
141
|
-
|
|
151
|
+
tuRQSIfc6Phg2kfUToi9lctGX87D/ykVEa0ZhL4E+hE=
|
|
142
152
|
</data>
|
|
143
153
|
</dict>
|
|
144
154
|
<key>Modules/KeyWordDetection.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface</key>
|
|
145
155
|
<dict>
|
|
156
|
+
<key>hash</key>
|
|
157
|
+
<data>
|
|
158
|
+
cTRpjFzbWaY3y3mn9q/S9J01hrY=
|
|
159
|
+
</data>
|
|
146
160
|
<key>hash2</key>
|
|
147
161
|
<data>
|
|
148
|
-
|
|
162
|
+
iuYVt3XTv009YrsrUN+DC9Ha3HdErfaCiG3hiO1cWFc=
|
|
149
163
|
</data>
|
|
150
164
|
</dict>
|
|
151
165
|
<key>Modules/KeyWordDetection.swiftmodule/x86_64-apple-ios-simulator.swiftdoc</key>
|
|
152
166
|
<dict>
|
|
167
|
+
<key>hash</key>
|
|
168
|
+
<data>
|
|
169
|
+
9WBTC4+muwWhpu8g/LgcCr6pdng=
|
|
170
|
+
</data>
|
|
153
171
|
<key>hash2</key>
|
|
154
172
|
<data>
|
|
155
|
-
|
|
173
|
+
+j8oDRRSton8I+dXkzIrt69rLvwkkHEeBnrbT6nw3PA=
|
|
156
174
|
</data>
|
|
157
175
|
</dict>
|
|
158
176
|
<key>Modules/KeyWordDetection.swiftmodule/x86_64-apple-ios-simulator.swiftinterface</key>
|
|
159
177
|
<dict>
|
|
178
|
+
<key>hash</key>
|
|
179
|
+
<data>
|
|
180
|
+
cTRpjFzbWaY3y3mn9q/S9J01hrY=
|
|
181
|
+
</data>
|
|
160
182
|
<key>hash2</key>
|
|
161
183
|
<data>
|
|
162
|
-
|
|
184
|
+
iuYVt3XTv009YrsrUN+DC9Ha3HdErfaCiG3hiO1cWFc=
|
|
163
185
|
</data>
|
|
164
186
|
</dict>
|
|
165
187
|
<key>Modules/KeyWordDetection.swiftmodule/x86_64-apple-ios-simulator.swiftmodule</key>
|
|
166
188
|
<dict>
|
|
189
|
+
<key>hash</key>
|
|
190
|
+
<data>
|
|
191
|
+
2E9aWI2bm08aYegrwTS//gUpWuY=
|
|
192
|
+
</data>
|
|
167
193
|
<key>hash2</key>
|
|
168
194
|
<data>
|
|
169
|
-
|
|
195
|
+
9sB2U0LUS4nNMGzhBjEtS8aP+KMrJ7KWCYLpbNj41RI=
|
|
170
196
|
</data>
|
|
171
197
|
</dict>
|
|
172
198
|
<key>Modules/module.modulemap</key>
|
|
173
199
|
<dict>
|
|
200
|
+
<key>hash</key>
|
|
201
|
+
<data>
|
|
202
|
+
6yUk0pwbC0K/Z/NW76NKjEwQ6+U=
|
|
203
|
+
</data>
|
|
174
204
|
<key>hash2</key>
|
|
175
205
|
<data>
|
|
176
206
|
+kbbPsAbGOLlb+yYPmPsc8Sr0d0VTGCn6SyIatROrWI=
|
|
File without changes
|
package/package.json
CHANGED
|
Binary file
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
Error - the podsepc must be called KeyWordDetection.podspec and align with sname of KeyWordDetection
|
|
2
|
-
also podspec was moved to ../
|
|
3
|
-
|
|
4
|
-
Pod::Spec.new do |s|
|
|
5
|
-
s.name = "react-native-wakeword"
|
|
6
|
-
s.version = "1.0.0" # Update to your package version
|
|
7
|
-
s.summary = "Wake word detection for React Native."
|
|
8
|
-
s.description = <<-DESC
|
|
9
|
-
A React Native module for wake word detection .
|
|
10
|
-
DESC
|
|
11
|
-
s.homepage = "https://github.com/frymanofer/KeywordsDetectionAndroidLibrary.git" # Update with your repo URL
|
|
12
|
-
s.license = { :type => "MIT" } # Update if different
|
|
13
|
-
s.author = { "Your Name" => "ofer@davoice.io" } # Update with your info
|
|
14
|
-
s.platform = :ios, "15.1"
|
|
15
|
-
# s.source = { :git => "https://github.com/frymanofer/KeywordsDetectionAndroidLibrary.git", :tag => s.version.to_s } # Update accordingly
|
|
16
|
-
s.source = { :path => "." }
|
|
17
|
-
|
|
18
|
-
# s.source_files = "ios/*.{h,m,mm}"
|
|
19
|
-
# s.resources = "ios/models/*"
|
|
20
|
-
|
|
21
|
-
# s.vendored_frameworks = "ios/KeyWordDetection.xcframework"
|
|
22
|
-
# s.source_files = "*.{h,m,mm}"
|
|
23
|
-
s.source_files = "*.{h,m,mm,swift}"
|
|
24
|
-
s.resources = "models/*"
|
|
25
|
-
|
|
26
|
-
s.vendored_frameworks = "KeyWordDetection.xcframework"
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
s.dependency "React"
|
|
30
|
-
s.dependency "onnxruntime-objc", "~> 1.18.0"
|
|
31
|
-
|
|
32
|
-
s.pod_target_xcconfig = {
|
|
33
|
-
"FRAMEWORK_SEARCH_PATHS" => "\"$(PODS_ROOT)/react-native-wakeword/ios\"",
|
|
34
|
-
"DEFINES_MODULE" => "YES"
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
s.requires_arc = true
|
|
38
|
-
end
|
|
39
|
-
|
package/react-native.config.js
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
// node_modules/react-native‑wakeword/react-native.config.js
|
|
2
|
-
// RN 0.77 / CLI ≥ 10.x — single source of truth for autolinking
|
|
3
|
-
const path = require('path');
|
|
4
|
-
|
|
5
|
-
module.exports = {
|
|
6
|
-
// Tell the RN CLI where the library lives — that’s all that is needed now.
|
|
7
|
-
dependencies: {
|
|
8
|
-
'react-native-wakeword': {
|
|
9
|
-
root: __dirname, // <‑ library root – CLI will look for:
|
|
10
|
-
// • ios/KeyWordDetection.podspec ❬iOS❭
|
|
11
|
-
// • android/… Gradle project ❬Android❭
|
|
12
|
-
},
|
|
13
|
-
},
|
|
14
|
-
|
|
15
|
-
/*
|
|
16
|
-
* Nothing else is required:
|
|
17
|
-
* • `podspecPath` was removed from the schema and will make the package
|
|
18
|
-
* ignored :contentReference[oaicite:0]{index=0}
|
|
19
|
-
* • `packageImportPath` / `packageInstance` are optional – the Gradle
|
|
20
|
-
* plugin now scans for any ReactPackage in the module automatically.
|
|
21
|
-
* If you keep your podspec in a non‑standard place (not root or ios/),
|
|
22
|
-
* move it next to ios/ or simply inside the root folder as recommended
|
|
23
|
-
* by the CLI docs :contentReference[oaicite:1]{index=1}.
|
|
24
|
-
*/
|
|
25
|
-
};
|