Setting the Configuration
Setting the Configuration

Setting the Configuration

Use an intent to process or reset a configuration applied through the
WFCPTTProDefault.json
file.
The intents below include two parameters:
  • configpath
    is a string of the file path name and location of the JSON file.
  • resetconfig
    will function without an existing file name.
  • Send an intent to force
    PTT Pro for Android
     to read its configuration file.
    • For Android 10 and earlier use:
      adb shell am start -a com.symbol.wfc.pttpro.ACTION_DEFAULT_CONFIG --es "configpath" "/sdcard/WFCPTTProDefault.json"
    • For Android 11 and later use:
      adb shell am start -a com.symbol.wfc.pttpro.ACTION_DEFAULT_CONFIG --es "configpath" "/enterprise/device/settings/pttpro/WFCPTTProDefault.json"
    After the configuration is successfully processed and put into protected storage, the JSON file is deleted because it can include the OAuth Client ID and the OAuth Client secret. The configuration remains intact across device reboot and sign-out and sign-in.
  • Send an intent to reset the configuration of
    PTT Pro for Android
    .
    • For Android 10 and earlier, use:
      adb shell am start -a com.symbol.wfc.pttpro.ACTION_DEFAULT_CONFIG --es "configpath" "/sdcard/WFCPTTProDefault.json" --ez "resetconfig" true
    • For Android 11 and later, use:
      adb shell am start -a com.symbol.wfc.pttpro.ACTION_DEFAULT_CONFIG --es "configpath" "/enterprise/device/settings/pttpro/WFCPTTProDefault.json" --ez "resetconfig" true
    The
    resetconfig
    intent will function without the file name.