Skip to content

Commit

Permalink
πŸ› FIx BrowserExtensionRPC opening status detection.
Browse files Browse the repository at this point in the history
  • Loading branch information
Chralu committed May 31, 2024
1 parent 5396597 commit 1bb9e07
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/infrastructure/rpc/browser_extension_aws.web.dart
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ class BrowserExtensionAWS {
late Function(BrowserExtensionPort port) _interopConnectionReceived;
void _connectionReceived(BrowserExtensionPort port) {
print('[AWCBrowserExtension] external connection received ');
port.postMessage('connected');
final channel = BrowserExtensionMessagePortStreamChannel(port: port);
final peerServer = AWCJsonRPCServer(channel.cast<String>());
_peerServers.add(peerServer);
Expand Down

0 comments on commit 1bb9e07

Please sign in to comment.