Skip to content
This repository was archived by the owner on Feb 22, 2023. It is now read-only.

Commit 33e3df2

Browse files
committed
Updated documentation
1 parent 100ec6f commit 33e3df2

File tree

3 files changed

+19
-1
lines changed

3 files changed

+19
-1
lines changed

packages/in_app_purchase/in_app_purchase/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 0.5.1+2
2+
3+
* Configured the iOS example App to make use of StoreKit Testing on iOS 14 and higher.
4+
15
## 0.5.1+1
26

37
* Fix error message when trying to consume purchase on iOS.

packages/in_app_purchase/in_app_purchase/example/README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,20 @@ below.
6161

6262
### iOS
6363

64+
When using Xcode 12 and iOS 14 or higher you can run the example in the simulator or real device
65+
without having to configure an App in App Store Connect. The example app is set up to use
66+
StoreKit Testing configured in the `example/ios/Runner/Configuration.storekit` file (as documented in the
67+
article [Setting Up StoreKit Testing in Xcode](https://developer.apple.com/documentation/xcode/setting_up_storekit_testing_in_xcode?language=objc)).
68+
To run the application take the following steps (note that it will only work when running from Xcode):
69+
70+
1. Open the example app with Xcode, `File > Open File` `example/ios/Runner.xcworkspace`;
71+
72+
2. Select the device you want to run the example App on;
73+
74+
3. Run the application using `Product > Run` (or hit the run button).
75+
76+
When testing on pre-iOS 14 you will need to take the following steps:
77+
6478
1. Follow ["Workflow for configuring in-app
6579
purchases"](https://help.apple.com/app-store-connect/#/devb57be10e7), a
6680
detailed guide on all the steps needed to enable IAPs for an app. Complete

packages/in_app_purchase/in_app_purchase/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: in_app_purchase
22
description: A Flutter plugin for in-app purchases. Exposes APIs for making in-app purchases through the App Store and Google Play.
33
homepage: https://github.com/flutter/plugins/tree/master/packages/in_app_purchase
4-
version: 0.5.1+1
4+
version: 0.5.1+2
55

66
dependencies:
77
flutter:

0 commit comments

Comments
 (0)