My iOS app uses two Firebase configuration files, one for development and one for production. How can I switch between the two during runtime? When I attempt the switch with [FIRApp configureWithOptions:options];
, I get the error:
Default app has already been configured.
So I have tried to clear the current config [FIRApp deleteApp]
before switching to the other config, however the deleteApp
method is a private method and is not accessible.