You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @rrebase, this sounds like a good thing to add.
In the meantime, if you're on 2.x, have you tried using Expo Config Plugins? We added support for it recently. I have yet to document it, but you can find an example in this PR: #1033
Haven't tried Expo Config Plugins outside of Expo apps yet, but sounds like a fantastic addition as withInfoPlist for example, is much more flexible and would support setting any other values as well 👍
Proposal
In iOS, adding a custom font requires updating
UIAppFonts
inInfo.plist
https://developer.apple.com/documentation/uikit/text_display_and_fonts/adding_a_custom_font_to_your_appLooks like it's not supported right now so I propose an additional
fonts
property under platform in the Manifest (app.json)Implementation Details
The reading of manifest on iOS could be similar to app icons
react-native-test-app/ios/test_app.rb
Line 242 in 511d368
CFPropertyList
(subdep of current gems). Here's some code (thanks CodePilot), tested in example and it works.Also worth adding the font files automatically to resources, otherwise they need to be duplicated in
resources.ios[]
.Code of Conduct
The text was updated successfully, but these errors were encountered: