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

[in_app_purchase_storekit] Add Swift Package Manager compatibility #8469

Conversation

alejandro-all-win-software
Copy link
Contributor

@alejandro-all-win-software alejandro-all-win-software commented Jan 21, 2025

Makes in_app_purchase_storekit available as a Swift Package to Flutter

Closes #146905

Pre-launch Checklist

If you need help, consider asking for advice on the #hackers-new channel on Discord.

@LouiseHsu LouiseHsu requested a review from loic-sharma January 21, 2025 18:22
@stuartmorgan
Copy link
Contributor

  • All existing and new tests are passing.

A number of the automated tests are not buildable in this PR. If you click into the failing CI tasks, click View more details on flutter-dashboard, and the go into the stdout for failing steps you can see the errors.

@alejandro-all-win-software alejandro-all-win-software marked this pull request as draft January 21, 2025 21:55
@alejandro-all-win-software
Copy link
Contributor Author

I will fix tree issue tmr

@alejandro-all-win-software alejandro-all-win-software force-pushed the feat/in-app-purchase-add-swift-package-manager-support branch from b71a757 to 99a1132 Compare January 22, 2025 13:56
@alejandro-all-win-software
Copy link
Contributor Author

alejandro-all-win-software commented Jan 22, 2025

Hmm, I am not sure why the tree status is failing. I though it was because of the main merge in my branch.

@stuartmorgan
Copy link
Contributor

Hmm, I am not sure why the tree status is failing.

tree-status is a live-updating check reflecting the current post-submit state of the tree, in order to block all PRs from landing while the tree is broken. It is not related to the individual PR.

@alejandro-all-win-software
Copy link
Contributor Author

I see, thank you.

…packages into feat/in-app-purchase-add-swift-package-manager-support
@alejandro-all-win-software alejandro-all-win-software force-pushed the feat/in-app-purchase-add-swift-package-manager-support branch from 99a1132 to f415bf0 Compare January 22, 2025 15:20
@alejandro-all-win-software alejandro-all-win-software marked this pull request as ready for review January 22, 2025 15:21
Comment on lines 14 to 18
#if __has_include(<in_app_purchase_storekit/in_app_purchase_storekit.h>)
@import in_app_purchase_storekit;
#else
@import storekit_objc;
#endif
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I tried to avoid changing this file but I couldn't find a way.

@alejandro-all-win-software
Copy link
Contributor Author

Hey @loic-sharma, whenever you have a chance, could you review these changes, please? Thanks!

@stuartmorgan stuartmorgan added the triage-ios Should be looked at in iOS triage label Jan 23, 2025
@stuartmorgan
Copy link
Contributor

@alejandro-all-win-software Per our contributor docs, you should expect a review within two weeks, not 24 hours; please don't ping people just because they haven't immediately reviewed a PR.

@loic-sharma loic-sharma requested a review from vashworth January 27, 2025 18:42
Copy link
Member

@loic-sharma loic-sharma left a comment

Choose a reason for hiding this comment

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

Swift Package Manager changes look good to me! Thank you for all the hard work, this is an excellent contribution 🥳

Copy link
Contributor

@LouiseHsu LouiseHsu left a comment

Choose a reason for hiding this comment

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

Looks good to me too! I checked out your branch and everything functions correctly, thank you so much for doing this!

@loic-sharma loic-sharma added the autosubmit Merge PR when tree becomes green via auto submit App label Jan 29, 2025
@auto-submit auto-submit bot merged commit 91da100 into flutter:main Jan 29, 2025
78 checks passed
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-ios platform-macos triage-ios Should be looked at in iOS triage
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[in_app_purchase_storekit] Add Swift Package Manager compatibility to in_app_purchase_storekit
5 participants