Add physical iOS support to internal build
Summary: Adds support for physical iOS devices, when the necessary dependencies are present. Unfortunately these aren't open sourced yet so the open source build won't get this feature yet. Reviewed By: priteshrnandgaonkar Differential Revision: D13001473 fbshipit-source-id: d8c2bcd53b7972bec676717c8af0112800b918d0
This commit is contained in:
committed by
Facebook Github Bot
parent
8d93946739
commit
40f50d48e3
@@ -148,22 +148,6 @@ export default class Server extends EventEmitter {
|
||||
};
|
||||
this.emit('start-client-setup', client);
|
||||
|
||||
if (
|
||||
clientData.os === 'iOS' &&
|
||||
!clientData.device.toLowerCase().includes('simulator')
|
||||
) {
|
||||
this.emit(
|
||||
'error',
|
||||
new Error(
|
||||
"Flipper doesn't currently support physical iOS devices. You can still use it to view logs, but for now to use the majority of the Flipper plugins you'll have to use the Simulator.",
|
||||
),
|
||||
);
|
||||
console.warn(
|
||||
'Physical iOS device detected. This is not currently supported by Flipper.',
|
||||
'server',
|
||||
);
|
||||
}
|
||||
|
||||
return {
|
||||
requestResponse: (payload: {data: string}) => {
|
||||
if (typeof payload.data !== 'string') {
|
||||
|
||||
Reference in New Issue
Block a user