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
|
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 {
|
releaseNoAnal {
|
||||||
// Same as release
|
// Same as release
|
||||||
// Used for on device testing. Same performance, but no analytics
|
// Used for on device testing. Same performance, but no analytics
|
||||||
@ -75,6 +84,15 @@ android {
|
|||||||
minifyEnabled true
|
minifyEnabled true
|
||||||
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
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 {
|
compileOptions {
|
||||||
sourceCompatibility JavaVersion.VERSION_1_8
|
sourceCompatibility JavaVersion.VERSION_1_8
|
||||||
@ -85,7 +103,6 @@ android {
|
|||||||
compose true
|
compose true
|
||||||
|
|
||||||
// These are unused features
|
// These are unused features
|
||||||
// buildConfig false
|
|
||||||
aidl false
|
aidl false
|
||||||
renderScript false
|
renderScript false
|
||||||
shaders false
|
shaders false
|
||||||
|
@ -135,15 +135,17 @@ fun SettingsScreen(
|
|||||||
onClick = { navControllerAction(ABOUT_SCREEN) }
|
onClick = { navControllerAction(ABOUT_SCREEN) }
|
||||||
)
|
)
|
||||||
|
|
||||||
SettingsListItem(
|
BuildConfig.StoreLink?.let {
|
||||||
label = stringResource(R.string.rate_this_app),
|
SettingsListItem(
|
||||||
onClick = {
|
label = stringResource(R.string.rate_this_app),
|
||||||
openLink(
|
onClick = {
|
||||||
mContext,
|
openLink(
|
||||||
BuildConfig.StoreLink
|
mContext,
|
||||||
)
|
it
|
||||||
}
|
)
|
||||||
)
|
}
|
||||||
|
)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user