In App Purchases and Subscriptions in React Native: 2021 Walkthrough

How to implement Expo In App Purchases and Subscriptions for iOS and Android

Ross Bulat
15 min readJun 14, 2021

In-app purchases and subscriptions in 2021: Time for a change?

After more than a year of using react-native-iap as my React Nativ e in-app purchase solution, I recently decided to migrate to expo-in-app-purchases to resolve a number of issues I was facing with the former package.

It is evident from my development journey that expo-in-app-purchases is the better package to adopt now in 2021. I will document the reasons why in this piece, along with a complete implementation walkthrough of expo-in-app-purchases. What will be covered:

  • Benefits of expo-in-app-purchases and numerous issues I was facing with react-native-iap will firstly be explained.
  • Installation of expo-in-app-purchases will be covered before delving into integrating the package in React Native projects.
  • Best practices for testing in-app purchases and subscriptions will be covered, as well as common issues that you may stumble upon as you are implementing in-app purchasing for your apps. These issues are based on my own experiences working with the packages for both Android…

--

--

Ross Bulat

Programmer and Author. @ Parity Technologies, JKRB Investments