[jira] [Commented] (CB-7845) Camera Photos on Android 4.4.4 (Moto X) being scaled down when allowEdit=true
[ https://issues.apache.org/jira/browse/CB-7845?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14955991#comment-14955991 ] Rajat Paharia commented on CB-7845: --- Thanks for the update Richard! > Camera Photos on Android 4.4.4 (Moto X) being scaled down when allowEdit=true > - > > Key: CB-7845 > URL: https://issues.apache.org/jira/browse/CB-7845 > Project: Apache Cordova > Issue Type: Bug > Components: Plugin Camera > Environment: Android 4.4.4 (Moto X) >Reporter: Rajat Paharia > Labels: Android, Triaged > > Using the following settings: > Quality: 85, allowEdit=true, targetWidth=1000, targetHeight=1000, > correctOrientation: true, destinationType: FILE_URI, encodingType: JPEG, > sourceType: CAMERA, saveToPhotoAlbum: false > The picture is taken, accepted, then the crop screen is shown with a fixed > square crop. I select Done and then upload the image to my server. The image > is always 281x281 pixels, instead of the desired 1000x1000. > Changing sourceType to PHOTOLIBRARY, and doing the same set of steps (except > picking an existing image from the gallery instead of taking a new one), on > the other hand, results in what was expected - a 1000x1000 square image. > Changing the quality to 100 has no effect on the dimensions. > Changing correctOrientation, saveToPhotoAlbum have no effect on dimensions. > Changing targetWidth and targetHeight to 2000 has no effect on dimensions. > Removing the targetWidth and targetHeight results in images that are 304x303 > pixels. > After accepting the picture and before the Crop screen comes up, I can > sometimes see the Google+ icon in the upper right and the title "Crop". I > have the Google+ app installed on my phone. > Using: > cordova 4.0.0 > Installed platforms: android 3.6.4, ios 3.6.3 > org.apache.cordova.camera 0.3.3 "Camera" > (had the same problems with 3.5.0 and older version of Camera plugin). -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-7141) Added ability specify stream type on the Android
[ https://issues.apache.org/jira/browse/CB-7141?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14341956#comment-14341956 ] Rajat Paharia commented on CB-7141: --- Thanks [~akurdyumov] In AudioPlayer.java in the loadAudioFile function, right before this line: {code:borderStyle=solid} this.setState(STATE.MEDIA_STARTING); {code} I added this line to implement this for all my locally loaded sound effects: {code:borderStyle=solid} this.player.setAudioStreamType(AudioManager.STREAM_NOTIFICATION); {code} Now the sound effects in my app use the phone/ringer volume and mix in with any media that's currently playing. > Added ability specify stream type on the Android > > > Key: CB-7141 > URL: https://issues.apache.org/jira/browse/CB-7141 > Project: Apache Cordova > Issue Type: Improvement > Components: Android, Plugin Media >Reporter: Andrey Kurdyumov > > Would be good to be able play sounds on Android which will be muted when > disabling sounds using status bar. For that sounds on Android should be > played with option > mediaPlayer.setAudioStreamType(AudioManager.STREAM_NOTIFICATION); > Would be good to hear about such feature on other platforms as well -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-8002) Creating a new div for every Js -> Native exec() call
[ https://issues.apache.org/jira/browse/CB-8002?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14316857#comment-14316857 ] Rajat Paharia commented on CB-8002: --- Based on the idea from [~Hirbod], while waiting for the official 3.8.0 release, I put this function into my app, and call it from some user-initiated actions that I know happen relatively frequently: (note that it's not totally generic as it references frameworks and variables from my app, but it's just to give you an idea). {code:title=killZombies|borderStyle=solid|language=JavaScript} killZombies: function() { Temporary JS workaround until iOS Platform 3.80 is available to deal with this bug in 3.70 // https://issues.apache.org/jira/browse/CB-8002 // delete extra gap://ready iframes. $ionicPlatform.ready(function() { if ($rootScope.vars.isCordovaApp && angular.isDefined(device.platform) && device.platform.toUpperCase() == "IOS") { var frames = document.getElementsByTagName("iframe"); var gapFrames = []; angular.forEach(frames, function(value) { if (value.src == "gap://ready") { gapFrames.push(value); } }); // delete all but the last one. var deleteCounter = 0; var totalLength = gapFrames.length; if (gapFrames.length > 1) { for (var i = gapFrames.length -2; i >= 0; i--) { //console.log ("Deleting gapFrame " + i + " of " + totalLength); angular.element(gapFrames[i]).remove(); deleteCounter++; } } console.log ("Deleted " + deleteCounter + " gapFrames"); } }); }, {code} > Creating a new div for every Js -> Native exec() call > - > > Key: CB-8002 > URL: https://issues.apache.org/jira/browse/CB-8002 > Project: Apache Cordova > Issue Type: Bug > Components: iOS >Affects Versions: 3.7.0 > Environment: Tested on multiple iOS 8.1 devices, simulators >Reporter: Serdar Onal >Assignee: Andrew Grieve >Priority: Critical > Fix For: 3.8.0 > > > Since the 3.7.0 update, when cordova does a Js to Native call using exec(), > somehow the underlying cordova.js is creating a "gap://ready" iframe on every > call. This means that if you made 1000 native calls you'll have 1000 divs on > the DOM. > I believe this issue is of critical priority as it incurs a huge memory leak. > Screenshot from safari inspector > https://drive.google.com/file/d/0B94TXiq5ycp1anp6aGpTbjhPdG8/view?usp=sharing -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-8036) Cannot update to 3.7.0
[ https://issues.apache.org/jira/browse/CB-8036?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14284345#comment-14284345 ] Rajat Paharia commented on CB-8036: --- Same issue as [~MichelReij]. Updated CLI from 4.0 to 4.2, then tried to update iOS platform and saw the shelljs error. Used the solution by [~JanMisker] to get it to work. > Cannot update to 3.7.0 > -- > > Key: CB-8036 > URL: https://issues.apache.org/jira/browse/CB-8036 > Project: Apache Cordova > Issue Type: Bug > Components: iOS >Affects Versions: 3.7.0 > Environment: OS X Maverics (10.9.5) with XCode 6 >Reporter: Hirbod > > Hi, > before 3.7.0 I could update without any problems from 3.5.0 to 3.6.3 > I tried to update from 3.6.3 to 3.7.0 but now I receive this error: > cordova platform update ios > module.js:340 > throw err; > ^ > Error: Cannot find module 'shelljs' > at Function.Module._resolveFilename (module.js:338:15) > at Function.Module._load (module.js:280:25) > at Module.require (module.js:364:17) > at require (module.js:380:17) > at Object. > (/Users/Hirbod/.cordova/lib/npm_cache/cordova-ios/3.7.0/package/bin/update:21:13) > at Module._compile (module.js:456:26) > at Object.Module._extensions..js (module.js:474:10) > at Module.load (module.js:356:32) > at Function.Module._load (module.js:312:12) > at Function.Module.runMain (module.js:497:10) > Error: > /Users/Hirbod/.cordova/lib/npm_cache/cordova-ios/3.7.0/package/bin/update: > Command failed with exit code 8 > at ChildProcess.whenDone > (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/cordova/superspawn.js:135:23) > at ChildProcess.emit (events.js:98:17) > at maybeClose (child_process.js:756:16) > at Process.ChildProcess._handle.onexit (child_process.js:823:5) > I tried to reinstall shelljs locally and globally but I can't figure out this > bug. > Update for Android to version 3.6.4 worked without any problems. > Of course I've updated phonegap and cordova before (like described in the CLI > Docs on phonegap.com) -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-4731) Adding config entries in plugin.xml results in duplicate .plist entries
[ https://issues.apache.org/jira/browse/CB-4731?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14238099#comment-14238099 ] Rajat Paharia commented on CB-4731: --- What version of Cordova should we be seeing this fix in? I'm using 4.0.0 and still having this issue. Thanks! > Adding config entries in plugin.xml results in duplicate .plist entries > --- > > Key: CB-4731 > URL: https://issues.apache.org/jira/browse/CB-4731 > Project: Apache Cordova > Issue Type: Bug > Components: Plugman >Affects Versions: 3.0.0 > Environment: macosx >Reporter: Tim Croydon >Assignee: Gorkem ERCAN >Priority: Minor > > I have the following in the plugin.xml file for a custom plugin: > {code} > > > >location >voip > > > > {code} > However, this does not generate the expected entries in the .plist file. I > get: > {code} > UIBackgroundModes > > location > voip > location > voip > > {code} > i.e. elements are repeated. I have tried with a single element in the source > plugin.xml and get the same result. > I am using the cordova CLI to manage my plugins, platforms and build. > (p.s. I'm new to Cordova so apologies if this is filed under the incorrect > component) -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (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=14202419#comment-14202419 ] Rajat Paharia commented on CB-7925: --- Good to know. I haven't tested on a 4.1 device yet. If I encounter problems with my solution, I'll try yours. Thanks! > 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-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[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=14194171#comment-14194171 ] Rajat Paharia edited comment on CB-7925 at 11/3/14 1:56 AM: The following fix (based on the solution outlined in the links above) seems to work for me. I have no idea what I'm doing, so can't comment as to whether this is a good solution or not though ;) To file: *platforms/android/CordovaLib/src/org/apache/cordova/CordovaResourceApi.java* Add to class variable declarations: {code:title=CordovaResourceApi.java - variable declarations |borderStyle=solid} private static boolean initializedOkHttpClient = false; {code} Add to function *createHttpConnection*: {code:title=CordovaResourceApi.java - createHttpConnection |borderStyle=solid} public HttpURLConnection createHttpConnection(Uri uri) throws IOException { if (!initializedOkHttpClient) { initializedOkHttpClient = true; URL.setURLStreamHandlerFactory(httpClient); } assertBackgroundThread(); return httpClient.open(new URL(uri.toString())); } {code} The static variable initializedOkHttpClient ensures that we only call URL.setURLStreamHandlerFactory(httpClient); once. Without that, the app no longer crashes, but I get weird behavior when trying to upload files. was (Author: rajatrocks): The following fix (based on the solution outlined in the links above) seems to work for me. I have no idea what I'm doing, so can't comment as to whether this is a good solution or not though ;) To file: *platforms/android/CordovaLib/src/org/apache/cordova/CordovaResourceApi.java* Add to top variable declarations: {code:title=CordovaResourceApi.java - variable declarations |borderStyle=solid} private static boolean initializedOkHttpClient = false; {code} Add to function *createHttpConnection*: {code:title=CordovaResourceApi.java - createHttpConnection |borderStyle=solid} public HttpURLConnection createHttpConnection(Uri uri) throws IOException { if (!initializedOkHttpClient) { initializedOkHttpClient = true; URL.setURLStreamHandlerFactory(httpClient); } assertBackgroundThread(); return httpClient.open(new URL(uri.toString())); } {code} The static variable initializedOkHttpClient ensures that we only call URL.setURLStreamHandlerFactory(httpClient); once. Without that, the app no longer crashes, but I get weird behavior when trying to upload files. > 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-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[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=14194171#comment-14194171 ] Rajat Paharia edited comment on CB-7925 at 11/3/14 1:55 AM: The following fix (based on the solution outlined in the links above) seems to work for me. I have no idea what I'm doing, so can't comment as to whether this is a good solution or not though ;) To file: *platforms/android/CordovaLib/src/org/apache/cordova/CordovaResourceApi.java* Add to top variable declarations: {code:title=CordovaResourceApi.java - variable declarations |borderStyle=solid} private static boolean initializedOkHttpClient = false; {code} Add to function *createHttpConnection*: {code:title=CordovaResourceApi.java - createHttpConnection |borderStyle=solid} public HttpURLConnection createHttpConnection(Uri uri) throws IOException { if (!initializedOkHttpClient) { initializedOkHttpClient = true; URL.setURLStreamHandlerFactory(httpClient); } assertBackgroundThread(); return httpClient.open(new URL(uri.toString())); } {code} The static variable initializedOkHttpClient ensures that we only call URL.setURLStreamHandlerFactory(httpClient); once. Without that, the app no longer crashes, but I get weird behavior when trying to upload files. was (Author: rajatrocks): The following fix (based on the solution outlined in the links above) seems to work for me. I have no idea what I'm doing, so can't comment as to whether this is a good solution or not though ;) To file: *platforms/android/CordovaLib/src/org/apache/cordova/CordovaResourceApi.java* Add to top variable declarations: {code:title=CordovaResourceApi.java - variable declarations |borderStyle=solid} private static boolean initializedOkHttpClient = false; {code} Add to function *createHttpConnection*: {code:title=CordovaResourceApi.java - createHttpConnection |borderStyle=solid} public HttpURLConnection createHttpConnection(Uri uri) throws IOException { if (!initializedOkHttpClient) { initializedOkHttpClient = true; URL.setURLStreamHandlerFactory(httpClient); } assertBackgroundThread(); return httpClient.open(new URL(uri.toString())); } {code} > 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-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (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=14194171#comment-14194171 ] Rajat Paharia commented on CB-7925: --- The following fix (based on the solution outlined in the links above) seems to work for me. I have no idea what I'm doing, so can't comment as to whether this is a good solution or not though ;) To file: *platforms/android/CordovaLib/src/org/apache/cordova/CordovaResourceApi.java* Add to top variable declarations: {code:title=CordovaResourceApi.java - variable declarations |borderStyle=solid} private static boolean initializedOkHttpClient = false; {code} Add to function *createHttpConnection*: {code:title=CordovaResourceApi.java - createHttpConnection |borderStyle=solid} public HttpURLConnection createHttpConnection(Uri uri) throws IOException { if (!initializedOkHttpClient) { initializedOkHttpClient = true; URL.setURLStreamHandlerFactory(httpClient); } assertBackgroundThread(); return httpClient.open(new URL(uri.toString())); } {code} > 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-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Issue Comment Deleted] (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:all-tabpanel ] Rajat Paharia updated CB-7925: -- Comment: was deleted (was: Based on the official solution in the OkHttp thread above, I added the following line: *URL.setURLStreamHandlerFactory(httpClient);* to the top of the *createHttpConnection* function in platforms/android/CordovaLib/src/org/apache/cordova/CordovaResourceApi.java and my app no longer crashes. so the function now looks like: {code:title=CordovaResourceApi.java|borderStyle=solid} public HttpURLConnection createHttpConnection(Uri uri) throws IOException { URL.setURLStreamHandlerFactory(httpClient); // added assertBackgroundThread(); return httpClient.open(new URL(uri.toString())); } {code} I don't really know what any of this does, so don't know if this is a good or correct solution. But it seems to work. ) > 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-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[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=14194018#comment-14194018 ] Rajat Paharia edited comment on CB-7925 at 11/2/14 9:02 PM: Based on the official solution in the OkHttp thread above, I added the following line: *URL.setURLStreamHandlerFactory(httpClient);* to the top of the *createHttpConnection* function in platforms/android/CordovaLib/src/org/apache/cordova/CordovaResourceApi.java and my app no longer crashes. so the function now looks like: {code:title=CordovaResourceApi.java|borderStyle=solid} public HttpURLConnection createHttpConnection(Uri uri) throws IOException { URL.setURLStreamHandlerFactory(httpClient); // added assertBackgroundThread(); return httpClient.open(new URL(uri.toString())); } {code} I don't really know what any of this does, so don't know if this is a good or correct solution. But it seems to work. was (Author: rajatrocks): I added the following line: *URL.setURLStreamHandlerFactory(httpClient);* to the top of the *createHttpConnection* function in platforms/android/CordovaLib/src/org/apache/cordova/CordovaResourceApi.java and my app no longer crashes. so the function now looks like: {code:title=CordovaResourceApi.java|borderStyle=solid} public HttpURLConnection createHttpConnection(Uri uri) throws IOException { URL.setURLStreamHandlerFactory(httpClient); // added assertBackgroundThread(); return httpClient.open(new URL(uri.toString())); } {code} > 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-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[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=14194018#comment-14194018 ] Rajat Paharia edited comment on CB-7925 at 11/2/14 8:59 PM: I added the following line: *URL.setURLStreamHandlerFactory(httpClient);* to the top of the *createHttpConnection* function in platforms/android/CordovaLib/src/org/apache/cordova/CordovaResourceApi.java and my app no longer crashes. so the function now looks like: {code:title=Bar.java|borderStyle=solid} public HttpURLConnection createHttpConnection(Uri uri) throws IOException { URL.setURLStreamHandlerFactory(httpClient); // added assertBackgroundThread(); return httpClient.open(new URL(uri.toString())); } {code} was (Author: rajatrocks): I added the following line: *URL.setURLStreamHandlerFactory(httpClient);* to the top of the *createHttpConnection* function in platforms/android/CordovaLib/src/org/apache/cordova/CordovaResourceApi.java and my app no longer crashes. so the function now looks like: ``` #!java public HttpURLConnection createHttpConnection(Uri uri) throws IOException { URL.setURLStreamHandlerFactory(httpClient); // added assertBackgroundThread(); return httpClient.open(new URL(uri.toString())); } ``` > 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-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[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=14194018#comment-14194018 ] Rajat Paharia edited comment on CB-7925 at 11/2/14 9:00 PM: I added the following line: *URL.setURLStreamHandlerFactory(httpClient);* to the top of the *createHttpConnection* function in platforms/android/CordovaLib/src/org/apache/cordova/CordovaResourceApi.java and my app no longer crashes. so the function now looks like: {code:title=/CordovaResourceApi.java|borderStyle=solid} public HttpURLConnection createHttpConnection(Uri uri) throws IOException { URL.setURLStreamHandlerFactory(httpClient); // added assertBackgroundThread(); return httpClient.open(new URL(uri.toString())); } {code} was (Author: rajatrocks): I added the following line: *URL.setURLStreamHandlerFactory(httpClient);* to the top of the *createHttpConnection* function in platforms/android/CordovaLib/src/org/apache/cordova/CordovaResourceApi.java and my app no longer crashes. so the function now looks like: {code:title=Bar.java|borderStyle=solid} public HttpURLConnection createHttpConnection(Uri uri) throws IOException { URL.setURLStreamHandlerFactory(httpClient); // added assertBackgroundThread(); return httpClient.open(new URL(uri.toString())); } {code} > 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-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[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=14194018#comment-14194018 ] Rajat Paharia edited comment on CB-7925 at 11/2/14 9:00 PM: I added the following line: *URL.setURLStreamHandlerFactory(httpClient);* to the top of the *createHttpConnection* function in platforms/android/CordovaLib/src/org/apache/cordova/CordovaResourceApi.java and my app no longer crashes. so the function now looks like: {code:title=CordovaResourceApi.java|borderStyle=solid} public HttpURLConnection createHttpConnection(Uri uri) throws IOException { URL.setURLStreamHandlerFactory(httpClient); // added assertBackgroundThread(); return httpClient.open(new URL(uri.toString())); } {code} was (Author: rajatrocks): I added the following line: *URL.setURLStreamHandlerFactory(httpClient);* to the top of the *createHttpConnection* function in platforms/android/CordovaLib/src/org/apache/cordova/CordovaResourceApi.java and my app no longer crashes. so the function now looks like: {code:title=/CordovaResourceApi.java|borderStyle=solid} public HttpURLConnection createHttpConnection(Uri uri) throws IOException { URL.setURLStreamHandlerFactory(httpClient); // added assertBackgroundThread(); return httpClient.open(new URL(uri.toString())); } {code} > 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-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[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=14194018#comment-14194018 ] Rajat Paharia edited comment on CB-7925 at 11/2/14 8:58 PM: I added the following line: *URL.setURLStreamHandlerFactory(httpClient);* to the top of the *createHttpConnection* function in platforms/android/CordovaLib/src/org/apache/cordova/CordovaResourceApi.java and my app no longer crashes. so the function now looks like: ``` #!java public HttpURLConnection createHttpConnection(Uri uri) throws IOException { URL.setURLStreamHandlerFactory(httpClient); // added assertBackgroundThread(); return httpClient.open(new URL(uri.toString())); } ``` was (Author: rajatrocks): I added the following line: *URL.setURLStreamHandlerFactory(httpClient);* to the top of the *createHttpConnection* function in platforms/android/CordovaLib/src/org/apache/cordova/CordovaResourceApi.java and my app no longer crashes. so the function now looks like: ``` public HttpURLConnection createHttpConnection(Uri uri) throws IOException { URL.setURLStreamHandlerFactory(httpClient); // added assertBackgroundThread(); return httpClient.open(new URL(uri.toString())); } ``` > 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-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[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=14194018#comment-14194018 ] Rajat Paharia edited comment on CB-7925 at 11/2/14 8:57 PM: I added the following line: *URL.setURLStreamHandlerFactory(httpClient);* to the top of the *createHttpConnection* function in platforms/android/CordovaLib/src/org/apache/cordova/CordovaResourceApi.java and my app no longer crashes. so the function now looks like: ``` public HttpURLConnection createHttpConnection(Uri uri) throws IOException { URL.setURLStreamHandlerFactory(httpClient); // added assertBackgroundThread(); return httpClient.open(new URL(uri.toString())); } ``` was (Author: rajatrocks): I added the following line: *URL.setURLStreamHandlerFactory(httpClient);* to the top of the *createHttpConnection* function in platforms/android/CordovaLib/src/org/apache/cordova/CordovaResourceApi.java and my app no longer crashes. so the function now looks like: public HttpURLConnection createHttpConnection(Uri uri) throws IOException { URL.setURLStreamHandlerFactory(httpClient); // added assertBackgroundThread(); return httpClient.open(new URL(uri.toString())); } > 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-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[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=14194018#comment-14194018 ] Rajat Paharia edited comment on CB-7925 at 11/2/14 8:56 PM: I added the following line: *URL.setURLStreamHandlerFactory(httpClient);* to the top of the *createHttpConnection* function in platforms/android/CordovaLib/src/org/apache/cordova/CordovaResourceApi.java and my app no longer crashes. so the function now looks like: public HttpURLConnection createHttpConnection(Uri uri) throws IOException { *URL.setURLStreamHandlerFactory(httpClient); // added* assertBackgroundThread(); return httpClient.open(new URL(uri.toString())); } was (Author: rajatrocks): I added the following line: *URL.setURLStreamHandlerFactory(httpClient);* to the top of the *createHttpConnection* function in platforms/android/CordovaLib/src/org/apache/cordova/CordovaResourceApi.java and my app no longer crashes. so the function now looks like: ``` public HttpURLConnection createHttpConnection(Uri uri) throws IOException { URL.setURLStreamHandlerFactory(httpClient); // added assertBackgroundThread(); return httpClient.open(new URL(uri.toString())); } ``` > 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-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[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=14194018#comment-14194018 ] Rajat Paharia edited comment on CB-7925 at 11/2/14 8:57 PM: I added the following line: *URL.setURLStreamHandlerFactory(httpClient);* to the top of the *createHttpConnection* function in platforms/android/CordovaLib/src/org/apache/cordova/CordovaResourceApi.java and my app no longer crashes. so the function now looks like: public HttpURLConnection createHttpConnection(Uri uri) throws IOException { URL.setURLStreamHandlerFactory(httpClient); // added assertBackgroundThread(); return httpClient.open(new URL(uri.toString())); } was (Author: rajatrocks): I added the following line: *URL.setURLStreamHandlerFactory(httpClient);* to the top of the *createHttpConnection* function in platforms/android/CordovaLib/src/org/apache/cordova/CordovaResourceApi.java and my app no longer crashes. so the function now looks like: public HttpURLConnection createHttpConnection(Uri uri) throws IOException { *URL.setURLStreamHandlerFactory(httpClient); // added* assertBackgroundThread(); return httpClient.open(new URL(uri.toString())); } > 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-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (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=14194018#comment-14194018 ] Rajat Paharia commented on CB-7925: --- I added the following line: *URL.setURLStreamHandlerFactory(httpClient);* to the top of the createHttpConnection function in platforms/android/CordovaLib/src/org/apache/cordova/CordovaResourceApi.java and my app no longer crashes. so the function now looks like: ``` #!java public HttpURLConnection createHttpConnection(Uri uri) throws IOException { URL.setURLStreamHandlerFactory(httpClient); // added assertBackgroundThread(); return httpClient.open(new URL(uri.toString())); } ``` > 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-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[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=14194018#comment-14194018 ] Rajat Paharia edited comment on CB-7925 at 11/2/14 8:56 PM: I added the following line: *URL.setURLStreamHandlerFactory(httpClient);* to the top of the *createHttpConnection* function in platforms/android/CordovaLib/src/org/apache/cordova/CordovaResourceApi.java and my app no longer crashes. so the function now looks like: ``` public HttpURLConnection createHttpConnection(Uri uri) throws IOException { URL.setURLStreamHandlerFactory(httpClient); // added assertBackgroundThread(); return httpClient.open(new URL(uri.toString())); } ``` was (Author: rajatrocks): I added the following line: *URL.setURLStreamHandlerFactory(httpClient);* to the top of the createHttpConnection function in platforms/android/CordovaLib/src/org/apache/cordova/CordovaResourceApi.java and my app no longer crashes. so the function now looks like: ``` #!java public HttpURLConnection createHttpConnection(Uri uri) throws IOException { URL.setURLStreamHandlerFactory(httpClient); // added assertBackgroundThread(); return httpClient.open(new URL(uri.toString())); } ``` > 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-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-6630) Remove okhttp from source directory, make HTTP a library project dependency
[ https://issues.apache.org/jira/browse/CB-6630?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14193963#comment-14193963 ] Rajat Paharia commented on CB-6630: --- Was directed here from the closed issue https://issues.apache.org/jira/browse/CB-7603 (Upgrade to OkHttp 2.0). There is currently a problem with the OkHttp 1.3 library which is causing my app to crash: https://issues.apache.org/jira/browse/CB-7925. There is a workaround described that can be used until Cordova is able to use OkHttp 2.0. > Remove okhttp from source directory, make HTTP a library project dependency > --- > > Key: CB-6630 > URL: https://issues.apache.org/jira/browse/CB-6630 > Project: Apache Cordova > Issue Type: Improvement > Components: Android >Reporter: Joe Bowser >Assignee: Joe Bowser > > From Stack Overflow: > http://stackoverflow.com/questions/23446603/conversion-to-dalvik-format-failed-unable-to-execute-dex-multiple-dex-files-de > Basically, we should be including third party libraries as libraries, and not > just dumping the source in our own tree. This leads to major problems when > people use other Java libraries. We'll probably need to modify the CLI to do > this, of course. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Issue Comment Deleted] (CB-6630) Remove okhttp from source directory, make HTTP a library project dependency
[ https://issues.apache.org/jira/browse/CB-6630?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rajat Paharia updated CB-6630: -- Comment: was deleted (was: fyi - I'm currently experiencing crashes in my Android app, and I believe it's because I'm using both the File Transfer and the Facebook plugin (https://github.com/Wizcorp/phonegap-facebook-plugin). I found these links which indicate that the underlying problem is fixed in OkHttp 2.0: http://stackoverflow.com/questions/21872818/okhttp-and-facebook-crashed https://github.com/square/okhttp/issues/184 Testing on an Android 4.4.4 device. Happy to provide a logcat if it's useful.) > Remove okhttp from source directory, make HTTP a library project dependency > --- > > Key: CB-6630 > URL: https://issues.apache.org/jira/browse/CB-6630 > Project: Apache Cordova > Issue Type: Improvement > Components: Android >Reporter: Joe Bowser >Assignee: Joe Bowser > > From Stack Overflow: > http://stackoverflow.com/questions/23446603/conversion-to-dalvik-format-failed-unable-to-execute-dex-multiple-dex-files-de > Basically, we should be including third party libraries as libraries, and not > just dumping the source in our own tree. This leads to major problems when > people use other Java libraries. We'll probably need to modify the CLI to do > this, of course. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Created] (CB-7925) Android app crashes when use File Transfer & another plugin that uses SSL (related to OkHttp)
Rajat Paharia created CB-7925: - Summary: 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-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-6630) Remove okhttp from source directory, make HTTP a library project dependency
[ https://issues.apache.org/jira/browse/CB-6630?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14193748#comment-14193748 ] Rajat Paharia commented on CB-6630: --- fyi - I'm currently experiencing crashes in my Android app, and I believe it's because I'm using both the File Transfer and the Facebook plugin (https://github.com/Wizcorp/phonegap-facebook-plugin). I found these links which indicate that the underlying problem is fixed in OkHttp 2.0: http://stackoverflow.com/questions/21872818/okhttp-and-facebook-crashed https://github.com/square/okhttp/issues/184 Testing on an Android 4.4.4 device. Happy to provide a logcat if it's useful. > Remove okhttp from source directory, make HTTP a library project dependency > --- > > Key: CB-6630 > URL: https://issues.apache.org/jira/browse/CB-6630 > Project: Apache Cordova > Issue Type: Improvement > Components: Android >Reporter: Joe Bowser >Assignee: Joe Bowser > > From Stack Overflow: > http://stackoverflow.com/questions/23446603/conversion-to-dalvik-format-failed-unable-to-execute-dex-multiple-dex-files-de > Basically, we should be including third party libraries as libraries, and not > just dumping the source in our own tree. This leads to major problems when > people use other Java libraries. We'll probably need to modify the CLI to do > this, of course. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Comment Edited] (CB-7901) Upload times out and fails with 400 error sometimes - Android
[ https://issues.apache.org/jira/browse/CB-7901?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14189199#comment-14189199 ] Rajat Paharia edited comment on CB-7901 at 10/30/14 7:34 AM: - btw - in this case the plugin returns an error code of 1 = FileTransferError.FILE_NOT_FOUND_ERR which is misleading. And maybe I'm misunderstanding the docs, but nothing comes through in the "exception" property of the Error object. I also tried called e.getMessage() and that method doesn't exist. I was able to grab the as-yet-undocumented "body" property. was (Author: rajatrocks): btw - in this case the plugin returns an error code of 1 = FileTransferError.FILE_NOT_FOUND_ERR which is misleading. And maybe I'm misunderstanding the docs, but nothing comes through in the "exception" property of the Error object. I also tried called e.getMessage() and that method doesn't exist. > Upload times out and fails with 400 error sometimes - Android > - > > Key: CB-7901 > URL: https://issues.apache.org/jira/browse/CB-7901 > Project: Apache Cordova > Issue Type: Bug > Components: Plugin File Transfer >Affects Versions: 4.0.0 > Environment: Android 4.4.4 >Reporter: Rajat Paharia > Attachments: failure1.txt, failure2.txt, success1.txt, success2.txt > > > Using: > - Cordova 4.0.0 > - org.apache.cordova.file-transfer 0.4.7 "File Transfer" > - Android 4.4.4 (Moto X) > I am uploading image files from my phone to AWS S3 (via https) using the File > Transfer plugin. When using Wifi, this seems to work with no issues - I have > not been able to get it to fail. I have setup a progress callback to log to > the console and the "win" callback is called almost immediately after the > last progress event. > When using the cell network (with 1-2 out of 5 bars), on the other hand, it > fails intermittently. The progress events seem to indicate that the file is > almost done uploading, then there is a long delay, and then the fail callback > is called. > File size doesn't have any effect. > I am attaching logcats of both successes and failures. The successes show a > 204 response from the AWS server shortly after the last progress event. The > failures show a long delay after the last progress event, and then a 400 > response from the AWS server with the following message "Your socket > connection to the server was not read from or written to within the timeout > period. Idle connections will be closed." > Google searching on this phrase reveals that the most common cause is the > Content-Length being set to more than the number of bytes actually sent. > Given that this only happens on slower connections, I'm not sure if that's > relevant in this case. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Comment Edited] (CB-7901) Upload times out and fails with 400 error sometimes - Android
[ https://issues.apache.org/jira/browse/CB-7901?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14189199#comment-14189199 ] Rajat Paharia edited comment on CB-7901 at 10/29/14 10:55 PM: -- btw - in this case the plugin returns an error code of 1 = FileTransferError.FILE_NOT_FOUND_ERR which is misleading. And maybe I'm misunderstanding the docs, but nothing comes through in the "exception" property of the Error object. I also tried called e.getMessage() and that method doesn't exist. was (Author: rajatrocks): btw - the plugin returns an error code of 1 = FileTransferError.FILE_NOT_FOUND_ERR which is misleading. And maybe I'm misunderstanding the docs, but nothing comes through in the "exception" property of the Error object. > Upload times out and fails with 400 error sometimes - Android > - > > Key: CB-7901 > URL: https://issues.apache.org/jira/browse/CB-7901 > Project: Apache Cordova > Issue Type: Bug > Components: Plugin File Transfer >Affects Versions: 4.0.0 > Environment: Android 4.4.4 >Reporter: Rajat Paharia > Attachments: failure1.txt, failure2.txt, success1.txt, success2.txt > > > Using: > - Cordova 4.0.0 > - org.apache.cordova.file-transfer 0.4.7 "File Transfer" > - Android 4.4.4 (Moto X) > I am uploading image files from my phone to AWS S3 (via https) using the File > Transfer plugin. When using Wifi, this seems to work with no issues - I have > not been able to get it to fail. I have setup a progress callback to log to > the console and the "win" callback is called almost immediately after the > last progress event. > When using the cell network (with 1-2 out of 5 bars), on the other hand, it > fails intermittently. The progress events seem to indicate that the file is > almost done uploading, then there is a long delay, and then the fail callback > is called. > File size doesn't have any effect. > I am attaching logcats of both successes and failures. The successes show a > 204 response from the AWS server shortly after the last progress event. The > failures show a long delay after the last progress event, and then a 400 > response from the AWS server with the following message "Your socket > connection to the server was not read from or written to within the timeout > period. Idle connections will be closed." > Google searching on this phrase reveals that the most common cause is the > Content-Length being set to more than the number of bytes actually sent. > Given that this only happens on slower connections, I'm not sure if that's > relevant in this case. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-7901) Upload times out and fails with 400 error sometimes - Android
[ https://issues.apache.org/jira/browse/CB-7901?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14189199#comment-14189199 ] Rajat Paharia commented on CB-7901: --- btw - the plugin returns an error code of 1 = FileTransferError.FILE_NOT_FOUND_ERR which is misleading. And maybe I'm misunderstanding the docs, but nothing comes through in the "exception" property of the Error object. > Upload times out and fails with 400 error sometimes - Android > - > > Key: CB-7901 > URL: https://issues.apache.org/jira/browse/CB-7901 > Project: Apache Cordova > Issue Type: Bug > Components: Plugin File Transfer >Affects Versions: 4.0.0 > Environment: Android 4.4.4 >Reporter: Rajat Paharia > Attachments: failure1.txt, failure2.txt, success1.txt, success2.txt > > > Using: > - Cordova 4.0.0 > - org.apache.cordova.file-transfer 0.4.7 "File Transfer" > - Android 4.4.4 (Moto X) > I am uploading image files from my phone to AWS S3 (via https) using the File > Transfer plugin. When using Wifi, this seems to work with no issues - I have > not been able to get it to fail. I have setup a progress callback to log to > the console and the "win" callback is called almost immediately after the > last progress event. > When using the cell network (with 1-2 out of 5 bars), on the other hand, it > fails intermittently. The progress events seem to indicate that the file is > almost done uploading, then there is a long delay, and then the fail callback > is called. > File size doesn't have any effect. > I am attaching logcats of both successes and failures. The successes show a > 204 response from the AWS server shortly after the last progress event. The > failures show a long delay after the last progress event, and then a 400 > response from the AWS server with the following message "Your socket > connection to the server was not read from or written to within the timeout > period. Idle connections will be closed." > Google searching on this phrase reveals that the most common cause is the > Content-Length being set to more than the number of bytes actually sent. > Given that this only happens on slower connections, I'm not sure if that's > relevant in this case. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Updated] (CB-7901) Upload times out and fails with 400 error sometimes - Android
[ https://issues.apache.org/jira/browse/CB-7901?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rajat Paharia updated CB-7901: -- Attachment: failure2.txt A second failed upload. Look at the beginning and the end of the file. I've left all the stuff in the middle so you can see how long it took. > Upload times out and fails with 400 error sometimes - Android > - > > Key: CB-7901 > URL: https://issues.apache.org/jira/browse/CB-7901 > Project: Apache Cordova > Issue Type: Bug > Components: Plugin File Transfer >Affects Versions: 4.0.0 > Environment: Android 4.4.4 >Reporter: Rajat Paharia > Attachments: failure1.txt, failure2.txt, success1.txt, success2.txt > > > Using: > - Cordova 4.0.0 > - org.apache.cordova.file-transfer 0.4.7 "File Transfer" > - Android 4.4.4 (Moto X) > I am uploading image files from my phone to AWS S3 (via https) using the File > Transfer plugin. When using Wifi, this seems to work with no issues - I have > not been able to get it to fail. I have setup a progress callback to log to > the console and the "win" callback is called almost immediately after the > last progress event. > When using the cell network (with 1-2 out of 5 bars), on the other hand, it > fails intermittently. The progress events seem to indicate that the file is > almost done uploading, then there is a long delay, and then the fail callback > is called. > File size doesn't have any effect. > I am attaching logcats of both successes and failures. The successes show a > 204 response from the AWS server shortly after the last progress event. The > failures show a long delay after the last progress event, and then a 400 > response from the AWS server with the following message "Your socket > connection to the server was not read from or written to within the timeout > period. Idle connections will be closed." > Google searching on this phrase reveals that the most common cause is the > Content-Length being set to more than the number of bytes actually sent. > Given that this only happens on slower connections, I'm not sure if that's > relevant in this case. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Updated] (CB-7901) Upload times out and fails with 400 error sometimes - Android
[ https://issues.apache.org/jira/browse/CB-7901?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rajat Paharia updated CB-7901: -- Attachment: failure1.txt A failed upload. Look at the beginning and the end of the file. I've left all the stuff in the middle so you can see how long it took. > Upload times out and fails with 400 error sometimes - Android > - > > Key: CB-7901 > URL: https://issues.apache.org/jira/browse/CB-7901 > Project: Apache Cordova > Issue Type: Bug > Components: Plugin File Transfer >Affects Versions: 4.0.0 > Environment: Android 4.4.4 >Reporter: Rajat Paharia > Attachments: failure1.txt, failure2.txt, success1.txt, success2.txt > > > Using: > - Cordova 4.0.0 > - org.apache.cordova.file-transfer 0.4.7 "File Transfer" > - Android 4.4.4 (Moto X) > I am uploading image files from my phone to AWS S3 (via https) using the File > Transfer plugin. When using Wifi, this seems to work with no issues - I have > not been able to get it to fail. I have setup a progress callback to log to > the console and the "win" callback is called almost immediately after the > last progress event. > When using the cell network (with 1-2 out of 5 bars), on the other hand, it > fails intermittently. The progress events seem to indicate that the file is > almost done uploading, then there is a long delay, and then the fail callback > is called. > File size doesn't have any effect. > I am attaching logcats of both successes and failures. The successes show a > 204 response from the AWS server shortly after the last progress event. The > failures show a long delay after the last progress event, and then a 400 > response from the AWS server with the following message "Your socket > connection to the server was not read from or written to within the timeout > period. Idle connections will be closed." > Google searching on this phrase reveals that the most common cause is the > Content-Length being set to more than the number of bytes actually sent. > Given that this only happens on slower connections, I'm not sure if that's > relevant in this case. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Updated] (CB-7901) Upload times out and fails with 400 error sometimes - Android
[ https://issues.apache.org/jira/browse/CB-7901?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rajat Paharia updated CB-7901: -- Attachment: success1.txt Successful upload 1 > Upload times out and fails with 400 error sometimes - Android > - > > Key: CB-7901 > URL: https://issues.apache.org/jira/browse/CB-7901 > Project: Apache Cordova > Issue Type: Bug > Components: Plugin File Transfer >Affects Versions: 4.0.0 > Environment: Android 4.4.4 >Reporter: Rajat Paharia > Attachments: success1.txt, success2.txt > > > Using: > - Cordova 4.0.0 > - org.apache.cordova.file-transfer 0.4.7 "File Transfer" > - Android 4.4.4 (Moto X) > I am uploading image files from my phone to AWS S3 (via https) using the File > Transfer plugin. When using Wifi, this seems to work with no issues - I have > not been able to get it to fail. I have setup a progress callback to log to > the console and the "win" callback is called almost immediately after the > last progress event. > When using the cell network (with 1-2 out of 5 bars), on the other hand, it > fails intermittently. The progress events seem to indicate that the file is > almost done uploading, then there is a long delay, and then the fail callback > is called. > File size doesn't have any effect. > I am attaching logcats of both successes and failures. The successes show a > 204 response from the AWS server shortly after the last progress event. The > failures show a long delay after the last progress event, and then a 400 > response from the AWS server with the following message "Your socket > connection to the server was not read from or written to within the timeout > period. Idle connections will be closed." > Google searching on this phrase reveals that the most common cause is the > Content-Length being set to more than the number of bytes actually sent. > Given that this only happens on slower connections, I'm not sure if that's > relevant in this case. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Updated] (CB-7901) Upload times out and fails with 400 error sometimes - Android
[ https://issues.apache.org/jira/browse/CB-7901?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rajat Paharia updated CB-7901: -- Attachment: success2.txt Successful upload 2 > Upload times out and fails with 400 error sometimes - Android > - > > Key: CB-7901 > URL: https://issues.apache.org/jira/browse/CB-7901 > Project: Apache Cordova > Issue Type: Bug > Components: Plugin File Transfer >Affects Versions: 4.0.0 > Environment: Android 4.4.4 >Reporter: Rajat Paharia > Attachments: success1.txt, success2.txt > > > Using: > - Cordova 4.0.0 > - org.apache.cordova.file-transfer 0.4.7 "File Transfer" > - Android 4.4.4 (Moto X) > I am uploading image files from my phone to AWS S3 (via https) using the File > Transfer plugin. When using Wifi, this seems to work with no issues - I have > not been able to get it to fail. I have setup a progress callback to log to > the console and the "win" callback is called almost immediately after the > last progress event. > When using the cell network (with 1-2 out of 5 bars), on the other hand, it > fails intermittently. The progress events seem to indicate that the file is > almost done uploading, then there is a long delay, and then the fail callback > is called. > File size doesn't have any effect. > I am attaching logcats of both successes and failures. The successes show a > 204 response from the AWS server shortly after the last progress event. The > failures show a long delay after the last progress event, and then a 400 > response from the AWS server with the following message "Your socket > connection to the server was not read from or written to within the timeout > period. Idle connections will be closed." > Google searching on this phrase reveals that the most common cause is the > Content-Length being set to more than the number of bytes actually sent. > Given that this only happens on slower connections, I'm not sure if that's > relevant in this case. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Created] (CB-7901) Upload times out and fails with 400 error sometimes - Android
Rajat Paharia created CB-7901: - Summary: Upload times out and fails with 400 error sometimes - Android Key: CB-7901 URL: https://issues.apache.org/jira/browse/CB-7901 Project: Apache Cordova Issue Type: Bug Components: Plugin File Transfer Affects Versions: 4.0.0 Environment: Android 4.4.4 Reporter: Rajat Paharia Using: - Cordova 4.0.0 - org.apache.cordova.file-transfer 0.4.7 "File Transfer" - Android 4.4.4 (Moto X) I am uploading image files from my phone to AWS S3 (via https) using the File Transfer plugin. When using Wifi, this seems to work with no issues - I have not been able to get it to fail. I have setup a progress callback to log to the console and the "win" callback is called almost immediately after the last progress event. When using the cell network (with 1-2 out of 5 bars), on the other hand, it fails intermittently. The progress events seem to indicate that the file is almost done uploading, then there is a long delay, and then the fail callback is called. File size doesn't have any effect. I am attaching logcats of both successes and failures. The successes show a 204 response from the AWS server shortly after the last progress event. The failures show a long delay after the last progress event, and then a 400 response from the AWS server with the following message "Your socket connection to the server was not read from or written to within the timeout period. Idle connections will be closed." Google searching on this phrase reveals that the most common cause is the Content-Length being set to more than the number of bytes actually sent. Given that this only happens on slower connections, I'm not sure if that's relevant in this case. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-7845) Camera Photos on Android 4.4.4 (Moto X) being scaled down when allowEdit=true
[ https://issues.apache.org/jira/browse/CB-7845?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14179728#comment-14179728 ] Rajat Paharia commented on CB-7845: --- Tried the same thing on a phone running 4.1.2 with the same results. One thing I did notice on this phone - I have two options for Cropping - one has the icon of the default Gallery app on the phone. This option enables me to drag out a square, and when I click "OK" it says it's saving the picture, and then it just sits there. It never returns back to my app unless I hit "Cancel". The other one looks and works just like the Google+ one on the 4.4.4 phone, with the same results. > Camera Photos on Android 4.4.4 (Moto X) being scaled down when allowEdit=true > - > > Key: CB-7845 > URL: https://issues.apache.org/jira/browse/CB-7845 > Project: Apache Cordova > Issue Type: Bug > Components: Plugin Camera > Environment: Android 4.4.4 (Moto X) >Reporter: Rajat Paharia > > Using the following settings: > Quality: 85, allowEdit=true, targetWidth=1000, targetHeight=1000, > correctOrientation: true, destinationType: FILE_URI, encodingType: JPEG, > sourceType: CAMERA, saveToPhotoAlbum: false > The picture is taken, accepted, then the crop screen is shown with a fixed > square crop. I select Done and then upload the image to my server. The image > is always 281x281 pixels, instead of the desired 1000x1000. > Changing sourceType to PHOTOLIBRARY, and doing the same set of steps (except > picking an existing image from the gallery instead of taking a new one), on > the other hand, results in what was expected - a 1000x1000 square image. > Changing the quality to 100 has no effect on the dimensions. > Changing correctOrientation, saveToPhotoAlbum have no effect on dimensions. > Changing targetWidth and targetHeight to 2000 has no effect on dimensions. > Removing the targetWidth and targetHeight results in images that are 304x303 > pixels. > After accepting the picture and before the Crop screen comes up, I can > sometimes see the Google+ icon in the upper right and the title "Crop". I > have the Google+ app installed on my phone. > Using: > cordova 4.0.0 > Installed platforms: android 3.6.4, ios 3.6.3 > org.apache.cordova.camera 0.3.3 "Camera" > (had the same problems with 3.5.0 and older version of Camera plugin). -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Created] (CB-7845) Camera Photos on Android 4.4.4 (Moto X) being scaled down when allowEdit=true
Rajat Paharia created CB-7845: - Summary: Camera Photos on Android 4.4.4 (Moto X) being scaled down when allowEdit=true Key: CB-7845 URL: https://issues.apache.org/jira/browse/CB-7845 Project: Apache Cordova Issue Type: Bug Components: Plugin Camera Environment: Android 4.4.4 (Moto X) Reporter: Rajat Paharia Using the following settings: Quality: 85, allowEdit=true, targetWidth=1000, targetHeight=1000, correctOrientation: true, destinationType: FILE_URI, encodingType: JPEG, sourceType: CAMERA, saveToPhotoAlbum: false The picture is taken, accepted, then the crop screen is shown with a fixed square crop. I select Done and then upload the image to my server. The image is always 281x281 pixels, instead of the desired 1000x1000. Changing sourceType to PHOTOLIBRARY, and doing the same set of steps (except picking an existing image from the gallery instead of taking a new one), on the other hand, results in what was expected - a 1000x1000 square image. Changing the quality to 100 has no effect on the dimensions. Changing correctOrientation, saveToPhotoAlbum have no effect on dimensions. Changing targetWidth and targetHeight to 2000 has no effect on dimensions. Removing the targetWidth and targetHeight results in images that are 304x303 pixels. After accepting the picture and before the Crop screen comes up, I can sometimes see the Google+ icon in the upper right and the title "Crop". I have the Google+ app installed on my phone. Using: cordova 4.0.0 Installed platforms: android 3.6.4, ios 3.6.3 org.apache.cordova.camera 0.3.3 "Camera" (had the same problems with 3.5.0 and older version of Camera plugin). -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org