Skip to content
This repository was archived by the owner on Jul 21, 2022. It is now read-only.
This repository was archived by the owner on Jul 21, 2022. It is now read-only.

App crashes on IOS if the root view controller is not FlutterViewController #73

@abhikumar08

Description

@abhikumar08

App crashes if the root view controller is not FlutterViewController

To Reproduce
Steps to reproduce the behavior:
For some reason I had to make Navigation controller my root view controller and I am not able to share because the plugin assumes that root view controller is Flutter view Controller in SwiftEsysFlutterSharePlugin.swift

    // present the view controller
    let controller = UIApplication.shared.keyWindow!.rootViewController as! FlutterViewController 

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions