Expo publish breaks app in App store

HI!
We build android version in bare workflow, and ios version in managed workflow. Each workflow version is on different git branch. Than we released ios version in app store via expo in managed workflow, it works fine. After that i build android release version on bare workflow, it stuck on splash screen. I find that sudo expo publish --target bare fix this, and after that android build fixed. But ios version in app store stopped working after that, it stuck on splash screen. ios app fixed after command sudo expo publish --target managed. I don’t understand how the expo publish command affects on the release build.

Log expo diagnostics:
xpo CLI 4.0.17 environment info:
System:
OS: Linux 5.4 Ubuntu 20.04.2 LTS (Focal Fossa)
Shell: 5.0.17 - /bin/bash
Binaries:
Node: 12.16.1 - /usr/local/bin/node
Yarn: 1.22.4 - /usr/bin/yarn
npm: 6.13.4 - /usr/local/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
npmPackages:
expo: ^40.0.0 => 40.0.1
react: 16.13.1 => 16.13.1
react-dom: 16.13.1 => 16.13.1
react-native: ~0.63.4 => 0.63.4
react-native-web: ~0.13.12 => 0.13.18
npmGlobalPackages:
expo-cli: 4.0.17
Expo Workflow: managed

Expo CLI 4.0.17 environment info:
System:
OS: Linux 5.4 Ubuntu 20.04.2 LTS (Focal Fossa)
Shell: 5.0.17 - /bin/bash
Binaries:
Node: 12.16.1 - /usr/local/bin/node
Yarn: 1.22.4 - /usr/bin/yarn
npm: 6.13.4 - /usr/local/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
npmPackages:
expo: ^40.0.0 => 40.0.1
react: 16.13.1 => 16.13.1
react-dom: 16.13.1 => 16.13.1
react-native: ~0.63.4 => 0.63.4
react-native-web: ~0.13.12 => 0.13.18
npmGlobalPackages:
expo-cli: 4.0.17
Expo Workflow: bare

you should use separate release channels in this case. for example, set the android app to point to release channel “android-v1” and ios app release channel to “ios-v1”. more info here: Release channels - Expo Documentation. when you publish to the bare android app, run expo publish --target bare --release-channel android-v1 and when you publish to managed ios app, run expo publish --target managed --release-channel ios-v1.

in sdk 41 we are removing the “target” flag, and a bundle published for a managed app will also work in a bare app, but that won’t be out for another few weeks.

1 Like

Thank you!

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.