Integrate App Shielding on Android

Follow these steps to integrate and use Mobile Application Shielding in your Android project.

To integrate App Shielding into an Android application

  • Add ShieldSDK.aar to your project.
  • Add shield_common_android.aar to your project.

For applications that are compiled for Android 12 and later, you must add the android.permission.QUERY_ALL_PACKAGES permission.

As of July 2022, Google Play has restricted the use of privacy sensitive Android permissions, such as QUERY_ALL_PACKAGES, for all new apps or app updates submitted.

Only enable the queryAllPackagesPermission configuration option if this has been explicitly granted by Google Play.

For more information, see QUERY_ALL_PACKAGES permission.