Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support build Environment Variables in Info.plist and AndroidManifest.xml #112

Open
enfipy opened this issue Jul 22, 2022 · 0 comments
Open
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@enfipy
Copy link
Collaborator

enfipy commented Jul 22, 2022

What problem does this solve or what need does it fill?

Now, crossbundle doesn't let you place environment variables in your Info.plist or AndroidManifest.xml properties. It would be good to make something like this this or like this in Xcode or like in AndroidManifest.xml.

What solution would you like?

For iOS, we can replace all vars in Info.plist during the build process for plain .app/.ipa. However, with Xcode, it would be better to create a .xcconfig file (see this tutorial).

For Android, we can add necessary vars in gradle.properties - so that Gradle will pick them up.

@enfipy enfipy added enhancement New feature or request good first issue Good for newcomers labels Jul 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant