Closed Eyesonly88 closed 6 years ago
@Eyesonly88 that's a good suggestion, I'll have the PM take a look.
Thanks for the suggestion @Eyesonly88! We'll take a look at that table and see how we can provide some more clear examples. For your RN question, if you have both an iOS app and Android app configured from the same repo to be built when you push a new commit, both projects will get built.
Hi @nrajpurkar ok thanks. Regarding the RN question, yes they both get built but when having a post-build script, we need to know programatically which build is being built.
For example, if we are doing a CodePush
post-build, then we need to know which version (iOS or Android) to do the CodePush deploy for.
@Eyesonly88 So is there any way to know if the build script is being executed for IOS or Android or we must manually set an ENV variable to distinguish ?
In the App Center Variables section, the variable name and a brief description is provided. However, it is sometimes unclear what the expected values of those variables are. It would be great if another column is added that has an example value of each variable.
For example, what is the value of
APPCENTER_REACTNATIVE_PACKAGE
? is that whatever is insidepackage.json
? or is it the project build version number?Another question is, how do we know if the build was triggered for from an Android project or iOS project for a React Native app?
Thanks.
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.