@@ -187,7 +187,7 @@ class FridaConfig extends React.Component<{
187
187
interceptor : Interceptor ,
188
188
activateInterceptor : ( options : FridaActivationOptions ) => Promise < void > ,
189
189
reportStarted : ( options ?: { idSuffix ?: string } ) => void ,
190
- reportSuccess : ( options ?: { idSuffix ?: string } ) => void ,
190
+ reportSuccess : ( options ?: { idSuffix ?: string , showRequests ?: boolean } ) => void ,
191
191
closeSelf : ( ) => void
192
192
} > {
193
193
@@ -332,7 +332,7 @@ class FridaConfig extends React.Component<{
332
332
action : 'setup' ,
333
333
hostId
334
334
} ) . catch ( ( e ) => alertActivationError ( 'setup Frida' , e ) ) ;
335
- this . props . reportSuccess ( { idSuffix : 'setup' } ) ;
335
+ this . props . reportSuccess ( { idSuffix : 'setup' , showRequests : false } ) ;
336
336
337
337
this . setHostProgress ( hostId , 75 ) ;
338
338
await this . launchInterceptor ( hostId ) ;
@@ -358,7 +358,7 @@ class FridaConfig extends React.Component<{
358
358
action : 'launch' ,
359
359
hostId
360
360
} ) . catch ( ( e ) => alertActivationError ( 'launch Frida' , e ) ) ;
361
- this . props . reportSuccess ( { idSuffix : 'launch' } ) ;
361
+ this . props . reportSuccess ( { idSuffix : 'launch' , showRequests : false } ) ;
362
362
363
363
this . setHostProgress ( hostId , 100 ) ;
364
364
await delay ( 10 ) ; // Tiny delay, purely for nice UI purposes
@@ -393,7 +393,7 @@ class FridaConfig extends React.Component<{
393
393
} )
394
394
. catch ( ( e ) => alertActivationError ( `intercept ${ targetId } ` , e ) )
395
395
. then ( ( ) => {
396
- this . props . reportSuccess ( { idSuffix : 'app' } ) ;
396
+ this . props . reportSuccess ( { idSuffix : 'app' , showRequests : true } ) ;
397
397
} ) . finally ( action ( ( ) => {
398
398
_ . pull ( this . inProgressTargetIds , targetId ) ;
399
399
} ) ) ;
0 commit comments