Upon typing the command "expo credentials:manager -p android" in terminal, I get:
'expo credentials:manager is not supported in the local CLI, please use eas credentials instead'
However, I know i recently uninstalled EAS so I cannot use eas credentials.
Is there any way to still use expo credentials:manager -p android? Also, why is it not supported?
Related
I was using expo build:android -t apk to get an apk file an try the application.
It was automatically available in expo.
Now I try to do the same with eas but it is not working.
I tried :
yarn eas build -p android -t apk
yarn eas build -p android --profile preview
yarn eas build -p android
All my build are of course created, but no one is available directly in expo like I was used to.
Any idea ?
I am trying to build an app using expo build:ios but it is always using the appleId from another project. That's not what I want. I don't know how to chance the appleId.
Thank you!
I found this on Expo CLI's docs:
Source: https://docs.expo.dev/workflow/expo-cli/#expo-buildios
It looks like you could try running expo build:ios -r or expo build:ios -c to clear your apple credentials and expo credentials, respectively. If adding -r or -c doesn't work, you could try expo build:ios --apple-id and specify the Apple ID username you would like to log in with.
I am generating APK using eas build --platform android and expo build:android -t apk.
Both generate apps but the eas build generated app crashes while the expo build app works fine. There is no difference in code. Not able to check why it happens. Any suggestion would be helpful.
I resolved the issue by manually installing some dependency that EXPO is managing itself.
Building .apks using EXPO command expo build:android -t apk never crashed on the physical device, but when I switched to EAS command eas build --platform android the app crashed on physical devices.
Dependency e.g "react-native-screens": "~3.8.0". Now i can export .apk and .aab using EAS command eas build --platform android
Other issues like camera and gallery permission are also managed by EXPO if you don't mention them.
This may be because of the Expo SDK version.
I setup the CI/CD on gitlab and I want to publish my app on expo, how can I do this? below is my current script for publish, it is completing without any errors but there is no updated build on expo, I think it is unable to login with token, is there any way I can publish the build using token?
script:
- apk add --no-cache bash
- npx expo login -t $EXPO_TOKEN
- npx expo publish --non-interactive
Any help appreciated !
Thanks
Asif
It's as easy as - EXPO_TOKEN=$EXPO_TOKEN expo publish --non-interactive
When I run the command "yarn start", the expo web starts automatically, and even if I open the expo client app on my iPhone the link on my app takes me to Safari and opens up a webpage. How can I open the app on expo CLI and not on my phone's browser (Safari)?
I have also tried the command "expo start --ios" and when I run it I get the error
"Simulator not installed. Please visit
https://developer.apple.com/xcode/download/ to download Xcode and the
iOS simulator. If you already have the latest version of Xcode
installed, you may have to run the command sudo xcode-select -s /Applications/Xcode.app".
I don't want to run the app on a simulator or phone's browser instead on my phone using expo client
I was dealing with this issue also hoping someone would find a solution. However, I have found the solution that worked for me at least. What I did is installed the react-native cli (reinstall if already installed) and then ran npm install in my project and it went back to normal and stopped going on my phones browser. Search documentation regarding this to install those things. I installed them in the order stated and it worked.
try update your expo-cli version and see if it helps. npm install -g expo-cli
Below is my situation,
By default Expo uses yarn. I installed any new dependencies using npm, then by default expo is built with web.
Solution:
use yarn always to install new dependencies or
use npm install once to install and now expo will build project with android or ios
On Linux try with sudo:
sudo npm install -g expo-cli
Then install packages and run:
yarn
Then run the following to clear cache and start expo:
expo start -c
This issue usually happens when you install a new npm package. You can either uninstall/reinstall the package or run the above three steps and solve your problem.