Skip to content

Commit

Permalink
Sui support
Browse files Browse the repository at this point in the history
Added Sui support
Switched targetSdk for stubs module to Android S to allow LocationRequest use without hidden APIs
  • Loading branch information
KieronQuinn committed Jun 29, 2021
1 parent 2b82a76 commit 685e084
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ dependencies {
implementation "com.github.topjohnwu.libsu:service:$libsuVersion"

//Shizuku (non-root service)
def shizuku_version = '11.0.2'
def shizuku_version = '11.0.3'
implementation "dev.rikka.shizuku:api:$shizuku_version"
implementation "dev.rikka.shizuku:provider:$shizuku_version"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ import org.koin.androidx.viewmodel.dsl.viewModel
import org.koin.core.context.startKoin
import org.koin.dsl.module
import org.lsposed.hiddenapibypass.HiddenApiBypass

import rikka.sui.Sui

class DarqApplication : Application() {

Expand Down Expand Up @@ -73,6 +73,7 @@ class DarqApplication : Application() {
androidContext(this@DarqApplication)
modules(serviceModule, appComponentsModule, viewModelsModule, providersModule)
}
Sui.init(packageName)
setupMonet()
}

Expand Down
4 changes: 2 additions & 2 deletions systemstubs/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ plugins {
}

android {
compileSdkVersion 30
compileSdkVersion 'android-S'
buildToolsVersion "30.0.3"

defaultConfig {
minSdkVersion 30
targetSdkVersion 30
targetSdkVersion 'S'
versionCode 1
versionName "1.0"
}
Expand Down

0 comments on commit 685e084

Please sign in to comment.