Security Provider Support

Support For KitKat devices

Devices running Android KitKat need to update their security provider to be compatible with Airship services. This can be accomplished either by patching the security provider directly, or by having the Airship SDK apply the patch automatically before the next network request.

To apply the patch directly:

To apply the patch via the Airship manifest:

  • Add a metadata entry with the com.urbanairship.INSTALL_NETWORK_SECURITY_PROVIDER key set to true to your AndroidManifest.xml. This will prompt Airship to attempt to download the latest security provider the next time a network request is attempted.
  <!-- Optional: Automatically install Google's secure network provider before any Airship request -->
  <meta-data
      android:name="com.urbanairship.INSTALL_NETWORK_SECURITY_PROVIDER"
      android:value="true" />