0
0
React Nativemobile~10 mins

EAS Build (Expo) in React Native - Interactive Code Practice

Choose your learning style9 modes available
Practice - 5 Tasks
Answer the questions below
1fill in blank
easy

Complete the code to initialize an Expo project with EAS Build support.

React Native
expo init my-app --[1]
Drag options to blanks, or click blank then click option'
Amanaged
Bbare
Cclassic
Dcustom
Attempts:
3 left
💡 Hint
Common Mistakes
Choosing 'bare' requires manual native setup.
Using 'classic' or 'custom' are not valid init options.
2fill in blank
medium

Complete the command to build your app for Android using EAS Build.

React Native
eas build --platform [1]
Drag options to blanks, or click blank then click option'
Aandroid
Bweb
Cwindows
Dios
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'ios' builds for Apple devices, not Android.
Using 'web' or 'windows' are not supported platforms for EAS Build.
3fill in blank
hard

Fix the error in the EAS Build configuration file to specify the build profile.

React Native
{
  "build": {
    "production": {
      "releaseChannel": "default",
      "distribution": "store",
      "android": {
        "buildType": "[1]"
      }
    }
  }
}
Drag options to blanks, or click blank then click option'
Aapk
Brelease
Cdebug
Dapp-bundle
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'apk' builds a single APK, not the recommended bundle.
Using 'debug' is for development, not production release.
4fill in blank
hard

Fill both blanks to configure EAS Build to use a specific Apple team and enable auto-provisioning.

React Native
{
  "ios": {
    "teamId": "[1]",
    "autoProvisioning": "[2]"
  }
}
Drag options to blanks, or click blank then click option'
AYOUR_TEAM_ID
Benabled
Cdisabled
DAUTO
Attempts:
3 left
💡 Hint
Common Mistakes
Leaving teamId blank or incorrect causes build failures.
Setting autoProvisioning to 'disabled' requires manual setup.
5fill in blank
hard

Fill all three blanks to create an EAS Build profile that targets iOS, uses the release channel 'prod', and uploads the build to the app store.

React Native
{
  "build": {
    "[1]": {
      "releaseChannel": "[2]",
      "distribution": "[3]"
    }
  }
}
Drag options to blanks, or click blank then click option'
Aios
Bprod
Cstore
Dandroid
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'android' instead of 'ios' for iOS builds.
Using 'store' is required to upload to the app store.