react-native-davoice-tts 1.0.210 → 1.0.212
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/TTSRNBridge.podspec +1 -1
- package/ios/SpeechBridge/SpeechBridge.m +7 -7
- package/ios/TTSRNBridge/DavoiceTTS.xcframework/Info.plist +5 -5
- package/ios/TTSRNBridge/DavoiceTTS.xcframework/ios-arm64/DavoiceTTS.framework/DavoiceTTS +0 -0
- package/ios/TTSRNBridge/DavoiceTTS.xcframework/ios-arm64/DavoiceTTS.framework/Modules/DavoiceTTS.swiftmodule/arm64-apple-ios.abi.json +4 -4
- package/ios/TTSRNBridge/DavoiceTTS.xcframework/ios-arm64_x86_64-simulator/DavoiceTTS.framework/DavoiceTTS +0 -0
- package/ios/TTSRNBridge/DavoiceTTS.xcframework/ios-arm64_x86_64-simulator/DavoiceTTS.framework/Modules/DavoiceTTS.swiftmodule/arm64-apple-ios-simulator.abi.json +2193 -2193
- package/ios/TTSRNBridge/DavoiceTTS.xcframework/ios-arm64_x86_64-simulator/DavoiceTTS.framework/Modules/DavoiceTTS.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +28 -28
- package/ios/TTSRNBridge/DavoiceTTS.xcframework/ios-arm64_x86_64-simulator/DavoiceTTS.framework/Modules/DavoiceTTS.swiftmodule/arm64-apple-ios-simulator.swiftinterface +28 -28
- package/ios/TTSRNBridge/DavoiceTTS.xcframework/ios-arm64_x86_64-simulator/DavoiceTTS.framework/Modules/DavoiceTTS.swiftmodule/x86_64-apple-ios-simulator.abi.json +2193 -2193
- package/ios/TTSRNBridge/DavoiceTTS.xcframework/ios-arm64_x86_64-simulator/DavoiceTTS.framework/Modules/DavoiceTTS.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +28 -28
- package/ios/TTSRNBridge/DavoiceTTS.xcframework/ios-arm64_x86_64-simulator/DavoiceTTS.framework/Modules/DavoiceTTS.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +28 -28
- package/ios/TTSRNBridge/DavoiceTTS.xcframework/ios-arm64_x86_64-simulator/DavoiceTTS.framework/_CodeSignature/CodeDirectory +0 -0
- package/ios/TTSRNBridge/DavoiceTTS.xcframework/ios-arm64_x86_64-simulator/DavoiceTTS.framework/_CodeSignature/CodeRequirements-1 +0 -0
- package/ios/TTSRNBridge/DavoiceTTS.xcframework/ios-arm64_x86_64-simulator/DavoiceTTS.framework/_CodeSignature/CodeResources +24 -24
- package/package.json +1 -1
- package/speech/index.ts +58 -13
package/TTSRNBridge.podspec
CHANGED
|
@@ -2,7 +2,7 @@ require 'json'
|
|
|
2
2
|
|
|
3
3
|
Pod::Spec.new do |s|
|
|
4
4
|
s.name = "TTSRNBridge"
|
|
5
|
-
s.version = "1.0.
|
|
5
|
+
s.version = "1.0.85" # Update to your package version
|
|
6
6
|
s.summary = "TTS for React Native."
|
|
7
7
|
s.description = <<-DESC
|
|
8
8
|
A React Native module for tts .
|
|
@@ -140,21 +140,21 @@ RCT_EXPORT_METHOD(initAll:(NSDictionary *)opts
|
|
|
140
140
|
// ADD — pause mic
|
|
141
141
|
RCT_EXPORT_METHOD(pauseMicrophone:(RCTResponseSenderBlock)callback)
|
|
142
142
|
{
|
|
143
|
-
|
|
144
|
-
[self.stt pauseMicrophone
|
|
145
|
-
|
|
146
|
-
}];
|
|
143
|
+
if (!self.stt) { if (callback) callback(@[@(NO)]); return; }
|
|
144
|
+
[self.stt pauseMicrophone]; // ← no colon
|
|
145
|
+
if (callback) callback(@[@(YES)]);
|
|
147
146
|
}
|
|
148
147
|
|
|
148
|
+
|
|
149
149
|
// ADD — unpause mic
|
|
150
150
|
RCT_EXPORT_METHOD(unPauseMicrophone:(RCTResponseSenderBlock)callback)
|
|
151
151
|
{
|
|
152
152
|
if (!self.stt) { if (callback) callback(@[@(NO)]); return; }
|
|
153
|
-
[self.stt unPauseMicrophone
|
|
154
|
-
|
|
155
|
-
}];
|
|
153
|
+
[self.stt unPauseMicrophone]; // ← no colon
|
|
154
|
+
if (callback) callback(@[@(YES)]);
|
|
156
155
|
}
|
|
157
156
|
|
|
157
|
+
|
|
158
158
|
RCT_EXPORT_METHOD(destroyAll:(RCTPromiseResolveBlock)resolve
|
|
159
159
|
rejecter:(RCTPromiseRejectBlock)reject)
|
|
160
160
|
{
|
|
@@ -8,32 +8,32 @@
|
|
|
8
8
|
<key>BinaryPath</key>
|
|
9
9
|
<string>DavoiceTTS.framework/DavoiceTTS</string>
|
|
10
10
|
<key>LibraryIdentifier</key>
|
|
11
|
-
<string>ios-
|
|
11
|
+
<string>ios-arm64</string>
|
|
12
12
|
<key>LibraryPath</key>
|
|
13
13
|
<string>DavoiceTTS.framework</string>
|
|
14
14
|
<key>SupportedArchitectures</key>
|
|
15
15
|
<array>
|
|
16
16
|
<string>arm64</string>
|
|
17
|
-
<string>x86_64</string>
|
|
18
17
|
</array>
|
|
19
18
|
<key>SupportedPlatform</key>
|
|
20
19
|
<string>ios</string>
|
|
21
|
-
<key>SupportedPlatformVariant</key>
|
|
22
|
-
<string>simulator</string>
|
|
23
20
|
</dict>
|
|
24
21
|
<dict>
|
|
25
22
|
<key>BinaryPath</key>
|
|
26
23
|
<string>DavoiceTTS.framework/DavoiceTTS</string>
|
|
27
24
|
<key>LibraryIdentifier</key>
|
|
28
|
-
<string>ios-
|
|
25
|
+
<string>ios-arm64_x86_64-simulator</string>
|
|
29
26
|
<key>LibraryPath</key>
|
|
30
27
|
<string>DavoiceTTS.framework</string>
|
|
31
28
|
<key>SupportedArchitectures</key>
|
|
32
29
|
<array>
|
|
33
30
|
<string>arm64</string>
|
|
31
|
+
<string>x86_64</string>
|
|
34
32
|
</array>
|
|
35
33
|
<key>SupportedPlatform</key>
|
|
36
34
|
<string>ios</string>
|
|
35
|
+
<key>SupportedPlatformVariant</key>
|
|
36
|
+
<string>simulator</string>
|
|
37
37
|
</dict>
|
|
38
38
|
</array>
|
|
39
39
|
<key>CFBundlePackageType</key>
|
|
Binary file
|
|
@@ -3172,28 +3172,28 @@
|
|
|
3172
3172
|
{
|
|
3173
3173
|
"filePath": "\/Volumes\/T9\/projects\/DavoiceTTSPrivate\/Sources\/DaVoiceSTT.swift",
|
|
3174
3174
|
"kind": "IntegerLiteral",
|
|
3175
|
-
"offset":
|
|
3175
|
+
"offset": 4618,
|
|
3176
3176
|
"length": 1,
|
|
3177
3177
|
"value": "0"
|
|
3178
3178
|
},
|
|
3179
3179
|
{
|
|
3180
3180
|
"filePath": "\/Volumes\/T9\/projects\/DavoiceTTSPrivate\/Sources\/DaVoiceSTT.swift",
|
|
3181
3181
|
"kind": "IntegerLiteral",
|
|
3182
|
-
"offset":
|
|
3182
|
+
"offset": 4809,
|
|
3183
3183
|
"length": 1,
|
|
3184
3184
|
"value": "0"
|
|
3185
3185
|
},
|
|
3186
3186
|
{
|
|
3187
3187
|
"filePath": "\/Volumes\/T9\/projects\/DavoiceTTSPrivate\/Sources\/DaVoiceSTT.swift",
|
|
3188
3188
|
"kind": "BooleanLiteral",
|
|
3189
|
-
"offset":
|
|
3189
|
+
"offset": 12252,
|
|
3190
3190
|
"length": 4,
|
|
3191
3191
|
"value": "true"
|
|
3192
3192
|
},
|
|
3193
3193
|
{
|
|
3194
3194
|
"filePath": "\/Volumes\/T9\/projects\/DavoiceTTSPrivate\/Sources\/DaVoiceSTT.swift",
|
|
3195
3195
|
"kind": "FloatLiteral",
|
|
3196
|
-
"offset":
|
|
3196
|
+
"offset": 35525,
|
|
3197
3197
|
"length": 3,
|
|
3198
3198
|
"value": "0.7"
|
|
3199
3199
|
},
|