-
Notifications
You must be signed in to change notification settings - Fork 84
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
Expo-updates Issue: Empty String Returned from Updates.channel on Android #2188
Comments
Can you send me the URL of your build? |
Hi. @szdziedzic . |
I get the channel by Updates.channel. |
I am on the
|
@szdziedzic ? . |
hey @socheatleang this is expected behaviour in the development client, though I understand the UX is jarring (sorry!). Your android app looks correctly configured though, so a normal build should have the
Doc details: https://docs.expo.dev/versions/latest/sdk/updates/#updateschannel |
Same for me,
expo 49.0.22 running part of my eas.json concerned:
Did I miss something or is it a bug ? |
Build/Submit details page URL
No response
Summary
I am encountering an issue with the expo-updates library in my Expo project specifically on Android. Despite configuring the project correctly, I am getting an empty string when trying to access the Updates.channel.
This issue happened after I did the migration from Expo Classic Updates
Managed or bare?
Managed
Environment
expo-env-info 1.0.5 environment info:
System:
OS: macOS 14.1
Shell: 5.9 - /bin/zsh
Binaries:
Node: 14.19.2 - ~/.nvm/versions/node/v14.19.2/bin/node
Yarn: 1.22.18 - /opt/homebrew/bin/yarn
npm: 6.14.17 - ~/.nvm/versions/node/v14.19.2/bin/npm
Watchman: 2023.12.04.00 - /opt/homebrew/bin/watchman
Managers:
CocoaPods: 1.14.3 - /opt/homebrew/bin/pod
SDKs:
Android SDK:
Android NDK: 22.1.7171670
IDEs:
Android Studio: 2022.2 AI-222.4459.24.2221.9971841
Xcode: /undefined - /usr/bin/xcodebuild
npmPackages:
expo: ^48.0.0 => 48.0.21
react: 18.2.0 => 18.2.0
react-dom: 18.2.0 => 18.2.0
react-native: 0.71.8 => 0.71.8
react-native-web: ~0.18.7 => 0.18.12
npmGlobalPackages:
eas-cli: 6.0.0
expo-cli: 6.3.10
Expo Workflow: managed
Error output
No response
Reproducible demo or steps to reproduce from a blank project
eas.json
command to build
eas build --profile staging
On the project. I fetch the channel by
import * as Updates from 'expo-updates';
output
channel: ""
The text was updated successfully, but these errors were encountered: