[Request]: Make sensors_plus to work in background task in android.

Aperta
#2,521 1 commento 1 reazione 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
20/100
Tipo di issue
Funzionalità
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
android, dart, flutter
Ambito
mobile

Direzione di ricerca

Inizia esaminando il plugin sensors_plus e la discussione correlata nell’issue #2514 per comprendere l’attuale limitazione di Android in background. Determina i vincoli della piattaforma e l’ambito del supporto ai dati del giroscopio nelle attività in background; il lavoro è completato quando il comportamento in background proposto è implementato e verificato per il caso d’uso indicato.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

enhancement triage
Plugin

sensors_plus

Use case

I wanted to create an app that check if the device is picked up every few hours, and notify to the emergency contacts if there is no pick up in the last 24-48 hour.
In order to do that, the app needs to work in the background, get the information from gyroscope, and sends the information to the server to check the difference.

I considered using the location, but users might be concerned about their privacy.
Hence using the gyroscope is suitable for this case.

But the gyroscope does not work on background in android.
Consulted this as a bug, but found out there is no such functionality provided.
https://github.com/fluttercommunity/plus_plugins/issues/2514

Proposal

Please make gyroscope to work in background task.

Lingua principale
Dart
Stelle
1.9k
Fork
1.3k
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di fluttercommunity/plus_plugins

Tutte le issue di fluttercommunity/plus_plugins

Issue simili

Altre issue su Dart

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.