You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by GitBox <gi...@apache.org> on 2019/01/17 02:41:18 UTC

[GitHub] senjoeson edited a comment on issue #203: fileTransfer.download from https return error code 3 (SSL handshake) in android

senjoeson edited a comment on issue #203: fileTransfer.download from https return error code 3 (SSL handshake) in android
URL: https://github.com/apache/cordova-plugin-file-transfer/issues/203#issuecomment-455019894
 
 
   i had faced the problem at last time,  at that time ,i used the version is v1.5.1. Now i switch the lastest version ,v 1.7.1,  but i can't solve the problem . So i change the android  source code like this:
   
   * Firstly:
   ```
   import javax.net.ssl.HttpsURLConnection;
   ```
   
   * Secondly:    (the code must add the method of "download" and  "upload" from the class "FileTransfer")
   
   ![image](https://user-images.githubusercontent.com/24454887/51291508-55228480-1a42-11e9-8c65-b171ff841a3f.png)
   
   * Finally:
   
   ![image](https://user-images.githubusercontent.com/24454887/51291528-6b304500-1a42-11e9-8905-1b33108ddba1.png)
   
   
   All the  above changed  are from the class ''FileTransfer.java"
   
   That can fix the bug to solve the problem that can't  run on Android P !
    
   @pallaviMN 
   
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org