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:
      OS: macOS 11.2.3
      Shell: 5.8 - /bin/zsh
      Node: 15.5.1 - ~/.nvm/versions/node/v15.5.1/bin/node
      npm: 7.7.6 - ~/.nvm/versions/node/v15.5.1/bin/npm
      CocoaPods: 1.10.0 - /usr/local/bin/pod
      iOS SDK:
        Platforms: iOS 14.4, DriverKit 20.2, macOS 11.1, tvOS 14.3, watchOS 7.2
      Xcode: 12.4/12D4e - /usr/bin/xcodebuild
      expo: ~40.0.0 => 40.0.1 
      react: 16.13.1 => 16.13.1 
      react-dom: 16.13.1 => 16.13.1 
      react-native: => 0.63.2 
      react-native-web: ~0.13.12 => 0.13.18 
      expo-cli: 4.3.2
    Expo Workflow: managed

Working on a reproducible repo now.

1 Like


This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.