Sign Out
Sign Out

Sign Out

These intents are used to sign out the user. Two intents are available.
  • The
    com.symbol.wfc.pttpro.ACTION_SIGN_OUT
    action signs out of the application. The user can sign in again as described in the
    Workcloud Communication PTT Pro Installation Guide
    . If an activation code was previously used to sign in, that same activation code is already populated in the activation code field.
  • The
    com.symbol.wfc.pttpro.RESET_DEVICE_CONFIG
    action signs out of the application and also clears the configuration. Unlike the
    com.symbol.wfc.pttpro.ACTION_SIGN_OUT
    action, the ESN or activation code configuration is also cleared. The Public key needs to be cleared for the device in the
    PTT Pro Management Portal
    after this command is applied to the client.

Prerequisites

  • The user must be signed in.
  • The minimum required
    PTT Pro for Android
    version is 3.3.10103.

Intent Definition

Name
Description
Action
com.symbol.wfc.pttpro.ACTION_SIGN_OUT
  to sign out
com.symbol.wfc.pttpro.RESET_DEVICE_CONFIG
to sign out and clear the configuration
Intent Type
broadcast
Extra 0
The pass key parameter provides an additional level of security to protect against misuse of these intents.
          Type
String
          Name
pass_key
          Value
Contact Zebra support for your passkey1
Extra 1 (optional)
This extra specifies the restart of the PTT service. To allow the client to sign in again, this parameter needs to be set to true. The default value is false. The minimum required
PTT Pro for Android
version is 3.3.10186
          Type
Boolean
          Name
restart_app
          Value
true or false

ADB Example

adb shell am broadcast -a com.symbol.wfc.pttpro.ACTION_SIGN_OUT --es "pass_key" "key-phrase"
adb shell am broadcast -a com.symbol.wfc.pttpro.ACTION_SIGN_OUT --es "pass_key" "pass_key" --ez "restart_app" true
  • With the extra string
    restart_app
    is set to true, the
    PTT Pro for Android
    signs out, and the PTT Pro service is still running.
  • Without the
    restart_app
    string, or if
    restart_app
    is set to false, the
    PTT Pro for Android
    signs out, and the service stops running and does not respond to commands. The only way to restart the PTT Pro service is to re-launch the application.