LocalzBackgroundSDK
LocalzBackgroundSDK is the main entry point for interacting with the Localz Background SDK. It provides methods for configuration, authentication, state management, and handling Firebase messages.
Functions
Configures the SDK with the provided key, environment, and app version.
Retrieves the current username of the logged-in user.
Handles a Firebase message from Localz.
Checks if the required permissions are granted.
Initializes the SDK and prepares it for use.
Checks if the SDK is initialized.
Determines if the given Firebase message originates from Localz.
Logs in using Azure SSO authentication.
Logs in using basic authentication.
Logs in using Generic SSO authentication with tokens.
Logs in using Generic SSO authentication with authorization code.
Logs in using Google SSO authentication.
Logs in using MDLP SSO authentication.
Logs out the current user.
Provides a Flow of log reports generated by the SDK.
Provides a StateFlow of the current BackgroundSdkState.