0
0
React Nativemobile~10 mins

Play Store submission 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 define the app version in app.json for Play Store submission.

React Native
{
  "expo": {
    "version": "[1]"
  }
}
Drag options to blanks, or click blank then click option'
Abuild
Blatest
Cversion
D1.0.0
Attempts:
3 left
💡 Hint
Common Mistakes
Using non-string values for version.
Using 'latest' instead of a version number.
2fill in blank
medium

Complete the code to set the Android package name in app.json for Play Store submission.

React Native
{
  "expo": {
    "android": {
      "package": "[1]"
    }
  }
}
Drag options to blanks, or click blank then click option'
Acom.example.app
Bexample.com.app
Ccom_app_example
Dapp.example.com
Attempts:
3 left
💡 Hint
Common Mistakes
Using dots in wrong order.
Using underscores instead of dots.
3fill in blank
hard

Fix the error in the build.gradle snippet to set the version code for Play Store submission.

React Native
android {
  defaultConfig {
    versionCode [1]
  }
}
Drag options to blanks, or click blank then click option'
A1
B1.0
C"1"
DversionCode
Attempts:
3 left
💡 Hint
Common Mistakes
Putting quotes around the versionCode number.
Using a decimal number instead of integer.
4fill in blank
hard

Fill both blanks to complete the command to build a release APK for Play Store submission.

React Native
cd android && ./gradlew [1] [2]
Drag options to blanks, or click blank then click option'
AassembleRelease
Bclean
Cbuild
DinstallDebug
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'installDebug' instead of 'assembleRelease'.
Not cleaning before building.
5fill in blank
hard

Fill all three blanks to complete the command to upload the app bundle to Play Store using Google Play CLI.

React Native
gplay upload --[1] [2] --[3] app-release.aab
Drag options to blanks, or click blank then click option'
Atrack
Brelease
Cservice-account
Dpackage
Attempts:
3 left
💡 Hint
Common Mistakes
Using '--package' instead of '--track'.
Omitting the service account flag.