-
Change any
Bugsnag.register
calls toBugsnag.init
:// Old Bugsnag.register(Context, "api-key"); // New Bugsnag.init(Context, "api-key");
-
Severity is now an
Enum
, so please update any references to severity in your app:// Old Bugsnag.notify(new RuntimeException("oops"), "error"); // New import com.bugsnag.android.Severity; Bugsnag.notify(new RuntimeException("oops"), Severity.ERROR);
-
"Top Activity" tracking is now automatically handled when you add the
GET_TASKS
permission to yourAndroidManifest.xml
, so you should no longer have your app'sActivity
s inherit fromBugsnagActivity
:// Old class MyActivity extends BugsnagActivity {} // New class MyActivity extends Activity {}