setBackgroundEnabled method

Future<bool> setBackgroundEnabled(
  1. bool enabled
)

Enables or disables background location support where the platform allows it.

Keep this disabled unless the host app has the correct store disclosures, manifest/background modes, and user-facing reason.

Implementation

Future<bool> setBackgroundEnabled(bool enabled) =>
    NexoraSdkPlatform.instance.setBackgroundLocationEnabled(enabled);