SDK 12.0 Migration Guide for Android

Guide for migrating to Instabug's SDK version 12.0 on Android

With the release of version 12.0.0, a whole host of new products have been released such as, Session Replay, App Ratings, and Rollout Management. Along with this release, a few APIs have been changed to better suit these new features and in order to improve the usage of these APIs.

ClassDeprecated APICorresponding API
APMsetAppLaunchEnabled(final boolean enabled)setColdAppLaunchEnabled(final boolean enabled)
APMsetLogLevel(@LogLevel final int level)Instabug.setSdkDebugLogsLevel(@LogLevel final int level)
CrashReportingreportException(@NonNull final Throwable throwable)report(@NonNull IBGNonFatalException exception)
CrashReportingreportException(@NonNull final Throwable throwable, @Nullable final String exceptionIdentifier)report(@NonNull IBGNonFatalException exception)
CrashReportingreportException(@NonNull final Throwable throwable, @Nullable final String exceptionIdentifier, @Nullable final Map\<String, String> userAttributes)report(@NonNull IBGNonFatalException exception)
CrashReportingreportException(@NonNull final Throwable throwable, @Nullable final String exceptionIdentifier, @Nullable final Map\<String, String> userAttributes, @Nullable String fingerprint)report(@NonNull IBGNonFatalException exception)
InstabugsetDebugEnabled(final boolean isDebugEnabled)setSdkDebugLogsLevel(@LogLevel final int level)
InstabugsetReproStepsState(final State reproStepsState)setReproConfigurations(ReproConfigurations configurations)
Instabug.BuildersetReproStepsState(State state)setReproConfigurations(ReproConfigurations configurations)
Instabug.BuildersetDebugEnabled(final boolean isDebugEnabled)setReproConfigurations(ReproConfigurations configurations)