Skip to content
This repository was archived by the owner on May 6, 2022. It is now read-only.

Commit d4cc01b

Browse files
committed
fix(ios): update spokestack-ios to 14.0.6, which fixes profile mapping
1 parent 6ef7644 commit d4cc01b

File tree

3 files changed

+8
-7
lines changed

3 files changed

+8
-7
lines changed

example/ios/Podfile.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ PODS:
206206
- React-jsinspector (0.64.0)
207207
- react-native-spokestack (5.0.0):
208208
- React
209-
- Spokestack-iOS (= 14.0.5)
209+
- Spokestack-iOS (= 14.0.6)
210210
- React-perflogger (0.64.0)
211211
- React-RCTActionSheet (0.64.0):
212212
- React-Core/RCTActionSheetHeaders (= 0.64.0)
@@ -271,7 +271,7 @@ PODS:
271271
- React-cxxreact (= 0.64.0)
272272
- React-jsi (= 0.64.0)
273273
- React-perflogger (= 0.64.0)
274-
- Spokestack-iOS (14.0.5):
274+
- Spokestack-iOS (14.0.6):
275275
- filter_audio (~> 0.5.0)
276276
- TensorFlowLiteSwift (~> 2.3.0)
277277
- TensorFlowLiteC (2.3.0):
@@ -402,7 +402,7 @@ SPEC CHECKSUMS:
402402
React-jsi: 74341196d9547cbcbcfa4b3bbbf03af56431d5a1
403403
React-jsiexecutor: 06a9c77b56902ae7ffcdd7a4905f664adc5d237b
404404
React-jsinspector: 0ae35a37b20d5e031eb020a69cc5afdbd6406301
405-
react-native-spokestack: 478811ca3abaf278a90e0d53d27d71f285e1b52f
405+
react-native-spokestack: 445ef1665894ece308411d0d79fe6308178076a8
406406
React-perflogger: 9c547d8f06b9bf00cb447f2b75e8d7f19b7e02af
407407
React-RCTActionSheet: 3080b6e12e0e1a5b313c8c0050699b5c794a1b11
408408
React-RCTAnimation: 3f96f21a497ae7dabf4d2f150ee43f906aaf516f
@@ -415,7 +415,7 @@ SPEC CHECKSUMS:
415415
React-RCTVibration: 0fd6b21751a33cb72fce1a4a33ab9678416d307a
416416
React-runtimeexecutor: cad74a1eaa53ee6e7a3620231939d8fe2c6afcf0
417417
ReactCommon: cfe2b7fd20e0dbd2d1185cd7d8f99633fbc5ff05
418-
Spokestack-iOS: 615ed65de54845e4e3b91dc593412adaf1332c68
418+
Spokestack-iOS: 230301d67ff70d87d589cd8db915e2897a528a24
419419
TensorFlowLiteC: 51f50caf5777f740a70e2c1a5dbdc149e7aeb50b
420420
TensorFlowLiteSwift: fb152cc1eec36b25b03a23c07f5d58113170af58
421421
Yoga: 8c8436d4171c87504c648ae23b1d81242bdf3bbf

ios/RNSpokestack.swift

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -365,8 +365,9 @@ class RNSpokestack: RCTEventEmitter, SpokestackDelegate {
365365
for (pipelineKey, pipelineValue) in value as! Dictionary<String, Int> {
366366
switch pipelineKey {
367367
case "profile":
368-
speechPipelineBuilder = speechPipelineBuilder?.useProfile(SpeechPipelineProfiles(rawValue: pipelineValue) ??
369-
SpeechPipelineProfiles.pushToTalkAppleSpeech)
368+
let profile = SpeechPipelineProfiles(rawValue: pipelineValue) ?? SpeechPipelineProfiles.pushToTalkAppleSpeech;
369+
// debugPrint("Setting profile", profile.rawValue)
370+
speechPipelineBuilder = speechPipelineBuilder?.useProfile(profile)
370371
break
371372
case "sampleRate":
372373
speechConfig.sampleRate = pipelineValue

react-native-spokestack.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,6 @@ Pod::Spec.new do |s|
1717
s.requires_arc = true
1818
s.static_framework = true
1919

20-
s.dependency "Spokestack-iOS", "14.0.5"
20+
s.dependency "Spokestack-iOS", "14.0.6"
2121
s.dependency "React"
2222
end

0 commit comments

Comments
 (0)