React-Native Error Reporting with Artificial Intelligence!

Get Instant Crash Reports for your Mobile Apps

How to integrate Jefferson into your React-Native App?

  1. Create your account on Jefferson.pro and get your API key
  2. npm install jefferson
  3. add you apikey into your android project manifest
<meta-tag android:name="JEFFERSON_API_KEY" android:value="your_api_key"/>
import pro.jefferson.react.JeffersonSDKPackage;...public class MainApplication extends Application implements ReactApplication {..new JeffersonSDKPackage(),
implementation project(':jefferson')
include ':jefferson'project(':jefferson').projectDir = new File(rootProject.projectDir, '../node_modules/jefferson/android')
import JF, { JF_setJSErrorCatcher } from "jefferson";JF.start();// (one time only. in your app.js root is recommended/outside the class)JF_setJSErrorCatcher();JF.saveGeovisionUserForCrashLog("dummyuser");//you can place it in your methodsJF.sendEvent("string"); //you can place it in your methods

--

--

--

Love podcasts or audiobooks? Learn on the go with our new app.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Berkin Tatlısu

Berkin Tatlısu

Developer

More from Medium

Understanding Android’s Build Variants, Types, and Flavors

Kotlin and React Native- The Best Cross-Platform Options For App Developers

The EASIEST way to generate an APK File using Expo-CLI!

How to Fix React Native JVM out of Memory Once & For All