Remove ACRA
parent
2c8288e1a3
commit
d0550611f2
|
@ -8,8 +8,8 @@ android {
|
|||
minSdkVersion 16
|
||||
targetSdkVersion 29 // Must not increase until storage permissions are updated
|
||||
|
||||
versionCode 165
|
||||
versionName "1.6.5"
|
||||
versionCode 166
|
||||
versionName "1.6.6"
|
||||
|
||||
applicationId "sh.ftp.rocketninelabs.meditationassistant"
|
||||
manifestPlaceholders = [
|
||||
|
@ -83,7 +83,6 @@ dependencies {
|
|||
implementation 'androidx.fragment:fragment:1.3.2'
|
||||
implementation 'androidx.recyclerview:recyclerview:1.1.0'
|
||||
implementation 'com.google.android.material:material:1.3.0'
|
||||
implementation 'ch.acra:acra-http:5.7.0'
|
||||
implementation 'net.openid:appauth:0.7.1'
|
||||
implementation 'com.opencsv:opencsv:5.2'
|
||||
implementation 'com.squareup.okio:okio:2.8.0'
|
||||
|
|
|
@ -1,22 +1,14 @@
|
|||
-verbose
|
||||
|
||||
#ACRA specifics
|
||||
# Restore some Source file names and restore approximate line numbers in the stack traces,
|
||||
# otherwise the stack traces are pretty useless
|
||||
-keepattributes SourceFile,LineNumberTable
|
||||
|
||||
# ACRA needs "annotations" so add this...
|
||||
# Note: This may already be defined in the default "proguard-android-optimize.txt"
|
||||
# file in the SDK. If it is, then you don't need to duplicate it. See your
|
||||
# "project.properties" file to get the path to the default "proguard-android-optimize.txt".
|
||||
-keepattributes *Annotation*
|
||||
|
||||
# ACRA loads Plugins using reflection, so we need to keep all Plugin classes
|
||||
-keep class * extends @android.support.annotation.Keep org.acra.** {*;}
|
||||
|
||||
# ACRA uses enum fields in annotations, so we have to keep those
|
||||
-keep enum org.acra.** {*;}
|
||||
|
||||
-dontwarn android.support.**
|
||||
|
||||
# From https://github.com/square/okhttp
|
||||
|
@ -91,8 +83,6 @@
|
|||
-keep public class com.google.vending.licensing.ILicensingService
|
||||
-keep public class com.android.vending.licensing.ILicensingService
|
||||
|
||||
-keep class org.acra.** { *; }
|
||||
|
||||
# For native methods, see http://proguard.sourceforge.net/manual/examples.html#native
|
||||
-keepclasseswithmembernames class * {
|
||||
native <methods>;
|
||||
|
|
|
@ -55,11 +55,6 @@ import net.openid.appauth.AuthorizationService;
|
|||
import net.openid.appauth.AuthorizationServiceConfiguration;
|
||||
import net.openid.appauth.ResponseTypeValues;
|
||||
|
||||
import org.acra.ACRA;
|
||||
import org.acra.annotation.AcraCore;
|
||||
import org.acra.annotation.AcraHttpSender;
|
||||
import org.acra.data.StringFormat;
|
||||
import org.acra.sender.HttpSender;
|
||||
import org.apache.commons.lang3.ArrayUtils;
|
||||
import org.apache.commons.lang3.StringUtils;
|
||||
|
||||
|
@ -90,8 +85,6 @@ import java.util.concurrent.locks.Lock;
|
|||
import java.util.concurrent.locks.ReentrantLock;
|
||||
import java.util.regex.Pattern;
|
||||
|
||||
@AcraCore(buildConfigClass = BuildConfig.class, reportFormat = StringFormat.KEY_VALUE_LIST)
|
||||
@AcraHttpSender(httpMethod = HttpSender.Method.POST, uri = "https://medinet.rocketnine.space/acra/acra.php")
|
||||
public class MeditationAssistant extends Application {
|
||||
public static String URL_ROCKETNINELABS = "https://rocketnine.space";
|
||||
public static String URL_MEDINET = "https://medinet.rocketnine.space";
|
||||
|
@ -1191,7 +1184,6 @@ public class MeditationAssistant extends Application {
|
|||
@Override
|
||||
public void onCreate() {
|
||||
super.onCreate();
|
||||
ACRA.init(this);
|
||||
|
||||
CookieManager cookieManager = new CookieManager();
|
||||
CookieHandler.setDefault(cookieManager);
|
||||
|
@ -2628,6 +2620,5 @@ public class MeditationAssistant extends Application {
|
|||
protected void attachBaseContext(Context base) {
|
||||
super.attachBaseContext(base);
|
||||
MultiDex.install(this);
|
||||
ACRA.init(this);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue