Hi everybody,
I’m implementing a setup where a custom subscription offering should be shown to users when they enter a specific key (referral code).
Here’s my setup:
• The custom offering (referral_offering) includes a package with two products — one for iOS and one for Android.
• I’m using Flutter and calling Purchases.getOfferings() after setting a customer attribute (referrerCode) with Purchases.setAttributes().
• On iOS, getOfferings() works perfectly — 2 offerings are returned, and I can use the correct one from the map.
• On Android, however, getOfferings() only returns the default offering. The referral_offering never appears in the JSON response.
Things I’ve already tried:
• Verified that the Android product in the custom offering is active, imported correctly, and linked to the right entitlement.
• Confirmed that both the default and referral offerings are active and visible in the dashboard.
• Tested with clean installs, cache deletion, and different devices.
• Tried using targeting rules (with a custom attribute) to ensure the offering should be returned, but no success.
It feels like Android ignores the custom offering override or attribute condition entirely, while iOS handles it correctly.
Could you help me identify what might be causing this discrepancy between iOS and Android?
Happy to share full logs or JSON responses from both platforms if needed.
Thanks a lot for your help!
Best regards,
Andi
