Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@jet-pie/react-native

Package Overview
Dependencies
Maintainers
7
Versions
59
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@jet-pie/react-native

## Adding custom fonts to a React Native app

  • 1.1.0
  • npm
  • Socket score

Version published
Weekly downloads
14
decreased by-88.24%
Maintainers
7
Weekly downloads
 
Created
Source

PIE React Native

Adding custom fonts to a React Native app

Android

Copy the fonts inside of fonts folder to android/app/src/main/assets/font folder of your project.

iOS

Drag and drop the fonts inside of fonts folder onto your project in Xcode. After that, add these entries to Info.plist:

	<key>UIAppFonts</key>
	<array>
		<string>JETSansDigital-Bold.ttf</string>
		<string>JETSansDigital-BoldItalic.ttf</string>
		<string>JETSansDigital-ExtraBold.ttf</string>
		<string>JETSansDigital-ExtraBoldItalic.ttf</string>
		<string>JETSansDigital-Italic.ttf</string>
		<string>JETSansDigital-Regular.ttf</string>
	</array>

Also, make sure to add these fonts to Copy Bundle Resources in Build Phases tab of your app in Xcode.

Keywords

FAQs

Package last updated on 25 May 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc