mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
feat(visionos): ui-mobile-base supporting xros plus improvements to window handling (#10478)
This commit is contained in:
@@ -62,7 +62,7 @@ export function getPlatformName(): Platform {
|
||||
return 'ios';
|
||||
}
|
||||
|
||||
if (env?.visionos) {
|
||||
if (env?.visionos || env?.vision) {
|
||||
return 'visionos';
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user