transistorsoft / flutter_background_geolocation_firebase

Firebase proxy for Flutter Background Geolocation SDK
MIT License
21 stars 7 forks source link

How to customize the data sent to Firebase? #19

Closed ViniciusDiasSilva closed 3 years ago

ViniciusDiasSilva commented 3 years ago

I would like to use geopoint and timestamp fields for example...

christocracy commented 3 years ago

What is a "geopoint"?

I don't understand at all what you're asking.

ViniciusDiasSilva commented 3 years ago

Is a type data field Screen Shot 2021-04-09 at 17 31 47

christocracy commented 3 years ago

See the readme about using Firebase functions to transform the data however you wish, after it arrives from the plugin.

Functions that don't involve network have a negligible cost.

christocracy commented 3 years ago

This will generate a consumption of unnecessary resources, both in functions and in the firebase itself that is, it is not commercially viable and scalable.

This is absolutely false. Why do you think Cloud Functions exist?

it's $7.20/month for 10M invocations.

It's also your only option. The schema of posted records is not going to change.