0
0
Fork 0
mirror of https://github.com/YTVanced/VancedManager synced 2024-11-23 11:45:11 +00:00

Version Bump and Target 29

This commit is contained in:
ostajic 2020-08-23 02:24:43 +02:00
parent 412ff6aebb
commit d0bdaef772
3 changed files with 9 additions and 9 deletions

View file

@ -7,15 +7,15 @@ apply plugin: 'com.google.firebase.firebase-perf'
apply plugin: 'com.google.firebase.crashlytics'
android {
compileSdkVersion 30
buildToolsVersion "30.0.1"
compileSdkVersion 29
buildToolsVersion "29.0.3"
defaultConfig {
applicationId "com.vanced.manager"
minSdkVersion 21
targetSdkVersion 30
versionCode 12
versionName "1.2.0 (Niko)"
targetSdkVersion 29
versionCode 13
versionName "1.2.1 (Niko)"
vectorDrawables.useSupportLibrary = true
}

View file

@ -14,15 +14,15 @@ class App: Application() {
super.onCreate()
PRDownloader.initialize(this)
if (Build.VERSION.SDK_INT < Build.VERSION_CODES.R) {
//if (Build.VERSION.SDK_INT < Build.VERSION_CODES.R) {
Crowdin.init(this,
CrowdinConfig.Builder()
.withDistributionHash("36c51aed3180a4f43073d28j4s6")
.withNetworkType(NetworkType.WIFI)
.build()
)
}
//}
}
/*

View file

@ -65,7 +65,7 @@ open class HomeViewModel(application: Application): AndroidViewModel(application
fun fetchData() {
CoroutineScope(Dispatchers.IO).launch {
fetching.set(true)
if (Build.VERSION.SDK_INT < Build.VERSION_CODES.R)
//if (Build.VERSION.SDK_INT < Build.VERSION_CODES.R)
Crowdin.forceUpdate(getApplication())
vancedVersion.set(getJsonString("vanced.json", "version", getApplication()))
microgVersion.set(getJsonString("microg.json", "version", getApplication()))