React Native: Create .apk and .ipa with Expo

I am trying to create .ipa and .apk files for my React Native application using the Expo & Create React Native application. I successfully created the application and was able to run it on both iOS and Android devices thanks to the docs: https://docs.expo.io/versions/v16.0.0/guides/building-standalone-apps. HTML

When the build is finished, my console shows something like

Your URL is https://exp.host/@myname/myapp

Then I open exp.host/@myname/myappon my device and the application is displayed through the Expo client.

But paragraph 4 of the documents says that

When this is done, you will see the URL of the .apk (Android) or .ipa (iOS) file - this is your application.

I'm a little confused. Wherever I am, I do not see a single ipa or apk file generated anywhere on my computer. Did I miss something? How do I actually generate files?

+16
source share
4 answers

You will need to run expo build:status. When the build process is complete, you will see a link to download the file apk(Android) or ipa(IOS).

+21
source

make sure in app.json

{
  "expo": {
    "name": "your app name",
    "description": "your app desc",
    ....,
    "ios": {
      "supportsTablet": true
    },

    "android": {
      "package": "com.yourcompany.yourappname"
    }
  }
}

then run exp build:androidorexp ba

thereafter

run exp build:statusyou will find exp build:statussomething like this apk is hosted on amazon aws

[exp] Android:
[exp] APK: https://HOST/yourapp.apk
+18
source

exp build:status

ios android. :

  • ...
  • URL- ipa apk

URL- :

https://expo.io/builds/ {buildId}

{buildId} - UUID

, , , "", ipa apk ( , ) Cancel ", ( , ).

, :

https://expo.io/ {@user}/{app}/builds

{@user} ( @) {app} . , Completed Failed, .

URL- , , "Build logs":

{@user}/{app}

+1
-2

Source: https://habr.com/ru/post/1678318/


All Articles