useProxy

val useProxy: Boolean = false

If useProxy flag is true a Sync Client will try to read and apply proxy settings in the following order:

  1. If there is no proxysettings.properties file in the assets folder of your app then android system proxy settings will be applied.
  2. If the proxysettings.properties file exists in the assets folder of your app then proxy configuration will be read from it and android system settings will be ignored.
  3. If proxy settings cannot be read either from the proxysettings.properties file and from android system settings {@link ConversationsClient} will use direct connection.
If this flag is `false` all proxy settings will be ignored and direct connection will be used.

Example of the proxysettings.properties file:


host=192.168.8.108
port=8080
user=myUser
password=myPassword