diff --git a/.gitignore b/.gitignore index 82e64d4..b87df05 100644 --- a/.gitignore +++ b/.gitignore @@ -24,4 +24,5 @@ project.xcworkspace *.iml .gradle local.properties -android/build \ No newline at end of file +android/build +.DS_Store diff --git a/ReactNativeTouchThroughView.podspec b/ReactNativeTouchThroughView.podspec new file mode 100644 index 0000000..0496ee9 --- /dev/null +++ b/ReactNativeTouchThroughView.podspec @@ -0,0 +1,20 @@ +require 'json' + +package = JSON.parse(File.read(File.join(__dir__, 'package.json'))) + +Pod::Spec.new do |s| + s.name = "ReactNativeTouchThroughView" + s.version = package['version'] + s.summary = package['description'] + s.license = "MIT" + + s.authors = package['author'] + s.homepage = package['homepage'] + s.platforms = { :ios => "9.0", :tvos => "9.0" } + + s.source = { :git => "https://github.com/rome2rio/react-native-touch-through-view.git", :tag => "#{s.version}" } + s.source_files = "ios/**/*.{h,m}" + s.requires_arc = true + + s.dependency 'React' +end diff --git a/android/build.gradle b/android/build.gradle index 53c69ed..8c5f423 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -8,7 +8,7 @@ buildscript { google() } dependencies { - classpath 'com.android.tools.build:gradle:3.1.3' + classpath 'com.android.tools.build:gradle:3.4.2' // NOTE: Do not place your application dependencies here; they belong // in the individual module build.gradle files @@ -28,12 +28,12 @@ allprojects { // Top-level build file where you can add configuration options common to all sub-projects/modules. android { - compileSdkVersion 27 - buildToolsVersion "27.0.3" + compileSdkVersion 28 + buildToolsVersion "28.0.3" defaultConfig { minSdkVersion 16 - targetSdkVersion 27 + targetSdkVersion 28 } lintOptions { diff --git a/android/gradle/wrapper/gradle-wrapper.jar b/android/gradle/wrapper/gradle-wrapper.jar index bc88052..5c2d1cf 100644 Binary files a/android/gradle/wrapper/gradle-wrapper.jar and b/android/gradle/wrapper/gradle-wrapper.jar differ diff --git a/android/gradle/wrapper/gradle-wrapper.properties b/android/gradle/wrapper/gradle-wrapper.properties index 3a71c59..b1de3c2 100644 --- a/android/gradle/wrapper/gradle-wrapper.properties +++ b/android/gradle/wrapper/gradle-wrapper.properties @@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-4.4-all.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-5.4.1-all.zip diff --git a/package.json b/package.json index bf1b75d..3d09f8e 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "react-native-touch-through-view", - "version": "0.1.4", - "description": "", + "version": "1.2.0", + "description": "TouchThroughView", "repository": { "type": "git", "url": "https://github.com/rome2rio/react-native-touch-through-view.git" @@ -22,5 +22,5 @@ "bugs": { "url": "https://github.com/rome2rio/react-native-touch-through-view/issues" }, - "homepage": "https://github.com/rome2rio/react-native-button" + "homepage": "https://github.com/rome2rio/react-native-touch-through-view" }