Optional: Registering for online live data events

Receive updates on log and online state changes to your app from the SDK.

Call sdkInstance.isOnline().observe() to listen to the user online state.
Optional values:
True - user has an ongoing active order. SDK is active in the background monitoring locations, order events, geofences, etc.
False - SDK is inactive.
Online state is managed by the SDK internally and will start when active order is avaliable and stop automatically when active user orders are done.