@@ -187,7 +187,7 @@ class FridaConfig extends React.Component<{
187187 interceptor : Interceptor ,
188188 activateInterceptor : ( options : FridaActivationOptions ) => Promise < void > ,
189189 reportStarted : ( options ?: { idSuffix ?: string } ) => void ,
190- reportSuccess : ( options ?: { idSuffix ?: string } ) => void ,
190+ reportSuccess : ( options ?: { idSuffix ?: string , showRequests ?: boolean } ) => void ,
191191 closeSelf : ( ) => void
192192} > {
193193
@@ -332,7 +332,7 @@ class FridaConfig extends React.Component<{
332332 action : 'setup' ,
333333 hostId
334334 } ) . catch ( ( e ) => alertActivationError ( 'setup Frida' , e ) ) ;
335- this . props . reportSuccess ( { idSuffix : 'setup' } ) ;
335+ this . props . reportSuccess ( { idSuffix : 'setup' , showRequests : false } ) ;
336336
337337 this . setHostProgress ( hostId , 75 ) ;
338338 await this . launchInterceptor ( hostId ) ;
@@ -358,7 +358,7 @@ class FridaConfig extends React.Component<{
358358 action : 'launch' ,
359359 hostId
360360 } ) . catch ( ( e ) => alertActivationError ( 'launch Frida' , e ) ) ;
361- this . props . reportSuccess ( { idSuffix : 'launch' } ) ;
361+ this . props . reportSuccess ( { idSuffix : 'launch' , showRequests : false } ) ;
362362
363363 this . setHostProgress ( hostId , 100 ) ;
364364 await delay ( 10 ) ; // Tiny delay, purely for nice UI purposes
@@ -393,7 +393,7 @@ class FridaConfig extends React.Component<{
393393 } )
394394 . catch ( ( e ) => alertActivationError ( `intercept ${ targetId } ` , e ) )
395395 . then ( ( ) => {
396- this . props . reportSuccess ( { idSuffix : 'app' } ) ;
396+ this . props . reportSuccess ( { idSuffix : 'app' , showRequests : true } ) ;
397397 } ) . finally ( action ( ( ) => {
398398 _ . pull ( this . inProgressTargetIds , targetId ) ;
399399 } ) ) ;
0 commit comments