react-native-wakeword 1.1.9 → 1.1.11

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.
Files changed (45) hide show
  1. package/KeyWordRNBridge.podspec +58 -0
  2. package/ios/{KeyWordDetection.xcframework → KeyWordRNBridge/KeyWordDetection.xcframework}/ios-arm64/KeyWordDetection.framework/Headers/KeyWordDetection-Swift.h +0 -9
  3. package/ios/{KeyWordDetection.xcframework/ios-arm64_x86_64-simulator → KeyWordRNBridge/KeyWordDetection.xcframework/ios-arm64}/KeyWordDetection.framework/Headers/KeyWordDetection.h +1 -0
  4. package/ios/KeyWordRNBridge/KeyWordDetection.xcframework/ios-arm64/KeyWordDetection.framework/KeyWordDetection +0 -0
  5. package/ios/{KeyWordDetection.xcframework → KeyWordRNBridge/KeyWordDetection.xcframework}/ios-arm64/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/arm64-apple-ios.abi.json +129 -356
  6. package/ios/{KeyWordDetection.xcframework → KeyWordRNBridge/KeyWordDetection.xcframework}/ios-arm64/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/arm64-apple-ios.private.swiftinterface +1 -7
  7. package/ios/{KeyWordDetection.xcframework → KeyWordRNBridge/KeyWordDetection.xcframework}/ios-arm64/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/arm64-apple-ios.swiftinterface +1 -7
  8. package/ios/{KeyWordDetection.xcframework → KeyWordRNBridge/KeyWordDetection.xcframework}/ios-arm64_x86_64-simulator/KeyWordDetection.framework/Headers/KeyWordDetection-Swift.h +0 -18
  9. package/ios/{KeyWordDetection.xcframework/ios-arm64 → KeyWordRNBridge/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator}/KeyWordDetection.framework/Headers/KeyWordDetection.h +1 -0
  10. package/ios/KeyWordRNBridge/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/KeyWordDetection +0 -0
  11. package/ios/{KeyWordDetection.xcframework → KeyWordRNBridge/KeyWordDetection.xcframework}/ios-arm64_x86_64-simulator/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/arm64-apple-ios-simulator.abi.json +907 -4852
  12. package/ios/{KeyWordDetection.xcframework → KeyWordRNBridge/KeyWordDetection.xcframework}/ios-arm64_x86_64-simulator/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +2 -8
  13. package/ios/{KeyWordDetection.xcframework → KeyWordRNBridge/KeyWordDetection.xcframework}/ios-arm64_x86_64-simulator/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/arm64-apple-ios-simulator.swiftinterface +2 -8
  14. package/ios/{KeyWordDetection.xcframework → KeyWordRNBridge/KeyWordDetection.xcframework}/ios-arm64_x86_64-simulator/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/x86_64-apple-ios-simulator.abi.json +907 -4852
  15. package/ios/{KeyWordDetection.xcframework → KeyWordRNBridge/KeyWordDetection.xcframework}/ios-arm64_x86_64-simulator/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +2 -8
  16. package/ios/{KeyWordDetection.xcframework → KeyWordRNBridge/KeyWordDetection.xcframework}/ios-arm64_x86_64-simulator/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +2 -8
  17. package/ios/KeyWordRNBridge/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/_CodeSignature/CodeDirectory +0 -0
  18. package/ios/KeyWordRNBridge/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/_CodeSignature/CodeRequirements-1 +0 -0
  19. package/ios/{KeyWordDetection.xcframework → KeyWordRNBridge/KeyWordDetection.xcframework}/ios-arm64_x86_64-simulator/KeyWordDetection.framework/_CodeSignature/CodeResources +30 -30
  20. package/package.json +2 -4
  21. package/KeyWordDetection.podspec +0 -38
  22. package/ios/KeyWordDetection.xcframework/ios-arm64/KeyWordDetection.framework/KeyWordDetection +0 -0
  23. package/ios/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/KeyWordDetection +0 -0
  24. package/ios/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/_CodeSignature/CodeDirectory +0 -0
  25. package/ios/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/_CodeSignature/CodeRequirements-1 +0 -0
  26. package/ios/KeyWordRNBridgeSwift.h +0 -5
  27. package/ios/KeyWordRNBridgeSwift.mm +0 -6
  28. package/module.modulemap +0 -6
  29. /package/ios/{KeyWordDetection.xcframework → KeyWordRNBridge/KeyWordDetection.xcframework}/Info.plist +0 -0
  30. /package/ios/{KeyWordDetection.xcframework → KeyWordRNBridge/KeyWordDetection.xcframework}/ios-arm64/KeyWordDetection.framework/Info.plist +0 -0
  31. /package/ios/{KeyWordDetection.xcframework → KeyWordRNBridge/KeyWordDetection.xcframework}/ios-arm64/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
  32. /package/ios/{KeyWordDetection.xcframework → KeyWordRNBridge/KeyWordDetection.xcframework}/ios-arm64/KeyWordDetection.framework/Modules/module.modulemap +0 -0
  33. /package/ios/{KeyWordDetection.xcframework → KeyWordRNBridge/KeyWordDetection.xcframework}/ios-arm64_x86_64-simulator/KeyWordDetection.framework/Info.plist +0 -0
  34. /package/ios/{KeyWordDetection.xcframework → KeyWordRNBridge/KeyWordDetection.xcframework}/ios-arm64_x86_64-simulator/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
  35. /package/ios/{KeyWordDetection.xcframework → KeyWordRNBridge/KeyWordDetection.xcframework}/ios-arm64_x86_64-simulator/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
  36. /package/ios/{KeyWordDetection.xcframework → KeyWordRNBridge/KeyWordDetection.xcframework}/ios-arm64_x86_64-simulator/KeyWordDetection.framework/Modules/module.modulemap +0 -0
  37. /package/ios/{KeyWordDetection.xcframework → KeyWordRNBridge/KeyWordDetection.xcframework}/ios-arm64_x86_64-simulator/KeyWordDetection.framework/_CodeSignature/CodeRequirements +0 -0
  38. /package/ios/{KeyWordDetection.xcframework → KeyWordRNBridge/KeyWordDetection.xcframework}/ios-arm64_x86_64-simulator/KeyWordDetection.framework/_CodeSignature/CodeSignature +0 -0
  39. /package/ios/{KeyWordRNBridge.h → KeyWordRNBridge/KeyWordRNBridge.h} +0 -0
  40. /package/ios/{KeyWordRNBridge.mm → KeyWordRNBridge/KeyWordRNBridge.mm} +0 -0
  41. /package/ios/{models → KeyWordRNBridge/models}/embedding_model.onnx +0 -0
  42. /package/ios/{models → KeyWordRNBridge/models}/hey_lookdeep.onnx +0 -0
  43. /package/ios/{models → KeyWordRNBridge/models}/melspectrogram.onnx +0 -0
  44. /package/ios/{models → KeyWordRNBridge/models}/need_help_now.onnx +0 -0
  45. /package/ios/{models → KeyWordRNBridge/models}/silero_vad.onnx +0 -0
@@ -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.5-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -Onone -enable-bare-slash-regex -module-name KeyWordDetection
3
+ // swift-module-flags: -target x86_64-apple-ios13.5-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -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
@@ -50,7 +50,7 @@ public class AVAudioWrapperFrameListener {
50
50
  public func removeFrameListener(_ listener: KeyWordDetection.AVAudioWrapperFrameListener)
51
51
  public func clearFrameListeners()
52
52
  public func setSessionOptions(sessionOptions: AVFAudio.AVAudioSession.CategoryOptions)
53
- public func start(frameLength: Swift.UInt32, sampleRate: Swift.UInt32)
53
+ public func start(frameLength: Swift.UInt32, sampleRate: Swift.UInt32, setActive: Swift.Bool = true, duckOthers: Swift.Bool = false, mixWithOthers: Swift.Bool = true, defaultToSpeaker: Swift.Bool = true)
54
54
  public func stop() throws
55
55
  @objc deinit
56
56
  }
@@ -102,12 +102,6 @@ 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
- }
111
105
  @objc public class KeyWordsDetection : ObjectiveC.NSObject {
112
106
  @objc weak public var delegate: (any KeyWordDetection.KeywordDetectionRNDelegate)?
113
107
  public var eventSink: (([Swift.String : Any]) -> Swift.Void)?
@@ -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.5-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -Onone -enable-bare-slash-regex -module-name KeyWordDetection
3
+ // swift-module-flags: -target x86_64-apple-ios13.5-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -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
@@ -50,7 +50,7 @@ public class AVAudioWrapperFrameListener {
50
50
  public func removeFrameListener(_ listener: KeyWordDetection.AVAudioWrapperFrameListener)
51
51
  public func clearFrameListeners()
52
52
  public func setSessionOptions(sessionOptions: AVFAudio.AVAudioSession.CategoryOptions)
53
- public func start(frameLength: Swift.UInt32, sampleRate: Swift.UInt32)
53
+ public func start(frameLength: Swift.UInt32, sampleRate: Swift.UInt32, setActive: Swift.Bool = true, duckOthers: Swift.Bool = false, mixWithOthers: Swift.Bool = true, defaultToSpeaker: Swift.Bool = true)
54
54
  public func stop() throws
55
55
  @objc deinit
56
56
  }
@@ -102,12 +102,6 @@ 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
- }
111
105
  @objc public class KeyWordsDetection : ObjectiveC.NSObject {
112
106
  @objc weak public var delegate: (any KeyWordDetection.KeywordDetectionRNDelegate)?
113
107
  public var eventSink: (([Swift.String : Any]) -> Swift.Void)?
@@ -6,11 +6,11 @@
6
6
  <dict>
7
7
  <key>Headers/KeyWordDetection-Swift.h</key>
8
8
  <data>
9
- 7zn5qZROHzSdlLAyOQOLC9UPdlo=
9
+ K1rwP5ZQFuNoBvp/pqWZR+9TuVc=
10
10
  </data>
11
11
  <key>Headers/KeyWordDetection.h</key>
12
12
  <data>
13
- lkKX9KK+xzMSJAVMjPGtKjkZ4MU=
13
+ 3DuDx7NAv+hLr4TmoJr3e+MRiXE=
14
14
  </data>
15
15
  <key>Info.plist</key>
16
16
  <data>
@@ -18,11 +18,11 @@
18
18
  </data>
19
19
  <key>Modules/KeyWordDetection.swiftmodule/arm64-apple-ios-simulator.abi.json</key>
20
20
  <data>
21
- /iPaUlR+SAg5UAZ7zPebvMp53yg=
21
+ sOSryZ7iUWs4CyWmBMusR/ODPfc=
22
22
  </data>
23
23
  <key>Modules/KeyWordDetection.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface</key>
24
24
  <data>
25
- Ok0/pS2BNSe+t/upxXefHyiju80=
25
+ kASaW9lF4X2q66jh5WqGuz1QzHc=
26
26
  </data>
27
27
  <key>Modules/KeyWordDetection.swiftmodule/arm64-apple-ios-simulator.swiftdoc</key>
28
28
  <data>
@@ -30,19 +30,19 @@
30
30
  </data>
31
31
  <key>Modules/KeyWordDetection.swiftmodule/arm64-apple-ios-simulator.swiftinterface</key>
32
32
  <data>
33
- Ok0/pS2BNSe+t/upxXefHyiju80=
33
+ kASaW9lF4X2q66jh5WqGuz1QzHc=
34
34
  </data>
35
35
  <key>Modules/KeyWordDetection.swiftmodule/arm64-apple-ios-simulator.swiftmodule</key>
36
36
  <data>
37
- 4M40Goc/yqZGzkE6o+rpfmhdves=
37
+ G3m8JXJAi6krc2lxBxXzG6JJqlg=
38
38
  </data>
39
39
  <key>Modules/KeyWordDetection.swiftmodule/x86_64-apple-ios-simulator.abi.json</key>
40
40
  <data>
41
- /iPaUlR+SAg5UAZ7zPebvMp53yg=
41
+ sOSryZ7iUWs4CyWmBMusR/ODPfc=
42
42
  </data>
43
43
  <key>Modules/KeyWordDetection.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface</key>
44
44
  <data>
45
- cTRpjFzbWaY3y3mn9q/S9J01hrY=
45
+ uWr5+iMRZF6v4BHZrhziJ8++U80=
46
46
  </data>
47
47
  <key>Modules/KeyWordDetection.swiftmodule/x86_64-apple-ios-simulator.swiftdoc</key>
48
48
  <data>
@@ -50,11 +50,11 @@
50
50
  </data>
51
51
  <key>Modules/KeyWordDetection.swiftmodule/x86_64-apple-ios-simulator.swiftinterface</key>
52
52
  <data>
53
- cTRpjFzbWaY3y3mn9q/S9J01hrY=
53
+ uWr5+iMRZF6v4BHZrhziJ8++U80=
54
54
  </data>
55
55
  <key>Modules/KeyWordDetection.swiftmodule/x86_64-apple-ios-simulator.swiftmodule</key>
56
56
  <data>
57
- 2E9aWI2bm08aYegrwTS//gUpWuY=
57
+ ActfWssP8zkF/JNZlwm1Cjasm98=
58
58
  </data>
59
59
  <key>Modules/module.modulemap</key>
60
60
  <data>
@@ -67,44 +67,44 @@
67
67
  <dict>
68
68
  <key>hash</key>
69
69
  <data>
70
- 7zn5qZROHzSdlLAyOQOLC9UPdlo=
70
+ K1rwP5ZQFuNoBvp/pqWZR+9TuVc=
71
71
  </data>
72
72
  <key>hash2</key>
73
73
  <data>
74
- hh9sunT06jfDNrjWrYzZWhltrb/fsOXF+BL8HlUTh1o=
74
+ 41pAYhJIXuEwPg0U77l8ohICTaERJPRZaPW02Gb96D4=
75
75
  </data>
76
76
  </dict>
77
77
  <key>Headers/KeyWordDetection.h</key>
78
78
  <dict>
79
79
  <key>hash</key>
80
80
  <data>
81
- lkKX9KK+xzMSJAVMjPGtKjkZ4MU=
81
+ 3DuDx7NAv+hLr4TmoJr3e+MRiXE=
82
82
  </data>
83
83
  <key>hash2</key>
84
84
  <data>
85
- G+zWBJ40O5nsbLDiX//hKX8sDUcq+MGuQMYUI2Aqx/Q=
85
+ Y97DYhcsF/qreCSOkyFyxAaTJIpJC9H/zl4fIXcr1og=
86
86
  </data>
87
87
  </dict>
88
88
  <key>Modules/KeyWordDetection.swiftmodule/arm64-apple-ios-simulator.abi.json</key>
89
89
  <dict>
90
90
  <key>hash</key>
91
91
  <data>
92
- /iPaUlR+SAg5UAZ7zPebvMp53yg=
92
+ sOSryZ7iUWs4CyWmBMusR/ODPfc=
93
93
  </data>
94
94
  <key>hash2</key>
95
95
  <data>
96
- tuRQSIfc6Phg2kfUToi9lctGX87D/ykVEa0ZhL4E+hE=
96
+ SU9fiwstoEMq1mTQrP9gbx+rkd2gEn7dCehqCtlPtuw=
97
97
  </data>
98
98
  </dict>
99
99
  <key>Modules/KeyWordDetection.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface</key>
100
100
  <dict>
101
101
  <key>hash</key>
102
102
  <data>
103
- Ok0/pS2BNSe+t/upxXefHyiju80=
103
+ kASaW9lF4X2q66jh5WqGuz1QzHc=
104
104
  </data>
105
105
  <key>hash2</key>
106
106
  <data>
107
- zsfQk5AZDhH17P6ao/VawpNjx5xgfRYdCkxqwz+TAG0=
107
+ 5juXnK2l4Ryf47PloPjTDrIEMdjVGj07I9Ff0m5fAn4=
108
108
  </data>
109
109
  </dict>
110
110
  <key>Modules/KeyWordDetection.swiftmodule/arm64-apple-ios-simulator.swiftdoc</key>
@@ -122,44 +122,44 @@
122
122
  <dict>
123
123
  <key>hash</key>
124
124
  <data>
125
- Ok0/pS2BNSe+t/upxXefHyiju80=
125
+ kASaW9lF4X2q66jh5WqGuz1QzHc=
126
126
  </data>
127
127
  <key>hash2</key>
128
128
  <data>
129
- zsfQk5AZDhH17P6ao/VawpNjx5xgfRYdCkxqwz+TAG0=
129
+ 5juXnK2l4Ryf47PloPjTDrIEMdjVGj07I9Ff0m5fAn4=
130
130
  </data>
131
131
  </dict>
132
132
  <key>Modules/KeyWordDetection.swiftmodule/arm64-apple-ios-simulator.swiftmodule</key>
133
133
  <dict>
134
134
  <key>hash</key>
135
135
  <data>
136
- 4M40Goc/yqZGzkE6o+rpfmhdves=
136
+ G3m8JXJAi6krc2lxBxXzG6JJqlg=
137
137
  </data>
138
138
  <key>hash2</key>
139
139
  <data>
140
- KSD3QVmiNbZGaFVSeU+cHjBmg08z8PzlbeVSw4J/BOY=
140
+ PFPkn2cdhk91DsjkKyUoOMAMe+t1GPSFFv3ploYJ7OE=
141
141
  </data>
142
142
  </dict>
143
143
  <key>Modules/KeyWordDetection.swiftmodule/x86_64-apple-ios-simulator.abi.json</key>
144
144
  <dict>
145
145
  <key>hash</key>
146
146
  <data>
147
- /iPaUlR+SAg5UAZ7zPebvMp53yg=
147
+ sOSryZ7iUWs4CyWmBMusR/ODPfc=
148
148
  </data>
149
149
  <key>hash2</key>
150
150
  <data>
151
- tuRQSIfc6Phg2kfUToi9lctGX87D/ykVEa0ZhL4E+hE=
151
+ SU9fiwstoEMq1mTQrP9gbx+rkd2gEn7dCehqCtlPtuw=
152
152
  </data>
153
153
  </dict>
154
154
  <key>Modules/KeyWordDetection.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface</key>
155
155
  <dict>
156
156
  <key>hash</key>
157
157
  <data>
158
- cTRpjFzbWaY3y3mn9q/S9J01hrY=
158
+ uWr5+iMRZF6v4BHZrhziJ8++U80=
159
159
  </data>
160
160
  <key>hash2</key>
161
161
  <data>
162
- iuYVt3XTv009YrsrUN+DC9Ha3HdErfaCiG3hiO1cWFc=
162
+ FnNyjYi1TYMNu06GdjI9Cmho+/57zuR5sfRkgU7VrHE=
163
163
  </data>
164
164
  </dict>
165
165
  <key>Modules/KeyWordDetection.swiftmodule/x86_64-apple-ios-simulator.swiftdoc</key>
@@ -177,22 +177,22 @@
177
177
  <dict>
178
178
  <key>hash</key>
179
179
  <data>
180
- cTRpjFzbWaY3y3mn9q/S9J01hrY=
180
+ uWr5+iMRZF6v4BHZrhziJ8++U80=
181
181
  </data>
182
182
  <key>hash2</key>
183
183
  <data>
184
- iuYVt3XTv009YrsrUN+DC9Ha3HdErfaCiG3hiO1cWFc=
184
+ FnNyjYi1TYMNu06GdjI9Cmho+/57zuR5sfRkgU7VrHE=
185
185
  </data>
186
186
  </dict>
187
187
  <key>Modules/KeyWordDetection.swiftmodule/x86_64-apple-ios-simulator.swiftmodule</key>
188
188
  <dict>
189
189
  <key>hash</key>
190
190
  <data>
191
- 2E9aWI2bm08aYegrwTS//gUpWuY=
191
+ ActfWssP8zkF/JNZlwm1Cjasm98=
192
192
  </data>
193
193
  <key>hash2</key>
194
194
  <data>
195
- 9sB2U0LUS4nNMGzhBjEtS8aP+KMrJ7KWCYLpbNj41RI=
195
+ HosE2xWCuBA6duQhzGDSKVxLPfnarmxn97HYUuWNjcs=
196
196
  </data>
197
197
  </dict>
198
198
  <key>Modules/module.modulemap</key>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-wakeword",
3
- "version": "1.1.9",
3
+ "version": "1.1.11",
4
4
  "description": "Voice/Wake-word detection library for React Native",
5
5
  "main": "wakewords/index.js",
6
6
  "types": "wakewords/index.d.ts",
@@ -13,10 +13,8 @@
13
13
  "wakewords/",
14
14
  "android/",
15
15
  "ios/",
16
- "react-native.config.js",
17
- "module.modulemap",
18
16
  "./app.plugin.js",
19
- "KeyWordDetection.podspec"
17
+ "KeyWordRNBridge.podspec"
20
18
  ],
21
19
  "react-native": {
22
20
  "ios": "ios",
@@ -1,38 +0,0 @@
1
- require 'json'
2
-
3
- Pod::Spec.new do |s|
4
- s.name = "KeyWordDetection"
5
- s.version = "1.0.0" # Update to your package version
6
- s.summary = "Wake word detection for React Native."
7
- s.description = <<-DESC
8
- A React Native module for wake word detection .
9
- DESC
10
- s.homepage = "https://github.com/frymanofer/KeywordsDetectionAndroidLibrary.git" # Update with your repo URL
11
- s.license = { :type => "MIT" } # Update if different
12
- s.author = { "Your Name" => "ofer@davoice.io" } # Update with your info
13
- s.platform = :ios, "11"
14
- # s.source = { :git => "https://github.com/frymanofer/KeywordsDetectionAndroidLibrary.git", :tag => s.version.to_s } # Update accordingly
15
- s.source = { :path => "." }
16
-
17
- # s.source_files = "ios/*.{h,m,mm,swift}"
18
- s.resources = "ios/models/*"
19
- s.source_files = 'ios/KeyWordRNBridge.h', 'ios/KeyWordRNBridge.mm', 'ios/KeyWordRNBridgeSwift.h','ios/KeyWordRNBridgeSwift.mm'
20
-
21
- s.static_framework = true # applies to every subspec
22
-
23
- s.vendored_frameworks = "ios/KeyWordDetection.xcframework"
24
-
25
- s.dependency "React"
26
- s.dependency "onnxruntime-objc", "~> 1.20.0"
27
-
28
- s.module_map = "module.modulemap"
29
-
30
- s.pod_target_xcconfig = {
31
- 'HEADER_SEARCH_PATHS' => '$(PODS_ROOT)/../../node_modules/react-native-wakeword/ios/KeyWordDetection.xcframework/**/KeyWordDetection.framework/Headers',
32
- "FRAMEWORK_SEARCH_PATHS" => "\"$(PODS_ROOT)../../react-native-wakeword/ios\"",
33
- "DEFINES_MODULE" => "YES"
34
- }
35
-
36
- s.requires_arc = true
37
- end
38
-
@@ -1,5 +0,0 @@
1
- #import "KeyWordRNBridge.h"
2
-
3
- @interface KeyWordRNBridge (Swift)
4
-
5
- @end
@@ -1,6 +0,0 @@
1
- // ios/KeyWordRNBridgeSwift.mm
2
- #import "KeyWordRNBridgeSwift.h"
3
-
4
- @implementation KeyWordRNBridge (Swift)
5
-
6
- @end
package/module.modulemap DELETED
@@ -1,6 +0,0 @@
1
- framework module KeyWordDetection {
2
- umbrella header "KeyWordDetection.h"
3
-
4
- export *
5
- module * { export * }
6
- }