Skip to content

Doesn't work at all #106

@gerchicov-vg

Description

@gerchicov-vg

Added navigation inside the app file:

import SwiftUI
import SwiftfulRouting

@main
struct AdsDemoApp: App {
    var body: some Scene {
        WindowGroup {
            RouterView(addNavigationStack: false) { router in
                SplashScreen(router: router)
            }
        }
    }
}

got error:

Cannot convert value of type 'AnyRouter' to expected argument type 'Environment<AnyRouter>'

possibly it is because of your weird ios support - on release page you write that you drop ios 15 support but in readme you have 14+ and 17+ version support. What about ios 16+?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions