chore(android/engine): update to sentry-android:3.1.0

The migration changes the package name from `import io.sentry.core` to `import.sentry`
This commit is contained in:
Darcy Wong 2020-11-16 14:05:41 +07:00
parent 0e37e16167
commit da9a50ae58
8 changed files with 12 additions and 13 deletions

View file

@ -7,7 +7,7 @@ buildscript {
}
dependencies {
classpath 'com.android.tools.build:gradle:3.5.2'
classpath 'io.sentry:sentry-android-gradle-plugin:1.7.35'
classpath 'io.sentry:sentry-android-gradle-plugin:1.7.36'
classpath 'name.remal:gradle-plugins:1.0.157'
classpath 'com.stepstone.stepper:material-stepper:4.3.1'
}

View file

@ -123,7 +123,7 @@ dependencies {
implementation 'com.google.android.material:material:1.2.1'
implementation 'com.stepstone.stepper:material-stepper:4.3.1'
api(name: 'keyman-engine', ext: 'aar')
implementation 'io.sentry:sentry-android:2.3.0'
implementation 'io.sentry:sentry-android:3.1.0'
implementation 'androidx.preference:preference:1.1.1'
// Add dependency for generating QR Codes

View file

@ -29,7 +29,7 @@ import android.view.inputmethod.ExtractedTextRequest;
import android.view.inputmethod.InputConnection;
import io.sentry.android.core.SentryAndroid;
import io.sentry.core.Sentry;
import io.sentry.Sentry;
public class SystemKeyboard extends InputMethodService implements OnKeyboardEventListener {

View file

@ -91,7 +91,6 @@ import android.widget.TextView;
import android.widget.Toast;
import io.sentry.android.core.SentryAndroid;
import io.sentry.core.Sentry;
public class MainActivity extends AppCompatActivity implements OnKeyboardEventListener, OnKeyboardDownloadEventListener,
ActivityCompat.OnRequestPermissionsResultCallback {

View file

@ -65,7 +65,7 @@ dependencies {
implementation 'androidx.appcompat:appcompat:1.3.0-alpha02'
implementation 'com.google.android.material:material:1.2.1'
implementation 'commons-io:commons-io:2.6'
implementation 'io.sentry:sentry-android:2.3.0'
implementation 'io.sentry:sentry-android:3.1.0'
// Robolectric
testImplementation 'androidx.test:core:1.2.0'

View file

@ -53,9 +53,9 @@ import android.widget.PopupWindow.OnDismissListener;
import android.widget.TextView;
import android.widget.Toast;
import io.sentry.core.Breadcrumb;
import io.sentry.core.Sentry;
import io.sentry.core.SentryLevel;
import io.sentry.Breadcrumb;
import io.sentry.Sentry;
import io.sentry.SentryLevel;
final class KMKeyboard extends WebView {
private static final String TAG = "KMKeyboard";

View file

@ -53,9 +53,9 @@ import android.webkit.WebViewClient;
import android.widget.FrameLayout;
import android.widget.RelativeLayout;
import io.sentry.core.Breadcrumb;
import io.sentry.core.Sentry;
import io.sentry.core.SentryLevel;
import io.sentry.Breadcrumb;
import io.sentry.Sentry;
import io.sentry.SentryLevel;
import com.tavultesoft.kmea.KeyboardEventHandler.EventType;
import com.tavultesoft.kmea.KeyboardEventHandler.OnKeyboardDownloadEventListener;

View file

@ -5,8 +5,8 @@
package com.tavultesoft.kmea.util;
import android.util.Log;
import io.sentry.core.Sentry;
import io.sentry.core.SentryLevel;
import io.sentry.Sentry;
import io.sentry.SentryLevel;
public final class KMLog {
private static final String TAG = "KMLog";