Skip to content

Fix date picker in XCFramework#928

Open
ku8ar wants to merge 2 commits intohenninghall:masterfrom
ku8ar:framework_ios
Open

Fix date picker in XCFramework#928
ku8ar wants to merge 2 commits intohenninghall:masterfrom
ku8ar:framework_ios

Conversation

@ku8ar
Copy link
Copy Markdown

@ku8ar ku8ar commented Jul 4, 2025

This PR replaces direct access to UIApplication.sharedApplication.delegate.window.rootViewController with RCTKeyWindow().rootViewController.

This change was made to ensure compatibility with modern iOS app architectures (e.g., multi-scene support introduced in iOS 13) and to fix issues when building the module as an xcframework — such as when integrating with Callstack's Enterprise Framework or other brownfield setups.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant