Resolve uccrash conflicts

Updated at:

Conflict description

The uccrash component in the mPaaS baseline is no longer maintained. Versions 10.2.3.79 and later allow you to replace uccrash with the mPaaS Native Diagnostics component. To use the mPaaS Native Diagnostics component, see the solution below.

Solution

Remove the uccrash library and use the mPaaS Native Diagnostics component.

Procedure

  1. Remove the uccrash library.

    • If you integrate mPaaS using native AARs:

      configurations.configureEach {
          resolutionStrategy {
              exclude group: 'com.mpaas.uc.crash', module:'uccrash-build'
          }
      }
    • If you integrate mPaaS using the component-based (Portal & Bundle) approach:

      mpaascomponents {
      excludeDependencies = [
      "com.mpaas.uc.crash:uccrash-build"
      ]
      }
  2. Integrate the nativediag component.

    dependencies {
        ...
        implementation "com.mpaas.android:nativediag"
        ...
    }