So I’m getting ready to launch our company app that features a paid subscription model. The app is built in Unity and we’ve been testing the features through testflight for the last few months now. A few weeks ago I looked into the advantages of using RevenueCat to manage the subscription side of the app. Below are a few questions and issues I’m having and wondering if anyone can help me.
I’ve gone through the step-by-step guide on how to implement RevenueCat into my Unity project. At the moment I’m just trying to get the basics working. As a start all I’m looking to do is pull in the different products from our App on RevenueCat and display them on screen.
- I’m wondering if it’s possible to test this in the Unity Editor. Am I able to pull in the subscription products from RevenueCat when running from the unity editor? Or is it exclusive to running the built app on a phone. ( Currently when i run in the editor with the existing code i’m getting a null reference error on “_wrapper” in the purchases class whenever I try to use this object: var purchases = GetComponent<Purchases>(); , and yes the purchases listener script does have a purchases script attached and referenced.
- Now when building the app in xcode i’m getting an error which I wasn’t before:
Any help would be appreciated!