Added connection between InAppErrorReporter and Flipper Desktop App via Layout Plugin
Summary: Created functionality which allows user to open clicked file from inAppErrorReporter. Created "iface" interface for openInIDE API and created default implementation which indicates that openInIDE is not supported. Created "impl" implementation specifically for fb4a. Reviewed By: arpitratan Differential Revision: D22642497 fbshipit-source-id: 7b3011c128a479e556b869fcc8c4147e153caf71
This commit is contained in:
committed by
Facebook GitHub Bot
parent
9e4c5363c5
commit
6561bc8f16
@@ -38,9 +38,17 @@ public class InspectorFlipperPlugin implements FlipperPlugin {
|
||||
private boolean mShowLithoAccessibilitySettings;
|
||||
|
||||
public enum IDE {
|
||||
diffusion,
|
||||
DIFFUSION,
|
||||
AS,
|
||||
VSCode
|
||||
VSCODE;
|
||||
|
||||
public static IDE fromString(final String ide) {
|
||||
try {
|
||||
return IDE.valueOf(ide);
|
||||
} catch (IllegalArgumentException e) {
|
||||
return IDE.AS; // default value
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/** An interface for extensions to the Inspector Flipper plugin */
|
||||
|
||||
@@ -9,8 +9,8 @@
|
||||
|
||||
export enum IDE {
|
||||
'AS',
|
||||
'VSCode',
|
||||
'XCode',
|
||||
'VSCODE',
|
||||
'XCODE',
|
||||
}
|
||||
|
||||
export async function resolveFullPathsFromMyles(
|
||||
|
||||
Reference in New Issue
Block a user