Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add macOS support to expo-font #26242

Merged
merged 2 commits into from
Jan 4, 2024
Merged

Add macOS support to expo-font #26242

merged 2 commits into from
Jan 4, 2024

Conversation

tsapeta
Copy link
Member

@tsapeta tsapeta commented Jan 4, 2024

Why

Following up on #26186, separated from #22796
expo-font is a dependency of the expo package, so we need to make it compatible with macOS in order to support writing Expo modules for macOS

How

  • Enabled macOS platform in the podspec
  • Reinstalled pods
  • Replaced UIKit import with ExpoModulesCore/Platform.h
  • Mocked customNativeFonts constant with an empty array for now, in the future we should add support for ATSApplicationFontsPath key in the Info.plist

Test Plan

Tested in https://github.com/tsapeta/expo-macos-example as part of PR #22796

@expo-bot expo-bot added the bot: suggestions ExpoBot has some suggestions label Jan 4, 2024
@tsapeta tsapeta marked this pull request as ready for review January 4, 2024 14:53
@expo-bot expo-bot added bot: passed checks ExpoBot has nothing to complain about and removed bot: suggestions ExpoBot has some suggestions labels Jan 4, 2024
@tsapeta tsapeta merged commit 4aee7e5 into main Jan 4, 2024
1 check passed
@tsapeta tsapeta deleted the @tsapeta/macos/expo-font branch January 4, 2024 15:31
tsapeta added a commit that referenced this pull request Jan 10, 2024
@brentvatne brentvatne added the published Changes from the PR have been published to npm label Jan 10, 2024
onizam95 pushed a commit to onizam95/expo-av-drm that referenced this pull request Jan 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bot: fingerprint changed bot: passed checks ExpoBot has nothing to complain about published Changes from the PR have been published to npm
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants