Drop dependency upon kovenant
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
This commit is contained in:
@@ -160,10 +160,6 @@ dependencies {
|
|||||||
//Fetch - Downloader
|
//Fetch - Downloader
|
||||||
implementation "androidx.tonyodev.fetch2:xfetch2:3.1.6"
|
implementation "androidx.tonyodev.fetch2:xfetch2:3.1.6"
|
||||||
|
|
||||||
//Kovenant
|
|
||||||
implementation "nl.komponents.kovenant:kovenant:3.3.0"
|
|
||||||
implementation "nl.komponents.kovenant:kovenant-android:3.3.0"
|
|
||||||
|
|
||||||
//EventBus
|
//EventBus
|
||||||
implementation "org.greenrobot:eventbus:3.3.1"
|
implementation "org.greenrobot:eventbus:3.3.1"
|
||||||
|
|
||||||
|
|||||||
4
app/proguard-rules.pro
vendored
4
app/proguard-rules.pro
vendored
@@ -81,10 +81,6 @@
|
|||||||
-dontwarn retrofit2.KotlinExtensions
|
-dontwarn retrofit2.KotlinExtensions
|
||||||
-dontwarn retrofit2.KotlinExtensions$*
|
-dontwarn retrofit2.KotlinExtensions$*
|
||||||
|
|
||||||
#Kovenant
|
|
||||||
-dontwarn rx.internal.util.unsafe.**
|
|
||||||
-dontwarn nl.komponents.kovenant.unsafe.**
|
|
||||||
|
|
||||||
-dontwarn okio.**
|
-dontwarn okio.**
|
||||||
-keep class com.google.**
|
-keep class com.google.**
|
||||||
-dontwarn com.google.**
|
-dontwarn com.google.**
|
||||||
|
|||||||
@@ -35,8 +35,6 @@ import com.aurora.store.util.CommonUtil
|
|||||||
import com.aurora.store.util.PackageUtil
|
import com.aurora.store.util.PackageUtil
|
||||||
import com.tonyodev.fetch2.Fetch
|
import com.tonyodev.fetch2.Fetch
|
||||||
import java.util.ArrayList
|
import java.util.ArrayList
|
||||||
import nl.komponents.kovenant.android.startKovenant
|
|
||||||
import nl.komponents.kovenant.android.stopKovenant
|
|
||||||
import org.lsposed.hiddenapibypass.HiddenApiBypass
|
import org.lsposed.hiddenapibypass.HiddenApiBypass
|
||||||
|
|
||||||
class AuroraApplication : Application() {
|
class AuroraApplication : Application() {
|
||||||
@@ -77,8 +75,6 @@ class AuroraApplication : Application() {
|
|||||||
.with(this)
|
.with(this)
|
||||||
.bind()
|
.bind()
|
||||||
|
|
||||||
startKovenant()
|
|
||||||
|
|
||||||
CommonUtil.cleanupInstallationSessions(applicationContext)
|
CommonUtil.cleanupInstallationSessions(applicationContext)
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -86,7 +82,6 @@ class AuroraApplication : Application() {
|
|||||||
NetworkProvider
|
NetworkProvider
|
||||||
.with(this)
|
.with(this)
|
||||||
.unbind()
|
.unbind()
|
||||||
stopKovenant()
|
|
||||||
super.onTerminate()
|
super.onTerminate()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user