Hello,
My iOS app features a rather intricate subscription model. Users have the option to subscribe monthly or annually, with each subscription period granting them a specific number of credits (e.g., 100 credits/month or 1200 credits/year). Ideally, customers should receive these credits immediately upon their initial subscription or each time their subscription renews automatically. However, the standard subscription options don't support this functionality with simple settings, necessitating a custom solution on my part as the developer.
Firstly, I'm wondering if RevenueCat offers a straightforward solution to implement this subscription model? I've searched online resources but haven't come across any suitable solutions.
Secondly, if there isn't a simple solution available, I'd like to outline my proposed approach for addressing this issue and inquire about how I can achieve it with RevenueCat's assistance. My plan involves crediting the users' accounts each time they subscribe or renew their subscription, and then storing this information on a server such as Firebase. Identifying when a user subscribes for the first time is straightforward if it's done within the app. However, I'm uncertain about how to capture the information when a subscription renews automatically. Additionally, relying solely on app activity may not suffice, as users may not interact with the app for extended periods. To address this, I'm considering maintaining a comprehensive record of all subscription periods that the customer has paid for, possibly including unique identifiers, allowing me to credit the appropriate amount of credits once I receive notification of each subscription period. However, I haven't been able to identify a corresponding property in any of the RevenueCat classes/structs that I've found online. Could you please provide guidance on this matter?
Thank you in advance.