Skip to content

[in_app_purchase_android] Introduced new ReplacementMode for Android's billing client#6515

Merged
auto-submit[bot] merged 9 commits intoflutter:mainfrom
vongrad:pr/replacement-mode
May 22, 2024
Merged

[in_app_purchase_android] Introduced new ReplacementMode for Android's billing client#6515
auto-submit[bot] merged 9 commits intoflutter:mainfrom
vongrad:pr/replacement-mode

Conversation

@vongrad
Copy link
Contributor

@vongrad vongrad commented Apr 14, 2024

Introduced new ReplacementMode for Android's billing client and deprecated ProrationMode.

This PR is a follow-up on #6403, where it was decided that we should not replace the ProrationMode with ReplacementMode, but instead only deprecate ProrationMode. The reason for a new PR is also that in_app_purchase_android version 0.3.3 changed internal platform communication to Pigeon, which meant I had to make major changes to my original PR.

List which issues are fixed by this PR. You must list at least one issue.
flutter/flutter#128957

Pre-launch Checklist

  • I read the [Contributor Guide] and followed the process outlined there for submitting PRs.
  • I read the [Tree Hygiene] wiki page, which explains my responsibilities.
  • I read and followed the [relevant style guides] and ran the auto-formatter. (Unlike the flutter/flutter repo, the flutter/packages repo does use dart format.)
  • I signed the [CLA].
  • The title of the PR starts with the name of the package surrounded by square brackets, e.g. [shared_preferences]
  • I [linked to at least one issue that this PR fixes] in the description above.
  • I updated pubspec.yaml with an appropriate new version according to the [pub versioning philosophy], or this PR is [exempt from version changes].
  • I updated CHANGELOG.md to add a description of the change, [following repository CHANGELOG style].
  • I updated/added relevant documentation (doc comments with ///).
  • I added new tests to check the change I am making, or this PR is [test-exempt].
  • All existing and new tests are passing.

@vongrad
Copy link
Contributor Author

vongrad commented Apr 20, 2024

@bparrishMines I have made this PR in favor of #6403 (comment). Any chance it can be reviewed?

@yaakovschectman yaakovschectman requested a review from reidbaker May 2, 2024 18:54
@yaakovschectman yaakovschectman changed the title Introduced new ReplacementMode for Android's billing client [in_app_purchase_android] Introduced new ReplacementMode for Android's billing client May 2, 2024
Copy link
Contributor

@bparrishMines bparrishMines left a comment

Choose a reason for hiding this comment

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

LGTM

@gmackall could you give this a secondary review

Copy link
Member

@gmackall gmackall left a comment

Choose a reason for hiding this comment

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

LGTM minus the nits @bparrishMines requested

@vongrad
Copy link
Contributor Author

vongrad commented May 9, 2024

I made the requested changes. I have however made a mistake with rebasing the branch with main and pushing, hence all the new required reviewers. I rolled it back, but the extra reviewers remained on the PR, any chance that you can remove them?

@vongrad
Copy link
Contributor Author

vongrad commented May 10, 2024

Anything missing from my end?

@vongrad
Copy link
Contributor Author

vongrad commented May 13, 2024

@bparrishMines I have made the changes you requested, could you review it?

Copy link
Contributor

@bparrishMines bparrishMines left a comment

Choose a reason for hiding this comment

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

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

autosubmit Merge PR when tree becomes green via auto submit App p: in_app_purchase platform-android

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants