File tree Expand file tree Collapse file tree 2 files changed +0
-6
lines changed
Expand file tree Collapse file tree 2 files changed +0
-6
lines changed Original file line number Diff line number Diff line change @@ -89,16 +89,13 @@ export function enableSSLPinning(options: Https.HttpsSSLPinningOptions) {
8989 }
9090 peer . enabled = true ;
9191 getClient ( true ) ;
92- // console.log('nativescript-https > Enabled SSL pinning');
9392}
9493
9594export function disableSSLPinning ( ) {
9695 peer . enabled = false ;
9796 getClient ( true ) ;
98- // console.log('nativescript-https > Disabled SSL pinning');
9997}
10098
101- // console.info('nativescript-https > Disabled SSL pinning by default');
10299
103100let Client : okhttp3 . OkHttpClient ;
104101let cookieJar : com . nativescript . https . QuotePreservingCookieJar ;
Original file line number Diff line number Diff line change @@ -56,15 +56,12 @@ export function enableSSLPinning(options: Https.HttpsSSLPinningOptions) {
5656 policies . secure . pinnedCertificates = NSSet . setWithObject ( data ) ;
5757 }
5858 policies . secured = true ;
59- console . log ( "nativescript-https > Enabled SSL pinning" ) ;
6059}
6160
6261export function disableSSLPinning ( ) {
6362 policies . secured = false ;
64- console . log ( "nativescript-https > Disabled SSL pinning" ) ;
6563}
6664
67- console . info ( "nativescript-https > Disabled SSL pinning by default" ) ;
6865
6966function AFSuccess (
7067 resolve ,
You can’t perform that action at this time.
0 commit comments