Skip to content

App crashing when calling ensureInitialized #8

@Paradoxu

Description

@Paradoxu

As by the docs I have added the requested lines on my main.cpp for the windows folder, until here if I run the app there's no problem. But when I call FlutterNativeView.ensureInitialized(); on my main method the app just crashes, I've tried placing it inside a try/catch but nothing happens and no detailed error is thrown.

Here's the output of my flutter doctor command

$ flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, 3.0.0, on Microsoft Windows [versÆo 10.0.19043.1645], locale pt-BR)
[√] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
[√] Chrome - develop for the web
[√] Visual Studio - develop for Windows (Visual Studio Community 2022 17.0.4)
[√] Android Studio (version 2021.1)
[√] VS Code (version 1.67.0)
[√] Connected device (3 available)
[√] HTTP Host Availability

• No issues found!

Using:
flutter_native_view: ^0.0.1+1

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