Release Notes Mobile Application Shielding for Android Version 9.0.3 (November 2026)

Prev Next

Introduction

Welcome to Mobile Application Shielding for Android 9.0.3!

It also contains a compatibility release (App Shielding for Android 9.0.3-SDKcompat) to support compatibility with third party SDKs (e.g., payment SDKs). Except for the compatibility feature, there are no differences between App Shielding for Android 9.0.3-SDKcompat and App Shielding for Android 9.0.3. Thus, no separate set of documents has been provided for the compat release.

For more information about new features and fixed defects, refer to the respective sections in this article. For information about configuring and using Mobile Application Shielding, see the Mobile Application Shielding Integration Guide.

Upgrade Strategy

Version 9.0.3 is a Stable release. If your goal is to maintain predictable stability, upgrade to this version. If you are using a Feature version (e.g., 9.3.0), do not "downgrade" to this version unless you want to rollback the recent feature updates. For more information about our versioning and upgrade strategy, see Release Tracks.

Supported versions

App Shielding

Over the next months, support for a number of Mobile Application Shielding versions will expire on the OneSpan Mobile Portal. For more information, see Unsupported versions of Mobile Application Shielding Online.

Android

  • App Shielding version 9.0.3 was successfully tested with Android 17.

  • Android 5.0 (API level 21) – Android 17 (API level 37).

  • Shielding Tool:

    • Windows 10: 64-bit Java 17

    • Mac OSX (10.9+)

    • Ubuntu Linux 22.04 LTS or 24.04 LTS

Android platform updates

The Android minimum supported version is 5.0 (API level 21). This version of App Shielding supports Android 17.

If you want your protected app to run on Android 15 or later, you must upgrade to App Shielding 6.6.0 or later.

Beginning with Android 15, Android supports devices that are configured to use a page size of 16 KB (i.e., 16 KB devices). App Shielding has been updated to work on these 16 KB devices. However, if your app uses any native libraries, you must ensure that these libraries are ready for 16 KB page sizes. For more information, refer to the Android Developer documentation.

Changes and deprecations

Exceptions stopped for Fujitsu and Sharp devices

App Shielding no longer makes an exception for certain Fujitsu and Sharp devices when the anti-debugging guard component is unable to attach to the app. The app now shuts down instead, which means that protected apps might no longer run on some older Japanese devices (e.g., Fujitsu Arrows). (Resolves issue SHAND-6262).

SDK module version checks

Shield SDK modules that previously were not version checked, such as ShieldSDK-app-attestation, now cause the Shielding Tool to throw an SDK version mismatch error if the module’s version does not match the Shielding Tool version. (Resolves issue INT-661).

[Applicable to Premium Features only] OneSpan Code Obfuscation for JavaScript changes

For OneSpan Code Obfuscation for JavaScript, the following changes apply:

  • The transpiler no longer needs to be switched on. Code Obfuscation down-levels your code whenever the targetVersion is lower than latest, and never otherwise. The enabled and sourceType fields are still accepted but have no effect. This changes the output of older configurations in the following  ways:

    • enabled: true without a targetVersion previously produced ES5 code. It now leaves your code’s syntax unchanged. Set targetVersion explicitly if you need older without output.

    • enabled: false combined with a targetVersion previously produced no down-leveling. It now down-levels to that version. Remove targetVersion to keep your code’s syntax unchanged.

  • targetVersion values must be lowercase. Previous configurations used targetVersion: "Es2020", but this is now rejected with a validation error. Change it to "es2020".

  • The oldest supported output version is now es2016. The previous values of es3, es5, and es2015 are rejected. If you need ES5 or ES2015 output, stay on App Shielding Offline for Android 9.0.2 for now, or down-level the protected output with a separate tool.

  • ES modules are now kept as ES modules. Previously, enabling the transpiler converted import and export to CommonJS (require and module.exports). The output now keeps import and export. If you relied on CommonJS output, then convert your code before protecting it.

  • The module option is deprecated. Code Protect detects modules from import and export syntax, so the module option no longer has any effect. It is still accepted, with a warning, but will be removed in a future major release. It is recommended to remove module from your configuration.

  • Configurations are validated more strictly. An unrecognized option name in a file entry, such as a misspelling, was silently ignored in earlier versions but is now reported as a validation error.

  • Legacy octal number literals (e.g., 055) are rejected, even though earlier versions accepted them. Rewrite them in the ES2015  form (0o55).

  • The protected output is larger. Per-function integrity checks increase the output size. In our tests, the output was between 2% and 28% larger than with earlier versions, with the largest increases seen on small files.

New features and other updates

[Applicable to Premium Features only] JavaScript obfuscation engine upgrade

For OneSpan Code Obfuscation licenses, the JavaScript obfuscation engine has been upgraded to v3.0.4, which includes the following new features: (Resolves issue INT-692)

  • The control-flow flattening feature rewrites the bodies of eligible functions into a flat state machine, hiding their original structure. Control-flow flattening is disabled by default but can be enabled in the following manner:

    controlFlow: {
      enabled: true,
      include: [ "*" ],
      exclude: [ "hotLoop*" ]
    }

    When integrity checking is also enabled, flattened functions depend on the integrity checksums, so tampering corrupts their control flow.

  • The new function virtualization feature compiles selected functions to a custom bytecode, unique to each build, that runs on an interpreter embedded in the output. This is the strongest protection Code Obfuscation offers, but also the most expensive at runtime, so select your most sensitive functions by name. For example:

    vm: {
      enabled: true,
      include: [ "computeLicence", "verify*" ],
      exclude: []
    }

    When integrity checking is also enabled, the bytecode of virtualized functions is protected against tampering, too.

  • TypeScript input is now detected automatically; you no longer need to declare the source type. The output language follows the output file’s extension. A .ts or .tsx output keeps its type annotations (and starts with // @ts-nocheck). Any other output is JavaScript.

  • The transpiler.targetVersion config option can specify the ECMAScript version of the output. Valid outputs are es2016, es2017, es2018, es2019, es2020, latest, or esnext. The default, latest, keeps your code’s syntax as it is.

Fixes and other changes

SHAND-6332, SHAND-6334, SHAND-6301, SHAND-6359, SHAND-6360: App Shielding hardened

Description: App Shielding was hardened against offline analysis and removal.

INT-662: Shielding Tool improvements

Description: Improved the Shielding Tool so that it no longer leaves plaintext strings from the Shield SDK in the protected app.

SHAND-5779, SHAND-6206: Unexpected terminations: activity creation

Description: Sometimes during activity creation, an unexpected termination occurred.

Status: This issue has been fixed.

SHAND-5780: Unexpected termination: package signature

Description: When checking other package signatures, unexpected terminations occurred sometimes.

Status: This issue has been fixed.

[Applicable to Premium Features only] For OneSpan Code Obfuscation for JavaScript, the following changes were implemented:

  • Integrity checking now protects every eligible function. Previously, integrity checks were placed at a random sample of statements (checkFrequency), so an edited function was often never verified. Each eligible function now verifies its own source the first time it is called.

    Checks run once per function, so frequently called functions are not slowed down afterwards. Functions that your code replaces at runtime (e.g., myFunc = optimizedFunc) are not guarded, as their source legitimately changes.

  • When a file cannot be protected (e.g., because of a syntax error), Code Obfuscation no longer writes an empty output file and reports success. No output is written for that file, the other files are still processed, and Code Protect exits with a non-zero status, so build pipelines detect the failure.

Other Notices

Virtual space apps restricted

Some virtual space apps use techniques similar to malware (e.g., native code hooking), which can trigger App Shielding security protections. As the App Shielding detection capabilities improve, additional virtual space apps might be restricted.

Known limitations

The limitations described here have not yet been solved for the current Mobile Application Shielding version. Possible workarounds are described where available.

Unsupported Android 17 feature

App Shielding supports Android 17 but not its new post-quantum cryptography features, including ML-DSA keystore keys and v3.2 APK signature schemes. Using these features will result in a repackaging detection. Use classical keys and existing signature schemes for now. Support for these features will be added in a future release of a future release of App Shielding for Android.

Exit on emulator URL not triggered reliably

For some configuration options, App Shielding can launch a web page that displays an explanation if a given condition is met and the application is shut down. To launch such a web page, the URL is added to the configuration. For the Exit on emulator URL option, i.e. to launch a web page when the application is shut down because the app is run in an emulator, the URL is not being reliably triggered. There is no guarantee that the web page is launched even though the application may be running in an emulator. We therefore recommended to not using this option.

For general information about launching a web page with an explanation, see Exit URL launching on Android.

Build failures for Java/Kotlin sample

To resolve build failures of the Java/Kotlin sample app, edit the CMakeLists.txt file located in the cpp folder. Replace target_compile_features(native-lib PRIVATE cxx_std_17) with the following two lines:

set(CMAKE_CXX_STANDARD 11)
            set(CMAKE_CXX_STANDARD_REQUIRED ON)

With this change, the sample should build successfully.

Methods to block screenshots also block screen mirroring tools

Description: The methods used to block screenshots also block some screen mirroring tools. However, the scrcpy tool is only blocked on Android 12 and later. On Android 15, this option also blocks partial screen sharing.

Bypassing App Shielding protection in Cordova-based applications

Description: Because of the nature of pure Javascript frameworks such as Cordova, the effectiveness of the push and pull bindings of App Shielding is affected. As a result, it might be possible to extract all Javascript files from a shielded application and build a new Cordova-based application with the extracted Javascript files. That new application will behave identical to the original one but has two major differences:

  1. It is no longer protected with App Shielding.

  2. It is signed with a different developer certificate.

Because this new application is signed with a different developer certificate, it is recognized by the stores or every device as a completely different and new application in comparison to the original shielded application. It cannot be avoided that a new application like this is built that looks and behaves similar to the original application.

OneSpan risk assessment: Threat actors will need to make heavy use of targeted phishing attacks to convince users of the original application to install the rogue version. For attackers, however, it is much easier to use existing malware frameworks that mimic hundreds of login screens in one single piece of malware. In addition, the existence of any rogue versions of the application does not affect the security features of the original shielded application. Everyone who is using the genuine, shielded application is protected with all the features of App Shielding, including all security measures of the original application. Therefore, we consider this issue to be of low risk.

NFC payment failure in shielded apps with Thales Gemalto SDK

Description: When using the shielded version of the app, NFC payments fail. This is caused by a compatibility issue with the Thales Gemalto TSH Pay SDK which also provides debugger detection. The SDK incorrectly flags the App Shielding debugger detection as a native debugger.

Solution: Allowlisting. For implementations integrating both the Thales Gemalto SDK and App Shielding, debuggers coming from the SDK's own debugging processes and sub-processes should be added to an allowlist within the Thales Gemalto SDK.

It is essential to not only add the processes to the allowlist but also their sub-processes. Otherwise, the SDK will still handle App Shielding as a native debugger!

Magisk and root hider tools on new Android versions

Root hider tools such as Magisk Hide are designed to hide the fact that the device is compromised (rooted). Android has been increasingly restricted in what can be inspected and observed of the system from inside an app. This means that a rooted system with a root hider tool can be hard to detect due to missing privileges.

On Android 8+, App Shielding may not able to reliably detect a rooted device with Magisk Hide depending on the version of these tools.