App info service

The App info service is a developer option in App Cloner that adds a runtime service to cloned apps, allowing you to query clones for key information.

You can retrieve details such as identity values, current GPS location, active SOCKS proxy and, as of App Cloner 3.1, data from various monitor options (as long as they are enabled).

Run the following ADB command to call the service:

adb shell dumpsys activity service <packageName>/com.applisto.appcloner.classes.AppInfoService [--indent <number>] [--json-path <jsonPath>] [--list]

The <packageName> specifies the package name of the cloned app, which you can see when opening the app info dialog of the cloned app under Clones.

The service responds with a JSON object. Here’s an example:

By default, JSON output is indented with 2 spaces (set the --indent parameter to 0 to disable pretty-printing).

Optionally, via the --json-path parameter, you can provide a JSONPath argument to extract specific details from the result. For instance, the following command retrieves the Android serial number:

adb shell dumpsys activity service <packageName>/com.applisto.appcloner.classes.AppInfoService --json-path '$.identityValues.androidSerial'

You can adapt the JSONPath expression to extract a certain value from a list of monitored values, for example:

adb shell dumpsys activity service <packageName>/com.applisto.appcloner.classes.AppInfoService --json-path '$.jsonMonitor[?(@.key==\"instanceId\")].value'

By default, the JSONPath query returns only one value (the first match). Use the --list flag to return multiple values as a comma-separated list:

adb shell dumpsys activity service <packageName>/com.applisto.appcloner.classes.AppInfoService --json-path '$.jsonMonitor[?(@.key==\"id\")].value' --list

You can find out more about JSONPath here.