tree: cc49f98c5ea5e1ede49d385bc5fcc75daed887b3 [path history] [tgz]
  1. example/
  2. ios/
  3. lib/
  4. test/
  5. analysis_options.yaml
  6. build.yaml
  7. CHANGELOG.md
  8. LICENSE
  9. pubspec.yaml
  10. README.md
packages/in_app_purchase/in_app_purchase_ios/README.md

in_app_purchase_ios

The iOS implementation of in_app_purchase.

Usage

Import the package

This package has been endorsed, meaning that you only need to add in_app_purchase as a dependency in your pubspec.yaml. It will be automatically included in your app when you depend on package:in_app_purchase.

This is what the above means to your pubspec.yaml:

...
dependencies:
  ...
  in_app_purchase: ^0.6.0
  ...

If you wish to use the iOS package only, you can add in_app_purchase_ios as a dependency:

...
dependencies:
  ...
  in_app_purchase_ios: ^1.0.0
  ...

Contributing

This plugin uses json_serializable for the many data structs passed between the underlying platform layers and Dart. After editing any of the serialized data structs, rebuild the serializers by running flutter packages pub run build_runner build --delete-conflicting-outputs. flutter packages pub run build_runner watch --delete-conflicting-outputs will watch the filesystem for changes.

If you would like to contribute to the plugin, check out our contribution guide.