This PR exposes WindowHandlingModifier in order to allow users to ditch RCTMainWindow and use custom setup (for example when they want to add ornaments on main window).
@main
struct RC07401VISIONOSApp: App {
@UIApplicationDelegateAdaptor var delegate: AppDelegate
var body: some Scene {
WindowGroup {
RCTRootViewRepresentable(moduleName: "RC07401VISIONOS", initialProps: nil)
.modifier(WindowHandlingModifier())
// Add ornaments
}
}
}
Summary:
This PR exposes
WindowHandlingModifier
in order to allow users to ditchRCTMainWindow
and use custom setup (for example when they want to add ornaments on main window).Resolves #136
Changelog:
[VISIONOS] [ADDED] - Expose WindowHandlingModifier
Test Plan:
CI Green