diff --git a/android/app/build.gradle b/android/app/build.gradle
index 8e02467..b59b036 100644
--- a/android/app/build.gradle
+++ b/android/app/build.gradle
@@ -107,8 +107,8 @@ android {
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
missingDimensionStrategy "RNN.reactNativeVersion", "reactNative57_5"
- versionCode 1
- versionName "1.0"
+ versionCode 21
+ versionName "2.0.1"
vectorDrawables.useSupportLibrary = true
ndk {
@@ -132,10 +132,21 @@ android {
include "armeabi-v7a", "x86", "arm64-v8a", "x86_64"
}
}
+ signingConfigs {
+ release {
+ if (project.hasProperty('MYAPP_RELEASE_STORE_FILE')) {
+ storeFile file(MYAPP_RELEASE_STORE_FILE)
+ storePassword MYAPP_RELEASE_STORE_PASSWORD
+ keyAlias MYAPP_RELEASE_KEY_ALIAS
+ keyPassword MYAPP_RELEASE_KEY_PASSWORD
+ }
+ }
+ }
buildTypes {
release {
minifyEnabled enableProguardInReleaseBuilds
proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro"
+ signingConfig signingConfigs.release
}
}
// applicationVariants are e.g. debug, release
diff --git a/ios/Timepill/Info.plist b/ios/Timepill/Info.plist
index cff7d6f..308cd6a 100644
--- a/ios/Timepill/Info.plist
+++ b/ios/Timepill/Info.plist
@@ -21,7 +21,7 @@
CFBundleSignature
????
CFBundleVersion
- 24
+ 26
LSRequiresIPhoneOS
NSAppTransportSecurity
@@ -39,10 +39,6 @@
NSCameraUsageDescription
- NSLocationWhenInUseUsageDescription
-
- NSPhotoLibraryUsageDescription
-
UIAppFonts
Entypo.ttf
@@ -71,5 +67,13 @@
UIViewControllerBasedStatusBarAppearance
+ NSPhotoLibraryUsageDescription
+ 胶囊需要访问你的相册
+ NSLocationAlwaysUsageDescription
+ 胶囊需要获取你的位置
+ NSLocationWhenInUseUsageDescription
+ 胶囊需要获取你的位置
+ NSPhotoLibraryAddUsageDescription
+ 胶囊需要保存图片到相册