Skip to content

Including Environment.xcconfig in flavor config files #355

@Silfalion

Description

@Silfalion

Hello!

I'm using environments variables in my native code in info.plist on iOS, for that I use the flutter_env_native package, but I noticed that those variables are not accessible when using flavors because the generated config files don't include this line:

#include "Environment.xcconfig"

Which the original Debug.xcconfig includes. After adding it to all the files the env variables are picked up without issues. Would it be possible to add that line to the config files on generation?

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