Add crash reporter plugin to wilde with a gatekeeper

Summary: Adds crash reporter plugin in wilde under a gatekeeper `flipper_crash_reporter_plugin`. By default all the employees will be part of this gatekeeper

Reviewed By: passy

Differential Revision: D13258265

fbshipit-source-id: 1baa2a342f492781d8fb3e86c2a30140537c23f1
This commit is contained in:
Pritesh Nandgaonkar
2018-11-30 07:17:58 -08:00
committed by Facebook Github Bot
parent 28e2190635
commit 3183e56560
2 changed files with 2 additions and 1 deletions

View File

@@ -17,7 +17,7 @@
@end @end
void flipperkitUncaughtExceptionHandler(NSException *exception) { static void flipperkitUncaughtExceptionHandler(NSException *exception) {
NSLog(@"CRASH: %@", exception); NSLog(@"CRASH: %@", exception);
NSLog(@"Stack Trace: %@", [exception callStackSymbols]); NSLog(@"Stack Trace: %@", [exception callStackSymbols]);
[[FlipperKitCrashReporterPlugin sharedInstance] handleException:exception]; [[FlipperKitCrashReporterPlugin sharedInstance] handleException:exception];

View File

@@ -3,6 +3,7 @@
"version": "0.1.0", "version": "0.1.0",
"description": "A plugin which will display a crash", "description": "A plugin which will display a crash",
"main": "index.js", "main": "index.js",
"gatekeeper": "flipper_crash_reporter_plugin",
"repository": "https://github.com/facebook/flipper", "repository": "https://github.com/facebook/flipper",
"license": "MIT" "license": "MIT"
} }