mirror of
https://github.com/Myzel394/NumberHub.git
synced 2025-06-19 00:35:26 +02:00
RuPLayMarket
This commit is contained in:
parent
ecadfe8d58
commit
b5d66029ac
@ -47,6 +47,15 @@ android {
|
||||
signingConfig signingConfigs.debug
|
||||
}
|
||||
|
||||
debugRuPlayMarket {
|
||||
// We don't need analytics for debug builds
|
||||
resValue("bool", "FIREBASE_ANALYTICS_DEACTIVATED", "true")
|
||||
resValue("bool", "FIREBASE_CRASHLYTICS_ENABLED", "false")
|
||||
buildConfigField ("String", "StoreLink", "null")
|
||||
debuggable true
|
||||
signingConfig signingConfigs.debug
|
||||
}
|
||||
|
||||
releaseNoAnal {
|
||||
// Same as release
|
||||
// Used for on device testing. Same performance, but no analytics
|
||||
@ -75,6 +84,15 @@ android {
|
||||
minifyEnabled true
|
||||
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
||||
}
|
||||
|
||||
releaseRuPlayMarket {
|
||||
resValue("bool", "FIREBASE_ANALYTICS_DEACTIVATED", "false")
|
||||
resValue("bool", "FIREBASE_CRASHLYTICS_ENABLED", "true")
|
||||
buildConfigField ("String", "StoreLink", "null")
|
||||
shrinkResources true
|
||||
minifyEnabled true
|
||||
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
||||
}
|
||||
}
|
||||
compileOptions {
|
||||
sourceCompatibility JavaVersion.VERSION_1_8
|
||||
@ -85,7 +103,6 @@ android {
|
||||
compose true
|
||||
|
||||
// These are unused features
|
||||
// buildConfig false
|
||||
aidl false
|
||||
renderScript false
|
||||
shaders false
|
||||
|
@ -135,18 +135,20 @@ fun SettingsScreen(
|
||||
onClick = { navControllerAction(ABOUT_SCREEN) }
|
||||
)
|
||||
|
||||
BuildConfig.StoreLink?.let {
|
||||
SettingsListItem(
|
||||
label = stringResource(R.string.rate_this_app),
|
||||
onClick = {
|
||||
openLink(
|
||||
mContext,
|
||||
BuildConfig.StoreLink
|
||||
it
|
||||
)
|
||||
}
|
||||
)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user