Open cervebar opened 1 year ago
As far as I can say it will take languages which are set to user AppStore/PlayStore
Based on docs Product contains
title => Returns the title Android and localizedTitle on iOS. description => Returns the localized description on Android and iOS.
If you wanna show based on user settings localization, then you should handle it on your end
Yes, it returns the localized price for iOS and Android, but the key that produces the localized price differs. for iOS --> sub.localizedPrice will give the localized price, for Android --> sub.subscriptionOfferDetails[0].pricingPhases.pricingPhaseList[0].formattedPrice
here "sub" stores the data returned by IAP.getSubscriptions
Description
We have localized iap products (very likely) correctly defined in Google Play and in App Store. In code we are using change language feature (via
i18n
) is there anyhow possible to retrieve localised title/name of products?Expected someting like:
Environment:
0.68
To Reproduce