diff --git a/app-debug.apk b/app-debug.apk index a94f33cd..415b6128 100644 Binary files a/app-debug.apk and b/app-debug.apk differ diff --git a/app-release.apk b/app-release.apk index 7b5b57e4..49cb9231 100644 Binary files a/app-release.apk and b/app-release.apk differ diff --git a/app/build.gradle b/app/build.gradle index 4e35b85d..6a82977f 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -38,8 +38,8 @@ android { applicationId "com.example.vu.android" minSdkVersion 21 targetSdkVersion 29 - versionCode 46 - versionName "2.11.0" + versionCode 47 + versionName "2.11.1" testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner" externalNativeBuild { diff --git a/app/src/main/java/com/example/vu/android/MainActivity.java b/app/src/main/java/com/example/vu/android/MainActivity.java index 81a3115f..c2d4db1e 100644 --- a/app/src/main/java/com/example/vu/android/MainActivity.java +++ b/app/src/main/java/com/example/vu/android/MainActivity.java @@ -29,7 +29,6 @@ protected void onCreate(Bundle savedInstanceState) { // SENTRY Tag and Breadcrumb String activity = this.getClass().getSimpleName(); Sentry.setTag("activity", activity); - Sentry.setTag("customerType", "enterprise"); Breadcrumb breadcrumb = new Breadcrumb(); breadcrumb.setMessage("Android activity was created"); diff --git a/app/src/main/java/com/example/vu/android/MyApplication.java b/app/src/main/java/com/example/vu/android/MyApplication.java index 73249b36..8b63189f 100644 --- a/app/src/main/java/com/example/vu/android/MyApplication.java +++ b/app/src/main/java/com/example/vu/android/MyApplication.java @@ -111,6 +111,9 @@ public void onCreate() { }); }); + String[] allCustomerTypes = {"medium-plan", "large-plan", "small-plan", "enterprise"}; + String customerType = allCustomerTypes[(int) (Math.random() * 4)]; + Sentry.setTag("customerType", customerType); Sentry.setTag("se", SE); // Set User info on Sentry event using a random email diff --git a/release/app-release.apk b/release/app-release.apk index 7b5b57e4..49cb9231 100644 Binary files a/release/app-release.apk and b/release/app-release.apk differ