File tree Expand file tree Collapse file tree 7 files changed +156
-226
lines changed Expand file tree Collapse file tree 7 files changed +156
-226
lines changed Original file line number Diff line number Diff line change 1313 },
1414 "dependencies" : {
1515 "react" : " 18.3.1" ,
16- "@callstack/react-native-visionos" : " 1000.0.0 "
16+ "@callstack/react-native-visionos" : " 0.77.0-main "
1717 },
1818 "devDependencies" : {
1919 "@babel/core" : " ^7.25.2" ,
Original file line number Diff line number Diff line change 1919 " dist"
2020 ],
2121 "devDependencies" : {
22- "metro-resolver" : " ^0.81.0-alpha.0 "
22+ "metro-resolver" : " ^0.81.0"
2323 },
2424 "engines" : {
2525 "node" : " >=18"
Original file line number Diff line number Diff line change @@ -157,6 +157,7 @@ - (UIView *)viewWithModuleName:(NSString *)moduleName
157157 surfaceHostingProxyRootView.backgroundColor = [UIColor clearColor ];
158158#else
159159 surfaceHostingProxyRootView.backgroundColor = [UIColor systemBackgroundColor ];
160+ #endif
160161 if (_configuration.customizeRootView != nil ) {
161162 _configuration.customizeRootView (surfaceHostingProxyRootView);
162163 }
Original file line number Diff line number Diff line change @@ -610,6 +610,7 @@ BOOL RCTRunningInAppExtension(void)
610610 }
611611
612612 UIScene *sceneToUse = foregroundActiveScene ? foregroundActiveScene : foregroundInactiveScene;
613+ UIWindowScene *windowScene = (UIWindowScene *)sceneToUse;
613614
614615#if TARGET_OS_VISION
615616 // Ornaments are supported only on visionOS.
Original file line number Diff line number Diff line change @@ -321,11 +321,13 @@ - (void)_keyboardWillChangeFrame:(NSNotification *)notification
321321 // Text field active region is below visible area with keyboard - update diff to bring into view
322322 contentDiff = endFrame.origin .y - focusEnd;
323323 } else {
324+ #if !TARGET_OS_VISION
324325 UIView *inputAccessoryView = _firstResponderViewOutsideScrollView.inputAccessoryView ;
325326 if (inputAccessoryView) {
326327 // Text input view is within the inputAccessoryView.
327328 contentDiff = endFrame.origin .y - beginFrame.origin .y ;
328329 }
330+ #endif
329331 }
330332 } else if (endFrame.origin .y <= beginFrame.origin .y ) {
331333 // Keyboard opened for other reason
You can’t perform that action at this time.
0 commit comments