You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Feature]: Device panel can't choose the Android API level or image (google_apis_playstore) for Simlock devices #30336
The Device panel can't choose the Android API level or the system image (for example google_apis_playstore) of a Simlock device. Every Android device it opens gets the worker's default image, google_apis, which has no Play Store. A human therefore has no way to sign in to Google Play on a Simlock emulator from T3 Code, so Google Play Billing tests (license-tester purchases) cannot run on the fleet, even when the fleet has a Play image installed.
What happens today
apps/server/src/device/SimlockDeviceHost.ts on main (15707a84) opens a catalog device with:
The catalog entry shows version: platformVersion(platform, runtimes.at(-1)) (the newest runtime), but that version is never sent, and the image tag is not modelled at all. Simlock answers a request that names no image tag with google_apis and never with a tagged image.
Real example (Simlock 0.4.0 gateway, Android worker with android-36 google_apis and android-36 google_apis_playstore x86_64 installed):
Device panel → Pixel 8 opens "Android 37.0" with google_apis, and launching com.android.vending fails ("Failed to launch com.android.vending").
The gateway's /v1/catalog lists the images per runtime (images: [{runtime, tag, abi}]).
A lease requested over the gateway HTTP API with {"platform":"android","device":"Pixel 8","os":"36","imageTag":"google_apis_playstore"} gets the Play image (Play Store 45.3). It can't be shown in the Device panel, though, and the gateway console has video only, no input. Nobody can sign in on it.
Request
For Simlock hosts, let the Device panel choose the Android API level and image tag (at least google_apis_playstore when the catalog offers it) and pass them on open. agent-device 0.21.36 already supports this through the proxy:
This mirrors #28567 (choosing the iOS model and version). Related: callstackincubator/simlock#1220 asks for a configurable default image on the gateway side. The two fixes are independent: with this one, the default can stay google_apis for automation while a person picks Play when a test needs a Google sign-in.
Activity