How to Optimize Obfuscation, Improve Android & iOS Load Time

Learn the 3 Easy Steps to Optimize Obfuscation, Improve Android & iOS Load Time. Maintain a good user experience and protect your mobile apps. No Code, No SDK.

This Knowledge Base article provides step-by-step instructions to optimize your mobile app’s load time when implementing Dex relocation using Appdome. Dex relocation (obfuscation) is one of the multiple methods you can use to obfuscate mobile apps.  You should obfuscate a mobile app as a first line of defense against reverse engineering – which hackers routinely do to: (1) learn how your app works (2) understand the app logic (3) find your apps weak spots.

Why is Code Obfuscation Important? 

In recent years, decompilers have reached a maturity level that allows recovering source code back from mobile apps with ease. Obfuscation has become a well-established preventive measure developers use against static reverse engineering attempts. What sets various obfuscation solutions apart is several things: Ease of use (e.g., specialized compilers and post-build tools), Performance (i.e., performance penalty, if any) and the reference threat level.
Since eventually all defenses can be broken, which indicates how good a defense is the amount of work, expertise and time expected to break the defense.

We hope you find this knowledge base useful and enjoy using Appdome!

Appdome is a no-code mobile security and mobile integration platform that allows users to add security features, like RASP, code obfuscation, data encryption and more, as well as mobile threat, mobile fraud, anti-bot and other SDKs and APIs to Android and iOS apps. This KB describes how to use Appdome’s simple ‘click to build’ user interface to quickly and easily optimize your app’s load time when implementing DexRelocation using Appdome.

Using Appdome, there are no development or coding prerequisites. For example, there is no SDK, library, or plug-ins to implement. The Appdome technology adds Dex Relocation and relevant standards, frameworks and more to the app automatically, with no manual development work at all.

Appdome’s Dex Relocation is a security feature that modifies a mobile app’s compiled code by obfuscating the logical control-flow of the app.  Appdome’s Dex Relocation makes reverse engineering an arduous task while preserving the functionality and performance of the original app. Appdome with Dex Relocation is compatible with mobile apps built in any development environment including Native Android and iOS apps, hybrid apps and non-native apps built-in Xamarin, Cordova, and React Native, Ionic and more. This streamlines implementations, cuts development work, and ensures a guaranteed and consistent implementation of Dex Relocation to any mobile app.

If your application was developed using a non-native framework such as React-Native, Cordova or Xamarin, you might want to check out Non-Native Code Obfuscation.

If, on the other hand, your application has more native code in it, we recommend you check out Binary Code Obfuscation.

We are aware of course, that applications are not always perfect and there might be crashes here and there. We took special care when designing code flow relocation to make sure that the original flow is visible in the stack trace of Java exceptions.

This enables developers to quickly trace the source of a bug in the app, even when obfuscated.

3 Easy Steps to Optimize App Load Time When Implementing Code Obfuscation

Please follow these 3 easy steps to Optimize App Load Time in Android apps

  1. Upload an Android app (.apk or .aab)
  2. Click the Build > Security. Under TOTALCode™ Obfuscation, Toggle “ON” Dex Relocation and Favor Loading Time
  3. Click Build My App

 

Control.flow.obfuscation.optimization

The technology behind Build My App has two major elements – (1) a microservice architecture filled with 1000s of code sets needed for mobile integrations, and (2) an adaptive code generation engine that can recognize the development environment, frameworks and methods in each app and match the app to the relevant code-sets needed to add the requested service to the mobile app in seconds.

Congratulations!

Prerequisites for Using Appdome Dex Relocation

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

How to Sign & Publish Secured Mobile Apps Built on Appdome  

After successfully securing your app using Appdome, there are several available options to complete your project, depending on your app lifecycle or workflow. These include 

Or, see this quick reference Releasing Secured Android & iOS Apps built on Appdome. 

How to Learn More

For more details, read the Control Flow Relocation KB article.

Flow Relocation is just one of the many features TOTALCode™ can offer in terms of code obfuscation.

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

Thank you!

Thanks for visiting Appdome! Our mission is to secure every app on the planet by making mobile app security 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.

Alan Bavosa

Have a question?

Ask an expert

GilMaking your security project a success!

Get Your Copy
2021 Global Mobile
Consumer Security
Survey