Skip to content

Android Launch Profile + environmentVariables (launchSettings.json) #19133

Answered by jeromelaban
Mike-E-angelo asked this question in Q&A
Discussion options

You must be logged in to vote

However, if I add DOTNET_ENVIRONMENT=Development to this, that will also assign this value when the application is deployed to production/testing/etc and therefore with an incorrect value, correct? 🤔

That is correct. You can have two different files, one per environment, if you add multiple files as AndroidEnvironment they will be concatenated to the other ones. environment.conf is automatically added by Uno when present but you can add you own in your csproj.

Replies: 1 comment 7 replies

Comment options

You must be logged in to vote
7 replies
@Mike-E-angelo
Comment options

@jeromelaban
Comment options

@Mike-E-angelo
Comment options

@jeromelaban
Comment options

Answer selected by Mike-E-angelo
@Mike-E-angelo
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants