I’m creating a Flutter app with subscriptions. I’m using product priceString to get formatted price of the subscription. For some reason I get two different strings when I debug on device and on simulator (“4.99 USD” and “$3.99” respectively). 4.99 is the correct price for this subscription and I want it to be displayed with dollar sign ($) Instead of “USD”. How can resolve this issue?
In app subscription. Different price and format on device and simulator
Page 1 / 1
Hi, happy to help here.
Is it possible one is pulling the price from the app store and the other is pulling from a storekit file? Or can you confirm they are both being pulled from the store?
As for the price string, we use the alphabetical code for best support across countries/currencies. But you could build a map of $: USD (for example) and other currencies, then replace that part of the string with the symbol you want.
I’m not using a storekit file. So they both should be pulled from the store.
And is the location/region the same on the device/simulator?
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.