How to generate Apk file with Expo's Manage Work flow - expo

I have project with expo managed work flow , my problem is how to generate APK , please help me

This command you can use to generate APK.
expo build:android

To generate an Android APK you have to run the command:
expo build:android
Then Expo will give you an URL to follow your build status, normally it takes like an hour depending on your projects size and expo's queue, and after the build is done you can download it from that URL or on your Expo Build Dashboard expo.

Related

Convert Expo managed workflow to bare React Native

I am going to convert current expo project from Expo managed workflow to bare React Native to use react-native-branch.
I run this command on terminal.
expo eject
I can run app on local environment, but debug and release apk is not working.

Expo EAS Submit, where to store service account key

I am looking into using EAS (expo Application Services) to submit a build to the Google Play Store. As per the docs, a serviceAccountKeyPath is required:
https://docs.expo.dev/submit/eas-json/#serviceaccountkeypath
I have successfully submitted a build by running eas submit -p android and entering the path to the JSON service account key when prompted.
As this is sensitive information, I don't want it to be added to my git repo. Should I just add it to my .gitignore, or is there a better way e.g. store it within my expo account somehow?
You only need to provide serviceAccountKeyPath the first time you run eas submit -p android for an specific project. You have to do manually the first time. The next you run eas submit expo takes the previus provided file.

Expo eas retrieve app archive download url

After migrating from expo-cli to eas-cli, I make the app build by using command eas build -p android.
Then, in order to be able to use it within my custom CI, I get the app archive download url. I used to use expo url:apk. This command is not working anymore, since I make the build with eas.
Does anyone know how to get the download url using eas?
eas build:list --json --limit=1 --platform=android | jq '.[0].artifacts.buildUrl'

Is it possible to publish expo after install dependency?

after build expo, i released at play store.
After this i installed dependency to add useful function.
("react-native-draggable-flatlist")
is it possible to publish?
If this is not possible, I have to remake apk.
oh, and if i built expo(making apk file), can i publish?
I didn't take any action before build.
yes you can after building expo released apk
If you make any of the following changes in app.json, you will need to re-build the binaries for your app for the change to take effect: Increment the Expo SDK Version Change anything under the ios, android, or notification keys Change your app splash Change your app icon Change your app name Change your app owner Change your app scheme List item Heading
see the doc here

ExpoKit V32 missing assets

My expoKit project is missing all assets (fonts and images).
When I run the app on my machine whether on Android or iOS and expo is in dev I get all the assets, if i switch expo to prod then the assets dissapear.
I did expo publish, then build an APK, the APK has all its assets (and is in the store).
I build an iOS app and put it on testflight it has no assets (Disaster!).
I am using expo + expokit v32, I know v33 is out but I'm struggling to update it.
I showed the same problem as you.
All my assets were stored locally, not from uri, but not from APK.
But I solved the problem. My solution went back to the moment when there was no problem, and started all over again. And when I created APK again, I successfully brought in assets.