Commit Graph

6639 Commits

Author SHA1 Message Date
Lorenzo Blasa
3dacf5a7c9 WebSocket as default socket provider
Summary:
This change makes WebSockets the default for Flipper on iOS.

Having said that, we are introducing some logic to deal with clients connecting to older Flipper Desktop versions.

The mobile client will first attempt to connect via WebSocket with the Desktop. This connection can either be secure or insecure. If that fails, it will attempt to connect via RSocket.

Connection failure logic:
The mobile client will attempt to connect up-to 3 times via a WebSocket. If it fails to connect, then the socket provider is switched to RSocket.

As before, the mobile client will attempt to connect up-to 3 times via a RSocket. If it fails to connect, then the socket provider is switched back to WebSocket.

Process repeats until a successful connection is established.

Some logs that can be seen from iOS:

   2021-09-15 14:31:51.193503+0100 Sample[92026:92107440] [] nw_protocol_get_quic_image_block_invoke dlopen libquic failed
   2021-09-15 14:31:51.878257+0100 Sample[92026:92107440] [connection] nw_socket_handle_socket_event [C1.1:1] Socket SO_ERROR [61: Connection refused]
   2021-09-15 14:31:52.553729+0100 Sample[92026:92107440] [connection] nw_socket_handle_socket_event [C1.2:1] Socket SO_ERROR [61: Connection refused]
   2021-09-15 14:31:52.899511+0100 Sample[92026:92107442] [connection] nw_connection_get_connected_socket [C1] Client called nw_connection_get_connected_socket on unconnected nw_connection
   2021-09-15 14:31:52.899664+0100 Sample[92026:92107442] TCP Conn 0x600001d384d0 Failed : error 0:61 [61]
   2021-09-15 14:31:57.120120+0100 Sample[92026:92107439] [connection] nw_socket_handle_socket_event [C2.1:1] Socket SO_ERROR [61: Connection refused]
   2021-09-15 14:31:57.141785+0100 Sample[92026:92107439] [connection] nw_socket_handle_socket_event [C2.2:1] Socket SO_ERROR [61: Connection refused]
   2021-09-15 14:31:57.151604+0100 Sample[92026:92107483] [connection] nw_connection_get_connected_socket [C2] Client called nw_connection_get_connected_socket on unconnected nw_connection
   2021-09-15 14:31:57.154312+0100 Sample[92026:92107483] TCP Conn 0x600001d7c0b0 Failed : error 0:61 [61]
   2021-09-15 14:31:59.206079+0100 Sample[92026:92107483] [connection] nw_socket_handle_socket_event [C3.1:1] Socket SO_ERROR [61: Connection refused]
   2021-09-15 14:31:59.236824+0100 Sample[92026:92107483] [connection] nw_socket_handle_socket_event [C3.2:1] Socket SO_ERROR [61: Connection refused]
   2021-09-15 14:31:59.251927+0100 Sample[92026:92107439] [connection] nw_connection_get_connected_socket [C3] Client called nw_connection_get_connected_socket on unconnected nw_connection
   2021-09-15 14:31:59.255963+0100 Sample[92026:92107439] TCP Conn 0x600001d1c210 Failed : error 0:61 [61]
   2021-09-15 14:32:01.291303+0100 Sample[92026:92107439] [connection] nw_socket_handle_socket_event [C4.1:1] Socket SO_ERROR [61: Connection refused]
   2021-09-15 14:32:01.312406+0100 Sample[92026:92107439] [connection] nw_socket_handle_socket_event [C4.2:1] Socket SO_ERROR [61: Connection refused]
   2021-09-15 14:32:01.323099+0100 Sample[92026:92107483] [connection] nw_connection_get_connected_socket [C4] Client called nw_connection_get_connected_socket on unconnected nw_connection
   2021-09-15 14:32:01.326028+0100 Sample[92026:92107483] TCP Conn 0x600001d7c0b0 Failed : error 0:61 [61]
   flipper: Failed to connect with the current socket provider
   flipper: Use legacy socket provider
   flipper: FlipperClient::onConnected

Reviewed By: passy

Differential Revision: D30900471

fbshipit-source-id: 7c242ad71306803b050d0174fc22696bb74fdba5
2021-09-23 05:22:23 -07:00
Flipper Bot
fcd117fc76 Flipper Snapshot Bump: v0.112.1-SNAPSHOT
Summary: Releasing snapshot version 0.112.1-SNAPSHOT

Reviewed By: nikoant

Differential Revision: D31140850

fbshipit-source-id: cf170d881e1bc4a03f5a3643ff2b0d0a3fd7b5f6
2021-09-23 04:21:42 -07:00
Flipper Bot
597cb6b1da Flipper Release: v0.112.0
Summary: Releasing version 0.112.0

Reviewed By: nikoant

Differential Revision: D31140851

fbshipit-source-id: 18106a3f0c0383f8f32a7abf30866d9a72c912a4
2021-09-23 04:21:42 -07:00
Michel Weststrate
a72e46c792 Fix error handling in plugin loading
Summary: If a device plugin throw an error in it's initialization, it would prevent the device itself from being registered. This fixes that. As shown in the comments of for example: https://fb.workplace.com/groups/flippersupport/permalink/1218627761951213/

Reviewed By: ananyaarun

Differential Revision: D31127969

fbshipit-source-id: 9824d23b275f1f9e866f841035961e4707ff8e04
2021-09-23 02:52:54 -07:00
Hilal Alsibai
40f20f6785 Introduce an internal FDS Flipper plugin
Summary: Adding a Flipper plugin that is isolated to design systems engineering / FDS. This is essentially our dumping grounds of useful utilities for FDS. The first thing I've added is the ability to dump / view the ui tracker hierarchy, which will be useful for development / debugging.

Differential Revision: D31076277

fbshipit-source-id: 5aff639368945796dc3ebab603dadb8d43d7b699
2021-09-22 19:02:55 -07:00
Flipper Bot
24acde5325 Flipper Snapshot Bump: v0.111.1-SNAPSHOT
Summary: Releasing snapshot version 0.111.1-SNAPSHOT

Reviewed By: nikoant

Differential Revision: D31107619

fbshipit-source-id: 4142063904d0fd267550a4975c0b4831f2e71d94
2021-09-22 09:28:02 -07:00
Flipper Bot
2fc156c15a Flipper Release: v0.111.0
Summary: Releasing version 0.111.0

Reviewed By: nikoant

Differential Revision: D31107620

fbshipit-source-id: 3651b4e38c4311d895af411a15925eb99bef1382
2021-09-22 09:28:02 -07:00
Michel Weststrate
3882357579 Factor out realDevice [7/n]
Summary: `device.realDevice` was the escape hatch used in Sandy plugins to give access to device specific features like taking screenshots, clearing logs or accessing `adb`. Since in decapitated Flipper that won't be possible anymore (since plugins run in the client but device implementations on the server), all escape hatches have been bridged in this stack, and we can get of the `realDevice` interaction, by explicitly exposing those cases, which makes it type safe as well.

Reviewed By: passy

Differential Revision: D31079509

fbshipit-source-id: c9ec2e044d0dec0ccb1de287cf424907b198f818
2021-09-22 09:03:33 -07:00
Michel Weststrate
11a27f9e1a Support forward command [6/n]
Summary: Support the adb forward command

Reviewed By: jameslawson

Differential Revision: D31055957

fbshipit-source-id: bc0593320d0e187ddfc8120c1684746f9e9c4cf5
2021-09-22 09:03:33 -07:00
Michel Weststrate
8cf182cc26 Restore adb executeShell [5/n]
Summary: Expose executeShell explicitly through the device interface

Reviewed By: jameslawson

Differential Revision: D31055959

fbshipit-source-id: b14395d0783ede265c6ae39c397ea93a85a78336
2021-09-22 09:03:32 -07:00
Michel Weststrate
4463e7ede2 Restore metro functionality [4/n]
Summary: Restored Metro functionality; progress reports, metro logs, RN/Hermes debugging, reload / dev menu button

Reviewed By: passy

Differential Revision: D31055958

fbshipit-source-id: c243035c343c14718a9afe275c8f5f36a1aa3a94
2021-09-22 09:03:32 -07:00
Michel Weststrate
3428ce2968 Restore device icons [3/n]
Summary: Restored support for device icons which was disabled in previous diff

Reviewed By: passy

Differential Revision: D31054802

fbshipit-source-id: 107a53f06159211534cb9a2316340af7a7ca530a
2021-09-22 09:03:32 -07:00
Michel Weststrate
2d838efd4d Separate device in server and client version [2/n]
Summary:
This stack takes care of handling care of moving all device interactions over the (possible) async channel FlipperServer. The FlipperServer interface (see previous diff) allows listening to specific server events using `on`, and emit commands to be executed by the server by using `exec` (e.g. `exec('take-screenshot', serial) => Promise<buffer>`).

FlipperServerImpl implements this interface on the server side.

The device implementations are split as follows

```
server / backend process:

ServerDevice
- iOSDevice
- AndroidDevice
- MetroDevice
- DummyDevice
- Mac/Windows Device

frontend / ui:

BaseDevice: a normal connected, device, implements device apis as they already existed
- ArchivedDevice (note that this doesn't have a server counterpart)
- TestDevice (for unit tests, with stubbed backend communication)

```

All features of devices are for simplicity unified (since the deviations are small), where specific device types might not implement certain features like taking screenshots or running shell commands.

To avoid making this diff unnecessarily big, some open Todo's will be addressed later in this stack, and it shouldn't be landed alone.

Reviewed By: timur-valiev

Differential Revision: D30909346

fbshipit-source-id: cce0bee94fdd5db59bebe3577a6084219a038719
2021-09-22 09:03:32 -07:00
Michel Weststrate
845d0755f1 Move common types to flipper-plugin [1/n]
Summary: This is the first diff in a stack of many where server and UI logic is further decoupled to be only communication through an event listener / emitting commands, where all data going over these media is json serializable. In this diff we extract the common interfaces that are to be used by both server and UI layer.

Reviewed By: passy

Differential Revision: D30899609

fbshipit-source-id: dc3c783707d47671f1d0f5dbf99cde17a8f69062
2021-09-22 09:03:32 -07:00
Alex Yur
d5aaa0034d Improve UI when no devices connected
Summary: Remove empty dropdown when no devices connected. Show 'No devices available' test instead.

Reviewed By: passy

Differential Revision: D31088007

fbshipit-source-id: 8a3bf0e8fbff04c7dfe2581f95576b3ab5ed4bcb
2021-09-21 11:44:35 -07:00
Michel Weststrate
97e5c897c6 Update React Native Example
Summary: Updated React Native Example to 0.110.0 client, to fix randomly not connecting bug

Reviewed By: passy

Differential Revision: D31051673

fbshipit-source-id: 5b16c1ac1e66733ea78326484ac27c0198c9e7bf
2021-09-21 07:22:52 -07:00
Pascal Hartig
5252dac50a Revert globby upgrade (#2868)
Summary:
Fixes https://github.com/facebook/flipper/issues/2710

Pull Request resolved: https://github.com/facebook/flipper/pull/2868

Test Plan:
cd pkg; yarn && yarn run run help

No longer shows ESM error.

Reviewed By: lblasa

Differential Revision: D31027581

Pulled By: mweststrate

fbshipit-source-id: 04d669df3645c5b3ae727d521243a82dea701152
2021-09-20 02:23:02 -07:00
Wenhuan Li
4244563b67 fix take screenshot button state
Summary: Take screenshot button state is not reset after screenshot taken. So Flipper can only take 1 screenshot per session.

Reviewed By: mweststrate

Differential Revision: D31018526

fbshipit-source-id: dc7b00f26c77ec94a8a15047f5ae835acdb710c7
2021-09-17 11:24:08 -07:00
Flipper Bot
259f19817c Flipper Snapshot Bump: v0.110.1-SNAPSHOT
Summary: Releasing snapshot version 0.110.1-SNAPSHOT

Reviewed By: mweststrate

Differential Revision: D31020263

fbshipit-source-id: 1d8baaa6d7ca1ada052705196a833f61880564ab
2021-09-17 09:23:21 -07:00
Flipper Bot
5e10baa43f Flipper Release: v0.110.0
Summary: Releasing version 0.110.0

Reviewed By: mweststrate

Differential Revision: D31020264

fbshipit-source-id: e161705979fda9f95ddd212d5f35ede4bb8f49c3
2021-09-17 09:23:20 -07:00
Lorenzo Blasa
10e97a7e98 Fixes an error with the handled flag for certificate exchange
Summary:
This change fixes a bug with the handled flag during the certificate exchange process.

Explanation:
handled was passed by reference as &handled
Once the function goes out of scope then the reference, well, it just becomes invalid (undefined behaviour)
In some cases, it appears as 'handled' because the reference is invalid and it happens to be 'true'.

Changelog: Fixed an issue where clients would randomly not connect to Flipper. Please update FlipperKit to 0.110.0 to apply the fix: https://fbflipper.com/docs/getting-started/react-native#using-the-latest-flipper-sdk

Reviewed By: mweststrate

Differential Revision: D31017592

fbshipit-source-id: c087a769fa23de1acfd3c198b4db4d6ccdb2be90
2021-09-17 08:23:18 -07:00
Michel Weststrate
c865446312 Fixed issue where ADB would be initialised, despite being disabled in settings
Summary:
As reported here: https://github.com/facebook/flipper/issues/2873, ADB would be initialised, even when disabled explicitly, resulting in an error if ADB could not be found.

Changelog: Fix: made sure that the "Android disabled" setting is respected.

Reviewed By: lblasa

Differential Revision: D31019099

fbshipit-source-id: 9d57945f2c21655426da42eb976dd46d8605d007
2021-09-17 07:24:57 -07:00
Michel Weststrate
d7da816e36 Fixed issue where plugins weren't reset properly when reconnecting a device
Summary: If a device disconnects and reconnects while keeping the plugin open, a new pluginInstance is available, but the React component would not be remounted since both the old and new pluginInstance have the same identifier (device/client/plugin). This change makes sure that if a different pluginInstance arrives, the rendering will be reinitialised as well.

Reviewed By: lblasa

Differential Revision: D31018845

fbshipit-source-id: ac09e7ac519c7aebfb4f8dc0cc7c6cda6fbbf633
2021-09-17 07:24:57 -07:00
Michel Weststrate
dcac1db50f Cleanup android utilities
Summary: Some code simplification. The validation functions are not async, so don't need promises. By combining the internal and non internal files, a lot of utilities can be kept local instead of exposing them

Reviewed By: lblasa

Differential Revision: D31018355

fbshipit-source-id: be568a70fc84971dbce82a8478495edf7dafb4a5
2021-09-17 07:24:57 -07:00
Michel Weststrate
236bc44609 Fix SparkAR connection
Summary:
Changelog: Fixed skyline no longer connecting to Flipper

Per https://fb.workplace.com/groups/flippersupport/permalink/1214902038990452/. Reverts a change introduced here: https://www.internalfb.com/diff/D30838947 (d8f77db632)?transaction_fbid=439205157417044

Reviewed By: lblasa

Differential Revision: D30992087

fbshipit-source-id: 529f473807b53137b20fd39c37be95e6d7ec0c6d
2021-09-17 05:23:15 -07:00
Michel Weststrate
3ee8aef154 Fix bug in iOSDevice detection if both physical and emulator are active
Summary:
When connecting both to an iOS emulator and physical device, the emulator devices would continuesly be replaced, and Flipper would print the warning

`Tried to replace still connected device XXX with a new instance`

Fixed the logical mistake that causes it. Not sure if this caused any actual bugs, but at least it was incorrect.

Reviewed By: lblasa

Differential Revision: D31015451

fbshipit-source-id: 32dd29043e9dc48357fdbf68cde930d3be11419a
2021-09-17 05:23:15 -07:00
Michel Weststrate
5739e0c943 Fix CSR exchange exception disappearing in the void
Summary: I accidentally wrote a cert at the wrong location, but noticed that there was never raised an exception. Added error handing to surface the error. Seems the underlying RSocket implementation silently eats errors that escape from handlers....

Reviewed By: lblasa

Differential Revision: D31015168

fbshipit-source-id: 38480921c3cf33f3a5d91eb2ed4e3a912fdf74a7
2021-09-17 05:23:14 -07:00
Michel Weststrate
41286ce4b8 Some minor logging fine tuning
Summary: Per title

Reviewed By: lblasa

Differential Revision: D31015170

fbshipit-source-id: 5e50c9cb7b3d65eb745be8f33ef38cbb226e8bbc
2021-09-17 05:23:14 -07:00
Michel Weststrate
e771394350 Fix timeout handlers being shared across connections
Summary: If multiple apps connect simultanously, they could overwrite or cancel each other timeoutHandles, leading to potential incorrect messages.

Reviewed By: lblasa

Differential Revision: D31015171

fbshipit-source-id: 1d498a90c8a7a1847d2a961fc944d2f74e734cc2
2021-09-17 05:23:14 -07:00
Michel Weststrate
ebc905edd7 Bump deps
Summary: run `pod install`

Reviewed By: lblasa

Differential Revision: D30992110

fbshipit-source-id: ee1f7cd2d1209ac1ed233c3106e901c765ab8a70
2021-09-17 05:23:14 -07:00
Julio Cesar Sevarolli Assis
cbee595229 Enhancing types for Device
Summary: While investigating Flipper to unblock D30990411. I found this untyped `device` field. This field is exactly the `Device` type in 'adbkit', so I did a small refactor to type it.

Reviewed By: timur-valiev

Differential Revision: D30996427

fbshipit-source-id: 9972a865c2dee009088635e57ef512969f404ddf
2021-09-17 05:23:14 -07:00
Mathias Fleig Mortensen
094c320c5c Ignore react-vis types missing
Reviewed By: defHLT

Differential Revision: D30993257

fbshipit-source-id: 32d7f6af837f47407e10e3c3bd744071d6b374e6
2021-09-17 04:23:27 -07:00
Mathias Fleig Mortensen
b62cd63f58 Add typing for TreemapPoint functions
Reviewed By: timur-valiev

Differential Revision: D30992497

fbshipit-source-id: 616f11d34d2904655f74c9313a511b8e14a13524
2021-09-17 04:23:27 -07:00
Wenhuan Li
eb04011887 Limit ADB error display for 10 seconds
Summary: So that error message won't displayed forever.

Reviewed By: lblasa

Differential Revision: D30991434

fbshipit-source-id: 2cb5c9f983e11e021acb818ad4e245530757eee4
2021-09-16 07:02:06 -07:00
Flipper Bot
918b48f979 Flipper Snapshot Bump: v0.109.1-SNAPSHOT
Summary: Releasing snapshot version 0.109.1-SNAPSHOT

Reviewed By: mweststrate

Differential Revision: D30988722

fbshipit-source-id: 1ac646098718e9434c09f50d6024db6852f381e1
2021-09-16 05:45:15 -07:00
Flipper Bot
fbe2b590d1 Flipper Release: v0.109.0
Summary: Releasing version 0.109.0

Reviewed By: mweststrate

Differential Revision: D30988723

fbshipit-source-id: 795fef1a475eb3c15ee323626a92e76345239af0
2021-09-16 05:45:15 -07:00
Michel Weststrate
9ebdf2e9ac Add warnings on how to handle offline emulators
Summary:
My emulators stopped showing up, but I noticed they were still listed in adb devices as 'offline'. Seems to be a weird ADB issue, changing the developer settings on the emulator fixed that for me, so linked to the SO answer where I found the solution.

Changelog: Added warning about offline emulators in ADB

Reviewed By: nikoant

Differential Revision: D30957786

fbshipit-source-id: 5468a983b5364c0fe868610978c09382f6b43d91
2021-09-16 02:22:31 -07:00
Michel Weststrate
8e899a90a4 Make sure the same client doesn't end up twice in the device list
Summary: Noticed in a support post that uninitialised devices could end up multiple times in the connecting list.

Reviewed By: timur-valiev

Differential Revision: D30957447

fbshipit-source-id: 11a2e3a9c52083245e66ebfb1899c00aeae6eb7e
2021-09-15 14:46:11 -07:00
Michel Weststrate
94a7b4360d add error handing to ADB client creation
Summary:
Noticed there are uncaught exception if adb cannot be found, that don't make it to the UI, but just cause no devices to be detected.

While testing, found that the unsafeClient fallback we use doesn't find the devices either. So it is unclear to me if it is helping in any case, and figured we'd better provide early signal to the user to set up adb correctly, rather than jumping through hoops and trying to work without it.

Changelog: Handle the absence of ADB better

Reviewed By: timur-valiev

Differential Revision: D30957220

fbshipit-source-id: 4d9a89bffefa96d3861d3f26224b4c74c19abd37
2021-09-15 14:46:11 -07:00
Lorenzo Blasa
1390bf4a33 Define alt ports for web socket connections
Summary:
The changes below add the notion of alternative ports to Flipper.

These alternative ports are meant to and will be used to connect via WebSocket instead of RSocket. The name does not suggest that as to make as generic as possible so that they can be reused for different purposes in the future.

Reviewed By: passy

Differential Revision: D30898874

fbshipit-source-id: 5eed8c61b41b502c859192aaac59c284b7b36228
2021-09-15 07:59:55 -07:00
Mathias Fleig Mortensen
6359c82be1 Add memory consumption treemap tab
Summary: There are some issues with label positioning, but overall works.

Reviewed By: defHLT

Differential Revision: D29588329

fbshipit-source-id: 5c2e8f6f139d997559111fa2ad124ae1d695b36a
2021-09-15 07:47:34 -07:00
Andrey Goncharov
77b820c4ca Remove WS resolutions
Summary: Currently, WS resolutions crush metro.

Reviewed By: mweststrate

Differential Revision: D30956763

fbshipit-source-id: 358500dd9ea45ceac7fda811f7413b3f749b092f
2021-09-15 02:30:24 -07:00
Pascal Hartig
f522c9ee07 Fix Flipper lints #3
Summary: More error chaining and some error logging.

Reviewed By: lblasa

Differential Revision: D30932120

fbshipit-source-id: de0da698a24b04312b4df3c59b02d8d85d2d7e19
2021-09-14 08:55:28 -07:00
Wenhuan Li
384fd5ab1d Fix adb related warnings
Summary: Fix lint warnings

Reviewed By: passy

Differential Revision: D30929702

fbshipit-source-id: 8763783a7faf978f81087258fb6ef345d9abdbe4
2021-09-14 07:37:23 -07:00
Michel Weststrate
b0310f4528 Bump deps of flipper-js-client-sdk
Summary: Bump several deps of flipper-js-client-sdk at once, to close multiple dependabot PRs

Reviewed By: passy

Differential Revision: D30931608

fbshipit-source-id: 4c95a98e4fce805c8c92c605b3fd7eb71e7daaa7
2021-09-14 06:11:41 -07:00
dependabot[bot]
94a2aae561 Bump anyhow from 1.0.43 to 1.0.44 in /packer (#2847)
Summary:
Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.43 to 1.0.44.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/dtolnay/anyhow/releases">anyhow's releases</a>.</em></p>
<blockquote>
<h2>1.0.44</h2>
<ul>
<li>Mark error constructors cold to help LLVM optimize code paths not leading to error (<a href="https://github-redirect.dependabot.com/dtolnay/anyhow/issues/166">https://github.com/facebook/flipper/issues/166</a>, thanks <a href="https://github.com/stepancheg"><code>@​stepancheg</code></a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="6c97c59375"><code>6c97c59</code></a> Release 1.0.44</li>
<li><a href="447eff84b0"><code>447eff8</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/dtolnay/anyhow/issues/166">https://github.com/facebook/flipper/issues/166</a> from stepancheg/cold</li>
<li><a href="fa9bcc0457"><code>fa9bcc0</code></a> Mark error constructors cold</li>
<li><a href="b3c5e25860"><code>b3c5e25</code></a> Mirror PR 162 from readme to rustdoc</li>
<li><a href="bec8204d5f"><code>bec8204</code></a> Reword PR 162</li>
<li><a href="4d3adef908"><code>4d3adef</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/dtolnay/anyhow/issues/162">https://github.com/facebook/flipper/issues/162</a> from ArekPiekarz/readme-backtrace</li>
<li><a href="b45d6490c4"><code>b45d649</code></a> Ignore unhelpful Clippy lint in build script</li>
<li><a href="58b873a3cd"><code>58b873a</code></a> Add to README using backtraces on stable channel</li>
<li>See full diff in <a href="https://github.com/dtolnay/anyhow/compare/1.0.43...1.0.44">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=anyhow&package-manager=cargo&previous-version=1.0.43&new-version=1.0.44)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

 ---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `dependabot rebase` will rebase this PR
- `dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `dependabot merge` will merge this PR after your CI passes on it
- `dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `dependabot cancel merge` will cancel a previously requested merge and block automerging
- `dependabot reopen` will reopen this PR if it is closed
- `dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

</details>

Pull Request resolved: https://github.com/facebook/flipper/pull/2847

Reviewed By: timur-valiev

Differential Revision: D30900762

Pulled By: mweststrate

fbshipit-source-id: e951554c0562fd53918843e58b8c1c3f13239bde
2021-09-14 05:31:24 -07:00
Pascal Hartig
9bea015d57 Update custom-ports.mdx (#2864)
Summary: Pull Request resolved: https://github.com/facebook/flipper/pull/2864

Reviewed By: timur-valiev

Differential Revision: D30930168

Pulled By: passy

fbshipit-source-id: 9d2c580717183bbf2d762a30aa56fbcbe64672b1
2021-09-14 03:37:20 -07:00
Michel Weststrate
bae2043e06 Fix theme updating issue
Summary:
Follow up on D29436059 (014e571f74), another place where the old format was leaked.

Fixes https://github.com/facebook/flipper/issues/2842 + some mentions on WP

Changelog: Fixed JavaScript exception on main thread occurring after loading Flipper

Reviewed By: nikoant

Differential Revision: D30928768

fbshipit-source-id: 083731e18230825738466b34368c2b5f730e386c
2021-09-14 03:16:56 -07:00
Michel Weststrate
c4538c48d6 Remove deprecated documentation
Summary: Sandy is idiomatic now, cleaned up old docs to avoid confusion as in https://github.com/facebook/flipper/issues/2611.

Reviewed By: passy

Differential Revision: D30908794

fbshipit-source-id: c4076f1d24b193f71923d19eeed631763bb9dacb
2021-09-14 03:12:41 -07:00
Michel Weststrate
75b5783fd0 Clean up QPL integration
Summary:
Removed the Flipper QPL integration, see:
https://fb.workplace.com/groups/flippersupport/permalink/1200183003795689/

It complicates our build setup significantly, without actually being used anywhere for the past year. Apparently it doesn't solve a gap compared to the scuba logging we have already in place.

Reviewed By: passy

Differential Revision: D30911573

fbshipit-source-id: 836e2aba0c92c0eed9fed0dfb12bd8bdcb8c7d71
2021-09-14 02:55:01 -07:00