Skip to main content
Solved

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

  • Aug 15, 2023 8:54 PM UTC
  • 2 replies
  • 536 views

Forum|alt.badge.img+8

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 :/

View original
This post has been closed for comments

2 replies

Forum|alt.badge.img+8
  • Author
  • Helper
  • Answer
  • Aug 15, 2023 9:13 PM UTC

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
  • Aug 17, 2023 4:49 AM UTC

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.