Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Copy unawaited implementation into Ably Flutter to fix build failures for Flutter 2.2.3 #198

Merged
merged 1 commit into from Nov 3, 2021

Conversation

ben-xD
Copy link
Contributor

@ben-xD ben-xD commented Nov 3, 2021

A customer has asked us to add support for Flutter 2.2.3 to avoid them upgrading to Flutter 2.5 in a slack message. Unfortunately, currently, we are using unawaited introduced in Dart 2.14, which is first available in Flutter 2.5.0.

As a solution, we copied the 1 line of implementation into this SDK, and import this instead.

We are also planning to add tests using older Flutter versions in CI to avoid this problem in the future, but there are some challenges in doing so, which we will tackle in a separate (currently draft) PR: #197

Copy link
Contributor

@QuintinWillison QuintinWillison left a comment

Choose a reason for hiding this comment

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

❤️

@ben-xD ben-xD merged commit 76cf3ac into main Nov 3, 2021
@ben-xD ben-xD deleted the bug/unawaited-fix branch November 3, 2021 20:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants