How to view java packages installed for android

I have an app that has been through a security audit, and the audit has found evidence of certain SDKs in use. How would I go about finding those SDKs locally? I believe they are android-specific, because their names follow the java naming convention.

For example, if the audit found a dependency on a package named com.myorg.mypackage, is there a way to see evidence of that locally with Expo?

Expo CLI 4.3.2 environment info:
System:
OS: macOS 10.15.7
Shell: 5.7.1 - /bin/zsh
Binaries:
Node: 14.16.0 - ~/.nvm/versions/node/v14.16.0/bin/node
Yarn: 1.22.10 - /usr/local/bin/yarn
npm: 6.14.11 - ~/.nvm/versions/node/v14.16.0/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
Managers:
CocoaPods: 1.10.1 - /usr/local/bin/pod
SDKs:
iOS SDK:
Platforms: iOS 14.4, DriverKit 20.2, macOS 11.1, tvOS 14.3, watchOS 7.2
Android SDK:
API Levels: 27, 28, 29, 30
Build Tools: 28.0.3, 29.0.2, 30.0.3
System Images: android-30 | Google APIs Intel x86 Atom
IDEs:
Android Studio: 4.1 AI-201.8743.12.41.7042882
Xcode: 12.4/12D4e - /usr/bin/xcodebuild
npmPackages:
expo: 37.0.8 => 37.0.8
react: 16.9.0 => 16.9.0
react-native: https://github.com/expo/react-native/archive/sdk-37.0.0.tar.gz => 0.61.4
npmGlobalPackages:
expo-cli: 4.3.2
Expo Workflow: managed

Sources for native code are in GitHub - expo/expo: An open-source platform for making universal native apps with React. Expo runs on Android, iOS, and the web. , there is separate branch per sdk version sdk-37 in your case.

Or you can download actual template project that is used to build apps on expo server
turtle/sdk37 at master · expo/turtle · GitHub contains s3 ref, but you can create http url like that

https://exp-artifacts.s3.amazonaws.com/android-shell-builder-3cf3cf0707925322bcd667d5ba79120136f9afd8.tar.gz

2 Likes

You can see all the apps you’ve ever downloaded on your Android phone by opening the My apps & games section in your google Play store. The apps you’ve downloaded are divided into two sections: installed ( all the apps currently installed on your phone) and library (all the apps that aren’t currently installed.)
Use it like this: public void someMethod() { //… PackageManager pm= context.getPackageMAnager();
boolean isInstalled= isPackaeInstalled(“com.iMessage for PC.name”,pm)//…}

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.