tencent_location_flutter_android

English | 简体中文

Android federated implementation for tencent_location_flutter.

This package is resolved automatically by Flutter through the federated plugin declaration. Application code should normally depend on tencent_location_flutter instead of importing this package directly.

This is not an official Tencent package and does not represent Tencent Maps or Tencent Location Service.

Native SDK

The Android implementation is pinned to Tencent Location SDK 7.6.1.8.

Android Maven version 8.7.5.1 has been compile-checked, but that line does not expose several public SDK APIs currently wrapped by this plugin, including geofencing, scene location, DR, extra data, device ID, system cache control, and callback interval tuning. The implementation therefore stays on the latest verified 7.x line version that still exposes those APIs.

Host Requirements

The host Android app is responsible for manifest permissions and runtime permission requests. At minimum, location and network permissions are required:

<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />

Background location, foreground service, and notification permissions must be added by the host application according to its target Android version and feature set.

Public Dart API

This implementation package exposes only the Dart registration class used by Flutter:

TencentLocationAndroidDartPlugin.registerWith();

Most applications should not call this API directly.

License

Repository-authored wrapper code is licensed under the MIT License, an OSI-approved license. Tencent native SDK materials are not relicensed by this package. See the repository-level THIRD_PARTY_NOTICES.md.

Libraries

tencent_location_flutter_android
Android federated implementation registration library for tencent_location_flutter.