Extending Subscriptions with Adapty in React Native Expo
in progress
B
Bugra Yaktiyol
Hi everyone,
I've successfully integrated Adapty into my React Native Expo app, and everything is working fine in the Sandbox environment, including test purchases via the Paywall. However, I have a specific requirement:
My app has a subscription-based system, and in some cases, I need to manually extend a user's active subscription.
I know that both Apple and Google provide APIs for this:
Android: Defer
Apple: Extend
Before integrating Adapty, I was using these APIs to extend subscriptions when needed. However, now I’m unsure if I can handle this directly through Adapty.
My Questions:
Does Adapty provide a built-in way to extend a user's subscription without using these APIs manually?
If not, I’ll need to call these APIs myself. For Android, this requires the purchase token, but I can only get this via a webhook. Is there any way to retrieve the purchase token through Adapty (e.g., via getProfile or another method) without storing it in my own database?
Thanks in advance! Any insights would be greatly appreciated.
Adapty Support
Hey there!
Thanks for reaching out!
You can easily grant access to profiles via our Server Side API which does not depend on 'extend' or 'defer' logics. Please see the following link: https://adapty.io/docs/getting-started-with-server-side-api#case-3-grant-an-access-level
Best,
Adapty Support
in progress