Menu

How I detect which framework an Android app was built with (Flutter, React Native, Unity...)
📰

How I detect which framework an Android app was built with (Flutter, React Native, Unity...)

DEV Community: reactnative·Hamd·6 days ago
#UAU6Pwvj
#devtoreactnative#devto#dev#stacklens#files
Reading 0:00
15s threshold

Hamd

Posted on Nov 10

AI-assisted

I kept wondering which apps on my phone were Flutter, React Native or plain Kotlin. Play Store doesn't tell you, so I built StackLens , an on-device Android app inspector. Here's how the detection works.

Every framework leaves fingerprints in the APK

An APK is a zip file. Cross-platform frameworks have to ship their runtime inside it, and those files have very recognisable names:

Framework What to look for

Flutter lib/<abi>/libflutter.so , libapp.so , assets/flutter_assets/

React Native assets/index.android.bundle , libhermes.so or libjsc.so , libreactnativejni.so

Unity lib/<abi>/libunity.so , libil2cpp.so , assets/bin/Data/

Xamarin / .NET MAUI assemblies/*.dll , libmonodroid.so , libmonosgen-2.0.so

Cordova / Capacitor assets/www/index.html , cordova.js , capacitor.config.json

Jetpack Compose androidx.compose.* classes in the dex files

Reading the APK without root

PackageManager gives you applicationInfo.sourceDir (and splitSourceDirs for split APKs).…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.