# Add dialog box GUI for iOS security intrusion

The AppSealing library within Unity App is automatically activated when right after App has launched. If AppSealing library has detected any abnormal environment (such as jailbroken-device, executable has decrypted or debugger has attached) it will close the app after 20 seconds irrespectively of user action, so the app should notify the detection result to user and show some proper message box for user can recognize there's some invalid environment in his/her device.

The AppSealing library for Unity3D is a unitypackage assets and it has sample dialog message-box code in its Libraries folder. If you want to show that dialog box at in your app, you can easily do that by removing another one-line comment from C# script code.

# Show sample message-box in your app

First, open your Unity project in Unity Editor. Then Select "AppSealingSDK > Libraries" asset and open "Check_iOS_Security.cs" script file by double-clicking it.

After you double-clicked script file, linked external editor (e.g. Visual Studio, Mono-

develop, text-editor etc.) will open.

Last Updated: 11/19/2024, 6:55:37 AM