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.

Important:
You must follow each step between your current version and your target version. For example, if you upgrade from 4.13.0 to 4.30.1, you must complete both 4.16.0 -> 4.17.0 and 4.18.1 -> 4.18.2.

4.18.1 -> 4.18.2

The Adjust web bridge SDK previously contained methods to inject UIWebView objects. Apple has deprecated the UIWebView class and presents an ITMS-90809 warning if you use them. We have removed UIWebView methods from our bridge and substituted WKWebView methods.

Migrate to these new methods by making the following changes:

  • Replace loadUIWebViewBridge: with loadWKWebViewBridge:
  • Replace loadUIWebViewBridge:webViewDelegate: with loadWKWebViewBridge:webViewDelegate:

4.16.0 -> 4.17.0

The kNetworkReachabilityChangedNotification notification has been removed. If you were using it, you should now rely on getting this information from the official Reachability class.