Detected minified javascript files not in .js extension (eg. React Native)
React-Native apps may/often will bundle huge minified javascript file that contain application source code (thus hard to compare it), on tested app it exists in index.android.bundle
file on android app (APK) and main.jsbundle
file on ios app (IPA).
both files return for file:
ASCII text, with very long lines
both files content start with:
var __BUNDLE_START_TIME__=
as the file-extension can be changed during compiliation (may be set to not default values) it will be better to have mechanism that detect minified javascript files and apply the js comparator for them, the test source-contains-prebuilt-javascript-object
from lintian tool probably can be used for this.
otherwise/meanwhile a solution just for react-native apps compiled with default settings will be:
for .jsbundle
extension or filename index.android.bundle
use js comparator as done for .js files.