Skip to main content
Answer

Why is packageLocalizedPriceString returning "4.99 $" instead of "$4.99" all of a sudden?

  • August 15, 2023
  • 2 replies
  • 184 views

Forum|alt.badge.img+7

I’m using the iOS SDK 4.25.2, for some reason when I ran the code today the localizedPriceString returned from the package object has the dollar currency symbol after the price instead of before like it has always been, so my UI is showing “4.99 $” instead of “$4.99”

 

Anybody else having this issue or know what might be causing it, maybe a phone setting?

 

Thanks

Mark.

Best answer by mrd

Ignore, logging out the sandbox App Store user and logging back in again seemed to fix it :/

This post has been closed for comments

2 replies

Forum|alt.badge.img+7
  • Author
  • Helper
  • Answer
  • August 15, 2023

Ignore, logging out the sandbox App Store user and logging back in again seemed to fix it :/


sharif
RevenueCat Staff
Forum|alt.badge.img+9
  • RevenueCat Staff
  • August 17, 2023

Hey Mark,

Sorry to hear about that annoying issue but glad you got it fixed. Apple’s sandbox environment does have various quirks so troubleshooting steps like restarting the device, logging out/in, deleting/reinstalling the app, etc. can help to fix those random issues.