Skip to main content
Question

React Native Paywall v2 not Displaying Properly on Android

  • March 14, 2025
  • 1 reply
  • 15 views

Forum|alt.badge.img

My paywall is displaying the default formatting for the android paywall, rather than my custom UI. IOS displays perfectly but I understand it is less opinionated in terms of config.

I have put in DEBUG logs but the android one doesn’t appear to get any warnings - maybe failing before it gets to show any warnings. the IOS one gets the following warnings, which may be helpful?

LOG  [RevenueCat VERBOSE] Looking up localized configuration for ["en-GB", "it-GB"], searching for ["en-GB", "en", "it-GB", "it"]
 LOG  [RevenueCat VERBOSE] Found localized configuration for 'en-GB'
 LOG  [RevenueCat DEBUG] ℹ️ Looking up localization but found no strings
 LOG  [RevenueCat WARN] Could not determine price format because price string is incompatible.
 LOG  [RevenueCat WARN] Could not determine price format because price string is incompatible.
 LOG  [RevenueCat WARN] Could not determine price format because price string is incompatible.
 LOG  [RevenueCat WARN] Could not determine price format because price string is incompatible.
 LOG  [RevenueCat WARN] Could not determine price format because price string is incompatible.
 LOG  [RevenueCat WARN] Could not determine price format because price string is incompatible.

... cut out some standard logs about images loading (all fine) ...

 LOG  [RevenueCat DEBUG] 😻 Store products request received response
 LOG  [RevenueCat DEBUG] ℹ️ Store products request finished
 LOG  [RevenueCat DEBUG] ℹ️ Caching trial or intro eligibility for products: ["sr_premium_subscription_monthly_apple", "sr_premium_subscription_yearly_apple"]
 LOG  [RevenueCat WARN] Mapping for '' could not be found. Falling back to system font.

I spent some time trying to get the fonts in the right place but I wonder if that is the cause of some my issue (the empty string in the last warning)?

they do look to be right and matching the values in the builder according to the docs though:

ls android/app/src/main/res/font/    
larken_bold.otf            larken_regular.otf         overpass_bold.ttf          overpass_italic.ttf        overpass_medium_italic.ttf
larken_light.otf           overpass_black.ttf         overpass_bold_italic.ttf   overpass_medium.ttf        overpass_regular.ttf

also wondering about the localization - I just want to use english as the default across the board. and then just the prices be local to the region (our app is pretty global and we dont have resource to manage all the translations).

Any help would be appreciated.

1 reply

Forum|alt.badge.img
  • Author
  • New Member
  • 1 reply
  • March 14, 2025
kate-w wrote:

My paywall is displaying the default formatting for the android paywall, rather than my custom UI. IOS displays perfectly but I understand it is less opinionated in terms of config.

I have put in DEBUG logs but the android one doesn’t appear to get any warnings - maybe failing before it gets to show any warnings. the IOS one gets the following warnings, which may be helpful?

LOG  [RevenueCat VERBOSE] Looking up localized configuration for ["en-GB", "it-GB"], searching for ["en-GB", "en", "it-GB", "it"]
 LOG  [RevenueCat VERBOSE] Found localized configuration for 'en-GB'
 LOG  [RevenueCat DEBUG] ℹ️ Looking up localization but found no strings
 LOG  [RevenueCat WARN] Could not determine price format because price string is incompatible.
 LOG  [RevenueCat WARN] Could not determine price format because price string is incompatible.
 LOG  [RevenueCat WARN] Could not determine price format because price string is incompatible.
 LOG  [RevenueCat WARN] Could not determine price format because price string is incompatible.
 LOG  [RevenueCat WARN] Could not determine price format because price string is incompatible.
 LOG  [RevenueCat WARN] Could not determine price format because price string is incompatible.

... cut out some standard logs about images loading (all fine) ...

 LOG  [RevenueCat DEBUG] 😻 Store products request received response
 LOG  [RevenueCat DEBUG] ℹ️ Store products request finished
 LOG  [RevenueCat DEBUG] ℹ️ Caching trial or intro eligibility for products: ["sr_premium_subscription_monthly_apple", "sr_premium_subscription_yearly_apple"]
 LOG  [RevenueCat WARN] Mapping for '' could not be found. Falling back to system font.

I spent some time trying to get the fonts in the right place but I wonder if that is the cause of some my issue (the empty string in the last warning)?

they do look to be right and matching the values in the builder according to the docs though:

ls android/app/src/main/res/font/    
larken_bold.otf            larken_regular.otf         overpass_bold.ttf          overpass_italic.ttf        overpass_medium_italic.ttf
larken_light.otf           overpass_black.ttf         overpass_bold_italic.ttf   overpass_medium.ttf        overpass_regular.ttf

also wondering about the localization - I just want to use english as the default across the board. and then just the prices be local to the region (our app is pretty global and we dont have resource to manage all the translations).

Any help would be appreciated.


​​​​​The fallback paywall showing on android!

 


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings