Expo export with release channel

#1

When using publish, we can specify release channel by

expo publish --release-channel <your-channel>

but when I want to host the app on my server, I tried

expo export --public-url <server-endpoint> --release-channel <your-channel>

but received an error error: unknown option --release-channel

How to specify release channel here? or only mentioning in expo:build would suffice?

#2

I don’t think we can (yet?).

I’m running into it as well. Having built everything on my own hardware and pointing Development to a different API endpoint from Production, I still see the traffic going to my local machine while using the signed apk that was built with --release-channel=production.