Skip to content

Fix compatibility with UISceneDelegate#50

Open
amake wants to merge 1 commit intohpoul:mainfrom
amake:feature/uiscenedelegate-fix
Open

Fix compatibility with UISceneDelegate#50
amake wants to merge 1 commit intohpoul:mainfrom
amake:feature/uiscenedelegate-fix

Conversation

@amake
Copy link
Copy Markdown
Contributor

@amake amake commented Aug 15, 2025

Fixes #49

This approach to accessing the root view controller was adapted from the share_plus plugin:
https://github.com/fluttercommunity/plus_plugins/blob/bc6fafc8936f5734e2d1581fb7d7694547e70bfe/packages/share_plus/share_plus/ios/share_plus/Sources/share_plus/FPPSharePlusPlugin.m#L10-L27

I did check that it is compatible with pre-UISceneDelegate scenarios.

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.

Incompatible with UISceneDelegate

1 participant