diff --git a/app/build.gradle b/app/build.gradle index 5ad08724..bf003d85 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -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 } diff --git a/app/src/main/java/com/vanced/manager/core/App.kt b/app/src/main/java/com/vanced/manager/core/App.kt index 38450be3..57c308c0 100644 --- a/app/src/main/java/com/vanced/manager/core/App.kt +++ b/app/src/main/java/com/vanced/manager/core/App.kt @@ -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() ) - } - + //} + } /* diff --git a/app/src/main/java/com/vanced/manager/ui/viewmodels/HomeViewModel.kt b/app/src/main/java/com/vanced/manager/ui/viewmodels/HomeViewModel.kt index d8884e03..41f41cfc 100644 --- a/app/src/main/java/com/vanced/manager/ui/viewmodels/HomeViewModel.kt +++ b/app/src/main/java/com/vanced/manager/ui/viewmodels/HomeViewModel.kt @@ -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()))