-
Notifications
You must be signed in to change notification settings - Fork 9.8k
[in_app_purchase] Add support for macOS #6519
Conversation
d9f537b
to
bfdb845
Compare
021e749
to
7b7caec
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks like the example app needs some updates to build correctly; it's failing in CI. E.g.:
compiling for macOS 10.14, but module 'shared_preferences_macos' has a minimum deployment target of macOS 10.15
Also, could you merge in the latest main
? That should avoid having tests for other packages run, cutting down on issues from integration test flake.
737670e
to
7107c17
Compare
I have no idea, why tests are even run in
|
Sorry, I thought that running everything was the result of a too-old branch point, but it's actually a bug in the new macOS Intel CI that we hadn't noticed yet since it's a very recent change. I'm re-running the unrelated failed test to see if it's just flake. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM with one version nit.
I'm not sure why that unrelated test is failing but I'm re-running it again, and I'll hopefully have time to investigate the underlying CI regression that is causing it to run in the first place. It doesn't need to hold up approving this, certainly!
@a-wallen for secondary review.
This should be fixed if you merge in |
Was previously only a patch.
Hi, I'd like to follow-up on this PR, as only the secondary sign-off is missing and it has been two weeks now since the last activity. Although I would be extremely happy to finally cross this item off my list. Thanks for all the knowledge transfer during this process of in the end 4 PRs (my first contribution). I have learned a lot. |
Thanks for the follow-up and the contribution @IVLIVS-III 🎉 |
* 697c8b3ee [image_picker_ios] Pass through error message from image saving (flutter/plugins#6858) * 72f810851 [local_auth] Bump `intl` from ^0.17.0 to ">=0.17.0 <0.19.0" (flutter/plugins#6848) * acbe9b452 [gh_actions]: Bump github/codeql-action from 2.1.35 to 2.1.37 (flutter/plugins#6860) * 3d8b73bf0 [camera] Remove deprecated Optional type (flutter/plugins#6870) * c5220efae [in_app_purchase] Add support for macOS (flutter/plugins#6519) * 54fc2066d Roll Flutter from 028c6e2 to dbc9306 (11 revisions) (flutter/plugins#6849)
…#117456) * 697c8b3ee [image_picker_ios] Pass through error message from image saving (flutter/plugins#6858) * 72f810851 [local_auth] Bump `intl` from ^0.17.0 to ">=0.17.0 <0.19.0" (flutter/plugins#6848) * acbe9b452 [gh_actions]: Bump github/codeql-action from 2.1.35 to 2.1.37 (flutter/plugins#6860) * 3d8b73bf0 [camera] Remove deprecated Optional type (flutter/plugins#6870) * c5220efae [in_app_purchase] Add support for macOS (flutter/plugins#6519) * 54fc2066d Roll Flutter from 028c6e2 to dbc9306 (11 revisions) (flutter/plugins#6849)
* Updated version and changelog. * Updated readme to mention MacOS as a supported platform. * Minor fixup. * Fixed capitalization in readme. * Added macos to example. * Updated MacOS example. * Unified macOS capitalization. * Removed generated app icons. * Updated version and deployment target. * Updated version to a minor version change. Was previously only a patch.
This PR adds MacOS as a supported platform to
in_app_purchase
.It is a companion PR to the PR for implementation in
in_app_purchase_storekit
(#6517).For now I have kept it as draft until #6517 has landed.
This PR closes flutter/flutter#84391.
As far as I can tell, all existing tests can be re-used to test the MacOS implementation as well.
In case additional tests are needed, please guide me on what those additional tests should cover and where to add them.
I tried my best to follow the steps outlined in this comment on the original issue.
If there is anything missing, I'm happy to update the PR.
Note: I am aware of two previous PRs (#2708 and #5854). But those are either closed or still in draft and have not had any recent activity.
Pre-launch Checklist
dart format
.)[shared_preferences]
pubspec.yaml
with an appropriate new version according to the pub versioning philosophy, or this PR is exempt from version changes.CHANGELOG.md
to add a description of the change, following repository CHANGELOG style.///
).If you need help, consider asking for advice on the #hackers-new channel on Discord.