Mobile Service

object MobileService

class that define which Service to use

Author

Jimly A.

Since

05-Nov-21

Functions

Link copied to clipboard
fun get(): Context

method to return Context of the application

Link copied to clipboard
fun getRemoteConfig(defaultValues: Int? = null, millis: Long? = null): DevRemoteConfig

method that return Remote Config service

Link copied to clipboard
fun initialize(context: Context)

method to initialize Mobile Service

Link copied to clipboard
fun isGooglePlayEnabled(): Boolean

method to check does the device support Google Play

Extensions

Link copied to clipboard
val MobileService.analytics: DevAnalytics

Analytics Tools, use FirebaseAnalytics if Google Play enabled, use HuaweiAnalytics when it's not

Link copied to clipboard
val MobileService.auth: DevAuthentication

Auth Service for the application, by default use FirebaseAuthentication, use AGConnectAuthentication when enforced

Link copied to clipboard
val MobileService.dynamicLink: DevDynamicLink

Dynamic Link operation

Link copied to clipboard
val MobileService.inAppMessaging: DevInAppMessaging

In-App Messaging service, use FirebaseInAppMessaging if Google Play enabled, use AgConnectInAppMessaging when it's not

Link copied to clipboard
val MobileService.messaging: DevMessaging

Cloud messaging tools, use FirebaseMessaging if Google Play enabled, use HuaweiMessaging when it's not

Sources

Link copied to clipboard