Closed Mercy811 closed 6 months ago
ACCESS_NETWORK_STATE permission is required. If not, this feature will not supported and will fallback to previous behavior (causing an error)
ACCESS_NETWORK_STATE
This feature is enabled by default.
To opt out of using AndroidNetworkConnectivityPlugin and implement custom offline logic, setting config.offline to null will prevent plugin setup.
AndroidNetworkConnectivityPlugin
config.offline
null
// Disable this feature amplitude = Amplitude( Configuration( apiKey = AMPLITUDE_API_KEY, context = applicationContext, offline = AndroidNetworkConnectivityCheckerPlugin.Disabled ) ) // Implement your own plugin to toggle offline
:tada: This PR is included in version 1.13.0 :tada:
The release is available on:
v1.13.0
Your semantic-release bot :package::rocket:
Summary
Requirements
ACCESS_NETWORK_STATE
permission is required. If not, this feature will not supported and will fallback to previous behavior (causing an error)User interfaces
This feature is enabled by default.
To opt out of using
AndroidNetworkConnectivityPlugin
and implement custom offline logic, settingconfig.offline
tonull
will prevent plugin setup.Implementation
config.offline
accordinglyChecklist