get_expansion_file
Retrieve the OBB expansion file for a specific APK version code to get its file size and references version. Use for legacy APKs; app bundles return an error and should use asset packs instead.
Instructions
Get the OBB expansion file attached to an APK version code, returning fileSize and referencesVersion. Legacy APK-only feature: apps shipping app bundles use asset packs instead and will get an error here.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| package_name | No | App package name, e.g. 'com.acme.app' (defaults to GOOGLE_PLAY_PACKAGE_NAME) | |
| apk_version_code | Yes | Version code of the APK, e.g. '415' | |
| expansion_file_type | Yes | Which expansion file to read: 'main' or 'patch' |