mapbox / mapbox/mapbox-maps-flutter

Programmatically opt-out of sending telemetry data

オープン
#63 コメント 4 件 リアクション 14 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

主要言語
Dart
スター
380
フォーク
204
PR マージ指標
30日以内にマージされた PR はありません

説明

Is it possible to opt-out of sending [telemetry data](https://www.mapbox.com/telemetry) via code, e.g. to include this setting in the app settings? Currently the only way I'm finding is via the attribution button.

If it is not currently possible, are you planning to provide that option? When reading about telemetry on the Mapbox-Website it is being stated often that this should also be possible via settings in the app aside from the attribution button?

The Mapbox community Flutter plugin (originally the official [predecessor](https://github.com/mapbox/flutter-mapbox-gl) of this plugin) has this option: https://pub.dev/documentation/mapbox_gl/latest/mapbox_gl/MapboxMapController/setTelemetryEnabled.html

It also looks like both the native SDKs support the option to opt-out programmatically:
- Android: https://docs.mapbox.com/android/maps/api/10.10.1/mapbox-maps-android/com.mapbox.maps.module/-map-telemetry/set-user-telemetry-request-state.html
- iOS: https://docs.mapbox.com/help/getting-started/attribution/#mapbox-maps-sdk-for-ios ("Integrate the setting directly into your app. Hook a UISwitch control up to the MGLMapboxMetricsEnabled standard user defaults key, which should be true by default. Then set MGLMapboxMetricsEnabledSettingShownInApp to YES in your app’s Info.plist file.")

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

Start by comparing the Flutter plugin's controller API with the linked community plugin's setTelemetryEnabled method and the native Android and iOS telemetry controls. Confirm how each native SDK exposes the setting and define done as allowing the app to opt out programmatically on both platforms.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
dart, flutter
領域
mobile
issue の種類
機能追加
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。