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

前端 未结 3 1827
滥情空心
滥情空心 2021-02-07 15:52

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 e

3条回答
  •  抹茶落季
    2021-02-07 16:47

    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

提交回复
热议问题