Open dons20 opened 3 years ago
So I found one way in which I could get the release-channel
to persist through my entire build process, but it is certainly anti-pattern and the bug still does exist.
Found here: https://forums.expo.io/t/expo-export-setting-release-channel/24995
I simply added "releaseChannel": "my-channel"
to my app.json
. It gave me a warning during the expo export process, but it didn't stop the process thankfully, and after the export was complete, the manifest contained a release-channel
parameter. After the APK was generated, I was finally able to see the correct log of the release-channel
I specified during the process.
New Issue Checklist
yarn global add turtle-cli
ornpm install --global turtle-cli
).Issue Description
Passing the
--release-channel
flag into myturtle build:android
command does not seem to be affecting the final apk at all. My release channels are correctly set up in the app, and I can verify that the strings do match, yet nothing seems to work, and it keeps using the default/undefined release channel.Command executed
$1
in this case refers to the first parameter of a function I've made which is just a release channel string, e.g. "Delaware" or "New Jersey".$2
refers to a predefined apk filename, e.g. "My_App.apk"$3
refers to my config file name, e.g. "app.json"Complete output when running turtle, including the stack trace and command used
Environment