I have resolved this issue :
Configuration Issue: We had incorrectly set up our free trial as a Promotional Offer (AdhocOffer with ID "3jours") rather than as an Introductory Offer. We have now reconfigured this in App Store Connect as a proper Introductory Offer with the "FreeTrial" payment mode for 3 days.
Implementation Flow Issue: Our app's onboarding completion was improperly delayed until after social authentication, which interfered with the immediate activation of the free trial. We've adjusted our code to properly finalize the onboarding process immediately after a successful subscription purchase.
The code now correctly detects the introductory offer using:
product.subscription?.introductoryOffer?.paymentMode == .freeTrial
And we ensure the subscription is activated immediately with:
func completeOnboardingAfterSubscription() {
// Properly finalize onboarding with the user profile
appState.completeOnboarding(with: profile)
}
These changes have restored the intended functionality, allowing new users to immediately access our app with the 3-day free trial before being charged for the yearly subscription.
Topic:
App Store Distribution & Marketing
SubTopic:
General