Skip to content

shirakaba/expo-desktop

Repository files navigation

Expo Desktop 🖥️

About

Best-effort support for using Expo with desktop platforms react-native-macos and react-native-windows.

Usage

To create a new Expo app that targets iOS, Android, macOS, and Windows, run the following command:

npx expo-desktop@latest create-app

While npx expo prebuild will work as expected for iOS and Android platforms, the equivalent npx expo-desktop prebuild command needed for macOS and Windows platforms is not yet implemented, so it is best to commit the macos and windows directories to source for now. In other words, CNG is not yet supported in Expo Desktop.

You can then run your app as follows:

# Start the Metro bundler
npm run start

# Build and run the iOS, Android, macOS, or Windows targets
npm run ios
npm run android
npm run macos
npm run windows

About

Userland support for using Expo with out-of-tree platforms

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors