react-native-wakeword 1.0.24 → 1.0.25
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 +34 -0
- package/README.md +3 -0
- package/ios/react-native-wakeword.podspec +15 -5
- package/module.modulemap +8 -0
- package/package.json +4 -2
- package/react-native.config.js +1 -1
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
Pod::Spec.new do |s|
|
|
2
|
+
s.name = "KeyWordDetection"
|
|
3
|
+
s.version = "1.0.0" # Update to your package version
|
|
4
|
+
s.summary = "Wake word detection for React Native."
|
|
5
|
+
s.description = <<-DESC
|
|
6
|
+
A React Native module for wake word detection .
|
|
7
|
+
DESC
|
|
8
|
+
s.homepage = "https://github.com/frymanofer/KeywordsDetectionAndroidLibrary.git" # Update with your repo URL
|
|
9
|
+
s.license = { :type => "MIT" } # Update if different
|
|
10
|
+
s.author = { "Your Name" => "ofer@davoice.io" } # Update with your info
|
|
11
|
+
s.platform = :ios, "11"
|
|
12
|
+
# s.source = { :git => "https://github.com/frymanofer/KeywordsDetectionAndroidLibrary.git", :tag => s.version.to_s } # Update accordingly
|
|
13
|
+
s.source = { :path => "." }
|
|
14
|
+
|
|
15
|
+
# s.source_files = "ios/*.{h,m,mm,swift}"
|
|
16
|
+
s.resources = "ios/models/*"
|
|
17
|
+
s.source_files = 'ios/KeyWordRNBridge.h', 'ios/KeyWordRNBridge.mm', 'ios/KeyWordRNBridgeSwift.h','ios/KeyWordRNBridgeSwift.mm'
|
|
18
|
+
|
|
19
|
+
s.vendored_frameworks = "ios/KeyWordDetection.xcframework"
|
|
20
|
+
|
|
21
|
+
s.dependency "React"
|
|
22
|
+
s.dependency "onnxruntime-objc", "~> 1.18.0"
|
|
23
|
+
s.dependency "ios-voice-processor", "~> 1.1.0"
|
|
24
|
+
|
|
25
|
+
s.module_map = "module.modulemap"
|
|
26
|
+
|
|
27
|
+
s.pod_target_xcconfig = {
|
|
28
|
+
"FRAMEWORK_SEARCH_PATHS" => "\"$(PODS_ROOT)/react-native-wakeword/ios\"",
|
|
29
|
+
"DEFINES_MODULE" => "YES"
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
s.requires_arc = true
|
|
33
|
+
end
|
|
34
|
+
|
package/README.md
CHANGED
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
Error - the podsepc must be called KeyWordDetection.podspec and align with sname of KeyWordDetection
|
|
2
|
+
also podspec was moved to ../
|
|
3
|
+
|
|
1
4
|
Pod::Spec.new do |s|
|
|
2
5
|
s.name = "react-native-wakeword"
|
|
3
6
|
s.version = "1.0.0" # Update to your package version
|
|
@@ -8,21 +11,28 @@ Pod::Spec.new do |s|
|
|
|
8
11
|
s.homepage = "https://github.com/frymanofer/KeywordsDetectionAndroidLibrary.git" # Update with your repo URL
|
|
9
12
|
s.license = { :type => "MIT" } # Update if different
|
|
10
13
|
s.author = { "Your Name" => "ofer@davoice.io" } # Update with your info
|
|
11
|
-
s.platform = :ios, "
|
|
14
|
+
s.platform = :ios, "11"
|
|
12
15
|
# s.source = { :git => "https://github.com/frymanofer/KeywordsDetectionAndroidLibrary.git", :tag => s.version.to_s } # Update accordingly
|
|
13
16
|
s.source = { :path => "." }
|
|
14
17
|
|
|
15
|
-
s.source_files = "ios/*.{h,m,mm}"
|
|
16
|
-
s.resources = "ios/models/*"
|
|
18
|
+
# s.source_files = "ios/*.{h,m,mm}"
|
|
19
|
+
# s.resources = "ios/models/*"
|
|
17
20
|
|
|
18
|
-
s.vendored_frameworks = "ios/KeyWordDetection.xcframework"
|
|
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/*"
|
|
19
25
|
|
|
26
|
+
s.vendored_frameworks = "KeyWordDetection.xcframework"
|
|
27
|
+
|
|
28
|
+
|
|
20
29
|
s.dependency "React"
|
|
21
30
|
s.dependency "onnxruntime-objc", "~> 1.18.0"
|
|
22
31
|
s.dependency "ios-voice-processor", "~> 1.1.0"
|
|
23
32
|
|
|
24
33
|
s.pod_target_xcconfig = {
|
|
25
|
-
"FRAMEWORK_SEARCH_PATHS" => "\"$(PODS_ROOT)/react-native-wakeword/ios\""
|
|
34
|
+
"FRAMEWORK_SEARCH_PATHS" => "\"$(PODS_ROOT)/react-native-wakeword/ios\"",
|
|
35
|
+
"DEFINES_MODULE" => "YES"
|
|
26
36
|
}
|
|
27
37
|
|
|
28
38
|
s.requires_arc = true
|
package/module.modulemap
ADDED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-native-wakeword",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.25",
|
|
4
4
|
"description": "Voice/Wake-word detection library for React Native",
|
|
5
5
|
"main": "wakewords/index.js",
|
|
6
6
|
"types": "wakewords/index.d.ts",
|
|
@@ -8,7 +8,9 @@
|
|
|
8
8
|
"wakewords/",
|
|
9
9
|
"android/",
|
|
10
10
|
"ios/",
|
|
11
|
-
"react-native.config.js"
|
|
11
|
+
"react-native.config.js",
|
|
12
|
+
"module.modulemap",
|
|
13
|
+
"KeyWordDetection.podspec"
|
|
12
14
|
],
|
|
13
15
|
"react-native": {
|
|
14
16
|
"ios": "ios",
|
package/react-native.config.js
CHANGED