mirror of
https://github.com/sudoxnym/fdroiddata.git
synced 2026-05-19 12:19:10 +00:00
56 lines
1.8 KiB
Diff
56 lines
1.8 KiB
Diff
--- a/android/app/build.gradle
|
|
+++ b/android/app/build.gradle
|
|
@@ -138,14 +138,6 @@
|
|
versionCode 228
|
|
versionName "2.2.8"
|
|
}
|
|
- splits {
|
|
- abi {
|
|
- reset()
|
|
- enable enableSeparateBuildPerCPUArchitecture
|
|
- universalApk false // If true, also generate a universal APK
|
|
- include "armeabi-v7a", "x86", "arm64-v8a", "x86_64"
|
|
- }
|
|
- }
|
|
signingConfigs {
|
|
debug {
|
|
storeFile file('debug.keystore')
|
|
@@ -167,20 +159,6 @@
|
|
}
|
|
}
|
|
|
|
- // applicationVariants are e.g. debug, release
|
|
- applicationVariants.all { variant ->
|
|
- variant.outputs.each { output ->
|
|
- // For each separate APK per architecture, set a unique version code as described here:
|
|
- // https://developer.android.com/studio/build/configure-apk-splits.html
|
|
- def versionCodes = ["armeabi-v7a": 1, "x86": 2, "arm64-v8a": 3, "x86_64": 4]
|
|
- def abi = output.getFilter(OutputFile.ABI)
|
|
- if (abi != null) { // null for the universal-debug, universal-release variants
|
|
- output.versionCodeOverride =
|
|
- versionCodes.get(abi) * 1048576 + defaultConfig.versionCode
|
|
- }
|
|
-
|
|
- }
|
|
- }
|
|
}
|
|
|
|
dependencies {
|
|
@@ -198,6 +175,17 @@ dependencies {
|
|
debugImplementation("com.facebook.flipper:flipper-fresco-plugin:${FLIPPER_VERSION}") {
|
|
exclude group:'com.facebook.flipper'
|
|
}
|
|
+
|
|
+ implementation(project(':react-native-device-info')) {
|
|
+ exclude group: 'com.google.firebase'
|
|
+ exclude group: 'com.google.android.gms'
|
|
+ exclude group: 'com.android.installreferrer'
|
|
+ }
|
|
+
|
|
+ implementation(project(':expo-application')) {
|
|
+ exclude group: 'com.android.installreferrer'
|
|
+ }
|
|
+
|
|
addUnimodulesDependencies()
|
|
|
|
if (enableHermes) {
|