Speedify SDK for Android  9.9.0
Migration Guide

Speedify SDK for Android 9.8 Migration

  • The dependency on legacy-support-v4 has been reduced in scope to androidx.core, version 1.2.0.
  • API Compatibility Changes

Speedify SDK for Android 9.5 Migration

Speedify SDK for Android 9.4 Migration

Speedify SDK for Android 9.2 Migration

  • The dependency on play-services-ads has been reduced in scope to play-services-ads-identifier, version 17.0.0.
  • Deprecation removals - Longtime methods marked as Deprecated have been removed

Speedify SDK for Android 9.0 Migration

Speedify SDK for Android 8.1 Migration

  • The Android SDK (compileSdkVersion) and build tools versions used for Speedify SDK are now 29 and 29.0.0, respectively, and targetSdkVersion is also 29.
  • CrashlyticsIntegrationEnabled now defaults to false
  • ISpeedifyHandler.OnServiceInternetPermissionError has been removed.
  • WifiHelper has been removed.

Speedify SDK for Android 8.0 Migration

Speedify SDK for Android 7.8.2 Migration

  • App Usage reports have been removed. This removes the following APIs:
    • SpeedifySDK
      • refreshAppUsage
    • ISpeedifyHandler
      • OnAppUsage
    • Types
      • AppUsage

Speedify SDK for Android 7.5 Migration

Speedify SDK for Android 7.2.4 Migration

  • The Android Support library is now using AndroidX 1.0.0 and Play Services is now 17.1.2. Any dependencies in your own app should be updated to those versions as well to avoid conflicts between different versions of the Google libraries.

Speedify SDK for Android 7.2 Migration

  • The Android SDK (compileSdkVersion) and build tools versions used for Speedify SDK are now 28 and 28.0.2, respectively, and targetSdkVersion is also 28.
  • The Google libraries the SDK depends on have been updated to Support 28.0.0 and Play Services 16.0.0. Any dependencies in your own app should be updated to those versions as well to avoid conflicts between different versions of the Google libraries.
  • Android SDK 28 when running on Android 9 (Pie) disables all cleartext traffic (unsecured, ie: HTTP, WS) by default. As a result, Speedify SDK now specifies a default networkSecurityConfig for the application which disabled all cleartext traffic except that which goes to 127.0.0.1. If you need to enable more cleartext traffic, provide your own networkSecurityConfig that also allows cleartext traffic to 127.0.0.1.

Speedify SDK for Android 7.1.3 Migration

  • Add the 'google()' repository to your 'allprojects' dependencies in your project's build.gradle

Speedify SDK for Android 7.0 Migration

  • The Android SDK (compileSdkVersion) and build tools versions used for Speedify SDK are now 27 and 27.0.3, respectively, and targetSdkVersion is also 27.
  • The Google libraries the SDK depends on have been updated to Support 27.0.2 and Play Services 15.0.1. Any dependencies in your own app should be updated to those versions as well to avoid conflicts between different versions of the Google libraries.

Speedify SDK for Android 6.3.6 Migration

  • API Compatibility Changes
    • SpeedifySDK
      • SpeedifySDK.setOptimizationReporting has been removed.

Speedify SDK for Android 6.3.4 Migration

  • API Compatibility Changes
    • SpeedifySDK
      • Previous SDK version incorrectly described the overlfow threshold as being in bits per second. This is actually in megabits per second. The documentation on setOverflowThreshold and overflowThreshold have been updated to reflect this.

Speedify SDK for Android 6.1.0 Migration

  • Android KitKat (4.4) is no longer supported. The minimum supported Android version is now Lollipop (5.0). As such, minSdkVersion in your build.gradle needs to be atleast 21
  • The Android SDK (compileSdkVersion) and build tools versions used for Speedify SDK are now 26 and 26.0.2, respectively, and targetSdkVersion is also 26.
  • The Google libraries the SDK depends on have been updated to Support 26.1.0 and Play Services 11.8.0. Any dependencies in your own app should be updated to those versions as well to avoid conflicts between different versions of the Google libraries.
  • If you were previously providing your own UpdateForegroundNotification implementation, note that on Oreo and newer it is now required to call service.startForeground to show a foreground notification. Failing to do this will cause the service to be killed by Android.
  • API Compatibility Changes
    • SpeedifySDK
      • SpeedifySDK.setUserUniqueID has been deprecated in favor of loginAutoAccount. setUserUniqueID remains in place, and simply calls loginAutoAccount internally to preserve compatibility.

Speedify SDK for Android 6.0 Migration

  • The Google maven repository is now required for building. Add it to your build.gradle repositories :
          repositories {
            ...
            maven { url 'https://maven.google.com' }
          }
  • API Compatibility Changes
    • ISpeedifyHandler