Release 0.73.6
okwasniewski
released this
26 Feb 16:05
·
2636 commits
to main
since this release
What's Changed
- docs: move to documentation website by @okwasniewski in #119
- Update README.md by @okwasniewski in #121
- chore: update getting started link in Readme. by @christina-de-martinez in #123
- chore: remove hover effect & add cursor: pointer by @Saadnajmi in #122
- feat: add multi-window support by @okwasniewski in #117
Highlights
Multi window support
You can now use WindowManager
API to create multiple windows.
Example:
const secondWindow = WindowManager.getWindow('SecondWindow');
const Example = () => {
return (
<View style={styles.container}>
<Button
title="Open Second Window"
onPress={() => {
secondWindow.open({title: 'React Native Window'});
}}
/>
<Button
title="Update Second Window"
onPress={() => {
secondWindow.update({title: 'Updated Window'});
}}
/>
<Button
title="Close Second Window"
onPress={() => {
secondWindow.close();
}}
/>
</View>
);
};
Note: This API was established with NativeScript Team. Shoutout to: Nathan Walker and Jamie Birch.
XR
You can now pass additional props to ImmersiveSpaces:
XR.requestSession(id, {data}
cursor: pointer
visionos_hoverEffect
get's replaced by cursor: pointer
for hover effects
New Contributors
- @christina-de-martinez made their first contribution in #123
Full Changelog: v0.73.5-visionos...v0.73.6-visionos