Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changing and using Firebase Project from Dart #25

Open
iDeliverWilhem opened this issue Dec 21, 2021 · 6 comments
Open

Changing and using Firebase Project from Dart #25

iDeliverWilhem opened this issue Dec 21, 2021 · 6 comments

Comments

@iDeliverWilhem
Copy link

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.

@christocracy
Copy link
Member

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

@iDeliverWilhem
Copy link
Author

I'll try, thanks 👍

@iDeliverWilhem
Copy link
Author

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

@iDeliverWilhem
Copy link
Author

Hi @christocracy ,

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

Regards,
Wil

@christocracy
Copy link
Member

What did you try?

@iDeliverWilhem
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants