सार्वजनिक जानकारी से बना चयन मार्गदर्शन। केवल संदर्भ हेतु।
flutter_background_geolocation प्लगइन के लिए एक Firebase अनुकूलक जो स्वचालित रूप से निर्धारित स्थान डेटा को Firestore में सिंक करता है। बैकग्राउंड स्थान निगरानी सेवा के साथ बिना किसी दिक्कत के काम करने के लिए डिज़ाइन किया गया है, यह उपयोगकर्ता के उपकरण के स्थान को रियल-टाइम ट्रैकिंग और Firebase डेटाबेस में स्थायी भंडारण की अनुमति देता है। फ्लीट प्रबंधन, डिलीवरी ट्रैकिंग या गतिविधि लॉगिंग जैसे लगातार स्थान निगरानी की आवश्यकता वाले एप्लिकेशन के लिए उपयुक्त। पैकेज डेटा सिंक्रनाइजेशन को कुशलता से हैंडल करता है, जिससे एंड्रॉइड और आईओएस प्लेटफॉर्म पर विश्वसनीयता सुनिश्चित होती है।
उपयोग
रियल-टाइम फ्लीट ट्रैकिंग
डिलीवरी रूट मॉनिटरिंग
गतिविधि और यात्रा लॉगिंग
स्थान-आधारित विश्लेषण
उपयोगकर्ता गतिविधि ट्रैकिंग
मुख्य विशेषताएँ
स्वचालित Firestore सिंक
क्रॉस-प्लेटफ़ॉर्म समर्थन (Android/iOS)
flutter_background_geolocation के साथ निरंतर एकीकरण
विश्वसनीय ऑफलाइन से ऑनलाइन डेटा हस्तांतरण
कॉन्फ़िगरेबल अपलोड इंटरवल
इनके लिए उपयुक्त
फ्लीट और लॉजिस्टिक ऐप्स
फिटनेस और आउटडोर ट्रैकिंग ऐप्स
फील्ड सर्विस मैनेजमेंट
स्थायी स्थान इतिहास की आवश्यकता वाले एप्लिकेशन
विचार योग्य बातें
Firebase Firestore सेटअप की आवश्यकता है
बादल भंडारण लागत का भार उठाना पड़ सकता है
नीचे के background_geolocation प्लगइन पर निर्भर करता है
नेटवर्क कनेक्टिविटी सिंक टाइमिंग को प्रभावित करती है
बैकग्राउंड स्थिति एक्सेस के लिए आवश्यक अनुमतियाँ
मूल README
संबंधित सोर्स रिपॉज़िटरी के मूल README का स्नैपशॉट। नवीनतम सामग्री के लिए रिपॉज़िटरी देखें।
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.