Skip to content
This repository has been 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

Open
abhikumar08 opened this issue Jul 16, 2020 · 0 comments · May be fixed by #74
Open

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

abhikumar08 opened this issue Jul 16, 2020 · 0 comments · May be fixed by #74
Labels
bug Something isn't working

Comments

@abhikumar08
Copy link

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 
@abhikumar08 abhikumar08 added the bug Something isn't working label Jul 16, 2020
@abhikumar08 abhikumar08 linked a pull request Jul 16, 2020 that will close this issue
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant