react-native-wakeword 1.0.81 → 1.1.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.
Files changed (28) hide show
  1. package/KeyWordDetection.podspec +3 -1
  2. package/android/src/main/assets/hey_lookdeep.onnx +0 -0
  3. package/ios/KeyWordDetection.xcframework/ios-arm64/KeyWordDetection.framework/Headers/KeyWordDetection-Swift.h +21 -1
  4. package/ios/KeyWordDetection.xcframework/ios-arm64/KeyWordDetection.framework/KeyWordDetection +0 -0
  5. package/ios/KeyWordDetection.xcframework/ios-arm64/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/Project/arm64-apple-ios.swiftsourceinfo +0 -0
  6. package/ios/KeyWordDetection.xcframework/ios-arm64/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/arm64-apple-ios.abi.json +454 -40
  7. package/ios/KeyWordDetection.xcframework/ios-arm64/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/arm64-apple-ios.private.swiftinterface +14 -0
  8. package/ios/KeyWordDetection.xcframework/ios-arm64/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
  9. package/ios/KeyWordDetection.xcframework/ios-arm64/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/arm64-apple-ios.swiftinterface +14 -0
  10. package/ios/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/Headers/KeyWordDetection-Swift.h +42 -2
  11. package/ios/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/KeyWordDetection +0 -0
  12. package/ios/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/Project/arm64-apple-ios-simulator.swiftsourceinfo +0 -0
  13. package/ios/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/Project/x86_64-apple-ios-simulator.swiftsourceinfo +0 -0
  14. package/ios/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/arm64-apple-ios-simulator.abi.json +463 -40
  15. package/ios/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +14 -0
  16. package/ios/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
  17. package/ios/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/arm64-apple-ios-simulator.swiftinterface +14 -0
  18. package/ios/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/x86_64-apple-ios-simulator.abi.json +463 -40
  19. package/ios/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +14 -0
  20. package/ios/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
  21. package/ios/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +14 -0
  22. package/ios/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/_CodeSignature/CodeResources +26 -26
  23. package/ios/KeyWordRNBridge.mm +26 -0
  24. package/ios/KeyWordRNBridgeSwift.mm +1 -0
  25. package/ios/models/hey_lookdeep.onnx +0 -0
  26. package/package.json +1 -1
  27. package/wakewords/KeyWordRNBridge.d.ts +4 -0
  28. package/wakewords/KeyWordRNBridge.js +19 -2
@@ -24,10 +24,12 @@ Pod::Spec.new do |s|
24
24
  s.module_map = "module.modulemap"
25
25
 
26
26
  s.pod_target_xcconfig = {
27
+ 'HEADER_SEARCH_PATHS' => '$(PODS_ROOT)/../../node_modules/react-native-wakeword/ios/KeyWordDetection.xcframework/*/KeyWordDetection.framework/Headers'
28
+ "HEADER_SEARCH_PATHS" => "$(PODS_ROOT)/react-native-wakeword/ios/KeyWordDetection.xcframework/**/Headers",
27
29
  "FRAMEWORK_SEARCH_PATHS" => "\"$(PODS_ROOT)/react-native-wakeword/ios\"",
28
30
  "DEFINES_MODULE" => "YES"
29
31
  }
30
-
32
+
31
33
  s.requires_arc = true
32
34
  end
33
35
 
@@ -303,9 +303,29 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
303
303
  #endif
304
304
 
305
305
  #if defined(__OBJC__)
306
- @class KeyWordsDetection;
306
+ @class NSURL;
307
307
  @class NSString;
308
308
 
309
+ SWIFT_CLASS("_TtC16KeyWordDetection29AudioSessionAndDuckingManager")
310
+ @interface AudioSessionAndDuckingManager : NSObject
311
+ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) AudioSessionAndDuckingManager * _Nonnull shared;)
312
+ + (AudioSessionAndDuckingManager * _Nonnull)shared SWIFT_WARN_UNUSED_RESULT;
313
+ - (void)enableAggressiveDucking;
314
+ /// Example function to end ducking. Deactivates session and stops engine.
315
+ - (void)disableDucking;
316
+ - (void)restartListeningAfterDucking;
317
+ /// Example function to end ducking. Deactivates session and stops engine.
318
+ - (void)disableDuckingAndCleanup;
319
+ /// BELOW IS FROM CHATGPT – XXX NOT TESTED AND PROBABLY BUGGY
320
+ - (void)activateSessionForDucking;
321
+ - (void)playInstructionSound:(NSURL * _Nonnull)soundURL;
322
+ - (void)speakInstruction:(NSString * _Nonnull)text;
323
+ - (void)deactivateSession;
324
+ - (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
325
+ @end
326
+
327
+ @class KeyWordsDetection;
328
+
309
329
  SWIFT_CLASS("_TtC16KeyWordDetection15GlobalVariables")
310
330
  @interface GlobalVariables : NSObject
311
331
  SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) GlobalVariables * _Nonnull shared;)