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 fe508b6 commit fa29b75Copy full SHA for fa29b75
src/interceptors/android/android-adb-interceptor.ts
@@ -67,7 +67,8 @@ export class AndroidAdbInterceptor implements Interceptor {
67
}
68
69
async activate(proxyPort: number, options: {
70
- deviceId: string
+ deviceId: string,
71
+ enableSocks?: boolean
72
}): Promise<void | {}> {
73
const deviceClient = new DeviceClient(this.adbClient, options.deviceId);
74
@@ -106,6 +107,7 @@ export class AndroidAdbInterceptor implements Interceptor {
106
107
),
108
port: proxyPort,
109
localTunnelPort: proxyPort,
110
+ enableSocks: options.enableSocks ?? false,
111
certFingerprint: await generateSPKIFingerprint(this.config.https.certContent)
112
};
113
const intentData = urlSafeBase64(JSON.stringify(setupParams));
0 commit comments