How to Prevent Mobile Apps From Running on Untrusted Devices

Last updated April 8, 2021 by Gil Hartman


Appdome Android Banned Devices prevention detects if the app is running on untrusted or banned devices. Appdome customers can specify mobile device manufacturers and prevent mobile apps from running on these banned devices. Organizations may have to prevent mobile apps from running on banned devices in order to comply with a specific internal company policy or an external regulation or government mandate.

Appdome automatically identifies the manufacturer of the Android device, once the application loads, and enables you to block the app from running on pre-defined unwanted devices. Restricting the device in Google Play may help in limiting the distribution via the standard way, but applications can always be side-loaded via tools such as adb or Android Assistant. Using Appdome’s Banned Devices feature is a ‘defense in depth’ approach implemented deep within the logic of the mobile app itself.

The list of devices and manufacturers can be obtained via these instructions.

If you just built your app with Appdome Android Banned Devices prevention, it will detect if your Built app is running on a non-allowed manufacturer, and prevent the app from running on that device. If you implemented this feature using Appdome Threat-Events™,  your app will receive an event “AppdomeSecurityEvent” with a key “BannedManufacturer”, and you can choose a different behavior other than the default behavior (in which the app exits).

To build your app with Appdome Banned Devices Prevention:

  1. Upload your .apk or .aab
  2. Click the Build tab
  3. Click the Security tab
  4. Open OS Integrity section
  5. Enable “Detect Banned Devices
  6. Add the manufacturers on which the app will not be allowed to run on
  7. (Optional) Enable Threat Events to configure this security alert on your app.
  8. Click Build My App

How to Sign and Deploy Secured Apps

After you have successfully added Banned Device prevention to a mobile app using Appdome, there are a few additional steps needed to complete your mobile integration project. Read this Knowledge Base article to learn what to do after you integrate your app.  It explains both optional steps and required steps.

That is it – Enjoy Appdome and Happy Building!

How Do I Learn More?

Contact us at for more information.  If you’d like to learn more about Appdome Threat-Events™, read this article.

To zoom out on this topic, visit  Appdome’s Platform Page on our website.

Or request a demo at any time.

If you have any questions, please send them our way at or via the chat window on the Appdome platform.

Thank you!

Thanks for visiting Appdome! Our mission is to make mobile integration easy. We hope we’re living up to the mission with your project. If you don’t already have an account, you can sign up for free.

Have a question?

Ask an expert

PaulMaking your security project a success!