React Native

Monitoring & Crash Reporting

Sentry, Firebase Crashlytics, symbolication, analytics, performance monitoring, structured logs

20 interview questions·
Senior
1

What is the main role of a crash reporting service in a React Native application?

Answer

A crash reporting service automatically captures unhandled errors (JavaScript and native) that cause crashes and sends them to a centralized server for analysis. This allows developers to detect production issues without waiting for user feedback, prioritize fixes based on impact (number of affected users), and obtain symbolicated stack traces to pinpoint the exact origin of bugs.

2

What is the fundamental difference between Sentry and Firebase Crashlytics for React Native?

Answer

Sentry is an open-source multi-language platform designed to capture JavaScript errors, native crashes, and performance transactions in a unified interface. Firebase Crashlytics is free but primarily focused on native iOS/Android crashes with tight integration into the Google ecosystem. Sentry offers better JavaScript error handling and breadcrumbs support in React Native, while Crashlytics excels at pure native crash analysis.

3

What is symbolication in the context of React Native crash reporting?

Answer

Symbolication is the process of converting obfuscated memory addresses in stack traces into readable file names, functions, and line numbers. In production, JavaScript code is minified and native code is compiled, making stack traces unreadable. Source maps (JavaScript) and dSYM files (iOS) or mapping files (Android) allow translating these addresses into actionable debugging information.

4

Why is it essential to upload source maps with each React Native release?

5

What are breadcrumbs in a crash reporting system?

+17 interview questions

Master React Native for your next interview

Access all questions, flashcards, technical tests, code review exercises and interview simulators.

Start for free