capacitor-firebase icon indicating copy to clipboard operation
capacitor-firebase copied to clipboard

Add support for multiple Firebase projects, and switching between apps for Firebase Authentication

Open emmernme opened this issue 5 months ago • 3 comments

This PR implements support for initializing multiple Firebase Apps with custom configurations. This can be used by individual plugins by overriding the currently used app. For now, this is only implemented and tested for Firebase Authentication, as this was the use case I personally needed, but it should be simple enough to implement for other plugins as well.

I have not had the change to thoroughly test the web implementation of this, so that may need some more work.

Re. issue #653.

Pull request checklist

  • [On iOS and Android] The changes have been tested successfully.
  • [Y] A changeset has been created (npm run changeset).
  • [Y] I have read and followed the pull request guidelines.

emmernme avatar Aug 30 '24 14:08 emmernme