bugfix: firebase collection name

This commit is contained in:
Stein Milder 2022-10-17 15:55:59 +02:00
parent 6e023342ae
commit c69dd6b2a4
9 changed files with 16 additions and 16 deletions

View file

@ -1 +1 @@
{"info":"This is a generated file; do not edit or check into version control.","plugins":{"ios":[{"name":"image_picker_ios","path":"/Users/steinmilder/.pub-cache/hosted/pub.dartlang.org/image_picker_ios-0.8.6+1/","native_build":true,"dependencies":[]}],"android":[{"name":"flutter_plugin_android_lifecycle","path":"/Users/steinmilder/.pub-cache/hosted/pub.dartlang.org/flutter_plugin_android_lifecycle-2.0.7/","native_build":true,"dependencies":[]},{"name":"image_picker_android","path":"/Users/steinmilder/.pub-cache/hosted/pub.dartlang.org/image_picker_android-0.8.5+3/","native_build":true,"dependencies":["flutter_plugin_android_lifecycle"]}],"macos":[],"linux":[],"windows":[],"web":[{"name":"image_picker_for_web","path":"/Users/steinmilder/.pub-cache/hosted/pub.dartlang.org/image_picker_for_web-2.1.10/","dependencies":[]}]},"dependencyGraph":[{"name":"flutter_plugin_android_lifecycle","dependencies":[]},{"name":"image_picker","dependencies":["image_picker_android","image_picker_for_web","image_picker_ios"]},{"name":"image_picker_android","dependencies":["flutter_plugin_android_lifecycle"]},{"name":"image_picker_for_web","dependencies":[]},{"name":"image_picker_ios","dependencies":[]}],"date_created":"2022-10-17 11:26:48.183720","version":"3.3.4"}
{"info":"This is a generated file; do not edit or check into version control.","plugins":{"ios":[{"name":"image_picker_ios","path":"/Users/steinmilder/.pub-cache/hosted/pub.dartlang.org/image_picker_ios-0.8.6+1/","native_build":true,"dependencies":[]}],"android":[{"name":"flutter_plugin_android_lifecycle","path":"/Users/steinmilder/.pub-cache/hosted/pub.dartlang.org/flutter_plugin_android_lifecycle-2.0.7/","native_build":true,"dependencies":[]},{"name":"image_picker_android","path":"/Users/steinmilder/.pub-cache/hosted/pub.dartlang.org/image_picker_android-0.8.5+3/","native_build":true,"dependencies":["flutter_plugin_android_lifecycle"]}],"macos":[],"linux":[],"windows":[],"web":[{"name":"image_picker_for_web","path":"/Users/steinmilder/.pub-cache/hosted/pub.dartlang.org/image_picker_for_web-2.1.10/","dependencies":[]}]},"dependencyGraph":[{"name":"flutter_plugin_android_lifecycle","dependencies":[]},{"name":"image_picker","dependencies":["image_picker_android","image_picker_for_web","image_picker_ios"]},{"name":"image_picker_android","dependencies":["flutter_plugin_android_lifecycle"]},{"name":"image_picker_for_web","dependencies":[]},{"name":"image_picker_ios","dependencies":[]}],"date_created":"2022-10-17 16:00:16.734825","version":"3.3.4"}

View file

@ -136,8 +136,8 @@ packages:
dependency: "direct main"
description:
path: "packages/flutter_community_chat_interface"
ref: "0.0.1"
resolved-ref: b775c8a7486757427203f9ae0a4fb7ecba15bb4c
ref: HEAD
resolved-ref: a11de45640cfda9aa1abe32b043d2a31901e70da
url: "https://github.com/Iconica-Development/flutter_community_chat.git"
source: git
version: "0.0.1"
@ -145,8 +145,8 @@ packages:
dependency: "direct main"
description:
path: "packages/flutter_community_chat_view"
ref: "0.0.1"
resolved-ref: b775c8a7486757427203f9ae0a4fb7ecba15bb4c
ref: HEAD
resolved-ref: a11de45640cfda9aa1abe32b043d2a31901e70da
url: "https://github.com/Iconica-Development/flutter_community_chat.git"
source: git
version: "0.0.1"

View file

@ -15,12 +15,12 @@ dependencies:
git:
url: https://github.com/Iconica-Development/flutter_community_chat.git
path: packages/flutter_community_chat_view
ref: 0.0.1
ref: 0.0.2
flutter_community_chat_interface:
git:
url: https://github.com/Iconica-Development/flutter_community_chat.git
path: packages/flutter_community_chat_interface
ref: 0.0.1
ref: 0.0.2
flutter_image_picker:
git:
url: https://github.com/Iconica-Development/flutter_image_picker

View file

@ -165,7 +165,7 @@ class FirebaseChatService {
userChatsSubscription = db
.collection(options.usersCollectionName)
.doc(currentUser?.id)
.collection(options.chatsCollectionName)
.collection('chats')
.snapshots()
.listen((snapshot) {
List<String> chatIds = [];

View file

@ -227,8 +227,8 @@ packages:
dependency: "direct main"
description:
path: "packages/flutter_community_chat_interface"
ref: "0.0.1"
resolved-ref: b775c8a7486757427203f9ae0a4fb7ecba15bb4c
ref: "0.0.2"
resolved-ref: "475d87a29623df6d9e3842c5ca407e928880ded9"
url: "https://github.com/Iconica-Development/flutter_community_chat.git"
source: git
version: "0.0.1"

View file

@ -18,7 +18,7 @@ dependencies:
git:
url: https://github.com/Iconica-Development/flutter_community_chat.git
path: packages/flutter_community_chat_interface
ref: 0.0.1
ref: 0.0.2
firebase_auth: ^3.11.2
dev_dependencies:

View file

@ -143,8 +143,8 @@ packages:
dependency: transitive
description:
path: "packages/flutter_community_chat_interface"
ref: "0.0.1"
resolved-ref: b775c8a7486757427203f9ae0a4fb7ecba15bb4c
ref: HEAD
resolved-ref: a11de45640cfda9aa1abe32b043d2a31901e70da
url: "https://github.com/Iconica-Development/flutter_community_chat.git"
source: git
version: "0.0.1"

View file

@ -136,8 +136,8 @@ packages:
dependency: "direct main"
description:
path: "packages/flutter_community_chat_interface"
ref: "0.0.1"
resolved-ref: b775c8a7486757427203f9ae0a4fb7ecba15bb4c
ref: HEAD
resolved-ref: a11de45640cfda9aa1abe32b043d2a31901e70da
url: "https://github.com/Iconica-Development/flutter_community_chat.git"
source: git
version: "0.0.1"

View file

@ -20,7 +20,7 @@ dependencies:
git:
url: https://github.com/Iconica-Development/flutter_community_chat.git
path: packages/flutter_community_chat_interface
ref: 0.0.1
ref: 0.0.2
dev_dependencies:
flutter_test: