Skip to content

Paywall error when setting fontFamily option #1153

@vendramini

Description

@vendramini

Describe the bug
Showing Paywall gives an error if fontFamily option is set. This wasn't happening some days ago. I think that it has started after I updated Expo from 51 to 52 - I'm unsure, I had to update so many libraries and I figure out this error today. I tried downgrading react-native-purchases-ui to previous versions (which I knew it was working) but still erroring. If I remove it, it works.

import RevenueCatUI from 'react-native-purchases-ui';

<RevenueCatUI.Paywall
  options={{
    fontFamily: fontFamily.Poppins_300Light,
  }}
/>

image

  1. Environment
    1. Platform: Expo
    2. SDK version: 8.5.0
    3. OS version: macOS Sequoia 15.2
    4. Xcode/Android Studio version: Android Studio Koala 2024.1.1
    5. React Native version: 0.76.5
    6. SDK installation (CocoaPods + version or manual):
    7. 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions