Skip to content
This repository has been archived by the owner on Feb 22, 2023. It is now read-only.

FirebaseAuth multi app support #781

Merged
merged 22 commits into from
Oct 22, 2018
Merged

Conversation

matthewtsmith
Copy link
Contributor

This adds support for allowing the FirebaseAuth package to connect to multiple firebase instances.

# Conflicts:
#	packages/firebase_auth/android/build.gradle
#	packages/firebase_auth/android/src/main/java/io/flutter/plugins/firebaseauth/FirebaseAuthPlugin.java
#	packages/firebase_auth/lib/firebase_auth.dart
# Conflicts:
#	packages/firebase_auth/example/lib/main.dart
#	packages/firebase_auth/lib/firebase_auth.dart
@OscarEReyes
Copy link

Hi, is this tackling the issue of FirebaseAuth not handling non-default apps?

@matthewtsmith
Copy link
Contributor Author

@OscarEReyes yes

@bparrishMines bparrishMines self-assigned this Oct 15, 2018
Matthew Smith and others added 7 commits October 16, 2018 08:02
# Conflicts:
#	packages/firebase_auth/android/src/main/java/io/flutter/plugins/firebaseauth/FirebaseAuthPlugin.java
#	packages/firebase_auth/ios/Classes/FirebaseAuthPlugin.m
#	packages/firebase_auth/lib/firebase_auth.dart
updated firebase_core dependency
@matthewtsmith
Copy link
Contributor Author

@bparrishMines I'm struggling to get the test+format to pass. It's complaining about the Objective-C formatting. I've run pub global run flutter_plugin_tools format which formats my code successfully but it is still not accepting the change. Can you provide some on what to do to fix this? https://github.com/flutter/plugins/pull/781/checks?check_run_id=24385906

@bparrishMines
Copy link
Contributor

bparrishMines commented Oct 19, 2018

Hi @matthewtsmith,

I think you may being having an issue with your version of clang-format. Our analyzer uses version 5.0. You may have to switch to that version to get the correct formatting. This link should help.

If that doesn't work, you can also click on details of the test+format test and make the formatting changes by hand. I would click on the second details link if you choose to go with this one. (It's color coded).

@matthewtsmith
Copy link
Contributor Author

@bparrishMines That looks like the problem, I was on Clang 8. Thanks for the help.

Copy link
Contributor

@bparrishMines bparrishMines left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Sorry for the delay of the review and thanks for the contribution!
I'll create and link PR that bumps version.

@bparrishMines bparrishMines merged commit 50e2ec8 into flutter:master Oct 22, 2018
andreidiaconu pushed a commit to andreidiaconu/plugins that referenced this pull request Feb 17, 2019
andreidiaconu added a commit to andreidiaconu/plugins that referenced this pull request Feb 17, 2019
julianscheel pushed a commit to jusst-engineering/plugins that referenced this pull request Mar 11, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
4 participants