Build & Deployment
Xcode, Android Studio, Gradle, signing, TestFlight, Play Console, EAS Build
1What is the main difference between a Debug and Release build in React Native?
What is the main difference between a Debug and Release build in React Native?
답변
A Debug build includes development tools like the debugger, Hot Reload, and the JavaScript bundle is served by Metro. A Release build is optimized for production: JavaScript is minified and included in the app bundle, development tools are disabled, and performance optimizations are enabled (precompiled Hermes, ProGuard on Android).
2Which file contains the Android build configuration in a React Native project?
Which file contains the Android build configuration in a React Native project?
답변
The android/app/build.gradle file contains the main Android build configuration: app version, target SDK, dependencies, build variants, signing configuration, and ProGuard options. The android/build.gradle file contains global project configurations like Gradle tools versions and repositories.
3How to generate an AAB (Android App Bundle) file for Play Store publication?
How to generate an AAB (Android App Bundle) file for Play Store publication?
답변
The command cd android && ./gradlew bundleRelease generates an AAB file in android/app/build/outputs/bundle/release/. The AAB format has been mandatory for new apps on the Play Store since 2021. Google Play uses this format to generate optimized APKs per device configuration, significantly reducing download size for users.
What is the role of the Podfile in a React Native iOS project?
Which command generates an iOS Release build from the terminal?
+17 면접 질문