Aus öffentlichen Paketdaten erstellte Orientierung.
Ein Firebase-Adapter für den flutter_background_geolocation-Plugin, der aufgezeichnete Standortdaten automatisch mit Firestore synchronisiert. Speziell für die nahtlose Zusammenarbeit mit dem Hintergrundstandortdienst entwickelt, ermöglicht er Echtzeitverfolgung und dauerhafte Speicherung von Gerätestandorten in einer Firebase-Datenbank. Ideal für Anwendungen, die eine kontinuierliche Standortüberwachung erfordern, wie z. B. Flottenmanagement, Lieferverfolgung oder Aktivitätsprotokollierung. Das Paket handhabt die Daten-Synchronisation effizient und gewährleistet Zuverlässigkeit auf Android- und iOS-Plattformen.
Nahtlose Integration mit flutter_background_geolocation
Zuverlässiger Datentransfer von Offline nach Online
Konfigurierbare Upload-Intervalle
Geeignet für
Flotten- und Logistik-Apps
Fitness- und Outdoor-Tracking-Apps
Feldservice-Management
Anwendungen, die einen dauerhaften Standortverlauf erfordern
Hinweise
Firebase Firestore-Einrichtung erforderlich
Kann Cloud-Speicher-Kosten verursachen
Abhängig vom zugrunde liegenden Hintergrund-Geolocation-Plugin
Netzwerkverbindung beeinflusst die Synchronisationszeit
Zur Hintergrundortung erforderliche Berechtigungen
Original-README
Originaler README-Schnappschuss aus dem verknüpften Quell-Repository. Aktuelle Inhalte finden Sie im Repository.
background_geolocation_firebase
Firebase Proxy for Flutter Background Geolocation. The plugin will automatically post locations to your own Firestore database, overriding the flutter_background_geolocation plugin's SQLite / HTTP services.
If you prefer, you can instruct the plugin to update a single document in Firebase rather than creating a new document for eachlocation / geofence. In this case, you would presumably implement a Firebase Function to deal with updates upon this single document and store the location in some other collection as desired. If this is your use-case, you'll also need to ensure you configure your locationsCollection / geofencesCollection accordingly with an even number of "parts", taking the form /collection_name/document_id, eg:
BackgroundGeolocationFirebase.configure(BackgroundGeolocationFirebaseConfig(
locationsCollection: '/locations/latest'// <-- 2 "parts": even
));
// orBackgroundGeolocationFirebase.configure(BackgroundGeolocationFirebaseConfig(
locationsCollection: '/users/123/routes/456/the_location'// <-- 4 "parts": even
));
// Don't use an odd number of "parts"BackgroundGeolocationFirebase.configure(BackgroundGeolocationFirebaseConfig(
locationsCollection: '/users/123/latest_location'// <-- 3 "parts": odd!! No!
));
License
The MIT License (MIT)
Copyright (c) 2018 Chris Scott, Transistor Software
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.