From c5e078b9d76d5b6d95b47a539db8de450a122475 Mon Sep 17 00:00:00 2001 From: Igor Mandrigin Date: Wed, 6 Jun 2018 15:16:21 +0300 Subject: [PATCH] [#4651] Set minimum iOS and Android versions. iOS: 11.0 is the minimal requirement, phone-only application. Android: 6.0 (API level 23). [Android API levels table](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels) --- android/app/build.gradle | 4 ++-- ios/StatusIm.xcodeproj/project.pbxproj | 6 ++++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/android/app/build.gradle b/android/app/build.gradle index a79d35811f..948da30b5f 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -121,8 +121,8 @@ android { defaultConfig { applicationId "im.status.ethereum" - minSdkVersion 18 - targetSdkVersion 26 + minSdkVersion 23 + targetSdkVersion 27 multiDexEnabled true versionCode getVersionCode() versionName getVersionName() diff --git a/ios/StatusIm.xcodeproj/project.pbxproj b/ios/StatusIm.xcodeproj/project.pbxproj index 5697cd0395..22f86e191a 100644 --- a/ios/StatusIm.xcodeproj/project.pbxproj +++ b/ios/StatusIm.xcodeproj/project.pbxproj @@ -2076,7 +2076,7 @@ "$(SRCROOT)/../node_modules/react-native-securerandom/ios", ); INFOPLIST_FILE = StatusIm/Info.plist; - IPHONEOS_DEPLOYMENT_TARGET = 8.0; + IPHONEOS_DEPLOYMENT_TARGET = 11.0; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; LIBRARY_SEARCH_PATHS = ( "$(inherited)", @@ -2089,6 +2089,7 @@ ); PRODUCT_BUNDLE_IDENTIFIER = im.status.ethereum; PRODUCT_NAME = StatusIm; + TARGETED_DEVICE_FAMILY = 1; VALID_ARCHS = "arm64 armv7 armv7s"; }; name = Debug; @@ -2137,7 +2138,7 @@ "$(SRCROOT)/../node_modules/react-native-securerandom/ios", ); INFOPLIST_FILE = StatusIm/Info.plist; - IPHONEOS_DEPLOYMENT_TARGET = 8.0; + IPHONEOS_DEPLOYMENT_TARGET = 11.0; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; LIBRARY_SEARCH_PATHS = ( "$(inherited)", @@ -2150,6 +2151,7 @@ ); PRODUCT_BUNDLE_IDENTIFIER = im.status.ethereum; PRODUCT_NAME = StatusIm; + TARGETED_DEVICE_FAMILY = 1; VALID_ARCHS = "armv7 armv7s arm64"; }; name = Release;