Using FCM mode for auto sync
You can set HCL Traveler on Android to use FCM (Firebase Cloud Messaging) mode for auto sync, which can increase battery life.
By default, HCL Traveler maintains an HTTPS connection between a device and server that allows both to stay in sync with each other. Depending on several factors (such as network provider, Network Address Translation (NAT) timeouts, and device characteristics), maintaining this connection can burden the battery of the device. Using FCM mode for auto sync can decrease the burden on the battery and increase the amount of time between battery recharges compared to using HTTPS.
Using FCM can greatly improve the battery life of Android devices using Verse, as Verse no longer needs to stay constantly connected through HTTPS to the HCL Traveler server for push notifications. If you currently use the HTTPS option for the Real-time sync type, then the existing Verse for Android application automatically starts using FCM once it detects that the server supports this capability and the device is logged into a Google account.
- On the device, go into the HCL Traveler settings and select Auto Sync.
- From the real-time option, select Firebase Cloud Messaging.
After following these steps, HCL Traveler stops maintaining a constant connection to the server. It also starts using FCM to notify the device of server-side changes. These FCM messages are received and handled silently by HCL Traveler on the device.
FCM is enabled on the server by default, but it can be configured as needed using the settings described in Notes.ini settings and Push messaging through a proxy.
FCM message contents
FCM messages only contain applications that need to be synced or security operations that need to be performed. There are no user names or contents (mail, calendar, contacts, journal or ToDos) contained in the message. FCM messages only trigger the device to perform a sync for the given applications or take the appropriate security actions, at which point the device receives the relevant sensitive information, such as user names and data contents.