HayesGordon / chatter

Demo chat application using Stream Chat Core
99 stars 84 forks source link

getting different errors from client.dart #4

Open pankaj-vaishnaw opened 2 years ago

pankaj-vaishnaw commented 2 years ago

hello i m trying to learn the same course and project and i m getting diffrent errors..@HayesGordon

Error: The getter 'accessToken' isn't defined for the class 'Future'. ../…/client/client.dart:290

: Error: The getter 'user' isn't defined for the class 'Future'. ../…/client/client.dart:292

FAILURE: Build failed with an exception.

BUILD FAILED in 1m 0s Exception: Gradle task assembleDebug failed with exit code 1

MpresaFamDeveloper commented 2 years ago

I will check out this issue i just have an issue with this project when i clone it says cant find the AndroidMai.xml file

pankaj-vaishnaw commented 2 years ago

I will check out this issue i just have an issue with this project when i clone it says cant find the AndroidMai.xml file

ya please tell me if get this this i m getting in stream chat flutter core package and all the errors from those auto generated files which is there in this package

HayesGordon commented 2 years ago

Hi @pankaj-vaishnaw this is really strange. Which branch are you trying to use?

HayesGordon commented 2 years ago

@MpresaFamDeveloper try removing the android library and running flutter create . to recreate the platform folder

HayesGordon commented 2 years ago

It may also be that you have an issue with your Firebase config. Please be sure to use the correct branch, depending on what you want to do, or which video you like to follow. Also, note that there may be breaking changes in the packages used. So be sure to use the versions that are in the relevant branches - if you want to follow it exactly

pankaj-vaishnaw commented 2 years ago

It may also be that you have an issue with your Firebase config. Please be sure to use the correct branch, depending on what you want to do, or which video you like to follow. Also, note that there may be breaking changes in the packages used. So be sure to use the versions that are in the relevant branches - if you want to follow it exactly

but sir i am still in the stream processing which is in the 2nd video . how the firebase could be a problem because I have not started the firebase connection yet please checkout the errors I have shared which are from the stream-chat-flutter-core package

pankaj-vaishnaw commented 2 years ago

Hi @pankaj-vaishnaw this is really strange. Which branch are you trying to use?

its a second video and the errors are from the package generated files @HayesGordon

MpresaFamDeveloper commented 2 years ago

Hi @pankaj-vaishnaw this is really strange. Which branch are you trying to use?

@MpresaFamDeveloper try removing the android library and running flutter create . to recreate the platform folder

I did try to run the flutter create command but the same error kept on showing