forked from facebook/react-native
-
Notifications
You must be signed in to change notification settings - Fork 31
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
feat: Add postInitScript and platform fields in template.config.js fo… #146
Closed
Piotrfj
wants to merge
24
commits into
callstack:main
from
Piotrfj:feat/prepare-for-add-platform-command
Closed
feat: Add postInitScript and platform fields in template.config.js fo… #146
Piotrfj
wants to merge
24
commits into
callstack:main
from
Piotrfj:feat/prepare-for-add-platform-command
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fix: address issues with scale, ScrollView prop feat: move min_visionos_version_supported to Helpers feat: implement `visionos_hoverStyle` prop chore: update README.MD fix: refactor visionos_hoverStyle to take a string and new arch support docs: add link to rn-tester's README.md (callstack#5) chore: change VisionOS to visionOS (callstack#13) chore: use `min_supported_versions` for third-party-podspecs (callstack#18) chore: remove not necessary ifs TARGET_OS_VISION, minimise code diff (callstack#22) feat: add visionos support add warning when using InputAccessoryView update platform naming fix: remove keyboard listerners and mark as unsupported (callstack#25) * fix: remove keyboard listerners and mark as unsupported * chore: replace warn with warnOnce feat: support building visionOS with dynamic frameworks enabled (callstack#28) chore: sync Podfile.lock with upstream, remove unnecessary #endif feat: add visionOS as separate target to fix iOS tests (callstack#31) * feat: add visionOS as separate target to fix iOS tests * fix: disable multiple windows support * feat: add visionOS App Icon * fix: creating Release build Update README.md (callstack#36) * Update README.md * fix: update README link * feat: add caution section * fix: bring back info about Hermes Add platform guidelines to README (callstack#37) * Add platform guidelines to README * fix: link to docs Rename react-native package to @callstack/react-native-visionos (callstack#35) * rename react-native package to @callstack/react-native-visionos * fix typo * Make JS and TS tests independent of react-native package name * change name in template * replace more refs in e2e tests * revert tests changes * disable js e2e tests for visionos * bring back react-native for other platforms compat * ci: run js, no e2e js Fix codegen issues for RNTester after renaming package (callstack#40) feat: make hermes build for visionOS (callstack#26) * [WIP] feat: make hermes build for visionOS * feat: point to callstack/hermes-visionos fork, update README * fix: remove USE_HERMES from project.pbxproj feat: align unnecessary compiler conditionals (callstack#51) chore: sync Podfile.lock feat: implement OOT release script (callstack#43) * feat: implement OOT release script * docs: add readme on Release process * fix: remove header file Co-authored-by: Michał Pierzchała <[email protected]> * add reference --------- Co-authored-by: Michał Pierzchała <[email protected]> feat: add visionOS template (callstack#34) * Update CLI to v12.1.1 * feat: implement visionos react-native template * feat: modify template look * feat: add `@callstack/out-of-tree-platforms` to metro config * fix: metro config * feat: update supported platforms --------- Co-authored-by: szymonrybczak <[email protected]> task(StatusBar component): show warn when using StatusBar (callstack#49) * task(StatusBar component): show warn when using StatusBar * pr suggestions docs: update CMake instructions (callstack#55) Fix iOS native tests (callstack#58) * fix: remove unnecessary libevent.podspec * fix: make OCMock build for visionOS fix: remove unnecessary YogaKit pod (callstack#61) feat: add warning while building Hermes that at least CMake 3.28.0 is required (callstack#63) fix: RCTAlertController transparent background override added cornerRadius for hover style (callstack#66) * added corner radius for hover style * fix: implement proper handling for old arch, reformat code --------- Co-authored-by: Oskar Kwaśniewski <[email protected]> chore: sync Podfile.lock fix: don't warn users about the Keyboard API (callstack#71) feat: implement visionos cli commands (callstack#64) fix: use isVision instead of isVisionOS (callstack#76) fix: release build bundle (callstack#74) fix: remove duplicated isVision key (callstack#78) fix: change resolver option name (callstack#79) fix: RCTDeviceInfo UIApplicationDidChangeStatusBarOrientationNotification method fix: update README.md with corrected capitalization (callstack#84) fix: upstream sync ifdefs fix: providing unsupported value to hoverStyle crashed the app (callstack#88) fix: pointer events (callstack#114) fix: hoverEffect for bridgeless mode (callstack#92) refactor: remove unused RCTForegroundWindow (callstack#94) fix: properly retrieve window when clicking DevMenu action (callstack#95) sync with upstream chore: sync Podfile.lock docs: add how is it different from iOS version section (callstack#91) docs: move to documentation website (callstack#119) Update README.md (callstack#121) * Update README.md * Update README.md Co-authored-by: Kacper Rożniata <[email protected]> --------- Co-authored-by: Kacper Rożniata <[email protected]> Update getting started link in Readme. (callstack#123) Co-authored-by: christinamartinez <[email protected]> chore: remove hover effect & add cursor: pointer (callstack#122) * chore: remove hover effect * fix: set cursor pointer by default, update tests * feat(iOS): Implement cursor style prop --------- Co-authored-by: Saad Najmi <[email protected]> chore: resync with upstream fix: change versio of @callstack/out-of-tree-platforms feat: make SwiftUI React Native entry point (callstack#68) * feat: add Swift entrypoint [wip] add module maps to some RN modules to allow for swift c++ imports feat: implement RCTReactController and RCTSwiftUIAppDelegate feat: introduce new method to RCTAppDelegate * feat: modify template to use SwiftUI * fix: dimensions, use RCTMainWindow() * fix: fallback to DarkMode on visionOS * fix: use KeyWindow() in RCTPerfMonitor feat: update docs (callstack#80) * feat: update docs * Update README.md Co-authored-by: Michał Pierzchała <[email protected]> * Update README.md Co-authored-by: Michał Pierzchała <[email protected]> * Update README.md Co-authored-by: Michał Pierzchała <[email protected]> * Update README.md Co-authored-by: Michał Pierzchała <[email protected]> * Update README.md Co-authored-by: Michał Pierzchała <[email protected]> --------- Co-authored-by: Michał Pierzchała <[email protected]> feat: add UIApplicationSceneManifest to template Create custom resolver and utils package for out-of-tree platforms (callstack#32) * rename react-native package to @callstack/react-native-visionos * wip: metro setup for other platform * fix(flow): add .ios.visionos as support platform * fix some flow errors * fix flow * revert Platform.select change * revert KeyboardAvoidingView change * fix type * change kBundlePath to ios.visionos * fix: remove redundant isVisionOS * use custom resolver options to read platform for OOT * fix types * remove formatting * add/remove platform checks * document variant behavior * use visionOS Keyboard mock * use visionOS KeyboardAvoidingView mock * use visionOS InputAccessoryView mock * test: add test for metroPlatformResolver * move implementation to user space * create out-of-tree-platforms package and bring back resolver options * revert flow changes * revert sourceExts changes * update links * add comments * fix visionos typo * adjust lockfile * revert loadMetroConfig change * remove podfile lock * revert scripts changes Fix build step for `@callstack/out-of-tree-platforms` (callstack#46) * feat: setup @callstack/out-of-tree-platforms to build properly * feat: add build packages step to `oot-release.js` script * chore: format package.json fix(callstack#48) local build of @callstack/out-of-tree-platforms (callstack#50)
feat: use Xcode beta globally feat: use callstack/hermes-visionos fork feat: test Hermes feat: reset cache keys fix: use callstack/hermes fix: use correct hermes source tarball fix: use never xcode version test only JSC fix: change Xcode version fix: use m1 executor feat: add cocoapods cache fix: remove hermes from cache keys fix: rbenv reset cache test: use 15.2 fix: run visionos CI on every PR (callstack#62) chore: disable some of upstream pipelines (callstack#33) * chore: disable some of upstream pipelines * tests: update snapshot for visionOS * chore: disable more jobs, fix isVisionOS * fix: Keyboard.js, adjust pipeline_selection.js * feat: run iOS tests every night chore: disable android tests (callstack#39) fix: prevent from running the testAll.yml on main (callstack#41) fix: ci on main (callstack#44) fix: remove windows jobs (callstack#126) * fix: remove windows jobs * fix: sync jobs.yml
fix: adjust oot-release script for stable releases (callstack#85)
* feat: implement Spatial API * feat: make RCTSpatial decoupled from RCTMainWindow() * feat: implement XR module docs: add image to README, annotate nightly APIs fix: export XR library from typescript
* feat: add multi-window support * feat: introduce WindowManager fix: RCTReactViewController properly check props to update fix: use clearColor instead of systemBackgroundColor for visionOS (callstack#125)
Co-authored-by: Thiago Brezinski <[email protected]>
…r react-native add-platform compatibility
szymonrybczak
requested changes
May 29, 2024
okwasniewski
force-pushed
the
main
branch
2 times, most recently
from
June 21, 2024 10:55
16c43b6
to
0589134
Compare
Hey, @Piotrfj can you rebase your branch? You can also create a cherry-pick of you commits to the rebased main. Sorry for the inconvenience |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
…r react-native add-platform compatibility
Summary:
The motivation for this change is to add support for react-native add-platform command
Changelog:
Test Plan:
See if steps presented in react-native-community/cli#2298 are working the same.