Enable WebSockets for Android

Summary: This change effectively prioritises WebSocket over RSocket connections for Android.

Reviewed By: passy

Differential Revision: D32490095

fbshipit-source-id: 836438970f0668521ca6e7fab6c106e77f951652
This commit is contained in:
Lorenzo Blasa
2021-12-02 02:23:31 -08:00
committed by Facebook GitHub Bot
parent 3db072557b
commit 6a4a867f74
3 changed files with 2 additions and 11 deletions

View File

@@ -75,11 +75,7 @@ class FlipperConnectionManagerImpl : public FlipperConnectionManager {
int failedConnectionAttempts_ = 0;
int failedSocketConnectionAttempts = 0;
#ifdef __APPLE__
bool useLegacySocketProvider = false;
#else
bool useLegacySocketProvider = true;
#endif
std::shared_ptr<ConnectionContextStore> contextStore_;
std::shared_ptr<FlipperConnectionManagerWrapper> implWrapper_;