Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add react-native-macos support (#513)
* Move example -> example-prev * Init React Native Test App yarn init-test-app --version 0.73.0 (and manually bump react-native-* versions afterwards) * Merge example-prev into example * Add osx to podspec * Fix metro config to resolve react-native-safe-area-context * Install pods * Write macOS equivalents for all iOS code * Raise macOS deployment target to 10.15 * Delete example-prev * Trying and failing to get macOS app to build * Apply Tommy Nguyen's suggestions to fix pod installation Co-authored-by: Tommy Nguyen <[email protected]> * Stop using compat components for macOS * Restore example to its original state * Add example-macos * Reduce macOS deployment target to 10.15 * Make example-macos use RNTesterApp instead of bespoke app * Remove example-macos * Pin react-native and react-native-macos to v0.74 * Init [email protected] project I temporarily renamed the "name" field in package.json to "RNSACExample", then ran `npx react-native-macos-init` to generate a project by that name. * Fix bundleURL microsoft/react-native-macos#2164 (comment) * Fix Metro config * Run yarn format:write --------- Co-authored-by: Tommy Nguyen <[email protected]>
- Loading branch information