title: Switching between multiple Firebase projects/environments in Flutter?
body: <p>Has anyone figure out how to switch Firebase project/environments inside the app, say you had a drop down with different dev URLs. We are not talking about different builds, that won't work for us and would require sending multiple versions to TestFlight.</p>
  <p>There's a snippet of code we found here.</p>
  <pre><code>final options = FirebaseOptions.from({});
  final firebaseApp = await FirebaseApp.configure(name: 'some_app_name', options: options);
  </code></pre>
  <p>But we can't figure out how to use it, and don't know if it works correctly.</p>
  <p><em><strong>Edit</strong></em></p>
  <p>It was not officially supported when I wrote this. It now is.</p>