Skip to content
This repository was archived by the owner on Feb 22, 2023. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Updated documentation
  • Loading branch information
mvanbeusekom committed Apr 7, 2021
commit 1002bd54486431efa907dc93e3777f26913417f2
4 changes: 4 additions & 0 deletions packages/in_app_purchase/in_app_purchase/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 0.5.1+3

* Configured the iOS example App to make use of StoreKit Testing on iOS 14 and higher.

## 0.5.1+2

* Update README to provide a better instruction of the plugin.
Expand Down
14 changes: 14 additions & 0 deletions packages/in_app_purchase/in_app_purchase/example/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,20 @@ below.

### iOS

When using Xcode 12 and iOS 14 or higher you can run the example in the simulator or real device
without having to configure an App in App Store Connect. The example app is set up to use
StoreKit Testing configured in the `example/ios/Runner/Configuration.storekit` file (as documented in the
article [Setting Up StoreKit Testing in Xcode](https://developer.apple.com/documentation/xcode/setting_up_storekit_testing_in_xcode?language=objc)).
To run the application take the following steps (note that it will only work when running from Xcode):

1. Open the example app with Xcode, `File > Open File` `example/ios/Runner.xcworkspace`;

2. Select the device you want to run the example App on;

3. Run the application using `Product > Run` (or hit the run button).

When testing on pre-iOS 14 you will need to take the following steps:

1. Follow ["Workflow for configuring in-app
purchases"](https://help.apple.com/app-store-connect/#/devb57be10e7), a
detailed guide on all the steps needed to enable IAPs for an app. Complete
Expand Down
2 changes: 1 addition & 1 deletion packages/in_app_purchase/in_app_purchase/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: in_app_purchase
description: A Flutter plugin for in-app purchases. Exposes APIs for making in-app purchases through the App Store and Google Play.
homepage: https://github.com/flutter/plugins/tree/master/packages/in_app_purchase
version: 0.5.1+2
version: 0.5.1+3

dependencies:
flutter:
Expand Down