diff --git a/.idea/misc.xml b/.idea/misc.xml index b0c7b20..dc44dda 100644 --- a/.idea/misc.xml +++ b/.idea/misc.xml @@ -29,7 +29,7 @@ - + diff --git a/app/build.gradle b/app/build.gradle index ed13e22..81ba8e3 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -10,7 +10,7 @@ android { applicationId "com.uam.wmi.findmytutor" minSdkVersion 22 targetSdkVersion 27 - versionCode 67 + versionCode 69 versionName "1.0.0" testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" vectorDrawables.useSupportLibrary = true diff --git a/app/release/release/app.aab b/app/release/release/app.aab index 0b58fd8..7a90d63 100644 Binary files a/app/release/release/app.aab and b/app/release/release/app.aab differ diff --git a/app/release/release/fmtBeta0.9.5v18.aab b/app/release/release/fmtBeta0.9.5v18.aab deleted file mode 100644 index fb0edf9..0000000 Binary files a/app/release/release/fmtBeta0.9.5v18.aab and /dev/null differ diff --git a/app/src/main/java/com/uam/wmi/findmytutor/FindMyTutor.java b/app/src/main/java/com/uam/wmi/findmytutor/FindMyTutor.java index 2df6238..a67aeea 100644 --- a/app/src/main/java/com/uam/wmi/findmytutor/FindMyTutor.java +++ b/app/src/main/java/com/uam/wmi/findmytutor/FindMyTutor.java @@ -14,6 +14,7 @@ import org.acra.annotation.AcraLimiter; import org.acra.annotation.AcraNotification; import org.acra.config.CoreConfigurationBuilder; import org.acra.config.HttpSenderConfigurationBuilder; +import org.acra.config.LimiterConfigurationBuilder; import org.acra.config.ToastConfigurationBuilder; import org.acra.data.StringFormat; import org.acra.sender.HttpSender; @@ -36,13 +37,13 @@ import static org.acra.ReportField.USER_CRASH_DATE; @AcraNotification(resText = R.string.notification_text, resTitle = R.string.notification_title, resChannelName = R.string.notification_channel) -@AcraLimiter(failedReportLimit = 2) +//@AcraLimiter(failedReportLimit = 2) public class FindMyTutor extends Application { @Override protected void attachBaseContext(Context base) { super.attachBaseContext(base); - //super.attachBaseContext(LocaleHelper.onAttach(base)); + //super.attachBaseConteattachBaseContextxt(LocaleHelper.onAttach(base)); // ACRA core CoreConfigurationBuilder builder = new CoreConfigurationBuilder(this) @@ -73,6 +74,10 @@ public class FindMyTutor extends Application { .setHttpHeaders(header) .setEnabled(true); +// builder.getPluginConfigurationBuilder(LimiterConfigurationBuilder.class) +// .setFailedReportLimit(2) +// .setEnabled(true); + ACRA.init(this, builder); //Shared preferences ACRA.getErrorReporter().putCustomData("USER_ID", sharedPreferences.getString("USER_ID", "no user id"));