Custom Fonts on iPhone stop working

  1. SDK Version: SDK 40
  2. Platforms(Android/iOS/web/all): iOS

I have a custom font that is loaded with Fonts.loadAsync behind a SpashScreen.

The font works correctly in the simulator for Android and iOS.

After deploying to TestFlight, the font works … for a few minutes. It then suddenly reverts to a system font. No amount of re-installing through TestFlight resolves the issue.

Google Play internal test apps work perfectly.

Did I miss something because I’m at a loss for where to go from here.

The closest Forum item seems to have happened after a publish. My app has received no updates and yet the font seems to “fail”.

this is the only time i’ve ever heard of such a thing happening - you’ll need to share a reproducible example for us to be able to help. also, run expo diagnostics in your project and share the result

Expo CLI 4.3.2 environment info:
    System:
      OS: macOS 11.2.3
      Shell: 5.8 - /bin/zsh
    Binaries:
      Node: 15.5.1 - ~/.nvm/versions/node/v15.5.1/bin/node
      npm: 7.7.6 - ~/.nvm/versions/node/v15.5.1/bin/npm
    Managers:
      CocoaPods: 1.10.0 - /usr/local/bin/pod
    SDKs:
      iOS SDK:
        Platforms: iOS 14.4, DriverKit 20.2, macOS 11.1, tvOS 14.3, watchOS 7.2
    IDEs:
      Xcode: 12.4/12D4e - /usr/bin/xcodebuild
    npmPackages:
      expo: ~40.0.0 => 40.0.1 
      react: 16.13.1 => 16.13.1 
      react-dom: 16.13.1 => 16.13.1 
      react-native: https://github.com/expo/react-native/archive/sdk-40.0.1.tar.gz => 0.63.2 
      react-native-web: ~0.13.12 => 0.13.18 
    npmGlobalPackages:
      expo-cli: 4.3.2
    Expo Workflow: managed

Working on a reproducible repo now.

1 Like

thanks!