Firebase Core - Switch environments on the fly #5626
Replies: 8 comments 2 replies
-
Are you trying to point to a different project on the fly? The current dev version of core does allow you to initialize different apps then you can determine which FirebaseApp is used when retrieving instances of other plugins like
|
Beta Was this translation helpful? Give feedback.
-
@kroikie thanks; is there any ETA when that would be in production? We cannot use Flutter dev for production pipelines :-) This would be really really awesome if it worked in Prod, being able to switch environments is key for testers. Installing different builds and making multiple builds for 1 app (imagine 5 builds for 1 version..) is just miserable corporate experience. |
Beta Was this translation helpful? Give feedback.
-
Having some issues with the dependencies At the moment I've got:
But there are tons of errors with the pods. (cleaned, updated, removed lock, etc) Is there anything I'm supposed to do with these dev packages? |
Beta Was this translation helpful? Give feedback.
-
Hi @OllyDixon, |
Beta Was this translation helpful? Give feedback.
-
@darshankawar thanks for the reply; I'm using the new versions now but there's some issues with the pods adding various build phases that break our build servers. Also it seems to be incompatible with Flutter 1.20.X The switching doesn't seem to work either, probably the most important thing for us and Firebase :-) |
Beta Was this translation helpful? Give feedback.
-
After a year, the switching still doesn't work. I logged a bug ticket 21 days ago and was closed by @darshankawar who suggested to find answers here. This is frustrating, really. |
Beta Was this translation helpful? Give feedback.
-
We are now forced to use Firebase as mobile developers as Google has scrapped the nice and simple GCM for this 😢 |
Beta Was this translation helpful? Give feedback.
-
Just like the JS version it would be super handy if we could switch environments say (dev/prod) on the fly.
There is an implementation of FirebaseApp.config but it's disabled during runtime. Not sure why.
At the moment it's really difficult to determine on TestFlight/Google Play etc what is the "dev/prod" build using Flutter and building twice is annoying.
Beta Was this translation helpful? Give feedback.
All reactions