v4 migration guide
In this article we list the migration steps between minor versions of SDK v4. If we make changes that require you to modify your code or your project setup, you can find full instructions here.
- Remove the web bridge JAR from your project and install the latest AAR.
com.google.android.gms.AD_ID permission is now included in the SDK by default. You can remove this permission by adding a
remove directive in your
AndroidManifest.xml file. Do this if need to make your app COPPA-compliant or if you do not target the Google Play Store.
<uses-permission android:name="com.google.android.gms.permission.AD_ID" tools:node="remove"/>
The Adjust SDK is now shipped as an AAR rather than a JAR.
Adjust.appWillOpenUrl(Uri) is deprecated and has been replaced with
Adjust.appWillOpenUrl(Uri, Context). If you use the
Adjust.appWillOpenUrl(Uri) method, you can add your
Context as follows: