google-pay / google-pay/flutter-plugin

The current Dart SDK version is 3.3.4.

Open
#260 5 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Dart
Stars
176
Forks
147
PR merge metrics
No merged PRs in 30d

Description

flutter pub add pay
exit code 65
Note: intl is pinned to version 0.18.1 by flutter_localizations from the flutter SDK.
See https://dart.dev/go/sdk-version-pinning for details.

The current Dart SDK version is 3.3.4.

Because pay <1.0.0 doesn't support null safety and pay >=1.0.0 depends on flutter_localizations from sdk, every version of pay requires flutter_localizations from sdk.
And because every version of flutter_localizations from sdk depends on intl 0.18.1, every version of pay requires intl 0.18.1.
So, because app depends on both intl ^0.19.0 and pay any, version solving failed.

The lower bound of "sdk: '>=2.10.0 <3.0.0'" must be 2.12.0 or higher to enable null safety.
For details, see https://dart.dev/null-safety

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the failure with flutter pub add pay using Dart SDK 3.3.4, then inspect the package's SDK and dependency constraints against flutter_localizations and intl. Done means the package can be added without the reported SDK lower-bound and intl version-solving conflicts, with the relevant compatibility checks passing.

Written by the indexing model from the issue text.

Assessment

Tech stack
dart, flutter
Domain
mobile, payments
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.