How to Notify Android & iOS Users When Threat Detected

Last updated November 4, 2021 by Paul Levasseur



When Appdome’s technology detects security issues or determines that the app may be compromised, Appdome either drops the connection or exits (closes) the app, depending on the threat detected. If configured by the customer, Appdome will also display an App Compromise Notification to the mobile user. Appdome users can configure how to notify Android & iOS user when a threat is detected

This Knowledge Base article provides instructions on how to customize the App Compromise Notifications. It also includes the most common reasons why an Appdome-built app might exit (ie: shut itself down).

We hope you find it useful and enjoy using Appdome!

Security Features on Appdome

Appdome is a no-code mobile app security platform designed to add security features in mobile apps.

Appdome’s no-code mobile app security platform offers mobile developers, DevSec and security professionals a convenient and reliable way to protect Android and iOS apps without coding. When a user clicks “Build My App,” Appdome leverages a microservice architecture filled with 1000s of security plugins, and an adaptive code generation engine that matches the correct required plugins to the development environment, frameworks, and methods in each app.

Using Appdome, there are no development or coding prerequisites to build secured apps. There is no SDK and no library to manually code or implement in the app. The Appdome technology adds the relevant standards, frameworks, stores, and logic to the app automatically, with no manual development work at all.

You can add security features and capabilities to your iOS and Android apps using Appdome. Using a simple point-and-click user interface, Appdome enables anyone to easily integrate their choice of features from the Appdome Mobile Security Suite to any mobile app – instantly, no code or coding required.

Prerequisites for Using Appdome for Security

In order to use Appdome’s no code implementation of security on Appdome, you’ll need:

How to Notify Android & iOS Users When Threat Detected

Follow these step-by-step instructions to customize the App Compromise Notification for mobile end users.

You can customize the App Compromise Notification displayed to mobile users when security events trigger the app to exit. Below is a list of the specific features in the different categories of the Appdome Mobile Security Suite for which you can customize the message to the user:

  • OS Integrity
    • Root/ Jailbreak Prevention
    • Detect Unknown Sources
    • Detect Developer Options
    • Banned Device Enforcement
  • Secure Communications
    • Trusted Session Inspection
    • Certificate Pinning Mismatch
    • Enforce Cipher Suites
    • Enforce TLS Version
    • Enforce Certificate Roles
    • Enforce Strong RSA Signature
    • Enforce Strong ECC Signature
    • Enforce SHA256 Digest
    • URL Whitelisting
  • Mobile Privacy
    • Keylogging Prevention
    • Copy/Paste Prevention
    • Prevent App Screen Sharing

Customize the text in the App Compromise Notification free-form text box.

Click Build My App to build your app with this security.

Congratulations! You now have a mobile app fully integrated with security.

customizing App Compromise Notification

Troubleshooting Tips – Common Reasons for Apps to Exit/Close

Fusing Appdome’s Mobile Security Suite to your app shouldn’t cause it to crash. Depending on the security features you built to your app, your app may exit based on the rules defined in the app Fusion process. If that’s the case, then this app exit behavior is expected.

Here is a list of the most common causes for an Appdome-built app to exit when the Appdome’s Mobile Security Suite has been added in your app:

URL Whitelisting

If you Fused URL Whitelisting and the app tried to access a URL which was not on the allowed URL list (ie: the whitelist), this will result in the app ‘exiting’ (shutting down) to protect the mobile user. If you wish to allow that particular URL, simply add the additional URL to the allowed list and Build your app again.

OS Integrity Checks

If you Fused OS integrity checks and the user opens or runs the app on a Jailbroken or Rooted device, this will cause the app to exit. This is the expected behavior.  Appdome has specific checks for jailbreak and root detection and does not allow the app to open on a jailbroken or rooted device when this feature is enabled.

Man-in-the-Middle (MiTM) attack detection

If you Fused MITM detection, that feature ensures the security and integrity of the communication channel which connects the app to a service.  If Appdome’s technology cannot verify the signer of the CA with certificate validation, this will cause the app to exit, for the protection of the end-user. Another possible cause for this issue is that the server certificate is signed with CA that is not on the standard CA list installed on the iOS or Android device.  In this case, please contact Appdome support so we can add it to our trusted CA list.

Anti-tampering triggered

Fusing the app may have triggered anti-tampering or other security mechanisms already inside the app. To correct for this condition, you need to temporarily disable the app’s anti-tampering mechanism. Then Fuse the app. After Fusion completes, re-apply your anti-tampering mechanism to the Fused app.  Also, note that Appdome provides its own anti-tampering, which may render your existing anti-tampering mechanism redundant, in which case you may want to disable it.

Modifications to app package after Fusion

To ensure the integrity of the app, Appdome doesn’t allow modifications to the package after you Fuse and sign the app. Doing this will trigger Appdome’s integrity checks.  (e.g. if you change the bundle id, add files etc.). If you need to make changes to the app package, make the changes on the .ipa, .apk or .aab before uploading it to Appdome and Fusing the app.

How Do I Learn More?

For more information on Appdome Mobile Security Suite please visit this resource

To zoom out on this topic, visit Appdome for Mobile App Security 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

TomMaking your security project a success!