Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
9 of 12 tasks
rocxteady opened this issue Feb 21, 2025 · 1 comment
Open
9 of 12 tasks
Labels

Comments

@rocxteady
Copy link

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

@rocxteady rocxteady added the bug label Feb 21, 2025
@RCGitBot
Copy link
Contributor

👀 We've just linked this issue to our internal tracker and notified the team. Thank you for reporting, we're checking this out!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants