From 60870fede5fe2fc205bcf65927a79927dae89f15 Mon Sep 17 00:00:00 2001 From: Francisco Javier Trujillo Mata Date: Mon, 26 Feb 2018 13:16:57 +0100 Subject: [PATCH 1/2] Improve Podspec: * Fix linking source files * Added description * Remove not used config --- ios/RNOpenAppSettings.podspec | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/ios/RNOpenAppSettings.podspec b/ios/RNOpenAppSettings.podspec index 4949f70..2872ab6 100644 --- a/ios/RNOpenAppSettings.podspec +++ b/ios/RNOpenAppSettings.podspec @@ -3,21 +3,15 @@ Pod::Spec.new do |s| s.name = "RNOpenAppSettings" s.version = "1.0.0" s.summary = "RNOpenAppSettings" - s.description = <<-DESC - RNOpenAppSettings - DESC - s.homepage = "" + s.description = "React Native module exposing native application settings" s.license = "MIT" - # s.license = { :type => "MIT", :file => "FILE_LICENSE" } - s.author = { "author" => "author@domain.cn" } + s.author = { "author" => "author@domain.cn" } s.homepage = "https://github.com/KrazyLabs/react-native-app-settings" s.platform = :ios, "7.0" s.source = { :git => "https://github.com/KrazyLabs/react-native-app-settings.git", :tag => "master" } - s.source_files = "RNOpenAppSettings/**/*.{h,m}" + s.source_files = "*.{h,m}" s.requires_arc = true - s.dependency "React" - #s.dependency "others" end From 700f1c8b307e9986bded83c65166ec95c7d38510 Mon Sep 17 00:00:00 2001 From: Francisco Javier Trujillo Mata Date: Mon, 26 Feb 2018 13:17:26 +0100 Subject: [PATCH 2/2] Jump to version 2.0.1 in all the platforms --- android/build.gradle | 4 ++-- ios/RNOpenAppSettings.podspec | 2 +- package.json | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/android/build.gradle b/android/build.gradle index a28f0dd..d520e84 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -18,8 +18,8 @@ android { defaultConfig { minSdkVersion 16 targetSdkVersion 22 - versionCode 1 - versionName "1.0" + versionCode 2 + versionName "2.0.1" } lintOptions { abortOnError false diff --git a/ios/RNOpenAppSettings.podspec b/ios/RNOpenAppSettings.podspec index 2872ab6..f7eeb52 100644 --- a/ios/RNOpenAppSettings.podspec +++ b/ios/RNOpenAppSettings.podspec @@ -1,7 +1,7 @@ Pod::Spec.new do |s| s.name = "RNOpenAppSettings" - s.version = "1.0.0" + s.version = "2.0.1" s.summary = "RNOpenAppSettings" s.description = "React Native module exposing native application settings" s.license = "MIT" diff --git a/package.json b/package.json index ff0fee6..50c2b41 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-native-app-settings", - "version": "2.0.0", + "version": "2.0.1", "description": "Cross-Platform React Native module exposing native application settings.", "main": "index.js", "scripts": {