Skip to content

Turkish currency appears wrong when {{ product.currency_symbol }} is used in Paywall v2 #4812

@rocxteady

Description

@rocxteady

Describe the bug
Turkish currency appears wrong when {{ product.currency_symbol }} is used in Paywall v2. It does not seem as "₺". It appears as some weird icon. It might be an encoding issue. See the attachment.

  1. Environment
    1. Platform: iOS
    2. SDK version: 5.17.0
    3. StoreKit version:
      • StoreKit 1 (default on versions <5.0.0. Can be enabled in versions >=5.0.0 with .with(storeKitVersion: .storeKit1))
      • StoreKit 2 (default on versions >=5.0.0)
    4. OS version: 18.3.1
    5. Xcode version: 16.2
    6. Device and/or simulator:
      • Device
      • Simulator
    7. Environment:
      • Sandbox
      • TestFlight
      • Production
    8. How widespread is the issue. Percentage of devices affected.
      • 100%
  2. Debug logs that reproduce the issue. Complete logs with Purchases.logLevel = .verbose will help us debug this issue.
DEBUG: ℹ️ Configuring SDK using RevenueCat's UserDefaults suite.
DEBUG: 👤 Identifying App User ID
DEBUG: ℹ️ Debug logging enabled
DEBUG: ℹ️ SDK Version - 5.17.0
DEBUG: ℹ️ Bundle ID - com.ulassancak.lenora.apple.preview
DEBUG: ℹ️ System Version - Version 18.2 (Build 22C150)
DEBUG: ℹ️ Using a simulator. Ensure you have a StoreKit Config file set up before trying to fetch products or make purchases.
See https://errors.rev.cat/testing-in-simulator for more details.
DEBUG: 👤 No initial App User ID
DEBUG: ℹ️ Purchases is configured with informational response verification
DEBUG: ℹ️ Observing StoreKit.Transaction.updates
DEBUG: ℹ️ Purchases is configured with StoreKit version 2
DEBUG: ℹ️ Observing StoreKit.PurchaseIntent.intents
DEBUG: ℹ️ applicationWillEnterForeground
DEBUG: ℹ️ CustomerInfo cache is stale, updating from network in foreground.
DEBUG: ℹ️ Offerings cache is stale, updating from network in foreground
DEBUG: ℹ️ GetOfferingsOperation: Started
DEBUG: ℹ️ There are no requests currently running, starting request GET /v1/subscribers/$RCAnonymousID%3A7ab0391cf5e044c9952e321e34413b39/offerings
DEBUG: ℹ️ API request started: GET '/v1/subscribers/$RCAnonymousID%3A7ab0391cf5e044c9952e321e34413b39/offerings'
DEBUG: ℹ️ Network operation 'GetOfferingsOperation' found with the same cache key 'GetOfferingsOpe…'. Skipping request.
DEBUG: ℹ️ Network operation 'GetCustomerInfoOperation' found with the same cache key 'GetCustomerInfo…'. Skipping request.
DEBUG: ℹ️ API request completed: GET '/v1/subscribers/$RCAnonymousID%3A7ab0391cf5e044c9952e321e34413b39/offerings' (200)
DEBUG: ℹ️ No existing products cached, starting store products request for: ["credits_50", "credits_15", "base_premium_monthly", "credits_100"]
DEBUG: ℹ️ Found an existing request for products: ["credits_100", "credits_50", "base_premium_monthly", "credits_15"], appending to completion
DEBUG: ℹ️ GetOfferingsOperation: Finished
DEBUG: ℹ️ Serial request done: GET /v1/subscribers/$RCAnonymousID%3A7ab0391cf5e044c9952e321e34413b39/offerings, 0 requests left in the queue
DEBUG: ℹ️ GetCustomerInfoOperation: Started
DEBUG: ℹ️ There are no requests currently running, starting request GET /v1/subscribers/$RCAnonymousID%3A7ab0391cf5e044c9952e321e34413b39
DEBUG: ℹ️ API request started: GET '/v1/subscribers/$RCAnonymousID%3A7ab0391cf5e044c9952e321e34413b39'
DEBUG: 😻 Store products request received response
DEBUG: ℹ️ Store products request finished
DEBUG: 😻 Offerings updated from network.
DEBUG: ℹ️ API request completed: GET '/v1/subscribers/$RCAnonymousID%3A7ab0391cf5e044c9952e321e34413b39' (304)
DEBUG: ℹ️ Sending latest CustomerInfo to delegate.
DEBUG: 😻 CustomerInfo updated from network.
DEBUG: 😻 Offerings updated from network.
DEBUG: 😻 CustomerInfo updated from network.
DEBUG: ℹ️ GetCustomerInfoOperation: Finished
DEBUG: ℹ️ Serial request done: GET /v1/subscribers/$RCAnonymousID%3A7ab0391cf5e044c9952e321e34413b39, 0 requests left in the queue
DEBUG: ℹ️ PostPaywallEventsOperation: Started
DEBUG: ℹ️ There are no requests currently running, starting request POST /v1/events
DEBUG: ℹ️ API request started: POST '/v1/events'
DEBUG: ℹ️ API request completed: POST '/v1/events' (200)
DEBUG: ℹ️ PostPaywallEventsOperation: Finished
DEBUG: ℹ️ Serial request done: POST /v1/events, 0 requests left in the queue
  1. Steps to reproduce, with a description of expected vs. actual behavior

Make a localization with Turkish language using {{ product.currency_symbol }} variable somewhere in the paywall using v2.

  1. Other information (e.g. stacktraces, related issues, suggestions how to fix, links for us to have context, eg. stackoverflow, etc.)

  2. Additional context
    Add any other context about the problem here.

Image

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions