Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
dependencies:
   //...
   mobile_protect: ^23^24.0.0

Note: the latest version of the SDK can be seen here: ​

...

  1. update the Flutter plugin version in the project’s pubspec.yaml file, or if installing from a local copy of the plugin, update that local copy to the new plugin. For example, we may change:

    Code Block
    dependencies:
       //...
       mobile_protect: ^22.3.14 # OLD VERSION!

    to:

    Code Block
    dependencies:
       //...
       mobile_protect: ^23^24.0.0
  2. Remove references to the previous Android installation:

    1. remove the old remove the reference to the old android plugin by removing this line from android/app/build.gradle:

      Code Block
      apply plugin: 'com.dtplugin.mobileprotect
    2. remove any references to mobileprotect and aspectj from the dependencies section of android/build.gradle

  3. Follow the steps outlined in the section Step 2: configure for Android above. Note that no changes are necessary for iOS configuration.

...