johnpatrickmorgan / FlowStacks

FlowStacks allows you to hoist SwiftUI navigation and presentation state into a Coordinator
MIT License
854 stars 66 forks source link

The latest update (0.7.1) broke navigation when using UIKIt lifecycle #81

Closed lisindima closed 2 months ago

lisindima commented 2 months ago

If the application uses UIKIt lifecycle (AppDelegate and SceneDelegate) - navigation completely stops working because @Environment(\.scenePhase) var scenePhase cannot intercept the state of the scene

johnpatrickmorgan commented 2 months ago

Thanks for raising this @lisindima. I suspect I might have to switch to using Notification Center, as on this branch, but I just need too check how that behaves on other platforms.

lisindima commented 2 months ago

I didn't find any problems with this thread

johnpatrickmorgan commented 2 months ago

I've tweaked those changes for all platforms and included it in v0.8.0.