What is the first step before submitting a React Native app to the Play Store?
Prepare a signed APK or AAB (Android App Bundle) by generating a signing key and configuring your app to use it.
Click to reveal answer
beginner
Why do you need to create a Google Play Developer account?
Because it allows you to publish apps on the Play Store and manage your app listings and updates.
Click to reveal answer
intermediate
What is an Android App Bundle (AAB)?
AAB is a publishing format that includes all your app's compiled code and resources, letting Google Play generate optimized APKs for different devices.
Click to reveal answer
beginner
What information must you provide in the Play Store listing?
What will happen if you run ./gradlew assembleRelease?
medium
A. A signed release APK will be generated using the specified keystore
B. The build will fail due to missing signingConfig
C. A debug APK will be generated instead
D. The app bundle will be generated, not APK
Solution
Step 1: Analyze signingConfigs and buildTypes
The release build type uses the signingConfig named release, which is properly defined with keystore info.
Step 2: Understand assembleRelease behavior
Running assembleRelease builds a signed APK using the release signingConfig, so a signed APK is generated.
Final Answer:
A signed release APK will be generated using the specified keystore -> Option A
Quick Check:
assembleRelease + signingConfig = signed APK [OK]
Hint: assembleRelease uses signingConfig to create signed APK [OK]
Common Mistakes:
Confusing assembleRelease with debug build
Assuming app bundle is generated by assembleRelease
Missing signingConfig causes build failure
4. You tried uploading your React Native app bundle to Google Play Console but got an error: "App signing key not found." What is the most likely cause?
medium
A. You forgot to generate and configure the signing key before building
B. You uploaded a debug build instead of release
C. You used the wrong package name in AndroidManifest.xml
D. You did not enable internet permission in the app
Solution
Step 1: Understand the error message
"App signing key not found" means the Play Console expects a signing key but it was missing or not configured.
Step 2: Identify common causes
Most often, this happens if you did not generate or configure the signing key before building the release bundle.
Final Answer:
You forgot to generate and configure the signing key before building -> Option A
Quick Check:
Missing signing key causes upload error [OK]
Hint: Always generate and configure signing key before building release [OK]
Common Mistakes:
Uploading debug build instead of release
Ignoring package name mismatches
Confusing permissions with signing errors
5. You want to submit your React Native app to the Play Store with these conditions:
- Use Android App Bundle (.aab)
- Enable ProGuard for code shrinking
- Use a custom signing key
Which steps must you perform in correct order?
hard
A. Enable ProGuard, upload unsigned bundle, then configure signingConfigs
B. Run ./gradlew assembleDebug, upload debug APK, then enable ProGuard
C. Upload unsigned APK, then configure signingConfigs and ProGuard later
D. Configure signingConfigs with your key, enable ProGuard in buildTypes, run ./gradlew bundleRelease, then upload the .aab
Solution
Step 1: Configure signingConfigs and ProGuard
You must first set your custom signing key in signingConfigs and enable ProGuard in the release buildType.
Step 2: Build the Android App Bundle
Run ./gradlew bundleRelease to create the signed, optimized .aab file.
Step 3: Upload the .aab to Google Play Console
Finally, upload the generated .aab file to submit your app.
Final Answer:
Configure signingConfigs with your key, enable ProGuard in buildTypes, run ./gradlew bundleRelease, then upload the .aab -> Option D