File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -74,6 +74,8 @@ export class AndroidAdbInterceptor implements Interceptor {
74
74
await this . adbClient . install ( options . deviceId , await streamLatestApk ( this . config ) ) ;
75
75
}
76
76
console . log ( "App installed successfully" ) ;
77
+
78
+ await delay ( 200 ) ; // Add a little delay, to ensure intent URL is registered before we use it
77
79
}
78
80
79
81
// Now that the app is installed, bring it to the front (avoids issues with starting a
@@ -102,8 +104,6 @@ export class AndroidAdbInterceptor implements Interceptor {
102
104
} ;
103
105
const intentData = urlSafeBase64 ( JSON . stringify ( setupParams ) ) ;
104
106
105
- await delay ( 100 ) ; // Add a little delay, to ensure intent URL is registered
106
-
107
107
// Use ADB to launch the app with the proxy details
108
108
await this . adbClient . startActivity ( options . deviceId , {
109
109
wait : true ,
You can’t perform that action at this time.
0 commit comments