purchases-android icon indicating copy to clipboard operation
purchases-android copied to clipboard

formatted price is not expected format

Open fan123199 opened this issue 1 year ago • 4 comments

Describe the bug

When I updated to 6.1.1 version. I use the com.revenuecat.purchases.models.Price to get the formatted price, what I excepted output is like the doc "$3.00", but now I get "US$3.00". It is different vs 5.x.x. It this a bug or I have another way to get "$3.00"

    /**
     * Formatted price of the item, including its currency sign. For example $3.00.
     */
    val formatted: String,
    ...
  1. Environment
    1. Platform: Android
    2. SDK version: 6.1.1
    3. OS version: Android 14 beta
    4. Android Studio version: Android Studio F
    5. How widespread is the issue. Percentage of devices affected.
  2. Debug logs that reproduce the issue
  3. Steps to reproduce, with a description of expected vs. actual behavior
  4. Other information (e.g. stacktraces, related issues, suggestions how to fix, links for us to have context, eg. stackoverflow, etc.)

Additional context Add any other context about the problem here.

fan123199 avatar Apr 16 '23 04:04 fan123199