Closed yairpe closed 1 month ago
Hi @yairpe. I wasn't able to reproduce the issue. I tried the 2 existing flows that FlutterFlows provides for chat and none of them is using the dash_chat package.
Could you provide me more info on where to find the chat page you're using?
I'm using the default 1-to-1 chat module of Flutterflow
Here is what FF generates in pubspec.yaml:
I don't have any chat related custom widgets
I found the problem. I've upgraded Android studio to a newer version :(
The way to fix it on my Win 11 machine was: cd C:\tools\flutter git checkout 3.19.1
Has your issue been reported?
Current Behavior
I have Flutterflow chat in my project.
After downloading the code to Android Studio I cannot compile and run.
in pubspec.yaml intl: 0.18.1
Running pub get:
Resolving dependencies... Note: intl is pinned to version 0.19.0 by flutter_localizations from the flutter SDK. See https://dart.dev/go/sdk-version-pinning for details.
Because depends on flutter_localizations from sdk which depends on intl 0.19.0, intl 0.19.0 is required.
So, because MYPROJECT depends on intl 0.18.1, version solving failed.
if I change manually in pubspec.yaml to intl: 0.19.0
I get another error:
Resolving dependencies... Because MYPROJECT depends on dash_chat from git which depends on intl ^0.18.0, intl ^0.18.0 is required. So, because MYPROJECT depends on intl 0.19.0, version solving failed.
So I see no way to bypass this dependency loop.
Expected Behavior
Flutterflow is using an old version of chat (dash_chat v1)
In the github project for flutterflow chat (https://github.com/FlutterFlow/flutterflow_dash_chat) there's a message: ⚠️ V1 is not maintained anymore, check the V2 on: https://github.com/molteo-engineering-team/Dash-Chat-2 ⚠️
So the best way IMHO will be to upgrade the chat to dash_chat_v2 The immediate fix may be to fix flutterflow chat to require intl ^0.19.0
Steps to Reproduce
Reproducible from Blank
Bug Report Code (Required)
IT4Ci/LqwIhjpbxb7aXqacFvryQsIjs/RYINiMEaRgIdJ5PMC+wIZ/f7XFRuTde0YwllPkyWo3Mxw/vemvOSUvA4YC6ufJxMzs5iSwmXfGO5WqqOC7mCSW5/DeBMf0/G0MCFhCZ5OtRiS3dm62eAAu6uQh3DNZzWDDIvAfykA5CK2SrDX1iXc2URm05KZDPz
Context
I cannot create a mobile version
Visual documentation
Additional Info
No response
Environment
General
Relative to the time the changes were made, data was lost within
When following my steps to reproduce, data loss happens