How to present different paywalls depending on free trial status (iOS)
I am facing the following challenge: My app has a hard paywall, which means at the end of onboarding, users start a subscription with a 7-day free trial before. Everythink works perfectly well with the RC paywall:
I just realized that I need to display a different paywall if the user has already used their single free trial. I stumbled upon the checkTrialOrIntroDiscountEligibility method, and have already created a second offering without the trial period configured. However I am lost how I can now call two different paywalls depending on the result of the method. Is it even possible to add a second View modifier (.presentPaywallIfNeeded) with the “no trial” entitlement in combination with checkTrialOrIntroDiscountEligibility?
Just for my understanding: RC would automatically handle this case if I had not configured a components-based paywall, am I correct?
Thank you in advance*
Page 1 / 1
Hi @daniel-242e66,
When you mean using different paywalls, do you mean changing the design and offerings or just the texts? If you are using our paywalls, we have the option to put a text for when there’s an available introductory offer or when there’s non. You can then have different strings depending if the user is entitled to the trial or not.
If not, you can use targeting. When you get the offerings, you can specify a placement and you’ll get a different offering that will overwrite the default one. You can design and attach a different paywall for that specific offering and show it when `checkTrialOrIntroDiscountEligibility` is false.
Let me know if this helps!
Hey Joan,
thanks for the helpful answer! In fact, I eventually found the option to switch to the Introductory Offer Content in the preview settings; maybe this could be better explained in the docs? Anyway, really nice feature! It would just be nice to display different elements on the “default” paywall and the introductory offer version; right now, for example, I cannot add a timeline to the introductory one and a feature list to the other (or do not know how to do that ).
Using the code above, I am now stuck in App Review, but I am not sure what the reviewers complain about. Apparently, in the sandbox environment, sometimes the paywall is shown although I have already started a test subscription. In that case, after pressing the subscribe button, the following dialogue appears:
I can just click “OK” and get access to the app (as intended). App review sent me a screenshot of this dialogue with the following issue:
We still found that your in-app purchase products exhibited one or more bugs which create a poor user experience. Specifically, we were unable to access the app even though we have purchased the subscription successfully.
Do you think app review complaints due to this dialogue? If yes, is there a way to omit it? If no, what else could be wrong?