I’m utilizing IAPHUB in my app to enable a payment functionality, allowing users to subscribe to a premium version. The app has two versions:
Free version: The premium account toggle for the logged-in user is set to false.
Premium version: The premium account toggle for the logged-in user is set to true.
On the loading splash screen (configured as the home screen as per IAPHUB manual), there’s the IAPHUB Start component. Unfortunately, this component fails to update the user to premium after a successful start.
I have reason to believe that the IAPHUB start component initiation is successful because another part of the logic dictates the following:
Display the continue button when IAPHUB starts successfully.
The continue button, allowing users to navigate from the splash screen into the app, does appear.
I’ve been in communication with IAPHUB for the past week, and so far, they haven’t been able to resolve the issue. I’ve also initiated a ticket with Adalo for further assistance.
Is anyone familiar with this malfunctioning of the IAPHUB start component, or can anyone provide guidance on this matter?
This is the user field configured for the IAPHUB start component to update with a toggle indicating whether the user has an active subscription. My initial paying customers’ subscriptions are not correctly set to "Has active subscription = True.
@Domba thanks for your reply. This video actually confirms that most likely the component is configured right but somehow it is not updating users with an active subscription with the right parameter.
I had an issue when I tried to tie an IAPHUB subscription to another collection (in my case it was Family, to set a premium access for all members). It didn’t work at all, and worked just fine with Users.
My biggest question is how do you test the IAPHUB? It doesn’t actually work (correct me if I am wrong) until it goes. live in the real App Store, correct? You cannot test it in testflight can you?
You can test in in Testflight when you have a native build. There is a section in the documentation dedicated to it. See here IAPHUB - Adalo Resources, section 11, subsection 3 “Configure Apple Sandbox Testing”.
My pleasure and thank you for the kind words. Of course I don’t know a lot of things about Adalo
In regards to your question, a small comment: I did test subscription successfully both on Apple and Android. They should work if you follow the instructions and don’t miss any step.