bugsnag-react-native
Error monitoring and reporting tool for native exceptions and JS errors in React Native apps
File Explorer
Download Latest Version (.zip)- A.md
- Bug_report.md
- Feature_request.md
- PULL_REQUEST_TEMPLATE.md
- SUPPORT.md
- checkstyle.xml
- gradle-wrapper.jar
- gradle-wrapper.properties
- JavaScriptExceptionTest.java
- InternalHooks.java
- BugsnagPackage.java
- BugsnagReactNative.java
- DiagnosticsCallback.java
- JavaScriptException.java
- RuntimeVersions.java
- AndroidManifest.xml
- .gitkeep
- build.gradle
- gradlew
- gradlew.bat
- lint-baseline.xml
- proguard-rules.pro
- contents.xcworkspacedata
- BugsnagReactNative.xcscheme
- project.pbxproj
- Config.xcconfig
- Bugsnag.xcscmblueprint
- contents.xcworkspacedata
- Bugsnag.xcscheme
- project.pbxproj
- BSGOutOfMemoryWatchdogTests.m
- BugsnagCrashReportFromKSCrashReportTest.m
- BugsnagKSCrashSysInfoParserTest.m
- BugsnagThreadTest.m
- RegisterErrorDataTest.m
- Bugsnag copy-Info.plist
- Info.plist
- module.modulemap
- TestsInfo.plist
- BSG_KSCrashSentry.c
- BSG_KSCrashSentry.h
- BSG_KSCrashSentry_CPPException.h
- BSG_KSCrashSentry_CPPException.mm
- BSG_KSCrashSentry_MachException.c
- BSG_KSCrashSentry_MachException.h
- BSG_KSCrashSentry_NSException.h
- BSG_KSCrashSentry_NSException.m
- BSG_KSCrashSentry_Private.h
- BSG_KSCrashSentry_Signal.c
- BSG_KSCrashSentry_Signal.h
- BSG_KSCrashSentry_User.c
- BSG_KSCrashSentry_User.h
- BSG_KSArchSpecific.h
- BSG_KSBacktrace.c
- BSG_KSBacktrace.h
- BSG_KSBacktrace_Private.h
- BSG_KSCrashCallCompletion.h
- BSG_KSCrashCallCompletion.m
- BSG_KSDynamicLinker.c
- BSG_KSDynamicLinker.h
- BSG_KSFileUtils.c
- BSG_KSFileUtils.h
- BSG_KSJSONCodec.c
- BSG_KSJSONCodec.h
- BSG_KSJSONCodecObjC.h
- BSG_KSJSONCodecObjC.m
- BSG_KSLogger.h
- BSG_KSLogger.m
- BSG_KSMach.c
- BSG_KSMach.h
- BSG_KSMach_Arm.c
- BSG_KSMach_Arm64.c
- BSG_KSMach_x86_32.c
- BSG_KSMach_x86_64.c
- BSG_KSMachApple.h
- BSG_KSMachHeaders.h
- BSG_KSMachHeaders.m
- BSG_KSObjC.c
- BSG_KSObjC.h
- BSG_KSObjCApple.h
- BSG_KSSignalInfo.c
- BSG_KSSignalInfo.h
- BSG_KSSingleton.h
- BSG_KSString.c
- BSG_KSString.h
- BSG_KSSysCtl.c
- BSG_KSSysCtl.h
- BSG_RFC3339DateTool.h
- BSG_RFC3339DateTool.m
- NSError+BSG_SimpleConstructor.h
- NSError+BSG_SimpleConstructor.m
- BSG_KSCrash.h
- BSG_KSCrash.m
- BSG_KSCrashAdvanced.h
- BSG_KSCrashC.c
- BSG_KSCrashC.h
- BSG_KSCrashContext.h
- BSG_KSCrashDoctor.h
- BSG_KSCrashDoctor.m
- BSG_KSCrashIdentifier.h
- BSG_KSCrashIdentifier.m
- BSG_KSCrashReport.c
- BSG_KSCrashReport.h
- BSG_KSCrashReportFields.h
- BSG_KSCrashReportStore.h
- BSG_KSCrashReportStore.m
- BSG_KSCrashReportVersion.h
- BSG_KSCrashState.h
- BSG_KSCrashState.m
- BSG_KSCrashType.c
- BSG_KSCrashType.h
- BSG_KSSystemCapabilities.h
- BSG_KSSystemInfo.h
- BSG_KSSystemInfo.m
- BSG_KSSystemInfoC.h
- BSG_KSCrashReportFilter.h
- BSG_KSCrashReportFilterCompletion.h
- LICENSE
- README.md
- BSG_KSCrashReportWriter.h
- BSGConnectivity.h
- BSGConnectivity.m
- BSGOutOfMemoryWatchdog.h
- BSGOutOfMemoryWatchdog.m
- BSGSerialization.h
- BSGSerialization.m
- Bugsnag.h
- Bugsnag.m
- BugsnagApiClient.h
- BugsnagApiClient.m
- BugsnagBreadcrumb.h
- BugsnagBreadcrumb.m
- BugsnagCollections.h
- BugsnagCollections.m
- BugsnagConfiguration.h
- BugsnagConfiguration.m
- BugsnagCrashReport.h
- BugsnagCrashReport.m
- BugsnagCrashSentry.h
- BugsnagCrashSentry.m
- BugsnagErrorReportApiClient.h
- BugsnagErrorReportApiClient.m
- BugsnagFileStore.h
- BugsnagFileStore.m
- BugsnagHandledState.h
- BugsnagHandledState.m
- BugsnagKeys.h
- BugsnagKSCrashSysInfoParser.h
- BugsnagKSCrashSysInfoParser.m
- BugsnagLogger.h
- BugsnagMetaData.h
- BugsnagMetaData.m
- BugsnagNotifier.h
- BugsnagNotifier.m
- BugsnagPlugin.h
- BugsnagSession.h
- BugsnagSession.m
- BugsnagSessionFileStore.h
- BugsnagSessionFileStore.m
- BugsnagSessionTracker.h
- BugsnagSessionTracker.m
- BugsnagSessionTrackingApiClient.h
- BugsnagSessionTrackingApiClient.m
- BugsnagSessionTrackingPayload.h
- BugsnagSessionTrackingPayload.m
- BugsnagSink.h
- BugsnagSink.m
- BugsnagUser.h
- BugsnagUser.m
- Private.h
- BugsnagReactNative.h
- BugsnagReactNative.m
- index.android.js
- index.ios.js
- CrashyModule.java
- CrashyPackage.java
- MainActivity.java
- MainApplication.java
- ic_launcher.png
- ic_launcher.png
- ic_launcher.png
- ic_launcher.png
- strings.xml
- styles.xml
- AndroidManifest.xml
- BUCK
- build.gradle
- proguard-rules.pro
- gradle-wrapper.jar
- gradle-wrapper.properties
- BUCK
- debug.keystore.properties
- build.gradle
- gradle.properties
- gradlew
- gradlew.bat
- settings.gradle
- bugsnag.js
- github.js
- native_crash.js
- package.json
- README.md
- index.js
- LaunchScreen.xib
- Contents.json
- AppDelegate.h
- AppDelegate.m
- CrashyCrashy.h
- CrashyCrashy.m
- Info.plist
- main.m
- Info.plist
- Info.plist
- BugsnagReactNativeExample-tvOS.xcscheme
- BugsnagReactNativeExample.xcscheme
- project.pbxproj
- BugsnagReactNativeExampleTests.m
- Info.plist
- .babelrc
- .buckconfig
- .flowconfig
- .gitattributes
- .gitignore
- .watchmanconfig
- app.json
- index.android.js
- index.ios.js
- package.json
- README.md
- release.sh
- yarn.lock
- bugsnag.js
- package.json
- index.js
- contents.xcworkspacedata
- RNCocoaPodsExample.xcscheme
- project.pbxproj
- contents.xcworkspacedata
- bundle-react-native-assets.sh
- Contents.json
- LaunchScreen.storyboard
- Main.storyboard
- AppDelegate.h
- AppDelegate.m
- Info.plist
- main.m
- ViewController.h
- ViewController.m
- .babelrc
- index.ios.js
- package.json
- Podfile
- Podfile.lock
- README.md
- yarn.lock
- index.android.js
- index.ios.js
- Entypo.ttf
- EvilIcons.ttf
- FontAwesome.ttf
- Foundation.ttf
- Ionicons.ttf
- MaterialCommunityIcons.ttf
- MaterialIcons.ttf
- Octicons.ttf
- SimpleLineIcons.ttf
- Zocial.ttf
- CrashyModule.java
- CrashyPackage.java
- MainActivity.java
- MainApplication.java
- ic_launcher.png
- ic_launcher_round.png
- ic_launcher.png
- ic_launcher_round.png
- ic_launcher.png
- ic_launcher_round.png
- ic_launcher.png
- ic_launcher_round.png
- ic_launcher.png
- ic_launcher_round.png
- strings.xml
- styles.xml
- AndroidManifest.xml
- BUCK
- build.gradle
- fakekeys
- lint-baseline.xml
- proguard-rules.pro
- checkstyle.xml
- suppressions.xml
- gradle-wrapper.jar
- gradle-wrapper.properties
- BUCK
- debug.keystore.properties
- build.gradle
- gradle.properties
- gradlew
- gradlew.bat
- settings.gradle
- upload-proguard.sh
- bugsnag.js
- native_crash.js
- package.json
- README.md
- index.js
- LaunchScreen.xib
- Contents.json
- Contents.json
- AppDelegate.h
- AppDelegate.m
- CrashyCrashy.h
- CrashyCrashy.m
- Info.plist
- main.m
- Info.plist
- Info.plist
- BugsnagReactNativeExample-tvOS.xcscheme
- BugsnagReactNativeExample.xcscheme
- project.pbxproj
- BugsnagReactNativeExampleTests.m
- Info.plist
- BugsnagReactNativeExample-Bridging-Header.h
- upload-react-native-dsyms.sh
- upload-debug-android.sh
- upload-debug-ios.sh
- upload-release-android.sh
- upload-release-ios.sh
- .babelrc
- .buckconfig
- .eslintrc.js
- .flowconfig
- .gitattributes
- .gitignore
- .watchmanconfig
- app.json
- index.js
- package.json
- README.md
- yarn.lock
- ANRTimeoutModule.java
- CustomMethodsPackage.java
- MainActivity.java
- MainApplication.java
- NativeErrorModule.java
- ic_launcher.png
- ic_launcher_round.png
- ic_launcher.png
- ic_launcher_round.png
- ic_launcher.png
- ic_launcher_round.png
- ic_launcher.png
- ic_launcher_round.png
- ic_launcher.png
- ic_launcher_round.png
- strings.xml
- styles.xml
- AndroidManifest.xml
- BUCK
- build.gradle
- proguard-rules.pro
- gradle-wrapper.jar
- gradle-wrapper.properties
- BUCK
- debug.keystore.properties
- build.gradle
- fakekeys.jks
- gradle.properties
- gradlew
- gradlew.bat
- settings.gradle
- LaunchScreen.xib
- Contents.json
- Contents.json
- AppDelegate.h
- AppDelegate.m
- Info.plist
- main.m
- Info.plist
- Info.plist
- sampler-tvOS.xcscheme
- sampler.xcscheme
- project.pbxproj
- Info.plist
- samplerTests.m
- NativeError.h
- NativeError.m
- anr-long.env
- anr-short.env
- default-anr.env
- default.env
- .babelrc
- .buckconfig
- .flowconfig
- .gitattributes
- .gitignore
- .watchmanconfig
- App.js
- app.json
- index.js
- package-lock.json
- package.json
- launch_android_app_crash.sh
- launch_ios_app_crash.sh
- launch_ios_sim.sh
- launch_packager.sh
- pack.sh
- app_steps.rb
- env.rb
- detect_anr.feature
- runtime_versions.feature
- session_stopping.feature
- unhandled_error.feature
- Bugsnag.test.js
- NativeSerializer.test.js
- Bugsnag.js
- NativeSerializer.js
- app.ts
- test-react-native-link-build.sh
- test-react-native-pod-build.sh
- types.sh
- index.android.js
- index.ios.js
- Entypo.ttf
- EvilIcons.ttf
- FontAwesome.ttf
- Foundation.ttf
- Ionicons.ttf
- MaterialIcons.ttf
- Octicons.ttf
- SimpleLineIcons.ttf
- Zocial.ttf
- CrashyModule.java
- CrashyPackage.java
- MainActivity.java
- MainApplication.java
- ic_launcher.png
- ic_launcher.png
- ic_launcher.png
- ic_launcher.png
- strings.xml
- styles.xml
- AndroidManifest.xml
- BUCK
- build.gradle
- proguard-rules.pro
- gradle-wrapper.jar
- gradle-wrapper.properties
- BUCK
- debug.keystore.properties
- build.gradle
- gradle.properties
- gradlew
- gradlew.bat
- settings.gradle
- crashy.js
- main.js
- register.js
- repos.js
- list_item.js
- navigation_bar_route_mapper.js
- index.js
- LaunchScreen.xib
- Contents.json
- AppDelegate.h
- AppDelegate.m
- CrashyCrashy.h
- CrashyCrashy.m
- Info.plist
- main.m
- BugsnagReactNativeExample.xcscheme
- project.pbxproj
- .babelrc
- .buckconfig
- .eslintrc.js
- .flowconfig
- .gitignore
- .watchmanconfig
- index.android.js
- index.ios.js
- package.json
- README.md
- yarn.lock
- .babelrc
- .gitignore
- .gitmodules
- .npmignore
- .travis.yml
- BugsnagReactNative.podspec
- CHANGELOG.md
- CONTRIBUTING.md
- Gemfile
- Gemfile.lock
- index.d.ts
- index.js
- LICENSE.txt
- Makefile
- package-lock.json
- package.json
- react-native.config.js
- README.md
- tslint.json
# Installation Guide
1. Get the code
git clone https://github.com/bugsnag/bugsnag-react-native
Downloads the entire project code from GitHub to your computer.
cd bugsnag-react-native
Moves into the project folder you just downloaded.
2. Gradle (Java/Kotlin)
Medium RecommendedPrerequisites
- Git Needed to download the project code from GitHub.
- JDK (Java) Required to build and run Java/Kotlin projects.
- Gradle If the repo includes gradlew (Gradle Wrapper), you don't need to install Gradle separately.
cd android
This project's files live in a subfolder, so move into it first.
./gradlew build
Builds the project using Gradle.
A BUILD SUCCESSFUL message means it worked. The output is created under build/.
3. Node.js
EasyPrerequisites
npm install
Downloads and installs the libraries listed in package.json.
npm start
Starts the development/run server.
After running the command, open the address shown in the terminal (usually something like http://localhost:3000) in your browser.
4. Ruby
EasyPrerequisites
bundle install
Installs the Ruby libraries listed in the Gemfile.
If bundle install finishes without errors, continue with the run command from the README (e.g. rails server).
5. Make
MediumPrerequisites
- Git Needed to download the project code from GitHub.
- Make Usually pre-installed on Linux/macOS. On Windows, install separately (e.g. via MSYS2 or WSL).
make
Compiles the code based on the generated build configuration to produce an executable.
If it finishes without errors, it worked. Try running the generated executable directly.
// repository documentation
Was this content helpful?
(0 ratings)
