Skip to content

Commit

Permalink
Merge branch 'main' into auth-13567
Browse files Browse the repository at this point in the history
  • Loading branch information
russellwheatley authored Nov 4, 2024
2 parents 7047151 + a4be697 commit 6f46784
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -290,11 +290,11 @@ private FirebaseFirestore readFirestoreInstance(ByteBuffer buffer) {
String databaseURL = (String) readValue(buffer);
FirebaseFirestoreSettings settings = (FirebaseFirestoreSettings) readValue(buffer);
synchronized (FlutterFirebaseFirestorePlugin.firestoreInstanceCache) {
if (FlutterFirebaseFirestorePlugin.getFirestoreInstanceByNameAndDatabaseUrl(
appName, databaseURL)
!= null) {
return FlutterFirebaseFirestorePlugin.getFirestoreInstanceByNameAndDatabaseUrl(
appName, databaseURL);
FirebaseFirestore cachedFirestoreInstance =
FlutterFirebaseFirestorePlugin.getFirestoreInstanceByNameAndDatabaseUrl(
appName, databaseURL);
if (cachedFirestoreInstance != null) {
return cachedFirestoreInstance;
}

FirebaseApp app = FirebaseApp.getInstance(appName);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -309,11 +309,11 @@ static FirebaseFirestoreSettings getSettingsFromPigeon(
public static FirebaseFirestore getFirestoreFromPigeon(
GeneratedAndroidFirebaseFirestore.FirestorePigeonFirebaseApp pigeonApp) {
synchronized (FlutterFirebaseFirestorePlugin.firestoreInstanceCache) {
if (FlutterFirebaseFirestorePlugin.getFirestoreInstanceByNameAndDatabaseUrl(
pigeonApp.getAppName(), pigeonApp.getDatabaseURL())
!= null) {
return FlutterFirebaseFirestorePlugin.getFirestoreInstanceByNameAndDatabaseUrl(
pigeonApp.getAppName(), pigeonApp.getDatabaseURL());
FirebaseFirestore cachedFirestoreInstance =
FlutterFirebaseFirestorePlugin.getFirestoreInstanceByNameAndDatabaseUrl(
pigeonApp.getAppName(), pigeonApp.getDatabaseURL());
if (cachedFirestoreInstance != null) {
return cachedFirestoreInstance;
}

FirebaseApp app = FirebaseApp.getInstance(pigeonApp.getAppName());
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# https://firebase.google.com/support/release-notes/ios
def firebase_sdk_version!()
'11.2.0'
'11.4.0'
end

0 comments on commit 6f46784

Please sign in to comment.