Skip to product menu
Skip to main content

Crash reporting for React Native apps

Before you begin, make sure that Apptics is integrated into your project by following the Integration Guide.

Add the SDK to your app

  • Initialize React Native crash handler.
Note: React Native crash reporting works only for release builds.
Copiedimport { Apptics } from '@zoho_apptics/apptics-react-native';

React.useEffect(() => {
    Apptics.initCrashTracker()
  }, []);

Source Maps

To get the stack trace of Java Script code, it is essential to generate and upload the Source Maps. Source Maps allow you to map a transformed file back to the original source. This helps in debugging and investigating issues from release builds.

Upload source maps

  • Zip the .map file.
  • Navigate to Quality > Symbols & Mapping.
  • Select ReactNative source maps from the drop-down menu.
  • Select the bundle id or package name for which you want to upload the source maps.
  • Click on Upload and a pop-up will appear.
  • Click on Choose File and select the zipped .map file.
  • Click Upload and the .map file will be uploaded.