Skip to content

kDebugMode not being set #193

Closed
Closed
@Charlie9830

Description

@Charlie9830

Hi Ardera.

I am using flutter-pi as part of a Yocto build.
Based off of jwinarkse's build.

The engine is built in release mode, as is my Flutter App. However, the Dart constant kDebugMode is evaluating to true at runtime.

The Flutter documentation suggests the follow about the kDebugMode constant.

More specifically, this is a constant that is true if the application was not compiled with '-Ddart.vm.product=true' and
'-Ddart.vm.profile=true'.

Source

I am not skilled with C or C++, would I be correct in assuming that those flags need to be set whilst compiling the embedder?

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