You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have been checking and is possible to bypass for collaborators the absence of GoogleService-Info.plist without having to delete it manually every time we work in the project, it is annoying.
The solution is to remove the GoogleService-Info.plist from the CosmostationDev target and conditionally start firebase ONLY if the target is production. I don't think is the best way to fix it but at least is one way.
Another cleaner solution is to create separate files to deal with that so is not possible to make an error, ie:
Cosmostation target will have a file where we will do FirebaseApp.configure()
CosmostationDev target will have a file where we won't start firebase
No logic solution, safer and cleaner but a bit more complex. Not really complex, only more code
what do you think?
I would go with second one, but I am open :)
I have checked CosmostationDev target and it compiles OK
I have checked Cosmostation target but it doesn't compile for me(expected as GoogleService-Info.plist is missing on my side) please try to compile it to check that doesn't exist any issue
Hi!
I have been checking and is possible to bypass for collaborators the absence of GoogleService-Info.plist without having to delete it manually every time we work in the project, it is annoying.
The solution is to remove the GoogleService-Info.plist from the CosmostationDev target and conditionally start firebase ONLY if the target is production. I don't think is the best way to fix it but at least is one way.
Another cleaner solution is to create separate files to deal with that so is not possible to make an error, ie:
Cosmostation target will have a file where we will do
FirebaseApp.configure()
CosmostationDev target will have a file where we won't start firebase
No logic solution, safer and cleaner but a bit more complex. Not really complex, only more code
what do you think?
I would go with second one, but I am open :)
@soaryong-c
@wannabit-yongjoo
The text was updated successfully, but these errors were encountered: