flutter_background_geolocation_firebase icon indicating copy to clipboard operation
flutter_background_geolocation_firebase copied to clipboard

Changing and using Firebase Project from Dart

Open iDeliverWilhem opened this issue 4 years ago • 6 comments

Is your feature request related to a problem? Please describe. We are not using google-services.json setup instead we are using Flutterfire initialization from dart like below. firebase App1 = await Firebase.initializeApp( options: DefaultFirebaseOptionsProd.currentPlatform, );

firebase App2 = await Firebase.initializeApp( options: DefaultFirebaseOptionsDev.currentPlatform, );

Describe the solution you'd like Can we change the Firebase project from the config on the fly to change the location of the firebase database?

Describe alternatives you've considered Any advise or solution would be highly appreciated

Additional context Add any other context or screenshots about the feature request here.

iDeliverWilhem avatar Dec 21 '21 03:12 iDeliverWilhem

I haven’t touched this code in two years. Maybe try experimenting around this line?

christocracy avatar Dec 21 '21 03:12 christocracy

I'll try, thanks 👍

iDeliverWilhem avatar Dec 21 '21 03:12 iDeliverWilhem

Is there a way to disable the adaptor and create own function to save locations to firebase storage?

iDeliverWilhem avatar Dec 21 '21 08:12 iDeliverWilhem

Hi @christocracy ,

Looks like I can't do it. Will you be able to help us with this one?

Regards, Wil

iDeliverWilhem avatar Jan 04 '22 01:01 iDeliverWilhem

What did you try?

christocracy avatar Jan 04 '22 01:01 christocracy

Just tried to understand how to pass the configuration. I don't have the skills to continue.

iDeliverWilhem avatar Jan 04 '22 01:01 iDeliverWilhem