We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2d9ff82 commit 7717b87Copy full SHA for 7717b87
capacitor-plugin-socket/src/web.ts
@@ -21,4 +21,9 @@ export class SocketPluginWeb extends WebPlugin implements SocketPlugin {
21
console.log('Web implementation does not support raw TCP sockets.');
22
return { success: false };
23
}
24
+
25
+ async getStatus(): Promise<{ connected: boolean; state: string }> {
26
+ console.log('Web implementation does not support raw TCP sockets.');
27
+ return { connected: false, state: 'disconnected' };
28
+ }
29
0 commit comments