How can I update android demo app on expo? - javascript

I am a new expo and react-native user.
I am building mny react-native app with expo SDK36 and there is a QR code for my app on my dashboard on https://expo.io/#myusername/myproject.
Scanning the QR code with my Android phone will open the demo app with the expo client. Unfortunately, it is an old build
I want to publish the change so the demo app is the latest.
I have tried to run locally:
expo build:web: build the web-build
expo build:android: build a signed apk
expo build:ios -t simulator: build a tar.gz
None of these build commands seems to publish the online demo app. I haven't found a publish command.
How can I update the online expo demo android app?

You can try npm install -g expo-cli

Related

how to run cloned/github remote react native app, err msg no android

NOTES: Im new in react native and i see there are so many approaches and with this error i thought the developer who built this app build it differently from what i learn so i don't understand why he didn't put the android folder
so i just joined a project and im going to run the apps in my pc by cloning it from github but when i try to npx react-native run-android it failed to run and the log is like this
error Android project not found. Are you sure this is a React Native project?
If your Android files are located in a non-standard location (e.g. not inside 'android' folder),
consider setting project.android.sourceDir option to point to a new location.
info Run CLI with --verbose flag for more details.
the folder structure is like this
The files show that the project is created with Expo. Specifically, you have a managed expo project.
npx react-native run-android would compile an android app from source, with Expo's managed workflow that's not needed. You will need the Expo Go App.
Expo also comes with its own commands to start the bundler. Instead of running npx react-native ... make use of the expo-cli running: npx expo start
However, in the package.json there is very likely a script called start. In that case, it's easier for you to run npm start.
After running this command the expo console opens. Here you can press a to open the app using expo go (or instructions on how to do so).
Alternatively, you can run npx expo run:android to start the expo go app on android yourself.
you are using an expo, there is a folder named .expo-shared, after
npm install
Try to run
npm start
or
expo start
or
npx expo start
something like this will appear:
https://imgur.com/U9I7Gf4
after that go to the terminal, open the emulator in you computer and click on the terminal and press 'a',

Expo - Is there a way to build an expo app to a .ipa file without an apple developer account?

I've created a simple personal project and don't intend to release it to the app store. Is there any way I can build the expo app to get a .ipa file I can sideload on to my iPhone without a paid apple developer account?
Yes i believe you can, you just need an Expo account using Expo CLI, and log in by typing in the terminal at the root of your project
npm install -g eas-cli
eas login
eas build:configure
And then
eas build --platform ios
And you will get your ipa file by clicking on the link at then end of the build

Do we need to run pod install with Expo project

I'm new with app developing. I'm using react-native 0.63.2 and i've created my project with Expo.
There are no ios and android folders
So, should we have to have these folders to run pod install and correctly link the React Native app to the futur iOS app or this is not necessary anymore?
Because with the command npx create-react-native-app to create a project, they do exist.
Thanks.
You don't need to install Pod. Just run expo start or expo build:ios
No you don't need pod install here.. you can build your application without using xcode or android studio... expo handles it all :)

APK and Expo Client android app are different

I am building a cross-platform app with expo SDK36. I am testing with the expo client on android and ios.
It seems that the built expo apk downloaded on expo is different than the android version tested from my android expo client.
I can't scroll on my views with the app APK, hopefully, I saw it.
Is this an expo bug and is this expected? I was expecting to have the same app on both expo and real app.
I must rebuild until I find the bug, the APK and expo pipelines are quite busy, how can I troubleshoot efficiently without ejecting?
it is running cache. run this command. It will clear the cache.
npm start --cache-clear
Maybe your expo project on the cloud didn't update. Try
expo publish

Build app for ios (react-native)

I used command: 'react-native run-ios' and I have a message "Build Succeeded", but when I can find app to install on my iphone?
There are two different things here.
Running react-native run-ios will run your application on your simulator.
To run it in your device, you'll need to run the application from xCode. You can check RN's official docs on running on device here.

Categories

Resources