Skip to content

Conversation

@koke
Copy link
Member

@koke koke commented Oct 17, 2022

Closes: #7833
To be merged after #7851

Description

In #7832, we added a feature flag to enable IAP in development builds. However, we still don't have the right place to hook this up in site creation, so this adds a new entry in the Hub menu where we can add a UI to test the IAP features.

Because this is more of a developer tool than an in-progress final feature, I'm hiding this behind a beta feature so it's disabled by default.

Testing instructions

  1. Go to the hub menu, no [Debug] IAP item should appear
  2. Go to Settings > Experimental features
  3. Enable In-app purchases
  4. Go to the hub menu, a [Debug] IAP item should appear
  5. Tapping on [Debug] IAP should show a No products available message (for now).

Screenshots

Hub menu IAP Debug Experimental Features
Simulator Screen Shot - iPhone 14 Pro - 2022-10-17 at 16 23 32 Simulator Screen Shot - iPhone 14 Pro - 2022-10-17 at 16 23 34 Simulator Screen Shot - iPhone 14 Pro - 2022-10-17 at 16 23 38

  • I have considered if this change warrants user-facing release notes and have added them to RELEASE-NOTES.txt if necessary.

@koke koke added type: task An internally driven task. feature: in-app purchases Related to In-app purchases and subscriptions labels Oct 17, 2022
@koke koke added this to the 10.9 milestone Oct 17, 2022
@koke koke requested a review from toupper October 17, 2022 14:26
@wpmobilebot
Copy link
Collaborator

You can test the changes from this Pull Request by:
  • Clicking here or scanning the QR code below to access App Center
  • Then installing the build number pr7870-794b199 on your iPhone

If you need access to App Center, please ask a maintainer to add you.

@toupper
Copy link
Contributor

toupper commented Oct 18, 2022

It tests well and the code looks good! 🎉 :shipit:

@koke koke force-pushed the issue/7850-ios-15 branch from 9953b7f to 9b4387f Compare October 19, 2022 09:34
Base automatically changed from issue/7850-ios-15 to trunk October 19, 2022 10:34
@koke koke merged commit b5f8ace into trunk Oct 19, 2022
@koke koke deleted the issue/7833-iap-debug branch October 19, 2022 10:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature: in-app purchases Related to In-app purchases and subscriptions type: task An internally driven task.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[IAP] Expose developer UI to try IAP before site creation is ready

4 participants