Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

Make your expo apps start faster by loading fonts at build time

License

Notifications You must be signed in to change notification settings

andresribeiro/with-expo-fonts

Repository files navigation

🚧 🚧 🚧

expo-fonts has added support for loading fonts at build time, just like this library was doing.

with-expo-fonts

Make your expo apps start faster by loading fonts at build time

Why ✨

expo-font load fonts at runtime. This increases the startup time

iOS ⚠️

Currently it only works on Android. PRs for adding iOS support are welcome

Installation ⚙️

expo install with-expo-fonts

Add to your plugins on app.json

{
  "name": "my app",
  "plugins": ["with-expo-fonts"]
}

Usage 🔨

At the root of your project there is an assets folder. Create a fonts folder inside it, and place your fonts.

Screenshot

Rebuild your app and enjoy :)

About

Make your expo apps start faster by loading fonts at build time

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published