We've noticed that when a user subscribes with a free trial and cancels it (after the trial period), then subscribes again, our code doesn't log the successful purchase, even though RevenueCat does. This seems to only occur for subscriptions without a trial period, as our code only looks for an entitlement set up as a subscription with a trial period.
We believe the issue lies with our code not accounting for subscriptions without a trial period:
const purchaseMade = await Purchases.purchasePackage(the_package);
if (typeof purchaseMade.productIdentifier !== "undefined") ...
For some reason, this returns true when they subscribe with the free trial and false when they subscribe without it.
Additionally, we're facing another issue with testing subscriptions after a trial ends effectively. We don't know how to do this without waiting for 3 days(introduction trial period). Do you know of a quicker way to test this?