transistorsoft / flutter_background_geolocation_firebase

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

How can I add extra data to the default Location Data Schema #13

Closed iDeliverApps closed 4 years ago

iDeliverApps commented 4 years ago

In your Firebase Functions section on your example, you show the default schema with additional parameters param1 and param2

{ "location":{}, "param1": "param 1", "param2": "param 2" }

How do I override the default schema with my additional parameters?

christocracy commented 4 years ago

See API docs Config.extras

christocracy commented 4 years ago

And Config.params

iDeliverApps commented 4 years ago

Gotit. Thanks very much.