Andrew Cole
Feb 28, 2018 · 1 min read

Saumya,

If you go to the link, you will find a fully functional example of using InAppPurchase2 in an Ionic project.

As for the differences, I outlined them in the post as InAppPurchase uses a promise driven approach, and 2 uses an event driven approach.

Andrew Cole

Written by

Senior Engineer @Forge. Creating liquidity in the private market. Former Co-Founder of 38Plank

More From Medium

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade