Skip to content

Commit

Permalink
Update to support React Native 0.56
Browse files Browse the repository at this point in the history
  • Loading branch information
ak1394 committed Aug 10, 2018
1 parent 0e57f88 commit 2dffa01
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 9 deletions.
4 changes: 2 additions & 2 deletions TextToSpeech.podspec
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
Pod::Spec.new do |s|
s.name = "TextToSpeech"
s.version = "1.4.1"
s.version = "2.0.0"
s.summary = "React Native Text-To-Speech library for Android and iOS"

s.homepage = "https://github.com/ak1394/react-native-tts"

s.license = "MIT"
s.authors = "Anton Krasovsky"
s.platform = :ios, "7.0"
s.platform = :ios, "9.0"

s.source = { :git => "https://github.com/ak1394/react-native-tts.git" }

Expand Down
23 changes: 17 additions & 6 deletions android/build.gradle
Original file line number Diff line number Diff line change
@@ -1,20 +1,31 @@
buildscript {
repositories {
jcenter()
}

dependencies {
classpath 'com.android.tools.build:gradle:1.3.1'
}
}

apply plugin: 'com.android.library'

android {
compileSdkVersion 23
buildToolsVersion "23.0.1"
compileSdkVersion 26
buildToolsVersion "26.0.3"

defaultConfig {
minSdkVersion 16
targetSdkVersion 23
targetSdkVersion 26
versionCode 1
versionName "1.0"
}
}

repositories {
mavenCentral()
}

dependencies {
compile fileTree(include: ['*.jar'], dir: 'libs')
compile 'com.android.support:support-v4:23.0.1'
compile 'com.android.support:appcompat-v7:23.4.0'
compile 'com.facebook.react:react-native:+'
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-native-tts",
"version": "1.5.2",
"version": "2.0.0",
"description": "React Native Text-To-Speech module for Android and iOS",
"main": "index.js",
"repository": {
Expand Down

0 comments on commit 2dffa01

Please sign in to comment.