Placeholders
You can use various placeholders to provide details about the device on remote calls and to define device independent paths for download.
Key | Name | Note |
---|---|---|
%temp% | Temp folder | Temp / Cache folder on the device. Ideal location for files that you don’t need anymore after staging is done |
%sdcard% | Internal storage | Internal storage folder on the device. Ideal location for files that should be accessible to other apps or will be needed after staging |
%ext-sdcard% | Removable SD card | Path to a removable SD card. If none is present, the internal %sdcard% path is returned |
%hw-model% | Device model name | Name of the device hardware/product |
%hw-os% | Device OS version | Current Android OS version / SDK level |
%hw-version% | Device OS version | Current OS build version as shown in Settings > About |
%hw-sn% | Device Unit S/N | Unit serial number. Some devices can have two serial numbers. This will always return the S/N used on the label and box |
%sn% | Device S/N | Device serial number |
%version% | App Version | Current Version of the Staging app |
%version-code% | App Version code | Current numerical version code of the Staging app |
%_t% | Timestamp | Current time as a timestamp. Useful to prevent caching |
%imei% | IMEI | The primary IMEI number. On dual-sim devices, this is likely for slot 1 |
%meid% | MEID | The primary MEID number. On dual-sim devices, this is libely for slot 1. (Requiest at least Android 8) |
%imei1% | IMEI Slot 1 | The IMEI for SIM slot 1 |
%imei2% | IMEI Slot 2 | The IMEI for SIM slot 2 |
%meid1% | MEID Slot 1 | The MEID for SIM slot 1 |
%meid2% | MEID Slot 2 | The MEID for SIM slot 2 |