diff --git a/android/app/build.gradle b/android/app/build.gradle index a00e48c8..793040f6 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -82,12 +82,12 @@ apply from: "../../node_modules/react-native/react.gradle" * Upload all the APKs to the Play Store and people will download * the correct one based on the CPU architecture of their device. */ -def enableSeparateBuildPerCPUArchitecture = true +def enableSeparateBuildPerCPUArchitecture = false /** * Run Proguard to shrink the Java bytecode in release builds. */ -def enableProguardInReleaseBuilds = true +def enableProguardInReleaseBuilds = false android { compileSdkVersion 25 @@ -124,16 +124,16 @@ android { } buildTypes { release { - signingConfig signingConfigs.release - shrinkResources enableProguardInReleaseBuilds - zipAlignEnabled enableProguardInReleaseBuilds + // shrinkResources enableProguardInReleaseBuilds + // zipAlignEnabled enableProguardInReleaseBuilds + // useProguard enableProguardInReleaseBuilds minifyEnabled enableProguardInReleaseBuilds - useProguard enableProguardInReleaseBuilds setProguardFiles([getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro']) + signingConfig signingConfigs.release + } + debug { + applicationIdSuffix ".debug" } - debug { - applicationIdSuffix ".debug" - } } // applicationVariants are e.g. debug, release applicationVariants.all { variant -> diff --git a/android/app/src/main/AndroidManifest.xml b/android/app/src/main/AndroidManifest.xml index c61f8cd8..ec1522f8 100644 --- a/android/app/src/main/AndroidManifest.xml +++ b/android/app/src/main/AndroidManifest.xml @@ -8,7 +8,7 @@ - + diff --git a/ios/RocketChatRN/Info.plist b/ios/RocketChatRN/Info.plist index 9a7c650b..18e20809 100644 --- a/ios/RocketChatRN/Info.plist +++ b/ios/RocketChatRN/Info.plist @@ -53,8 +53,6 @@ NSCameraUsageDescription Upload images from camera - NSLocationWhenInUseUsageDescription - NSMicrophoneUsageDescription This app uses the microphone to record audio message. NSPhotoLibraryUsageDescription