Disable crash reporter plugin on physical iOS devices
Summary: It doesn't currently work on them, so removing to avoid confusion. Reviewed By: priteshrnandgaonkar Differential Revision: D21448681 fbshipit-source-id: 6ef46f8551921c1c5bdba17fd65f762292f1dd0e
This commit is contained in:
committed by
Facebook GitHub Bot
parent
9e8592d050
commit
fbb9f805d4
@@ -531,7 +531,10 @@ export default class CrashReporterPlugin extends FlipperDevicePlugin<
|
|||||||
static defaultPersistedState = {crashes: []};
|
static defaultPersistedState = {crashes: []};
|
||||||
|
|
||||||
static supportsDevice(device: Device) {
|
static supportsDevice(device: Device) {
|
||||||
return device.os === 'iOS' || device.os === 'Android';
|
return (
|
||||||
|
(device.os === 'iOS' && device.deviceType !== 'physical') ||
|
||||||
|
device.os === 'Android'
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
static notificationID: number = 0;
|
static notificationID: number = 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user