Skip to content

[in_app_purchase_storekit] Add Swift Package Manager compatibility #8469

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

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-g
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-g
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.

@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-g stuartmorgan-g added the triage-ios Should be looked at in iOS triage label Jan 23, 2025
@stuartmorgan-g
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
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Feb 5, 2025
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Feb 5, 2025
github-merge-queue bot pushed a commit to flutter/flutter that referenced this pull request Feb 5, 2025
flutter/packages@02c6fef...e6ce02c

2025-02-05 [email protected] [vector_graphics]
Allow transition between placeholder and loaded image to have an
animation (flutter/packages#8195)
2025-02-04 [email protected] [flutter_markdown] Make custom table
column alignments work when text wraps (flutter/packages#8340)
2025-02-04 [email protected]
[interactive_media_ads] Adds internal wrapper for iOS native
`IMAAdPodInfo` (flutter/packages#8429)
2025-02-03 [email protected] [pigeon] reorg generator files
(flutter/packages#8532)
2025-02-03 [email protected] [pigeon] [swift] Fix `PigeonError`
sendability conformance in Swift 6 (flutter/packages#8302)
2025-02-03 [email protected] Roll Flutter from
b007899 to 8e2a6fc (61 revisions) (flutter/packages#8556)
2025-02-03 [email protected]
[google_maps_flutter] Support for Ground Overlay - platform interface
(flutter/packages#8518)
2025-01-31 [email protected] [tool] Add
--xcode-warnings-exceptions flag (flutter/packages#8524)
2025-01-31 [email protected] [tool] Ensure that injected
dependency overrides are sorted (flutter/packages#8542)
2025-01-31 [email protected] [vector_graphics] Revert leak
tracker change (flutter/packages#8544)
2025-01-31 [email protected] [shared_preferences_tool] Loosen
vm_service constraint to allow for 15 (flutter/packages#8539)
2025-01-31 [email protected]
[in_app_purchase] Activate leak testing for android
(flutter/packages#8369)
2025-01-31 [email protected] [flutter_markdown] Allow tables to be
scrollable with IntrinsicColumnWidth (flutter/packages#8526)
2025-01-30 [email protected] Update CODEOWNERS for pkg:animations
(flutter/packages#8534)
2025-01-30 [email protected] Roll Flutter from
c1ffaa9 to b007899 (43 revisions) (flutter/packages#8527)
2025-01-30 [email protected] [video_player_web] Adjust Web
implementation to the new platform interface (flutter/packages#8528)
2025-01-30 [email protected] [shared_preferences] Exposed
SharedPreferencesOptions. (flutter/packages#8530)
2025-01-29 [email protected] Re-land [shared_preferences] Add
shared preferences devtool (flutter/packages#8531)
2025-01-29 [email protected]
[in_app_purchase_storekit] Add Swift Package Manager compatibility
(flutter/packages#8469)
2025-01-29 [email protected] Revert "Re-land [shared_preferences]
Add shared preferences devtool" (flutter/packages#8529)
2025-01-29 [email protected]
[go_router_builder] Fixes trailing `?` by comparing iterables
(flutter/packages#8521)
2025-01-29 [email protected] [tool] Refactor
args of strings or YAML file lists (flutter/packages#8513)
2025-01-28 [email protected] [go_router]
Add missing await keyword to onTap callback in the code example in
`navigation.md` (flutter/packages#8343)
2025-01-28 [email protected] Re-land [shared_preferences] Add
shared preferences devtool (flutter/packages#8519)
2025-01-28 [email protected]
[vector_graphics] Fix memory leaks and activate leak testing
[prod-leak-fix] (flutter/packages#8373)

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-packages-flutter-autoroll
Please CC [email protected] on the revert to ensure that a
human
is aware of the problem.

To file a bug in Flutter:
https://github.com/flutter/flutter/issues/new/choose

To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
androidseb pushed a commit to androidseb/packages that referenced this pull request Jun 8, 2025
…lutter#8469)

Makes `in_app_purchase_storekit` available as a Swift Package to Flutter

Closes [#146905](flutter/flutter#146905)
FMorschel pushed a commit to FMorschel/packages that referenced this pull request Jun 9, 2025
…lutter#8469)

Makes `in_app_purchase_storekit` available as a Swift Package to Flutter

Closes [#146905](flutter/flutter#146905)
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