setLocationTracking static method

Future<void> setLocationTracking(
  1. bool enabled
)

Enables/disables sending device location information using the enabled. The default value for Android is false, for iOS is true.

Implementation

static Future<void> setLocationTracking(bool enabled) =>
    _appMetrica.setLocationTracking(enabled);