question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

useFonts not loading Poppins_600SemiBold on iOS 15, dev beta 4

See original GitHub issue

When I attempt to load Poppins_600SemiBold, the async function never completes. Can consistently reproduce on iOS 15 beta 15. Doesnt complete or error out

` var [fontsLoaded] = useFonts({

Poppins_400Regular,
Poppins_700Bold,
Poppins_500Medium,
Poppins_600SemiBold

})

if (!fontsLoaded) { return <AppLoading />; } return ( <NavigationContainer> <StatusBar animated={true} backgroundColor="#87ceeb" barStyle={statusBarStyle} showHideTransition={statusBarTransition} hidden={hidden} /> <Main /> </NavigationContainer> );`

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:1
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
ccheevercommented, Jan 14, 2022

FYI - If you install the font packages in an app and build it and put it in the App Store, they will be actually embedded in the binary, and so your users won’t be affected by this.

If anyone finds out more about the situations where these fonts can’t load, let me know. It’s hard for me to debug this because I can’t reproduce the problem. Thanks for the info everyone who has shared stuff here.

1reaction
programmrzcommented, Aug 30, 2021

After alot of digging, it appears it’s an Expo Go issue when downloading Fonts via LAN. asset.downloadAsync(); in FontLoader.js intermittently never returns which in turn never calls back to fontsLoading. I still dont know why another project using the same fonts work. I’m just happy I “resolved” my issue

So this might be a me issue. I’m running everything at home & debug via a RDP connection and use port forwarding to use Expo GO. For some reason, fonts wont load & cache with port forwarding, but once cached? with Tunnel, everything works fine. Weird.

Read more comments on GitHub >

github_iconTop Results From Across the Web

iOS 15 beta causing problems with … | Apple Developer Forums
I updated my iPhone 11 Pro to iOS 15 beta and I think it is causing problems with my personal hotspot. I live...
Read more >
Apple Seeds Fifth Betas of iOS 15.4 and iPadOS ... - MacRumors
Apple today seeded the fifth betas of upcoming iOS 15.4 and iPadOS 15.4 updates to developers for testing purposes, with the new software ......
Read more >
Apple has released iOS 15.4 developer beta 4, here's what's ...
Apple has released iOS 15.4 beta 4 to registered developers. This version of iOS comes packed with changes, including new emoji.
Read more >
iOS 15 Beta 4 Released - What's New? - YouTube
(15+ Changes) | iOS 15 Features & ChangesApple just released iOS 15 Beta 4 to registered developers about two weeks afte...
Read more >
iOS 15.2 Beta 4 Released - What's New? - YouTube
iOS 15.2 Features & ChangesApple returns after a 2+ week break, Apple returns with the release of iOS and iPadOS 15....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found