Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I detect if the app uses React Native, given APK file?

I downloaded APK file from Google Play, and want to know if the develop of the application have used React Native library. What's a quick and stable way to do that? (Would be even better if it's something I can potentially automate later - but such automation itself is out of scope of this question.)

like image 577
Max Yankov Avatar asked Jun 01 '17 08:06

Max Yankov


People also ask

How do you know if an app is fluttering?

Of course, you can find out by extracting the APK. But there is another simple way: Install the app on your device, then open it and checklist or grid in the UI. If you feel that when you scroll with two fingers, the speed doubles, and when you scroll with one finger, then the application is developed in Flutter.

Where is APK file in React Native?

You can find the generated APK at android/app/build/outputs/apk/app-release. apk. This is the actual app, which you can send to your phone or upload to the Google Play Store. Congratulations, you've just generated a React Native Release Build APK for Android.

How many apps use React Native?

Thousands of apps are using React Native, from established Fortune 500 companies to hot new startups. If you are curious to see what can be accomplished with React Native, check out these apps!


1 Answers

I can offer you 2 solutions:

  • Solution 1

You can use dex2jar. When you open the generated jar file, you can check if it uses React Native if there is a folder /com/facebook/react/.

  • Solution 2

    1. Rename your application APK app.apk into app.zip
    2. Decompress your zip file
    3. Use dexdump from AndroidSDK$ANDROID_HOME/build-tools//dexdump:dexdump classes.dex`
    4. Search for com/facebook/react in the output of dexdump
like image 154
OlivierM Avatar answered Sep 21 '22 08:09

OlivierM