You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Baptiste Bohelay (JIRA)" <ji...@apache.org> on 2015/08/14 14:36:46 UTC

[jira] [Comment Edited] (CB-7925) Android app crashes when use File Transfer & another plugin that uses SSL (related to OkHttp)

    [ https://issues.apache.org/jira/browse/CB-7925?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14696947#comment-14696947 ] 

Baptiste Bohelay edited comment on CB-7925 at 8/14/15 12:36 PM:
----------------------------------------------------------------

I was using a Facebook ads + filetransfer plugins and it was always crashing on android 4.x
This is the only solution that fixed the crash for me : remove okhttp.
https://issues.apache.org/jira/browse/CB-6630

And this is how to to it:
https://git-wip-us.apache.org/repos/asf?p=cordova-android.git;h=c6b171b


was (Author: aphexhenry):
I was using a Facebook ads + filetransfer plugins and it was always crashing on android 4.x
This is the only solution that fixed the crash for me : remove okhttp.

https://issues.apache.org/jira/browse/CB-6630

And this is how to to it:
https://git-wip-us.apache.org/repos/asf?p=cordova-android.git;h=c6b171b

> Android app crashes when use File Transfer & another plugin that uses SSL (related to OkHttp)
> ---------------------------------------------------------------------------------------------
>
>                 Key: CB-7925
>                 URL: https://issues.apache.org/jira/browse/CB-7925
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin File Transfer
>    Affects Versions: 4.0.0
>         Environment: Android 4.4.4
>            Reporter: Rajat Paharia
>
> In my app if I do a file upload using the File Transfer plugin and then try to make a call to the Facebook plugin: https://github.com/Wizcorp/phonegap-facebook-plugin - my app immediately crashes. I believe this is caused by this issue with the version of the OkHttp library currently being used: 
> http://stackoverflow.com/questions/21872818/okhttp-and-facebook-crashed
> https://github.com/square/okhttp/issues/184
> It would be great if the described workaround could be implemented in Cordova while we wait for https://issues.apache.org/jira/browse/CB-6630 and an upgrade to OkHttp 2.0



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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