0
0
React Nativemobile~5 mins

Android build and signing in React Native - Cheat Sheet & Quick Revision

Choose your learning style9 modes available
Recall & Review
beginner
What is the purpose of signing an Android app?
Signing an Android app ensures the app's authenticity and integrity. It confirms the app comes from the developer and has not been tampered with.
Click to reveal answer
beginner
What file format is used for the Android app signing key?
The signing key is stored in a .keystore or .jks file, which contains the private key used to sign the app.
Click to reveal answer
intermediate
What command is used to generate a signing key for Android apps?
You use the keytool command from the Java SDK to generate a signing key, for example: keytool -genkeypair -v -keystore my-release-key.keystore -alias my-key-alias -keyalg RSA -keysize 2048 -validity 10000.
Click to reveal answer
intermediate
In React Native, where do you configure the signing information for Android release builds?
You configure signing info in the android/app/build.gradle file under the signingConfigs section, specifying the keystore path, alias, and passwords.
Click to reveal answer
beginner
What is the difference between a debug build and a release build in Android?
A debug build is unsigned or signed with a debug key and used for testing. A release build is signed with your private key and optimized for publishing to users.
Click to reveal answer
Which file contains the private key used to sign an Android app?
A.keystore
B.apk
C.gradle
D.json
What tool is commonly used to generate a signing key for Android apps?
Akeytool
Badb
Cnpm
Dgradle
Where do you specify signing configs in a React Native Android project?
Apackage.json
Bandroid/settings.gradle
Cindex.js
Dandroid/app/build.gradle
What is the main reason to sign an Android app before release?
ATo add animations
BTo verify the app's source and integrity
CTo enable debugging
DTo reduce app size
Which build type is optimized and signed for publishing to users?
ADebug build
BTest build
CRelease build
DSnapshot build
Explain the steps to generate and configure a signing key for an Android React Native app.
Think about creating the key, saving it, and telling your app where to find it.
You got /5 concepts.
    Why is it important to keep your Android app signing key secure and private?
    Consider what happens if someone else gets your key.
    You got /4 concepts.