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

Intl 0.19 required by latest Flutter version. #65

Closed
cekrozl1 opened this issue Jun 9, 2024 · 5 comments
Closed

Intl 0.19 required by latest Flutter version. #65

cekrozl1 opened this issue Jun 9, 2024 · 5 comments
Assignees

Comments

@cekrozl1
Copy link

cekrozl1 commented Jun 9, 2024

Hello Corbado team,

When adding the passkeys 2.0.8 in pubspec.yaml, I see this error :

Because passkeys >=1.2.0 depends on corbado_frontend_api_client ^1.1.0 which depends on intl ^0.18.0, passkeys >=1.2.0 requires intl ^0.18.0.
And because every version of flutter_localizations from sdk depends on intl 0.19.0, passkeys >=1.2.0 is incompatible with flutter_localizations from sdk.
So, because third_generation depends on both flutter_localizations from sdk and passkeys ^2.0.8, version solving failed.

My flutter doctor looks like this:

❯ flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.22.1, on macOS 14.5 23F79 darwin-arm64, locale en-BE)
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 15.4)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2023.3)
[✓] VS Code (version 1.90.0)
[✓] Connected device (5 available)
[✓] Network resources

Would it be possible to update intl in corbado_frontent_api_client ?

Thank you !

@incorbador incorbador self-assigned this Jun 18, 2024
@incorbador
Copy link
Contributor

Hey @cekrozl1, we published a new version for corbado_api_client (1.1.1). The issue should now be fixed (you just need to run flutter pub get again).

@ice-orion
Copy link

@incorbador thanks for the fix, are u planning to publish those changes to pub? As far as i understand currently the only way to grab the fix is to take the lib directly from the master?

@incorbador
Copy link
Contributor

@ice-orion yes, we just published a new version of the passkeys package (v2.0.9) that includes this change. Sorry for the delay.

Would be great if you can confirm that this fixes the issue for you :)

@PeterStaev
Copy link

v2.0.9 fixed the intl issue for me!

@incorbador
Copy link
Contributor

Cool, thanks for reporting this and for helping us to test the fix 👍
Will close the ticket for now :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants