React Native

Build & Deployment

Xcode, Android Studio, Gradle, signing, TestFlight, Play Console, EAS Build

20 面接問題·
Mid-Level
1

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).

2

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.

3

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.

4

What is the role of the Podfile in a React Native iOS project?

5

Which command generates an iOS Release build from the terminal?

+17 面接問題

次の面接に向けてReact Nativeをマスター

すべての問題、flashcards、技術テスト、コードレビュー演習、面接シミュレーターにアクセス。

無料で始める