react-native-davoice-tts 1.0.11 → 1.0.13

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.
@@ -15,7 +15,7 @@ Pod::Spec.new do |s|
15
15
  s.source = { :path => "." }
16
16
 
17
17
  # s.source_files = "ios/*.{h,m,mm,swift}"
18
- s.resources = "ios/TTSRNBridge/models/*"
18
+ # s.resources = "ios/TTSRNBridge/models/*"
19
19
  s.source_files = 'ios/TTSRNBridge/DaVoiceTTSBridge.m', 'ios/TTSRNBridge/DaVoiceTTSBridge.h'
20
20
 
21
21
  #s.static_framework = true
@@ -12,7 +12,10 @@ android {
12
12
 
13
13
  sourceSets {
14
14
  main {
15
- assets.srcDirs = ['src/main/assets']
15
+ assets.srcDirs = [
16
+ 'src/main/assets',
17
+ '../tts/models' // <-- your shared folder
18
+ ]
16
19
  jniLibs.srcDirs = ['src/main/jniLibs'] // Add this line if needed
17
20
  }
18
21
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-davoice-tts",
3
- "version": "1.0.11",
3
+ "version": "1.0.13",
4
4
  "description": "tts library for React Native",
5
5
  "main": "tts/index.js",
6
6
  "types": "tts/index.d.ts",
File without changes