install app
install_appInstall an app from Phonebox's app library by package name, in the background. It doesn't reach Google Play: to get a Play Store app, open the Play Store app on the phone with act and install it there. To check on an install later, open the app with act: open_app answers app_not_found until the install has finished. With upload instead of package, it installs your own APK (see create_app_upload) and waits until the phone lists the app, or says why it failed. While that upload is still installing on the phone, and for 10 minutes after that install succeeds, calling install_app again with it starts nothing: a repeat only waits for it, or reports it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| upload | No | An upload of your own APK whose status is ready, from complete_app_upload. Give this or package. | |
| package | No | The app's Android package name, such as com.whatsapp: an app from Phonebox's app library. Give this or upload. | |
| replace | No | With upload: uninstall the app first when it is on the phone, which deletes its data. Use it for a build signed with another key, or an older version_code. | |
| phone_id | Yes | Phone ID from create_phone or list_phones. |