Git Product home page Git Product logo

ionic-iap2's Introduction

In App Purchase 2 Starter Kit

Starter Kit for one time purchases in your Ionic App

The cordova ecosystem for in-app purchases is confusing to wade through and difficult to implement, but don't fear, because I have you covered. In this plugin, I have implemented @ionic-native/inapppurchase2 and shown how to conifigure, track, and purchase something in app. Features include

  • Ionic 3.X Compatible
  • Apple & Google Integration Example
  • Blog Post Detailing Out The Implementation
  • Configure The IAP2 store
  • Configure Each Item
  • One Time Purchase
  • List Items For Sale
  • Purchase Items
  • Restore Purchases

To Run

  • Configure Apple / Google Store
  • Create An Example Product To Purchase
  • Clone this repo
  • Change your apple / google store id in the config.xml file
  • Add your product id to the page you want to test
  • Run your app in a simulator or real device!

Implementation Notes

This app will only work on a simulator or real device. You will also need to configure the appropriate store and products in order to test purchases.

If your interested in subscription purchases, create an issue or even submit a pull request yourself to add that functionality.

ionic-iap2's People

Contributors

captaincole avatar ewbears avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.