[jira] [Commented] (CB-3787) Documentation on android camera quirck(s)
[ https://issues.apache.org/jira/browse/CB-3787?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13683177#comment-13683177 ] Roderick Gadellaa commented on CB-3787: --- Nice! Like the response-time :) Sorry for sounding a bit bitter when I reported the issue, I guess I was (a bit bitter). Documentation on android camera quirck(s) - Key: CB-3787 URL: https://issues.apache.org/jira/browse/CB-3787 Project: Apache Cordova Issue Type: Improvement Components: Android Affects Versions: 2.6.0 Environment: Typically Android phones with small memory Reporter: Roderick Gadellaa Assignee: Joe Bowser Labels: documentation Android may kill the cordova-activity when opening the camera with camera.getPicture resulting in a Force Close when the photo is taken. Since this is a well known problem (I've found numerous reports and no solution) it would be nice to have this documented as an 'Android Quirck'. I just found out about it after 3 weeks of developing an app that uses the camera as it's primary component. That sucks. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Created] (CB-3806) choose image from gallery is not working
Ravichandra created CB-3806: --- Summary: choose image from gallery is not working Key: CB-3806 URL: https://issues.apache.org/jira/browse/CB-3806 Project: Apache Cordova Issue Type: Bug Affects Versions: 2.8.0 Reporter: Ravichandra -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CB-3412) Android CordovaWebView references deprecated XMLs
[ https://issues.apache.org/jira/browse/CB-3412?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13683294#comment-13683294 ] Kuan Yi Ming commented on CB-3412: -- Update: Still not updated in 2.8.0 Android CordovaWebView references deprecated XMLs - Key: CB-3412 URL: https://issues.apache.org/jira/browse/CB-3412 Project: Apache Cordova Issue Type: Bug Components: Docs Affects Versions: 2.0.0, 2.1.0, 2.2.0, 2.3.0, 2.4.0, 2.5.0, 2.6.0, 2.7.0, 2.8.0 Reporter: Kuan Yi Ming Assignee: Michael Brooks Taken from guide/cordova-webview/android.md 7. Copy `cordova.xml` and `plugins.xml` from `/framework/res/xml` to the `/res/xml` folder in your project Both cordova.xml and plugins.xml have been deprecated and replaced by config.xml as of 2.0.0. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (CB-3412) Android CordovaWebView references deprecated XMLs
[ https://issues.apache.org/jira/browse/CB-3412?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Kuan Yi Ming updated CB-3412: - Affects Version/s: 2.8.0 Android CordovaWebView references deprecated XMLs - Key: CB-3412 URL: https://issues.apache.org/jira/browse/CB-3412 Project: Apache Cordova Issue Type: Bug Components: Docs Affects Versions: 2.0.0, 2.1.0, 2.2.0, 2.3.0, 2.4.0, 2.5.0, 2.6.0, 2.7.0, 2.8.0 Reporter: Kuan Yi Ming Assignee: Michael Brooks Taken from guide/cordova-webview/android.md 7. Copy `cordova.xml` and `plugins.xml` from `/framework/res/xml` to the `/res/xml` folder in your project Both cordova.xml and plugins.xml have been deprecated and replaced by config.xml as of 2.0.0. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Comment Edited] (CB-3412) Android CordovaWebView references deprecated XMLs
[ https://issues.apache.org/jira/browse/CB-3412?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13683294#comment-13683294 ] Kuan Yi Ming edited comment on CB-3412 at 6/14/13 11:01 AM: Update: Also affects new 2.8.0 release was (Author: yiming.kuan): Update: Still not updated in 2.8.0 Android CordovaWebView references deprecated XMLs - Key: CB-3412 URL: https://issues.apache.org/jira/browse/CB-3412 Project: Apache Cordova Issue Type: Bug Components: Docs Affects Versions: 2.0.0, 2.1.0, 2.2.0, 2.3.0, 2.4.0, 2.5.0, 2.6.0, 2.7.0, 2.8.0 Reporter: Kuan Yi Ming Assignee: Michael Brooks Taken from guide/cordova-webview/android.md 7. Copy `cordova.xml` and `plugins.xml` from `/framework/res/xml` to the `/res/xml` folder in your project Both cordova.xml and plugins.xml have been deprecated and replaced by config.xml as of 2.0.0. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Created] (CB-3807) PhoneGap events can trigger before the body onload function runs
Kuan Yi Ming created CB-3807: Summary: PhoneGap events can trigger before the body onload function runs Key: CB-3807 URL: https://issues.apache.org/jira/browse/CB-3807 Project: Apache Cordova Issue Type: Bug Components: Docs Affects Versions: 2.8.0, 2.7.0 Reporter: Kuan Yi Ming Assignee: Michael Brooks As per title. If jQM is used in a project, the body onload function runs after online/offline/deviceready events first trigger. The documentation on the other hand recommends adding those event listeners in the body onload event, though. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (CB-3807) PhoneGap events can trigger before the body onload function runs
[ https://issues.apache.org/jira/browse/CB-3807?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Kuan Yi Ming updated CB-3807: - Description: As per title. If jQM is used in a project, the body onload function runs after online/offline/deviceready events first trigger. The documentation on the other hand recommends adding those event listeners in the body onload event, though. Tested on Nexus 7, Galaxy Nexus on Android 4.2. was: As per title. If jQM is used in a project, the body onload function runs after online/offline/deviceready events first trigger. The documentation on the other hand recommends adding those event listeners in the body onload event, though. PhoneGap events can trigger before the body onload function runs Key: CB-3807 URL: https://issues.apache.org/jira/browse/CB-3807 Project: Apache Cordova Issue Type: Bug Components: Docs Affects Versions: 2.7.0, 2.8.0 Reporter: Kuan Yi Ming Assignee: Michael Brooks As per title. If jQM is used in a project, the body onload function runs after online/offline/deviceready events first trigger. The documentation on the other hand recommends adding those event listeners in the body onload event, though. Tested on Nexus 7, Galaxy Nexus on Android 4.2. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CB-3433) [BlackBerry10] Add Q5 to Device API
[ https://issues.apache.org/jira/browse/CB-3433?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13683324#comment-13683324 ] ASF subversion and git services commented on CB-3433: - Commit 49e902cbbc02d6d5c67f9d5a790a3f5239bf2813 in branch refs/heads/master from [~daudino] [ https://git-wip-us.apache.org/repos/asf?p=cordova-blackberry.git;h=49e902c ] [CB-3433] Added Q5 to Device API Reviewed by Bryan Higgins bhigg...@blackberry.com Tested by Tracy Li t...@blackberry.com [BlackBerry10] Add Q5 to Device API --- Key: CB-3433 URL: https://issues.apache.org/jira/browse/CB-3433 Project: Apache Cordova Issue Type: Improvement Components: BlackBerry Reporter: Bryan Higgins Assignee: Bryan Higgins Fix For: 2.9.0 Q5 device currently will be reported as Q10 due to 720x720 screen resolution. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (CB-3433) [BlackBerry10] Add Q5 to Device API
[ https://issues.apache.org/jira/browse/CB-3433?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bryan Higgins resolved CB-3433. --- Resolution: Fixed [BlackBerry10] Add Q5 to Device API --- Key: CB-3433 URL: https://issues.apache.org/jira/browse/CB-3433 Project: Apache Cordova Issue Type: Improvement Components: BlackBerry Reporter: Bryan Higgins Assignee: Bryan Higgins Fix For: 2.9.0 Q5 device currently will be reported as Q10 due to 720x720 screen resolution. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Comment Edited] (CB-2787) PhoneGap FileTransfer.Download more than 300 files
[ https://issues.apache.org/jira/browse/CB-2787?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13683338#comment-13683338 ] Gregor Gabriel edited comment on CB-2787 at 6/14/13 1:31 PM: - As I really had to solve this problem for my app i digged in this process. I didnot want to change the cordova core code, as this would produce additional work, when I update the cordova version on my app. So I looked out for a Downloder plugin. I used this plugin with phonegap 1.2. The plugin was not up to date, as its functionality now is part of cordova core. It was not really difficult to port the plugin to cordova 2.7 . For this purpose ich checked on https://github.com/phonegap/phonegap-plugins/tree/master/Android which plugis where updated lately by _macdonst_ and did the same for the Downloader plugin. When the plugin worked I got the same problems as with cordova core. Only omitting the OutputStream in my test cases delivered the same problems. Then I only omitted the InputStream and the Problem was not there. So the Problem is the InputStream delivered from the http connection. You can close this stream how often you want, there seem to be open connections left? I'm not totally sure, but this could be a framework problem. As I really needed a solution I changed the plugin JS-file tht way, that files are loaded by JavaScript. So the plugin code only needs to write that files to the device. This was not so easy, as most files were binary, and standard JavaScript does not support to much functions to handle binary Strings. I add my solution to the next comment was (Author: ggabriel): As I really had to solve this problem for my app i digged in this process. I didnot want to change the cordova core code, as this would produce additional work, when I update the cordova version on my app. So I looked out for a Downloder plugin. I used this plugin with phonegap 1.2. The plugin was not up to date, as its functionality now is part of cordova core. Itm was not really difficult to port the plugin to cordova 2.7 . For this purpose ich checked on https://github.com/phonegap/phonegap-plugins/tree/master/Android which plugis where updated lately by _macdonst_ and did the same for the Downloader plugin. When the plugin worked I got the same problems as with cordova core. Only omitting the OutputStream in my test cases delivered the same problems. Then I only omitted the InputStream and the Problem was not there. So the Problem is the InputStream delivered from the http connection. You can close this stream how often you want, there seem to be open connections left? I'm not totally sure, but this could be a framework problem. As I really needed a solution I changed the plugin JS-file tht way, that files are loaded by JavaScript. So the plugin code only needs to write that files to the device. This was not so easy, as most files were binary, and standard JavaScript does not support to much functions to handle binary Strings. I add my solution to the next comment PhoneGap FileTransfer.Download more than 300 files -- Key: CB-2787 URL: https://issues.apache.org/jira/browse/CB-2787 Project: Apache Cordova Issue Type: Bug Components: Android Affects Versions: 2.5.0 Reporter: Cho Assignee: Ian Clelland I had tried to download more than 300 files and then it hit error after that. Seems like some IO Connection was not properly closed. I wrote a small code to test it out. Any idea? How to file a report or get a source of phonegap to check the real cause? {code} var counter = 500; function DownloadFile() { if (counter == 0) { DownloadComplete(); return; } var ft = new FileTransfer(); var downloadUrl = source; var dlPath = target ft.download(downloadUrl, dlPath, function(entry) { counter--; UpdateProgress(); DownloadFile(); }, function(error) { DownloadFailed(); }, true); } {code} note: target and source is alright because it was it failed when the counter goes until 300+. {code} 03-14 08:35:09.706: E/FileTransfer(24867): {target:target,source:source,http_status:200,code:1} 03-14 08:35:09.706: E/FileTransfer(24867): java.io.FileNotFoundException: source: open failed: EMFILE (Too many open files) 03-14 08:35:09.706: E/FileTransfer(24867): at libcore.io.IoBridge.open(IoBridge.java:416) 03-14 08:35:09.706: E/FileTransfer(24867): at java.io.FileOutputStream.init(FileOutputStream.java:88) 03-14 08:35:09.706: E/FileTransfer(24867): at java.io.FileOutputStream.init(FileOutputStream.java:73) 03-14 08:35:09.706: E/FileTransfer(24867):
[jira] [Commented] (CB-2787) PhoneGap FileTransfer.Download more than 300 files
[ https://issues.apache.org/jira/browse/CB-2787?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13683338#comment-13683338 ] Gregor Gabriel commented on CB-2787: As I really had to solve this problem for my app i digged in this process. I didnot want to change the cordova core code, as this would produce additional work, when I update the cordova version on my app. So I looked out for a Downloder plugin. I used this plugin with phonegap 1.2. The plugin was not up to date, as its functionality now is part of cordova core. Itm was not really difficult to port the plugin to cordova 2.7 . For this purpose ich checked on https://github.com/phonegap/phonegap-plugins/tree/master/Android which plugis where updated lately by _macdonst_ and did the same for the Downloader plugin. When the plugin worked I got the same problems as with cordova core. Only omitting the OutputStream in my test cases delivered the same problems. Then I only omitted the InputStream and the Problem was not there. So the Problem is the InputStream delivered from the http connection. You can close this stream how often you want, there seem to be open connections left? I'm not totally sure, but this could be a framework problem. As I really needed a solution I changed the plugin JS-file tht way, that files are loaded by JavaScript. So the plugin code only needs to write that files to the device. This was not so easy, as most files were binary, and standard JavaScript does not support to much functions to handle binary Strings. I add my solution to the next comment PhoneGap FileTransfer.Download more than 300 files -- Key: CB-2787 URL: https://issues.apache.org/jira/browse/CB-2787 Project: Apache Cordova Issue Type: Bug Components: Android Affects Versions: 2.5.0 Reporter: Cho Assignee: Ian Clelland I had tried to download more than 300 files and then it hit error after that. Seems like some IO Connection was not properly closed. I wrote a small code to test it out. Any idea? How to file a report or get a source of phonegap to check the real cause? {code} var counter = 500; function DownloadFile() { if (counter == 0) { DownloadComplete(); return; } var ft = new FileTransfer(); var downloadUrl = source; var dlPath = target ft.download(downloadUrl, dlPath, function(entry) { counter--; UpdateProgress(); DownloadFile(); }, function(error) { DownloadFailed(); }, true); } {code} note: target and source is alright because it was it failed when the counter goes until 300+. {code} 03-14 08:35:09.706: E/FileTransfer(24867): {target:target,source:source,http_status:200,code:1} 03-14 08:35:09.706: E/FileTransfer(24867): java.io.FileNotFoundException: source: open failed: EMFILE (Too many open files) 03-14 08:35:09.706: E/FileTransfer(24867): at libcore.io.IoBridge.open(IoBridge.java:416) 03-14 08:35:09.706: E/FileTransfer(24867): at java.io.FileOutputStream.init(FileOutputStream.java:88) 03-14 08:35:09.706: E/FileTransfer(24867): at java.io.FileOutputStream.init(FileOutputStream.java:73) 03-14 08:35:09.706: E/FileTransfer(24867): at org.apache.cordova.FileTransfer$4.run(FileTransfer.java:685) 03-14 08:35:09.706: E/FileTransfer(24867): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1076) 03-14 08:35:09.706: E/FileTransfer(24867): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:569) 03-14 08:35:09.706: E/FileTransfer(24867): at java.lang.Thread.run(Thread.java:856) 03-14 08:35:09.706: E/FileTransfer(24867): Caused by: libcore.io.ErrnoException: open failed: EMFILE (Too many open files) 03-14 08:35:09.706: E/FileTransfer(24867): at libcore.io.Posix.open(Native Method) 03-14 08:35:09.706: E/FileTransfer(24867): at libcore.io.BlockGuardOs.open(BlockGuardOs.java:110) 03-14 08:35:09.706: E/FileTransfer(24867): at libcore.io.IoBridge.open(IoBridge.java:400) 03-14 08:35:09.706: E/FileTransfer(24867): ... 6 more {code} -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Comment Edited] (CB-2787) PhoneGap FileTransfer.Download more than 300 files
[ https://issues.apache.org/jira/browse/CB-2787?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13683338#comment-13683338 ] Gregor Gabriel edited comment on CB-2787 at 6/14/13 1:33 PM: - As I really had to solve this problem for my app i digged in this process. I didnot want to change the cordova core code, as this would produce additional work, when I update the cordova version on my app. So I looked out for a Downloder plugin. I used this plugin with phonegap 1.2. The plugin was not up to date, as its functionality now is part of cordova core. It was not really difficult to port the plugin to cordova 2.7 . For this purpose I checked on https://github.com/phonegap/phonegap-plugins/tree/master/Android which plugis where updated lately by _macdonst_ and did the same for the Downloader plugin. When the plugin worked I got the same problems as with cordova core. Only omitting the OutputStream in my test cases delivered the same problems. Then I only omitted the InputStream and the Problem was not there. So the Problem is the InputStream, delivered from the http connection. You can close this stream how often you want, there seem to be open connections left? I'm not totally sure, but this could be a framework problem. As I really needed a solution I changed the plugin JS-file that way, that files are loaded by JavaScript. So the plugin code only needs to write that files to the device. This was a bit tricky, as most files were binary, and standard JavaScript does not support much functions to handle binary Strings. I add my solution to the next comment was (Author: ggabriel): As I really had to solve this problem for my app i digged in this process. I didnot want to change the cordova core code, as this would produce additional work, when I update the cordova version on my app. So I looked out for a Downloder plugin. I used this plugin with phonegap 1.2. The plugin was not up to date, as its functionality now is part of cordova core. It was not really difficult to port the plugin to cordova 2.7 . For this purpose ich checked on https://github.com/phonegap/phonegap-plugins/tree/master/Android which plugis where updated lately by _macdonst_ and did the same for the Downloader plugin. When the plugin worked I got the same problems as with cordova core. Only omitting the OutputStream in my test cases delivered the same problems. Then I only omitted the InputStream and the Problem was not there. So the Problem is the InputStream delivered from the http connection. You can close this stream how often you want, there seem to be open connections left? I'm not totally sure, but this could be a framework problem. As I really needed a solution I changed the plugin JS-file tht way, that files are loaded by JavaScript. So the plugin code only needs to write that files to the device. This was not so easy, as most files were binary, and standard JavaScript does not support to much functions to handle binary Strings. I add my solution to the next comment PhoneGap FileTransfer.Download more than 300 files -- Key: CB-2787 URL: https://issues.apache.org/jira/browse/CB-2787 Project: Apache Cordova Issue Type: Bug Components: Android Affects Versions: 2.5.0 Reporter: Cho Assignee: Ian Clelland I had tried to download more than 300 files and then it hit error after that. Seems like some IO Connection was not properly closed. I wrote a small code to test it out. Any idea? How to file a report or get a source of phonegap to check the real cause? {code} var counter = 500; function DownloadFile() { if (counter == 0) { DownloadComplete(); return; } var ft = new FileTransfer(); var downloadUrl = source; var dlPath = target ft.download(downloadUrl, dlPath, function(entry) { counter--; UpdateProgress(); DownloadFile(); }, function(error) { DownloadFailed(); }, true); } {code} note: target and source is alright because it was it failed when the counter goes until 300+. {code} 03-14 08:35:09.706: E/FileTransfer(24867): {target:target,source:source,http_status:200,code:1} 03-14 08:35:09.706: E/FileTransfer(24867): java.io.FileNotFoundException: source: open failed: EMFILE (Too many open files) 03-14 08:35:09.706: E/FileTransfer(24867): at libcore.io.IoBridge.open(IoBridge.java:416) 03-14 08:35:09.706: E/FileTransfer(24867): at java.io.FileOutputStream.init(FileOutputStream.java:88) 03-14 08:35:09.706: E/FileTransfer(24867): at java.io.FileOutputStream.init(FileOutputStream.java:73) 03-14 08:35:09.706: E/FileTransfer(24867):
[jira] [Commented] (CB-2787) PhoneGap FileTransfer.Download more than 300 files
[ https://issues.apache.org/jira/browse/CB-2787?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13683354#comment-13683354 ] Gregor Gabriel commented on CB-2787: This is the Java code for =downloader.js= {code:javascript} cordova.define(cordova/plugin/downloader, function(require, exports, module) { var exec = require(cordova/exec); var Downloader = function() {}; /** * */ Downloader.prototype.downloadFile = function(fileUrl, params, win, fail) { function base64Encode(str) { var CHARS = ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/; var out = , i = 0, len = str.length, c1, c2, c3; while (i len) { c1 = str.charCodeAt(i++) 0xff; if (i == len) { out += CHARS.charAt(c1 2); out += CHARS.charAt((c1 0x3) 4); out += ==; break; } c2 = str.charCodeAt(i++); if (i == len) { out += CHARS.charAt(c1 2); out += CHARS.charAt(((c1 0x3) 4) | ((c2 0xF0) 4)); out += CHARS.charAt((c2 0xF) 2); out += =; break; } c3 = str.charCodeAt(i++); out += CHARS.charAt(c1 2); out += CHARS.charAt(((c1 0x3) 4) | ((c2 0xF0) 4)); out += CHARS.charAt(((c2 0xF) 2) | ((c3 0xC0) 6)); out += CHARS.charAt(c3 0x3F); } return out; } function load_binary_resource(url) { var req = new XMLHttpRequest(); req.open('GET', url, false); //XHR binary charset opt by Marcus Granado 2006 [http://mgran.blogspot.com] req.overrideMimeType('text\/plain; charset=x-user-defined'); req.send(null); if (req.status != 200) { console.log(unable to load + fileUrl); fail(); return null; } if (req.response === null) { fail(); return null; } return req.response; } console.log(start loading + fileUrl); var base64File = base64Encode(load_binary_resource(fileUrl)); //Make params hash optional. if (!fail) win = params; PhoneGap.exec(win, fail, Downloader, downloadFile, [base64File, params]); fileUrl = null; base64File = null; }; var downloader = new Downloader(); module.exports = downloader; }); if (!window.plugins) { window.plugins = {}; } if (!window.plugins.downloader) { window.plugins.downloader = cordova.require(cordova/plugin/downloader); } {code} And this is the Java code of Downloader.java {code:java} package com.phonegap.plugins.downloader; import java.io.File; import java.io.FileOutputStream; import org.json.JSONArray; import org.json.JSONException; import org.json.JSONObject; import android.util.Log; import org.apache.cordova.api.CallbackContext; import org.apache.cordova.api.CordovaPlugin; import org.apache.cordova.api.PluginResult; import android.util.Base64; public class Downloader extends CordovaPlugin { private CallbackContext context; /** * Executes the request and returns PluginResult. * * @param actionThe action to execute. * @param args JSONArry of arguments for the plugin. * @param callbackIdThe callback id used when calling back into JavaScript. * @return A PluginResult object with a status and message. */ @Override public boolean execute(String action, JSONArray args, CallbackContext callbackContext) throws JSONException { this.context = callbackContext; if (!action.equals(downloadFile)) { this.context.sendPluginResult(new PluginResult(PluginResult.Status.INVALID_ACTION, Plugin Downloader cannot handle action +action)); return true; } try { //String fileUrl = args.getString(0); //byte[] fileContent = Base64.decode( params.getString(fileUrl), Base64.DEFAULT ); byte[] fileContent = Base64.decode( args.getString(0), Base64.DEFAULT ); JSONObject params = args.getJSONObject(1); String fileName = params.getString(fileName); String dirName =params.getString(dirName); Boolean overwrite =
[jira] [Commented] (CB-3530) PhoneGap app crashes on iOS with error CDVWebViewDelegate: Navigation started when state=1
[ https://issues.apache.org/jira/browse/CB-3530?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13683400#comment-13683400 ] Fredy Levin commented on CB-3530: - Not sure if it's related but I'm experiencing a blinking effect when transitioning within a single page app and using href=#pagetwo which I didn't notice this on 2.6.0. Could it be relevant? If not, do you happen to know how I can deal with it? PhoneGap app crashes on iOS with error CDVWebViewDelegate: Navigation started when state=1 Key: CB-3530 URL: https://issues.apache.org/jira/browse/CB-3530 Project: Apache Cordova Issue Type: Bug Components: iOS, Plugin InAppBrowser Affects Versions: 2.7.0 Environment: Mac OSX 10.8.3, XCode 4.6.2, iOS 6.1 Reporter: Montyleena Assignee: Shazron Abdullah Labels: crash, iOS,, inappbrowser, Fix For: 2.8.0 I have a PhoneGap app on iOS which was working fine with PhoneGap 2.3.0 but crashes with 2.7.0 with the following error: 2013-05-02 10:08:13.214 App[8896:c07] CDVWebViewDelegate: Navigation started when state=1 2013-05-02 10:08:13.215 App[8896:c07] Failed to load webpage with error: (null) The problem is: CDVWebViewDelegate.m: shouldStartLoadWithRequest() function: In switch case, default: error code is being passed as nil and in CDVInAppBrowser.m: didFailLoadWithError() function, error.localizedDescription is being referenced, which causes a crash as error object is nil. For now, i added a check in the above function to put default values for error code if the error object is nil. I hope this crash is fixed in the next PhoneGap release. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CB-3807) PhoneGap events can trigger before the body onload function runs
[ https://issues.apache.org/jira/browse/CB-3807?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13683455#comment-13683455 ] Kuan Yi Ming commented on CB-3807: -- correction: Can't replicate on iOS. Refiling this under Android issue. PhoneGap events can trigger before the body onload function runs Key: CB-3807 URL: https://issues.apache.org/jira/browse/CB-3807 Project: Apache Cordova Issue Type: Bug Components: Docs Affects Versions: 2.7.0, 2.8.0 Reporter: Kuan Yi Ming Assignee: Michael Brooks As per title. If jQM is used in a project, the body onload function runs after online/offline/deviceready events first trigger. The documentation on the other hand recommends adding those event listeners in the body onload event, though. Tested on Nexus 7, Galaxy Nexus on Android 4.2. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Closed] (CB-3807) PhoneGap events can trigger before the body onload function runs
[ https://issues.apache.org/jira/browse/CB-3807?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Kuan Yi Ming closed CB-3807. Resolution: Won't Fix PhoneGap events can trigger before the body onload function runs Key: CB-3807 URL: https://issues.apache.org/jira/browse/CB-3807 Project: Apache Cordova Issue Type: Bug Components: Docs Affects Versions: 2.7.0, 2.8.0 Reporter: Kuan Yi Ming Assignee: Michael Brooks As per title. If jQM is used in a project, the body onload function runs after online/offline/deviceready events first trigger. The documentation on the other hand recommends adding those event listeners in the body onload event, though. Tested on Nexus 7, Galaxy Nexus on Android 4.2. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Created] (CB-3809) Online/offline/deviceready events trigger too quickly with jQuery Mobile
Kuan Yi Ming created CB-3809: Summary: Online/offline/deviceready events trigger too quickly with jQuery Mobile Key: CB-3809 URL: https://issues.apache.org/jira/browse/CB-3809 Project: Apache Cordova Issue Type: Bug Components: Android Affects Versions: 2.8.0, 2.7.0 Reporter: Kuan Yi Ming Assignee: Joe Bowser If jQuery Mobile is in use in a PG app, the body onload function triggers after the initial deviceready + initial online/offline event in version 2.7.0. Thus, the Javascript code samples at http://docs.phonegap.com/en/2.7.0/cordova_events_events.md.html#Events simply won't run the deviceready event, as well as the initial online or offline event when the app is launched if jQM is used. The code works in 2.6.0 and earlier versions, and on iOS. 2.8.1 however still has the same issue. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (CB-3809) Online/offline/deviceready events trigger too quickly with jQuery Mobile
[ https://issues.apache.org/jira/browse/CB-3809?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Kuan Yi Ming updated CB-3809: - Description: If jQuery Mobile is in use in a PG app, the body onload function triggers after the initial deviceready + initial online/offline event in version 2.7.0. Thus, the Javascript code samples at http://docs.phonegap.com/en/2.7.0/cordova_events_events.md.html#Events simply won't run the deviceready event, as well as the initial online or offline event when the app is launched if jQM is used. The code works in 2.6.0 and earlier versions, and on iOS. Android on 2.8.1 however still has the same issue. was: If jQuery Mobile is in use in a PG app, the body onload function triggers after the initial deviceready + initial online/offline event in version 2.7.0. Thus, the Javascript code samples at http://docs.phonegap.com/en/2.7.0/cordova_events_events.md.html#Events simply won't run the deviceready event, as well as the initial online or offline event when the app is launched if jQM is used. The code works in 2.6.0 and earlier versions, and on iOS. 2.8.1 however still has the same issue. Online/offline/deviceready events trigger too quickly with jQuery Mobile Key: CB-3809 URL: https://issues.apache.org/jira/browse/CB-3809 Project: Apache Cordova Issue Type: Bug Components: Android Affects Versions: 2.7.0, 2.8.0 Reporter: Kuan Yi Ming Assignee: Joe Bowser If jQuery Mobile is in use in a PG app, the body onload function triggers after the initial deviceready + initial online/offline event in version 2.7.0. Thus, the Javascript code samples at http://docs.phonegap.com/en/2.7.0/cordova_events_events.md.html#Events simply won't run the deviceready event, as well as the initial online or offline event when the app is launched if jQM is used. The code works in 2.6.0 and earlier versions, and on iOS. Android on 2.8.1 however still has the same issue. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Created] (CB-3810) Rework Guide content
Mike Sierra created CB-3810: --- Summary: Rework Guide content Key: CB-3810 URL: https://issues.apache.org/jira/browse/CB-3810 Project: Apache Cordova Issue Type: Bug Components: Docs Reporter: Mike Sierra Assignee: Michael Brooks Priority: Critical Current guide content assumes an SDK-centered workflow, which needs to be modified to address CLI audience. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Created] (CB-3811) Add Overview Page
Mike Sierra created CB-3811: --- Summary: Add Overview Page Key: CB-3811 URL: https://issues.apache.org/jira/browse/CB-3811 Project: Apache Cordova Issue Type: Task Components: Docs Reporter: Mike Sierra Assignee: Michael Brooks Reader needs high-level messaging: Why cordova? What problem does it solve? What does an app look like, and how does it execute? What are the different development paths? Overview clarifies basic terminology such as CLI, SDK, plug-in, what does hybrid mean, etc. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (CB-3811) Add Overview Page
[ https://issues.apache.org/jira/browse/CB-3811?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mike Sierra updated CB-3811: Issue Type: Task (was: Sub-task) Parent: (was: CB-3808) Add Overview Page --- Key: CB-3811 URL: https://issues.apache.org/jira/browse/CB-3811 Project: Apache Cordova Issue Type: Task Components: Docs Reporter: Mike Sierra Assignee: Michael Brooks Reader needs high-level messaging: Why cordova? What problem does it solve? What does an app look like, and how does it execute? What are the different development paths? Overview clarifies basic terminology such as CLI, SDK, plug-in, what does hybrid mean, etc. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (CB-3811) Add Overview Page
[ https://issues.apache.org/jira/browse/CB-3811?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mike Sierra updated CB-3811: Issue Type: Sub-task (was: Task) Parent: CB-3808 Add Overview Page --- Key: CB-3811 URL: https://issues.apache.org/jira/browse/CB-3811 Project: Apache Cordova Issue Type: Sub-task Components: Docs Reporter: Mike Sierra Assignee: Michael Brooks Reader needs high-level messaging: Why cordova? What problem does it solve? What does an app look like, and how does it execute? What are the different development paths? Overview clarifies basic terminology such as CLI, SDK, plug-in, what does hybrid mean, etc. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (CB-3811) Add Overview Page
[ https://issues.apache.org/jira/browse/CB-3811?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mike Sierra updated CB-3811: Issue Type: Sub-task (was: Task) Parent: CB-3808 Add Overview Page --- Key: CB-3811 URL: https://issues.apache.org/jira/browse/CB-3811 Project: Apache Cordova Issue Type: Sub-task Components: Docs Reporter: Mike Sierra Assignee: Michael Brooks Reader needs high-level messaging: Why cordova? What problem does it solve? What does an app look like, and how does it execute? What are the different development paths? Overview clarifies basic terminology such as CLI, SDK, plug-in, what does hybrid mean, etc. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (CB-3811) Add Overview Page to Guides area
[ https://issues.apache.org/jira/browse/CB-3811?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mike Sierra updated CB-3811: Summary: Add Overview Page to Guides area (was: Add Overview Page) Add Overview Page to Guides area -- Key: CB-3811 URL: https://issues.apache.org/jira/browse/CB-3811 Project: Apache Cordova Issue Type: Sub-task Components: Docs Reporter: Mike Sierra Assignee: Michael Brooks Reader needs high-level messaging: Why cordova? What problem does it solve? What does an app look like, and how does it execute? What are the different development paths? Overview clarifies basic terminology such as CLI, SDK, plug-in, what does hybrid mean, etc. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (CB-3810) Rework Guide content
[ https://issues.apache.org/jira/browse/CB-3810?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mike Sierra updated CB-3810: Issue Type: Task (was: Sub-task) Parent: (was: CB-3808) Rework Guide content - Key: CB-3810 URL: https://issues.apache.org/jira/browse/CB-3810 Project: Apache Cordova Issue Type: Task Components: Docs Reporter: Mike Sierra Assignee: Michael Brooks Priority: Critical Current guide content assumes an SDK-centered workflow, which needs to be modified to address CLI audience. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (CB-3811) Add Overview Page to Guides area
[ https://issues.apache.org/jira/browse/CB-3811?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mike Sierra updated CB-3811: Issue Type: Task (was: Sub-task) Parent: (was: CB-3808) Add Overview Page to Guides area -- Key: CB-3811 URL: https://issues.apache.org/jira/browse/CB-3811 Project: Apache Cordova Issue Type: Task Components: Docs Reporter: Mike Sierra Assignee: Michael Brooks Reader needs high-level messaging: Why cordova? What problem does it solve? What does an app look like, and how does it execute? What are the different development paths? Overview clarifies basic terminology such as CLI, SDK, plug-in, what does hybrid mean, etc. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Created] (CB-3812) Lazy Loading platforms from relative path URL does not work.
Michal Mocny created CB-3812: Summary: Lazy Loading platforms from relative path URL does not work. Key: CB-3812 URL: https://issues.apache.org/jira/browse/CB-3812 Project: Apache Cordova Issue Type: Bug Components: CLI Affects Versions: 2.8.0 Reporter: Michal Mocny Assignee: Filip Maj This is a bit of a catch-all bug to describe the hiccups I've faced (so far) trying to get this to work. (1) require-ing cordova (from a relative path, not sure if thats part of the problem) leads to errors when calling .config(). shell cd MyCordovaCliApp shell node node var cordova = require('../cordova-cli/cordova'); node cordova.config({}) TypeError: Arguments to path.join must be strings at path.js:360:15 at Array.filter (native) at Object.exports.join (path.js:358:36) at Function.get_config [as read] (/Users/mmocny/dev/mobile-chrome-apps/cordova-cli/src/config.js:35:27) at Object.config (/Users/mmocny/dev/mobile-chrome-apps/cordova-cli/src/config.js:27:31) at repl:1:10 at REPLServer.self.eval (repl.js:110:21) at Interface.anonymous (repl.js:239:12) at Interface.EventEmitter.emit (events.js:95:17) at Interface._onLine (readline.js:202:10) (I worked around this locally by just modifying that config.json manually.) (2) lazy loaded platforms copy with wrong permissions, which means the bin scripts to not be executable. shell path/to/cordova platform add android [Error: An error occured during creation of android sub-project. /bin/sh: /Users/mmocny/.cordova/lib/android/cordova-master/master/bin/create: Permission denied ] (I worked around this by manually chmod +x those files) (3) cordova.js file is always expected to be found according to the latest tagged version, and not in your locally installed relative uri specified platform shell cordova platform add android [Error: ENOENT, no such file or directory '/Users/mmocny/.cordova/lib/android/cordova/2.8.0/framework/assets/www/cordova.js'] (The actual version is found in /Users/mmocny/.cordova/lib/android/cordova-master/master/framework/assets/www/cordova.js) (Seems the cause has to do with cordova_util.cordovaTag being hard coded to 2.8.0 and even if that adapted (to, say, dev as in my case), the full path to platform lib is still incorrectly hard coded throughout the platform parsers..) The following are more usability concerns: (4) When I make changes to my local platform, I seem to need to delete .cordova/libs in order for new changes to be copied over. Could we just link? Would solve the permissions errors.. (5) Why do we copy local platforms into .cordova/libs/ at all? It seems both needless and brittle. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CB-3812) Lazy Loading platforms from relative path URL does not work.
[ https://issues.apache.org/jira/browse/CB-3812?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13683539#comment-13683539 ] Filip Maj commented on CB-3812: --- Re: (1) you need to specify a project_root as the first param, i.e.: {{cordova.config(__dirname, {})}} Good catch re #3, will have to rethink that. As for 2/4/5, you're right, symlink seems way better. Will try that out. Lazy Loading platforms from relative path URL does not work. Key: CB-3812 URL: https://issues.apache.org/jira/browse/CB-3812 Project: Apache Cordova Issue Type: Bug Components: CLI Affects Versions: 2.8.0 Reporter: Michal Mocny Assignee: Filip Maj This is a bit of a catch-all bug to describe the hiccups I've faced (so far) trying to get this to work. (1) require-ing cordova (from a relative path, not sure if thats part of the problem) leads to errors when calling .config(). shell cd MyCordovaCliApp shell node node var cordova = require('../cordova-cli/cordova'); node cordova.config({}) TypeError: Arguments to path.join must be strings at path.js:360:15 at Array.filter (native) at Object.exports.join (path.js:358:36) at Function.get_config [as read] (/Users/mmocny/dev/mobile-chrome-apps/cordova-cli/src/config.js:35:27) at Object.config (/Users/mmocny/dev/mobile-chrome-apps/cordova-cli/src/config.js:27:31) at repl:1:10 at REPLServer.self.eval (repl.js:110:21) at Interface.anonymous (repl.js:239:12) at Interface.EventEmitter.emit (events.js:95:17) at Interface._onLine (readline.js:202:10) (I worked around this locally by just modifying that config.json manually.) (2) lazy loaded platforms copy with wrong permissions, which means the bin scripts to not be executable. shell path/to/cordova platform add android [Error: An error occured during creation of android sub-project. /bin/sh: /Users/mmocny/.cordova/lib/android/cordova-master/master/bin/create: Permission denied ] (I worked around this by manually chmod +x those files) (3) cordova.js file is always expected to be found according to the latest tagged version, and not in your locally installed relative uri specified platform shell cordova platform add android [Error: ENOENT, no such file or directory '/Users/mmocny/.cordova/lib/android/cordova/2.8.0/framework/assets/www/cordova.js'] (The actual version is found in /Users/mmocny/.cordova/lib/android/cordova-master/master/framework/assets/www/cordova.js) (Seems the cause has to do with cordova_util.cordovaTag being hard coded to 2.8.0 and even if that adapted (to, say, dev as in my case), the full path to platform lib is still incorrectly hard coded throughout the platform parsers..) The following are more usability concerns: (4) When I make changes to my local platform, I seem to need to delete .cordova/libs in order for new changes to be copied over. Could we just link? Would solve the permissions errors.. (5) Why do we copy local platforms into .cordova/libs/ at all? It seems both needless and brittle. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CB-3812) Lazy Loading platforms from relative path URL does not work.
[ https://issues.apache.org/jira/browse/CB-3812?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13683554#comment-13683554 ] Michal Mocny commented on CB-3812: -- Confirmed #1 works with a dirname, thanks! Lazy Loading platforms from relative path URL does not work. Key: CB-3812 URL: https://issues.apache.org/jira/browse/CB-3812 Project: Apache Cordova Issue Type: Bug Components: CLI Affects Versions: 2.8.0 Reporter: Michal Mocny Assignee: Filip Maj This is a bit of a catch-all bug to describe the hiccups I've faced (so far) trying to get this to work. (1) require-ing cordova (from a relative path, not sure if thats part of the problem) leads to errors when calling .config(). shell cd MyCordovaCliApp shell node node var cordova = require('../cordova-cli/cordova'); node cordova.config({}) TypeError: Arguments to path.join must be strings at path.js:360:15 at Array.filter (native) at Object.exports.join (path.js:358:36) at Function.get_config [as read] (/Users/mmocny/dev/mobile-chrome-apps/cordova-cli/src/config.js:35:27) at Object.config (/Users/mmocny/dev/mobile-chrome-apps/cordova-cli/src/config.js:27:31) at repl:1:10 at REPLServer.self.eval (repl.js:110:21) at Interface.anonymous (repl.js:239:12) at Interface.EventEmitter.emit (events.js:95:17) at Interface._onLine (readline.js:202:10) (I worked around this locally by just modifying that config.json manually.) (2) lazy loaded platforms copy with wrong permissions, which means the bin scripts to not be executable. shell path/to/cordova platform add android [Error: An error occured during creation of android sub-project. /bin/sh: /Users/mmocny/.cordova/lib/android/cordova-master/master/bin/create: Permission denied ] (I worked around this by manually chmod +x those files) (3) cordova.js file is always expected to be found according to the latest tagged version, and not in your locally installed relative uri specified platform shell cordova platform add android [Error: ENOENT, no such file or directory '/Users/mmocny/.cordova/lib/android/cordova/2.8.0/framework/assets/www/cordova.js'] (The actual version is found in /Users/mmocny/.cordova/lib/android/cordova-master/master/framework/assets/www/cordova.js) (Seems the cause has to do with cordova_util.cordovaTag being hard coded to 2.8.0 and even if that adapted (to, say, dev as in my case), the full path to platform lib is still incorrectly hard coded throughout the platform parsers..) The following are more usability concerns: (4) When I make changes to my local platform, I seem to need to delete .cordova/libs in order for new changes to be copied over. Could we just link? Would solve the permissions errors.. (5) Why do we copy local platforms into .cordova/libs/ at all? It seems both needless and brittle. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CB-3812) Lazy Loading platforms from relative path URL does not work.
[ https://issues.apache.org/jira/browse/CB-3812?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13683565#comment-13683565 ] Filip Maj commented on CB-3812: --- Hey Michal, I'm pushing updates up to the lazy branch of cordova-cli while I work through this. Includes the symlink change. Seems to fix #2. That said, you are correct that all the parsers need to check the config.json and adjust local paths accordingly. I'll be working on that this morning + updating tests as I fix stuff. You can keep tabs on the lazy branch if you want to be up-to-date on these changes/patches as I go. Lazy Loading platforms from relative path URL does not work. Key: CB-3812 URL: https://issues.apache.org/jira/browse/CB-3812 Project: Apache Cordova Issue Type: Bug Components: CLI Affects Versions: 2.8.0 Reporter: Michal Mocny Assignee: Filip Maj This is a bit of a catch-all bug to describe the hiccups I've faced (so far) trying to get this to work. (1) require-ing cordova (from a relative path, not sure if thats part of the problem) leads to errors when calling .config(). shell cd MyCordovaCliApp shell node node var cordova = require('../cordova-cli/cordova'); node cordova.config({}) TypeError: Arguments to path.join must be strings at path.js:360:15 at Array.filter (native) at Object.exports.join (path.js:358:36) at Function.get_config [as read] (/Users/mmocny/dev/mobile-chrome-apps/cordova-cli/src/config.js:35:27) at Object.config (/Users/mmocny/dev/mobile-chrome-apps/cordova-cli/src/config.js:27:31) at repl:1:10 at REPLServer.self.eval (repl.js:110:21) at Interface.anonymous (repl.js:239:12) at Interface.EventEmitter.emit (events.js:95:17) at Interface._onLine (readline.js:202:10) (I worked around this locally by just modifying that config.json manually.) (2) lazy loaded platforms copy with wrong permissions, which means the bin scripts to not be executable. shell path/to/cordova platform add android [Error: An error occured during creation of android sub-project. /bin/sh: /Users/mmocny/.cordova/lib/android/cordova-master/master/bin/create: Permission denied ] (I worked around this by manually chmod +x those files) (3) cordova.js file is always expected to be found according to the latest tagged version, and not in your locally installed relative uri specified platform shell cordova platform add android [Error: ENOENT, no such file or directory '/Users/mmocny/.cordova/lib/android/cordova/2.8.0/framework/assets/www/cordova.js'] (The actual version is found in /Users/mmocny/.cordova/lib/android/cordova-master/master/framework/assets/www/cordova.js) (Seems the cause has to do with cordova_util.cordovaTag being hard coded to 2.8.0 and even if that adapted (to, say, dev as in my case), the full path to platform lib is still incorrectly hard coded throughout the platform parsers..) The following are more usability concerns: (4) When I make changes to my local platform, I seem to need to delete .cordova/libs in order for new changes to be copied over. Could we just link? Would solve the permissions errors.. (5) Why do we copy local platforms into .cordova/libs/ at all? It seems both needless and brittle. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CB-3793) cordova help produces no output
[ https://issues.apache.org/jira/browse/CB-3793?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13683562#comment-13683562 ] ASF subversion and git services commented on CB-3793: - Commit c56c0b90b32e1a1f83433efb54b4bd21fbffdfd9 in branch refs/heads/lazy from Fil Maj [ https://git-wip-us.apache.org/repos/asf?p=cordova-cli.git;h=c56c0b9 ] [CB-3793] `cordova help` produced no output. also disabled wp7 parser specs atm cordova help produces no output - Key: CB-3793 URL: https://issues.apache.org/jira/browse/CB-3793 Project: Apache Cordova Issue Type: Bug Components: CLI Reporter: Mike Sierra Assignee: Filip Maj Priority: Minor Fix For: 2.9.0 In 2.8.15, cordova command produces help output, but cordova help produces nothing. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CB-3791) cordova plugin add produces uninformative error
[ https://issues.apache.org/jira/browse/CB-3791?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13683561#comment-13683561 ] ASF subversion and git services commented on CB-3791: - Commit cda104f6d65cb236fae84a1fc07158010295a531 in branch refs/heads/lazy from Fil Maj [ https://git-wip-us.apache.org/repos/asf?p=cordova-cli.git;h=cda104f ] [CB-3791] Provide correct error message is plugin/platform add/rm is called with no targets cordova plugin add produces uninformative error - Key: CB-3791 URL: https://issues.apache.org/jira/browse/CB-3791 Project: Apache Cordova Issue Type: Bug Components: CLI Reporter: Mike Sierra Assignee: Filip Maj Priority: Minor Fix For: 2.9.0 Running cordova plugin add with no path argument produces... [TypeError: Cannot read property 'length' of undefined] ...which doesn't tell users what they're doing wrong. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CB-3763) CLI not updating platform config files with app version from config.xml on Blackberry
[ https://issues.apache.org/jira/browse/CB-3763?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13683560#comment-13683560 ] ASF subversion and git services commented on CB-3763: - Commit f829e63208ecab7e7af8ecc109a3015cbb7dff2a in branch refs/heads/lazy from Fil Maj [ https://git-wip-us.apache.org/repos/asf?p=cordova-cli.git;h=f829e63 ] [CB-3763] config.xml version attrib now interpolated into blackberry projects. CLI not updating platform config files with app version from config.xml on Blackberry - Key: CB-3763 URL: https://issues.apache.org/jira/browse/CB-3763 Project: Apache Cordova Issue Type: Sub-task Components: BlackBerry, CLI Affects Versions: 2.8.0 Reporter: Tommy-Carlos Williams Assignee: Filip Maj Fix For: 2.9.0 During the {{prepare}} stage, the CLI should be updating the version information in the platform config file(s). This has been done for Android and iOS but it would be good if someone could do it for Blackberry. See: https://git-wip-us.apache.org/repos/asf?p=cordova-cli.git;h=04648ad -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CB-3812) Lazy Loading platforms from relative path URL does not work.
[ https://issues.apache.org/jira/browse/CB-3812?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13683559#comment-13683559 ] ASF subversion and git services commented on CB-3812: - Commit d2392da27aeae5bead4c1d089d9f16d541f73026 in branch refs/heads/lazy from Fil Maj [ https://git-wip-us.apache.org/repos/asf?p=cordova-cli.git;h=d2392da ] use symlink instead of copying. Partial fix for [CB-3812] Lazy Loading platforms from relative path URL does not work. Key: CB-3812 URL: https://issues.apache.org/jira/browse/CB-3812 Project: Apache Cordova Issue Type: Bug Components: CLI Affects Versions: 2.8.0 Reporter: Michal Mocny Assignee: Filip Maj This is a bit of a catch-all bug to describe the hiccups I've faced (so far) trying to get this to work. (1) require-ing cordova (from a relative path, not sure if thats part of the problem) leads to errors when calling .config(). shell cd MyCordovaCliApp shell node node var cordova = require('../cordova-cli/cordova'); node cordova.config({}) TypeError: Arguments to path.join must be strings at path.js:360:15 at Array.filter (native) at Object.exports.join (path.js:358:36) at Function.get_config [as read] (/Users/mmocny/dev/mobile-chrome-apps/cordova-cli/src/config.js:35:27) at Object.config (/Users/mmocny/dev/mobile-chrome-apps/cordova-cli/src/config.js:27:31) at repl:1:10 at REPLServer.self.eval (repl.js:110:21) at Interface.anonymous (repl.js:239:12) at Interface.EventEmitter.emit (events.js:95:17) at Interface._onLine (readline.js:202:10) (I worked around this locally by just modifying that config.json manually.) (2) lazy loaded platforms copy with wrong permissions, which means the bin scripts to not be executable. shell path/to/cordova platform add android [Error: An error occured during creation of android sub-project. /bin/sh: /Users/mmocny/.cordova/lib/android/cordova-master/master/bin/create: Permission denied ] (I worked around this by manually chmod +x those files) (3) cordova.js file is always expected to be found according to the latest tagged version, and not in your locally installed relative uri specified platform shell cordova platform add android [Error: ENOENT, no such file or directory '/Users/mmocny/.cordova/lib/android/cordova/2.8.0/framework/assets/www/cordova.js'] (The actual version is found in /Users/mmocny/.cordova/lib/android/cordova-master/master/framework/assets/www/cordova.js) (Seems the cause has to do with cordova_util.cordovaTag being hard coded to 2.8.0 and even if that adapted (to, say, dev as in my case), the full path to platform lib is still incorrectly hard coded throughout the platform parsers..) The following are more usability concerns: (4) When I make changes to my local platform, I seem to need to delete .cordova/libs in order for new changes to be copied over. Could we just link? Would solve the permissions errors.. (5) Why do we copy local platforms into .cordova/libs/ at all? It seems both needless and brittle. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CB-3812) Lazy Loading platforms from relative path URL does not work.
[ https://issues.apache.org/jira/browse/CB-3812?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13683573#comment-13683573 ] Michal Mocny commented on CB-3812: -- Sounds great, will do. Lazy Loading platforms from relative path URL does not work. Key: CB-3812 URL: https://issues.apache.org/jira/browse/CB-3812 Project: Apache Cordova Issue Type: Bug Components: CLI Affects Versions: 2.8.0 Reporter: Michal Mocny Assignee: Filip Maj This is a bit of a catch-all bug to describe the hiccups I've faced (so far) trying to get this to work. (1) require-ing cordova (from a relative path, not sure if thats part of the problem) leads to errors when calling .config(). shell cd MyCordovaCliApp shell node node var cordova = require('../cordova-cli/cordova'); node cordova.config({}) TypeError: Arguments to path.join must be strings at path.js:360:15 at Array.filter (native) at Object.exports.join (path.js:358:36) at Function.get_config [as read] (/Users/mmocny/dev/mobile-chrome-apps/cordova-cli/src/config.js:35:27) at Object.config (/Users/mmocny/dev/mobile-chrome-apps/cordova-cli/src/config.js:27:31) at repl:1:10 at REPLServer.self.eval (repl.js:110:21) at Interface.anonymous (repl.js:239:12) at Interface.EventEmitter.emit (events.js:95:17) at Interface._onLine (readline.js:202:10) (I worked around this locally by just modifying that config.json manually.) (2) lazy loaded platforms copy with wrong permissions, which means the bin scripts to not be executable. shell path/to/cordova platform add android [Error: An error occured during creation of android sub-project. /bin/sh: /Users/mmocny/.cordova/lib/android/cordova-master/master/bin/create: Permission denied ] (I worked around this by manually chmod +x those files) (3) cordova.js file is always expected to be found according to the latest tagged version, and not in your locally installed relative uri specified platform shell cordova platform add android [Error: ENOENT, no such file or directory '/Users/mmocny/.cordova/lib/android/cordova/2.8.0/framework/assets/www/cordova.js'] (The actual version is found in /Users/mmocny/.cordova/lib/android/cordova-master/master/framework/assets/www/cordova.js) (Seems the cause has to do with cordova_util.cordovaTag being hard coded to 2.8.0 and even if that adapted (to, say, dev as in my case), the full path to platform lib is still incorrectly hard coded throughout the platform parsers..) The following are more usability concerns: (4) When I make changes to my local platform, I seem to need to delete .cordova/libs in order for new changes to be copied over. Could we just link? Would solve the permissions errors.. (5) Why do we copy local platforms into .cordova/libs/ at all? It seems both needless and brittle. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CB-3813) Can't add android without using sudo
[ https://issues.apache.org/jira/browse/CB-3813?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13683585#comment-13683585 ] Dan Moore commented on CB-3813: --- This doesn't appear to be an issue if you move the ~/.cordova directory away, and let the new cordova command create it (I had recently upgraded from cordova-cli 2.8.14). Can't add android without using sudo Key: CB-3813 URL: https://issues.apache.org/jira/browse/CB-3813 Project: Apache Cordova Issue Type: Bug Components: CLI Affects Versions: 2.8.0 Environment: npm 1.2.30 cordova (cli) 2.8.17 phonegap 2.8.0 centos 6 android sdk tools: 22.0.1 android build tools: 17 android platform tools: 17 /usr/local all owned by me via chown Reporter: Dan Moore Assignee: Filip Maj I am unable to create an android project using cordova-cli without using sudo. Replication steps: 1. cordova create foo 2. cd foo 3. cordova platform add android Expected outcome: see android added to the platforms directory Actual outcome: you see an error message and no android directory added Error message: [Error: An error occured during creation of android sub-project. /bin/sh: /home/username/.cordova/lib/android/cordova/2.8.0/bin/create: No such file or directory ] Strangely, running this with sudo works: sudo env PATH=$PATH cordova platform add android I saw this bug: CB-3614 but the error message is different. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (CB-3813) Can't add android without using sudo
[ https://issues.apache.org/jira/browse/CB-3813?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dan Moore updated CB-3813: -- Summary: Can't add android without using sudo (was: Can't create new android project without using sudo) Can't add android without using sudo Key: CB-3813 URL: https://issues.apache.org/jira/browse/CB-3813 Project: Apache Cordova Issue Type: Bug Components: CLI Affects Versions: 2.8.0 Environment: npm 1.2.30 cordova (cli) 2.8.17 phonegap 2.8.0 centos 6 android sdk tools: 22.0.1 android build tools: 17 android platform tools: 17 /usr/local all owned by me via chown Reporter: Dan Moore Assignee: Filip Maj I am unable to create an android project using cordova-cli without using sudo. Replication steps: 1. cordova create foo 2. cd foo 3. cordova platform add android Expected outcome: see android added to the platforms directory Actual outcome: you see an error message and no android directory added Error message: [Error: An error occured during creation of android sub-project. /bin/sh: /home/username/.cordova/lib/android/cordova/2.8.0/bin/create: No such file or directory ] Strangely, running this with sudo works: sudo env PATH=$PATH cordova platform add android I saw this bug: CB-3614 but the error message is different. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Created] (CB-3814) Cordova CLI creates 2.8.0 project rather than 2.8.1
Dan Moore created CB-3814: - Summary: Cordova CLI creates 2.8.0 project rather than 2.8.1 Key: CB-3814 URL: https://issues.apache.org/jira/browse/CB-3814 Project: Apache Cordova Issue Type: Bug Components: CLI Affects Versions: 2.8.0 Environment: npm 1.2.30 cordova (cli) 2.8.17 phonegap 2.8.0 centos 6 android sdk tools: 22.0.1 android build tools: 17 android platform tools: 17 /usr/local all owned by me via chown Reporter: Dan Moore Assignee: Filip Maj The version of phonegap/cordova for a freshly created project is 2.8.0-0-g6208c95. But phonegap 2.8.1 is released and available: http://phonegap.com/download/ (and matters for anyone who uses a plugin). -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CB-3814) Cordova CLI creates 2.8.0 project rather than 2.8.1
[ https://issues.apache.org/jira/browse/CB-3814?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13683595#comment-13683595 ] Dan Moore commented on CB-3814: --- Oh, I found the PG version in this file: platforms/android/assets/www/cordova.js Cordova CLI creates 2.8.0 project rather than 2.8.1 --- Key: CB-3814 URL: https://issues.apache.org/jira/browse/CB-3814 Project: Apache Cordova Issue Type: Bug Components: CLI Affects Versions: 2.8.0 Environment: npm 1.2.30 cordova (cli) 2.8.17 phonegap 2.8.0 centos 6 android sdk tools: 22.0.1 android build tools: 17 android platform tools: 17 /usr/local all owned by me via chown Reporter: Dan Moore Assignee: Filip Maj The version of phonegap/cordova for a freshly created project is 2.8.0-0-g6208c95. But phonegap 2.8.1 is released and available: http://phonegap.com/download/ (and matters for anyone who uses a plugin). -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Assigned] (CB-3726) Breakout File Transfer Plugin for iOS
[ https://issues.apache.org/jira/browse/CB-3726?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Herm Wong reassigned CB-3726: - Assignee: Herm Wong (was: Steve Gill) Breakout File Transfer Plugin for iOS - Key: CB-3726 URL: https://issues.apache.org/jira/browse/CB-3726 Project: Apache Cordova Issue Type: Improvement Components: iOS, Plugin File Transfer Reporter: Steve Gill Assignee: Herm Wong Fix For: 3.0.0 -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Assigned] (CB-3725) Breakout File Transfer Plugin for Android
[ https://issues.apache.org/jira/browse/CB-3725?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Herm Wong reassigned CB-3725: - Assignee: Herm Wong (was: Steve Gill) Breakout File Transfer Plugin for Android - Key: CB-3725 URL: https://issues.apache.org/jira/browse/CB-3725 Project: Apache Cordova Issue Type: Improvement Components: Android, Plugin File Transfer Reporter: Steve Gill Assignee: Herm Wong Fix For: 3.0.0 -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (CB-2432) Camera doesn't pick Picasa photos properly
[ https://issues.apache.org/jira/browse/CB-2432?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Joe Bowser updated CB-2432: --- Fix Version/s: (was: 2.9.0) 3.1.0 Camera doesn't pick Picasa photos properly -- Key: CB-2432 URL: https://issues.apache.org/jira/browse/CB-2432 Project: Apache Cordova Issue Type: Bug Components: Android Reporter: Max Woghiren Assignee: Andrew Grieve Priority: Minor Fix For: 3.1.0 Picking a Picasa photo results in an error on some devices. From CB-2213: Picking a file from Picasa works on my Galaxy S2 running Android 4.0.3. Doing so copies the image locally and works with that. Picking a file from Picasa does not work on Andrew's Nexus 4 running Android 4.2.2. The Intent passed to CameraLauncher.onActivityResult contains a NOT CACHED URI and appears to be unusable. However, when the Intent is being created in CameraLauncher.getImage, it is given an image/\* type. Changing this to \*/\* provides a content URI, which is nice, but it's of the form content://com.google.android.gallery3d.provider/picasa/item/..., which isn't usable in the usual way; FileUtils.getRealPathFromURI returns null. This case probably just needs to be handled using ContentResolver.openInputStream, which would require some FileUtils refactoring. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (CB-3413) Inconsistency in GetFileEntry - uri's vs paths
[ https://issues.apache.org/jira/browse/CB-3413?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Joe Bowser updated CB-3413: --- Fix Version/s: (was: 2.9.0) 3.1.0 Inconsistency in GetFileEntry - uri's vs paths -- Key: CB-3413 URL: https://issues.apache.org/jira/browse/CB-3413 Project: Apache Cordova Issue Type: Bug Components: Android, iOS Affects Versions: 2.7.0 Reporter: Shravan Narayan Assignee: Andrew Grieve Fix For: 3.1.0 The getFileEntry in android returs a file: uri file:///storage/something while the getFileEntry on ios returns a file path /var/something... It is unclear whether we need to return a file: uri here or a path, but at the very least it should be consistent. Other platforms will have to be tested to ensure they are consistent with the chosen solution as well. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CB-3812) Lazy Loading platforms from relative path URL does not work.
[ https://issues.apache.org/jira/browse/CB-3812?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13683636#comment-13683636 ] ASF subversion and git services commented on CB-3812: - Commit 9758d9fe1c3630c345f5aac6385501b26c3ee034 in branch refs/heads/lazy from Fil Maj [ https://git-wip-us.apache.org/repos/asf?p=cordova-cli.git;h=9758d9f ] [CB-3812] Platform parsers nwo support custom directory locations. Added helper has_custom_path to config module. Lazy Loading platforms from relative path URL does not work. Key: CB-3812 URL: https://issues.apache.org/jira/browse/CB-3812 Project: Apache Cordova Issue Type: Bug Components: CLI Affects Versions: 2.8.0 Reporter: Michal Mocny Assignee: Filip Maj This is a bit of a catch-all bug to describe the hiccups I've faced (so far) trying to get this to work. (1) require-ing cordova (from a relative path, not sure if thats part of the problem) leads to errors when calling .config(). shell cd MyCordovaCliApp shell node node var cordova = require('../cordova-cli/cordova'); node cordova.config({}) TypeError: Arguments to path.join must be strings at path.js:360:15 at Array.filter (native) at Object.exports.join (path.js:358:36) at Function.get_config [as read] (/Users/mmocny/dev/mobile-chrome-apps/cordova-cli/src/config.js:35:27) at Object.config (/Users/mmocny/dev/mobile-chrome-apps/cordova-cli/src/config.js:27:31) at repl:1:10 at REPLServer.self.eval (repl.js:110:21) at Interface.anonymous (repl.js:239:12) at Interface.EventEmitter.emit (events.js:95:17) at Interface._onLine (readline.js:202:10) (I worked around this locally by just modifying that config.json manually.) (2) lazy loaded platforms copy with wrong permissions, which means the bin scripts to not be executable. shell path/to/cordova platform add android [Error: An error occured during creation of android sub-project. /bin/sh: /Users/mmocny/.cordova/lib/android/cordova-master/master/bin/create: Permission denied ] (I worked around this by manually chmod +x those files) (3) cordova.js file is always expected to be found according to the latest tagged version, and not in your locally installed relative uri specified platform shell cordova platform add android [Error: ENOENT, no such file or directory '/Users/mmocny/.cordova/lib/android/cordova/2.8.0/framework/assets/www/cordova.js'] (The actual version is found in /Users/mmocny/.cordova/lib/android/cordova-master/master/framework/assets/www/cordova.js) (Seems the cause has to do with cordova_util.cordovaTag being hard coded to 2.8.0 and even if that adapted (to, say, dev as in my case), the full path to platform lib is still incorrectly hard coded throughout the platform parsers..) The following are more usability concerns: (4) When I make changes to my local platform, I seem to need to delete .cordova/libs in order for new changes to be copied over. Could we just link? Would solve the permissions errors.. (5) Why do we copy local platforms into .cordova/libs/ at all? It seems both needless and brittle. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (CB-3351) Support for mutual SSL (on Ajax calls)
[ https://issues.apache.org/jira/browse/CB-3351?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Joe Bowser updated CB-3351: --- Component/s: (was: Android) Support for mutual SSL (on Ajax calls) --- Key: CB-3351 URL: https://issues.apache.org/jira/browse/CB-3351 Project: Apache Cordova Issue Type: New Feature Components: BlackBerry, WP8 Affects Versions: 2.6.0 Reporter: Eloy Gonzalez Labels: clientcertificate, mutualSSL, ssl In some situations, two-factor authentication is required, and client certificates (a X.509 certificate with a 1.3.6.1.5.5.7.3.2 enhanced key usage) are a popular choice as a first factor. With mutual SSL, the client verifies the server's identity (server authentication) and the server verifies the client's identity (client authentication). Unfortunately, Cordova does not support mutual SSL. This issue is relate to CB-2669, but not only for iOS -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CB-3351) Support for mutual SSL (on Ajax calls)
[ https://issues.apache.org/jira/browse/CB-3351?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13683667#comment-13683667 ] Joe Bowser commented on CB-3351: Removing Android from the ticket, please star this bug: https://code.google.com/p/android/issues/detail?id=8196 Support for mutual SSL (on Ajax calls) --- Key: CB-3351 URL: https://issues.apache.org/jira/browse/CB-3351 Project: Apache Cordova Issue Type: New Feature Components: BlackBerry, WP8 Affects Versions: 2.6.0 Reporter: Eloy Gonzalez Labels: clientcertificate, mutualSSL, ssl In some situations, two-factor authentication is required, and client certificates (a X.509 certificate with a 1.3.6.1.5.5.7.3.2 enhanced key usage) are a popular choice as a first factor. With mutual SSL, the client verifies the server's identity (server authentication) and the server verifies the client's identity (client authentication). Unfortunately, Cordova does not support mutual SSL. This issue is relate to CB-2669, but not only for iOS -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Assigned] (CB-3579) http://cordova.apache.org points to old documentation 2.6.0 it should be 2.8
[ https://issues.apache.org/jira/browse/CB-3579?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael Brooks reassigned CB-3579: -- Assignee: Michael Brooks (was: Steve Gill) http://cordova.apache.org points to old documentation 2.6.0 it should be 2.8 Key: CB-3579 URL: https://issues.apache.org/jira/browse/CB-3579 Project: Apache Cordova Issue Type: Bug Components: Website Affects Versions: 2.8.0 Reporter: Carlos Santana Assignee: Michael Brooks Priority: Minor Labels: documentation Visit http://cordova.apache.org/ Go to Quick Links section Documentation Link points to http://cordova.apache.org/docs/en/2.6.0/ It should point to 2.8.0 Maybe it should point to something that is more fixed and easy to find http://cordova.apache.org/docs/en/lastest As part of the cutting a release and additional latest directory can be refreshed with latest version of docs when a new version is released. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CB-3579) http://cordova.apache.org points to old documentation 2.6.0 it should be 2.8
[ https://issues.apache.org/jira/browse/CB-3579?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13683669#comment-13683669 ] Michael Brooks commented on CB-3579: It looks like [~stevegill] is heads down with the plugin breakout tasks. I've went ahead and updated the site to point to the {{2.8.0}} documentation. Thanks for catching and reporting the error [~csantana]! http://cordova.apache.org points to old documentation 2.6.0 it should be 2.8 Key: CB-3579 URL: https://issues.apache.org/jira/browse/CB-3579 Project: Apache Cordova Issue Type: Bug Components: Website Affects Versions: 2.8.0 Reporter: Carlos Santana Assignee: Michael Brooks Priority: Minor Labels: documentation Visit http://cordova.apache.org/ Go to Quick Links section Documentation Link points to http://cordova.apache.org/docs/en/2.6.0/ It should point to 2.8.0 Maybe it should point to something that is more fixed and easy to find http://cordova.apache.org/docs/en/lastest As part of the cutting a release and additional latest directory can be refreshed with latest version of docs when a new version is released. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (CB-3579) http://cordova.apache.org points to old documentation 2.6.0 it should be 2.8
[ https://issues.apache.org/jira/browse/CB-3579?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael Brooks resolved CB-3579. Resolution: Fixed http://cordova.apache.org points to old documentation 2.6.0 it should be 2.8 Key: CB-3579 URL: https://issues.apache.org/jira/browse/CB-3579 Project: Apache Cordova Issue Type: Bug Components: Website Affects Versions: 2.8.0 Reporter: Carlos Santana Assignee: Michael Brooks Priority: Minor Labels: documentation Visit http://cordova.apache.org/ Go to Quick Links section Documentation Link points to http://cordova.apache.org/docs/en/2.6.0/ It should point to 2.8.0 Maybe it should point to something that is more fixed and easy to find http://cordova.apache.org/docs/en/lastest As part of the cutting a release and additional latest directory can be refreshed with latest version of docs when a new version is released. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CB-3725) Breakout File Transfer Plugin for Android
[ https://issues.apache.org/jira/browse/CB-3725?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13683672#comment-13683672 ] Herm Wong commented on CB-3725: --- Android Java classes broken out: https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-file-transfer.git;a=commit;h=feb16bf34111b3dcb0ebc26991640414688af54d Cordova-JS code: https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-file-transfer.git;a=commit;h=571d316e7ad3cf6df75f5485c72f38607a71cfcc Android permissions: https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-file-transfer.git;a=commit;h=187a12725b5b37179f90b5903fcc82b7e5490c10 ready for testing on device. Breakout File Transfer Plugin for Android - Key: CB-3725 URL: https://issues.apache.org/jira/browse/CB-3725 Project: Apache Cordova Issue Type: Improvement Components: Android, Plugin File Transfer Reporter: Steve Gill Assignee: Herm Wong Fix For: 3.0.0 -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CB-3726) Breakout File Transfer Plugin for iOS
[ https://issues.apache.org/jira/browse/CB-3726?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13683674#comment-13683674 ] Herm Wong commented on CB-3726: --- iOS code broken out: https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-file-transfer.git;a=commit;h=81cf31677f544332d3409b9c37624bc927ae2537 plugin.xml updated with iOS references: https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-file-transfer.git;a=commit;h=bfb7af458429f68876485df307ab2d29c2a28c6d ready for testing on device. Breakout File Transfer Plugin for iOS - Key: CB-3726 URL: https://issues.apache.org/jira/browse/CB-3726 Project: Apache Cordova Issue Type: Improvement Components: iOS, Plugin File Transfer Reporter: Steve Gill Assignee: Herm Wong Fix For: 3.0.0 -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CB-3579) http://cordova.apache.org points to old documentation 2.6.0 it should be 2.8
[ https://issues.apache.org/jira/browse/CB-3579?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13683680#comment-13683680 ] Carlos Santana commented on CB-3579: awesome [~mwbrooks] now is working (y) http://cordova.apache.org points to old documentation 2.6.0 it should be 2.8 Key: CB-3579 URL: https://issues.apache.org/jira/browse/CB-3579 Project: Apache Cordova Issue Type: Bug Components: Website Affects Versions: 2.8.0 Reporter: Carlos Santana Assignee: Michael Brooks Priority: Minor Labels: documentation Visit http://cordova.apache.org/ Go to Quick Links section Documentation Link points to http://cordova.apache.org/docs/en/2.6.0/ It should point to 2.8.0 Maybe it should point to something that is more fixed and easy to find http://cordova.apache.org/docs/en/lastest As part of the cutting a release and additional latest directory can be refreshed with latest version of docs when a new version is released. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Created] (CB-3815) Add Compatability Table to Overview
Mike Sierra created CB-3815: --- Summary: Add Compatability Table to Overview Key: CB-3815 URL: https://issues.apache.org/jira/browse/CB-3815 Project: Apache Cordova Issue Type: Task Components: Docs Reporter: Mike Sierra Assignee: Michael Brooks For at-a-glance overview, readers need a single-page table, where X = each platform; Y = each feature or development option. In addition to APIs, include support for CLI, WebView, plug-ins, or any other option a developer might value. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Created] (CB-3816) Add CLI Guide
Mike Sierra created CB-3816: --- Summary: Add CLI Guide Key: CB-3816 URL: https://issues.apache.org/jira/browse/CB-3816 Project: Apache Cordova Issue Type: Task Components: Docs Reporter: Mike Sierra Assignee: Michael Brooks Reader wants to be able to use CLI for as much of the development cycle as possible, or bootstrap a project to hand off to SDK(s), or some combo. Clarify: which platforms are supported under which OS you can run each. Tutorial should generate default HelloCordova app, adds platforms, view in emulator(s), then view on device(s). -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Created] (CB-3817) Organize Reference content
Mike Sierra created CB-3817: --- Summary: Organize Reference content Key: CB-3817 URL: https://issues.apache.org/jira/browse/CB-3817 Project: Apache Cordova Issue Type: Task Components: Docs Reporter: Mike Sierra Assignee: Michael Brooks metabug for all tasks relating to reference content -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Created] (CB-3818) Organize API Reference
Mike Sierra created CB-3818: --- Summary: Organize API Reference Key: CB-3818 URL: https://issues.apache.org/jira/browse/CB-3818 Project: Apache Cordova Issue Type: Task Components: Docs Reporter: Mike Sierra Assignee: Michael Brooks metabug for all API ref doc -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Created] (CB-3819) Abstract out the splashscreen delay
Joe Bowser created CB-3819: -- Summary: Abstract out the splashscreen delay Key: CB-3819 URL: https://issues.apache.org/jira/browse/CB-3819 Project: Apache Cordova Issue Type: New Feature Components: Android Affects Versions: 3.0.0 Reporter: Joe Bowser Assignee: Joe Bowser Fix For: 3.1.0 Currently to use the splashscreen, you have to add a delay. {code} appView.loadUrl('foo.bar', 3000); {code} It would be good to specify initialDelay as a property in config.xml and to have it run the first time loadUrl was added. This is a new feature, so it won't land until after 3.1.0, but it did come up during the 3.0 plugin breakout. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (CB-3281) Deprecate Froyo
[ https://issues.apache.org/jira/browse/CB-3281?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Joe Bowser updated CB-3281: --- Fix Version/s: 3.0.0 Deprecate Froyo --- Key: CB-3281 URL: https://issues.apache.org/jira/browse/CB-3281 Project: Apache Cordova Issue Type: Task Components: Android Affects Versions: 3.0.0 Reporter: Joe Bowser Assignee: Joe Bowser Fix For: 3.0.0 We get to deprecate Froyo: * Remove Commons-Codec dependency * Use Android API base64 encoding -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (CB-3820) Adapt Configuration Reference
[ https://issues.apache.org/jira/browse/CB-3820?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mike Sierra updated CB-3820: Summary: Adapt Configuration Reference (was: Add Configuration Reference) Adapt Configuration Reference - Key: CB-3820 URL: https://issues.apache.org/jira/browse/CB-3820 Project: Apache Cordova Issue Type: Task Components: Docs Reporter: Mike Sierra Assignee: Michael Brooks adapt existing Project Settings -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Created] (CB-3821) Rework SDK Section
Mike Sierra created CB-3821: --- Summary: Rework SDK Section Key: CB-3821 URL: https://issues.apache.org/jira/browse/CB-3821 Project: Apache Cordova Issue Type: Task Reporter: Mike Sierra Retitle Getting Started as SDK Guide to accomodate larger context. Add top-level splash-screen content discussing need to install SDKs for target platforms, even for development in CLI. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CB-3812) Lazy Loading platforms from relative path URL does not work.
[ https://issues.apache.org/jira/browse/CB-3812?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13683736#comment-13683736 ] ASF subversion and git services commented on CB-3812: - Commit 9d28a67d68d2cba3a8ce3b803e3db38f6f86 in branch refs/heads/master2 from Fil Maj [ https://git-wip-us.apache.org/repos/asf?p=cordova-cli.git;h=9d28a67 ] npm version 2.8.18. Fixes [CB-3812]. Lazy Loading platforms from relative path URL does not work. Key: CB-3812 URL: https://issues.apache.org/jira/browse/CB-3812 Project: Apache Cordova Issue Type: Bug Components: CLI Affects Versions: 2.8.0 Reporter: Michal Mocny Assignee: Filip Maj This is a bit of a catch-all bug to describe the hiccups I've faced (so far) trying to get this to work. (1) require-ing cordova (from a relative path, not sure if thats part of the problem) leads to errors when calling .config(). shell cd MyCordovaCliApp shell node node var cordova = require('../cordova-cli/cordova'); node cordova.config({}) TypeError: Arguments to path.join must be strings at path.js:360:15 at Array.filter (native) at Object.exports.join (path.js:358:36) at Function.get_config [as read] (/Users/mmocny/dev/mobile-chrome-apps/cordova-cli/src/config.js:35:27) at Object.config (/Users/mmocny/dev/mobile-chrome-apps/cordova-cli/src/config.js:27:31) at repl:1:10 at REPLServer.self.eval (repl.js:110:21) at Interface.anonymous (repl.js:239:12) at Interface.EventEmitter.emit (events.js:95:17) at Interface._onLine (readline.js:202:10) (I worked around this locally by just modifying that config.json manually.) (2) lazy loaded platforms copy with wrong permissions, which means the bin scripts to not be executable. shell path/to/cordova platform add android [Error: An error occured during creation of android sub-project. /bin/sh: /Users/mmocny/.cordova/lib/android/cordova-master/master/bin/create: Permission denied ] (I worked around this by manually chmod +x those files) (3) cordova.js file is always expected to be found according to the latest tagged version, and not in your locally installed relative uri specified platform shell cordova platform add android [Error: ENOENT, no such file or directory '/Users/mmocny/.cordova/lib/android/cordova/2.8.0/framework/assets/www/cordova.js'] (The actual version is found in /Users/mmocny/.cordova/lib/android/cordova-master/master/framework/assets/www/cordova.js) (Seems the cause has to do with cordova_util.cordovaTag being hard coded to 2.8.0 and even if that adapted (to, say, dev as in my case), the full path to platform lib is still incorrectly hard coded throughout the platform parsers..) The following are more usability concerns: (4) When I make changes to my local platform, I seem to need to delete .cordova/libs in order for new changes to be copied over. Could we just link? Would solve the permissions errors.. (5) Why do we copy local platforms into .cordova/libs/ at all? It seems both needless and brittle. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CB-3812) Lazy Loading platforms from relative path URL does not work.
[ https://issues.apache.org/jira/browse/CB-3812?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13683737#comment-13683737 ] ASF subversion and git services commented on CB-3812: - Commit 9758d9fe1c3630c345f5aac6385501b26c3ee034 in branch refs/heads/master2 from Fil Maj [ https://git-wip-us.apache.org/repos/asf?p=cordova-cli.git;h=9758d9f ] [CB-3812] Platform parsers nwo support custom directory locations. Added helper has_custom_path to config module. Lazy Loading platforms from relative path URL does not work. Key: CB-3812 URL: https://issues.apache.org/jira/browse/CB-3812 Project: Apache Cordova Issue Type: Bug Components: CLI Affects Versions: 2.8.0 Reporter: Michal Mocny Assignee: Filip Maj This is a bit of a catch-all bug to describe the hiccups I've faced (so far) trying to get this to work. (1) require-ing cordova (from a relative path, not sure if thats part of the problem) leads to errors when calling .config(). shell cd MyCordovaCliApp shell node node var cordova = require('../cordova-cli/cordova'); node cordova.config({}) TypeError: Arguments to path.join must be strings at path.js:360:15 at Array.filter (native) at Object.exports.join (path.js:358:36) at Function.get_config [as read] (/Users/mmocny/dev/mobile-chrome-apps/cordova-cli/src/config.js:35:27) at Object.config (/Users/mmocny/dev/mobile-chrome-apps/cordova-cli/src/config.js:27:31) at repl:1:10 at REPLServer.self.eval (repl.js:110:21) at Interface.anonymous (repl.js:239:12) at Interface.EventEmitter.emit (events.js:95:17) at Interface._onLine (readline.js:202:10) (I worked around this locally by just modifying that config.json manually.) (2) lazy loaded platforms copy with wrong permissions, which means the bin scripts to not be executable. shell path/to/cordova platform add android [Error: An error occured during creation of android sub-project. /bin/sh: /Users/mmocny/.cordova/lib/android/cordova-master/master/bin/create: Permission denied ] (I worked around this by manually chmod +x those files) (3) cordova.js file is always expected to be found according to the latest tagged version, and not in your locally installed relative uri specified platform shell cordova platform add android [Error: ENOENT, no such file or directory '/Users/mmocny/.cordova/lib/android/cordova/2.8.0/framework/assets/www/cordova.js'] (The actual version is found in /Users/mmocny/.cordova/lib/android/cordova-master/master/framework/assets/www/cordova.js) (Seems the cause has to do with cordova_util.cordovaTag being hard coded to 2.8.0 and even if that adapted (to, say, dev as in my case), the full path to platform lib is still incorrectly hard coded throughout the platform parsers..) The following are more usability concerns: (4) When I make changes to my local platform, I seem to need to delete .cordova/libs in order for new changes to be copied over. Could we just link? Would solve the permissions errors.. (5) Why do we copy local platforms into .cordova/libs/ at all? It seems both needless and brittle. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (CB-3812) Lazy Loading platforms from relative path URL does not work.
[ https://issues.apache.org/jira/browse/CB-3812?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Filip Maj resolved CB-3812. --- Resolution: Fixed Fix Version/s: 2.9.0 Pushed up to master2 and deployed to npm as 2.8.18. Give 'er a go! Lazy Loading platforms from relative path URL does not work. Key: CB-3812 URL: https://issues.apache.org/jira/browse/CB-3812 Project: Apache Cordova Issue Type: Bug Components: CLI Affects Versions: 2.8.0 Reporter: Michal Mocny Assignee: Filip Maj Fix For: 2.9.0 This is a bit of a catch-all bug to describe the hiccups I've faced (so far) trying to get this to work. (1) require-ing cordova (from a relative path, not sure if thats part of the problem) leads to errors when calling .config(). shell cd MyCordovaCliApp shell node node var cordova = require('../cordova-cli/cordova'); node cordova.config({}) TypeError: Arguments to path.join must be strings at path.js:360:15 at Array.filter (native) at Object.exports.join (path.js:358:36) at Function.get_config [as read] (/Users/mmocny/dev/mobile-chrome-apps/cordova-cli/src/config.js:35:27) at Object.config (/Users/mmocny/dev/mobile-chrome-apps/cordova-cli/src/config.js:27:31) at repl:1:10 at REPLServer.self.eval (repl.js:110:21) at Interface.anonymous (repl.js:239:12) at Interface.EventEmitter.emit (events.js:95:17) at Interface._onLine (readline.js:202:10) (I worked around this locally by just modifying that config.json manually.) (2) lazy loaded platforms copy with wrong permissions, which means the bin scripts to not be executable. shell path/to/cordova platform add android [Error: An error occured during creation of android sub-project. /bin/sh: /Users/mmocny/.cordova/lib/android/cordova-master/master/bin/create: Permission denied ] (I worked around this by manually chmod +x those files) (3) cordova.js file is always expected to be found according to the latest tagged version, and not in your locally installed relative uri specified platform shell cordova platform add android [Error: ENOENT, no such file or directory '/Users/mmocny/.cordova/lib/android/cordova/2.8.0/framework/assets/www/cordova.js'] (The actual version is found in /Users/mmocny/.cordova/lib/android/cordova-master/master/framework/assets/www/cordova.js) (Seems the cause has to do with cordova_util.cordovaTag being hard coded to 2.8.0 and even if that adapted (to, say, dev as in my case), the full path to platform lib is still incorrectly hard coded throughout the platform parsers..) The following are more usability concerns: (4) When I make changes to my local platform, I seem to need to delete .cordova/libs in order for new changes to be copied over. Could we just link? Would solve the permissions errors.. (5) Why do we copy local platforms into .cordova/libs/ at all? It seems both needless and brittle. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Created] (CB-3822) Rework SDK-specific content
Mike Sierra created CB-3822: --- Summary: Rework SDK-specific content Key: CB-3822 URL: https://issues.apache.org/jira/browse/CB-3822 Project: Apache Cordova Issue Type: Task Components: Docs Reporter: Mike Sierra Assignee: Michael Brooks Organize platform-specific content as fixed set of unnumbered subheads: Prerequisites; Install the SDK; Add a Project; Build the Project; Deploy to Emulator, Deploy to Device. Remove or move information extraneous to that core set of content. Remove out-of-scope redundant references to installing cordova; link externally. For platforms not covered by the CLI, remove any unnecessary references to non-CLI command-line tools. Same for Add Project, which is appropriate to bootstrap with CLI even if there's no further coverage for a given platform. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Created] (CB-3823) Add Extended Hybrid Applications section
Mike Sierra created CB-3823: --- Summary: Add Extended Hybrid Applications section Key: CB-3823 URL: https://issues.apache.org/jira/browse/CB-3823 Project: Apache Cordova Issue Type: Task Components: Docs Reporter: Mike Sierra Assignee: Michael Brooks Metabug to clarify various out-of-app options in doc -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CB-3809) Online/offline/deviceready events trigger too quickly with jQuery Mobile
[ https://issues.apache.org/jira/browse/CB-3809?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13683743#comment-13683743 ] Joe Bowser commented on CB-3809: I can't reproduce this on my Nexus 10 running 4.2.2. Can you specify which device you are testing on so that we can try and test it on that device if we have it, otherwise I'm going to have to mark this as Cannot Reproduce Online/offline/deviceready events trigger too quickly with jQuery Mobile Key: CB-3809 URL: https://issues.apache.org/jira/browse/CB-3809 Project: Apache Cordova Issue Type: Bug Components: Android Affects Versions: 2.7.0, 2.8.0 Reporter: Kuan Yi Ming Assignee: Joe Bowser If jQuery Mobile is in use in a PG app, the body onload function triggers after the initial deviceready + initial online/offline event in version 2.7.0. Thus, the Javascript code samples at http://docs.phonegap.com/en/2.7.0/cordova_events_events.md.html#Events simply won't run the deviceready event, as well as the initial online or offline event when the app is launched if jQM is used. The code works in 2.6.0 and earlier versions, and on iOS. Android on 2.8.1 however still has the same issue. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CB-3784) PluginManager missing configuration file error is out-of-date
[ https://issues.apache.org/jira/browse/CB-3784?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13683745#comment-13683745 ] Joe Bowser commented on CB-3784: Patches are welcome! PluginManager missing configuration file error is out-of-date - Key: CB-3784 URL: https://issues.apache.org/jira/browse/CB-3784 Project: Apache Cordova Issue Type: Bug Components: Android Affects Versions: 2.7.0 Reporter: Peter Assignee: Joe Bowser Priority: Minor The PluginManager loadPlugins() method logic prefers to load from *config.xml*, and says the *plugins.xml* will be deprecated. This is not consistent with the error message in pluginConfigurationMissing(). {code} private void pluginConfigurationMissing() { LOG.e(TAG, =); LOG.e(TAG, ERROR: plugin.xml is missing. Add res/xml/plugins.xml to your project.); LOG.e(TAG, https://git-wip-us.apache.org/repos/asf?p=incubator-cordova-android.git;a=blob;f=framework/res/xml/plugins.xml;); LOG.e(TAG, =); } {code} The error message should say the config.xml file is missing; not the plugins.xml file. The referenced link is also out-of-date. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (CB-3813) Can't add android without using sudo
[ https://issues.apache.org/jira/browse/CB-3813?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Filip Maj resolved CB-3813. --- Resolution: Unresolved Not sure how we're going to handle the upgrade paths from older version of the tools.. sorry. I think your best bet is to delete your old install of cordova-cli and install the newer tools. The new CLI doesn't try to install anything into sudo-owner directories (unlike the older CLI) so it may get a little confused there. Can't add android without using sudo Key: CB-3813 URL: https://issues.apache.org/jira/browse/CB-3813 Project: Apache Cordova Issue Type: Bug Components: CLI Affects Versions: 2.8.0 Environment: npm 1.2.30 cordova (cli) 2.8.17 phonegap 2.8.0 centos 6 android sdk tools: 22.0.1 android build tools: 17 android platform tools: 17 /usr/local all owned by me via chown Reporter: Dan Moore Assignee: Filip Maj I am unable to create an android project using cordova-cli without using sudo. Replication steps: 1. cordova create foo 2. cd foo 3. cordova platform add android Expected outcome: see android added to the platforms directory Actual outcome: you see an error message and no android directory added Error message: [Error: An error occured during creation of android sub-project. /bin/sh: /home/username/.cordova/lib/android/cordova/2.8.0/bin/create: No such file or directory ] Strangely, running this with sudo works: sudo env PATH=$PATH cordova platform add android I saw this bug: CB-3614 but the error message is different. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Created] (CB-3825) Adapt Adding a Plug-in section
Mike Sierra created CB-3825: --- Summary: Adapt Adding a Plug-in section Key: CB-3825 URL: https://issues.apache.org/jira/browse/CB-3825 Project: Apache Cordova Issue Type: Task Components: Docs Reporter: Mike Sierra Assignee: Michael Brooks adapt existing Plugin Development Guide -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Created] (CB-3824) Rework Embedding a WebView section
Mike Sierra created CB-3824: --- Summary: Rework Embedding a WebView section Key: CB-3824 URL: https://issues.apache.org/jira/browse/CB-3824 Project: Apache Cordova Issue Type: Task Components: Docs Reporter: Mike Sierra Assignee: Michael Brooks Adapt existing Embedding WebView sections -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (CB-3824) Adapt Embedding a WebView section
[ https://issues.apache.org/jira/browse/CB-3824?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mike Sierra updated CB-3824: Summary: Adapt Embedding a WebView section (was: Rework Embedding a WebView section) Adapt Embedding a WebView section --- Key: CB-3824 URL: https://issues.apache.org/jira/browse/CB-3824 Project: Apache Cordova Issue Type: Task Components: Docs Reporter: Mike Sierra Assignee: Michael Brooks Adapt existing Embedding WebView sections -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Created] (CB-3827) Modify content structure
Mike Sierra created CB-3827: --- Summary: Modify content structure Key: CB-3827 URL: https://issues.apache.org/jira/browse/CB-3827 Project: Apache Cordova Issue Type: Task Components: Docs Reporter: Mike Sierra Assignee: Michael Brooks Restructure as follows: - Guides - Overview - The Cordova Command-line Interface - SDK Guide - [each platform...] - Upgrading SDKs - [each platform...] - API and Configuration Guide - Modifying Preferences - Basic Interaction - Device Sensors - Data Access - Network and Storage - Globalization - Domain Whitelisting - Extended Hybrid Applications - Opening a Browser Window - Embedding a WebView - Adding a Plug-in - Distributing Applications - Reference - API Reference - [each API...] - Configuration Reference - Shared Configuration Settings - iOS Configuration - Android Configuration - Blackberry Configuration -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (CB-3820) Adapt Configuration Reference
[ https://issues.apache.org/jira/browse/CB-3820?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mike Sierra updated CB-3820: Description: adapt existing Project Settings. In addition to platform-specific settings, include Shared Settings e.g. for orientation (was: adapt existing Project Settings) Adapt Configuration Reference - Key: CB-3820 URL: https://issues.apache.org/jira/browse/CB-3820 Project: Apache Cordova Issue Type: Task Components: Docs Reporter: Mike Sierra Assignee: Michael Brooks adapt existing Project Settings. In addition to platform-specific settings, include Shared Settings e.g. for orientation -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (CB-3827) Modify content structure
[ https://issues.apache.org/jira/browse/CB-3827?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mike Sierra updated CB-3827: Description: Restructure as follows: 1 Guides 1.1 Overview 1.2 The Cordova Command-line Interface 1.3 SDK Guide 1.3.1 [each platform...] 1.4 Upgrading SDKs 1.4.1 [each platform...] 1.5 API and Configuration Guide 1.5.1 Modifying Preferences 1.5.2 Basic Interaction 1.5.3 Device Sensors 1.5.4 Data Access 1.5.5 Network and Storage 1.5.6 Globalization 1.5.7 Domain Whitelisting 1.6 Extended Hybrid Applications 1.6.1 Opening a Browser Window 1.6.2 Embedding a WebView 1.6.3 Adding a Plug-in 1.7 Distributing Applications 2 Reference 2.1 API Reference 2.1.1 [each API...] 2.2 Configuration Reference 2.2.1 Shared Configuration Settings 2.2.2 iOS Configuration 2.2.3 Android Configuration 2.2.4 Blackberry Configuration was: Restructure as follows: - Guides - Overview - The Cordova Command-line Interface - SDK Guide - [each platform...] - Upgrading SDKs - [each platform...] - API and Configuration Guide - Modifying Preferences - Basic Interaction - Device Sensors - Data Access - Network and Storage - Globalization - Domain Whitelisting - Extended Hybrid Applications - Opening a Browser Window - Embedding a WebView - Adding a Plug-in - Distributing Applications - Reference - API Reference - [each API...] - Configuration Reference - Shared Configuration Settings - iOS Configuration - Android Configuration - Blackberry Configuration Modify content structure Key: CB-3827 URL: https://issues.apache.org/jira/browse/CB-3827 Project: Apache Cordova Issue Type: Task Components: Docs Reporter: Mike Sierra Assignee: Michael Brooks Restructure as follows: 1 Guides 1.1 Overview 1.2 The Cordova Command-line Interface 1.3 SDK Guide 1.3.1 [each platform...] 1.4 Upgrading SDKs 1.4.1 [each platform...] 1.5 API and Configuration Guide 1.5.1 Modifying Preferences 1.5.2 Basic Interaction 1.5.3 Device Sensors 1.5.4 Data Access 1.5.5 Network and Storage 1.5.6 Globalization 1.5.7 Domain Whitelisting 1.6 Extended Hybrid Applications 1.6.1 Opening a Browser Window 1.6.2 Embedding a WebView 1.6.3 Adding a Plug-in 1.7 Distributing Applications 2 Reference 2.1 API Reference 2.1.1 [each API...] 2.2 Configuration Reference 2.2.1 Shared Configuration Settings 2.2.2 iOS Configuration 2.2.3 Android Configuration 2.2.4 Blackberry Configuration -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CB-3683) Breakout Contacts Plugin for WP7
[ https://issues.apache.org/jira/browse/CB-3683?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13683769#comment-13683769 ] ASF subversion and git services commented on CB-3683: - Commit 9477b856ccabebdfd63cd1c9479951e0d540f2e8 in branch refs/heads/master from [~bennmapes] [ https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-contacts.git;h=9477b85 ] [CB-3683] added contacts capability to wp7 Breakout Contacts Plugin for WP7 Key: CB-3683 URL: https://issues.apache.org/jira/browse/CB-3683 Project: Apache Cordova Issue Type: Improvement Components: Plugin Contacts, WP7 Reporter: Steve Gill Assignee: Benn Mapes Fix For: 3.0.0 -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CB-3713) Breakout Device Plugin for WP7
[ https://issues.apache.org/jira/browse/CB-3713?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13683772#comment-13683772 ] ASF subversion and git services commented on CB-3713: - Commit 4b20b222ee3d279660980cea4f6900f2ffd4578a in branch refs/heads/master from [~bennmapes] [ https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-device.git;h=4b20b22 ] [CB-3713] added device capability for wp7 Breakout Device Plugin for WP7 -- Key: CB-3713 URL: https://issues.apache.org/jira/browse/CB-3713 Project: Apache Cordova Issue Type: Improvement Components: Plugin Device, WP7 Reporter: Steve Gill Assignee: Steve Gill Fix For: 3.0.0 -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CB-3658) Breakout Device Motion Plugin for wp7
[ https://issues.apache.org/jira/browse/CB-3658?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13683773#comment-13683773 ] ASF subversion and git services commented on CB-3658: - Commit 11a78ece5d5c954f2b520b25c023bcdd642291ab in branch refs/heads/master from [~bennmapes] [ https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-device-motion.git;h=11a78ec ] [CB-3658] added sensor capability for wp7 Breakout Device Motion Plugin for wp7 - Key: CB-3658 URL: https://issues.apache.org/jira/browse/CB-3658 Project: Apache Cordova Issue Type: Bug Components: Plugin Device Motion, WP7 Reporter: Steve Gill Assignee: Benn Mapes Fix For: 3.0.0 -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CB-3814) Cordova CLI creates 2.8.0 project rather than 2.8.1
[ https://issues.apache.org/jira/browse/CB-3814?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13683774#comment-13683774 ] ASF subversion and git services commented on CB-3814: - Commit b09847a8bef5be07a5da22d112a97b7cb34ce088 in branch refs/heads/master2 from Fil Maj [ https://git-wip-us.apache.org/repos/asf?p=cordova-cli.git;h=b09847a ] npm version 2.8.19. Fixes [CB-3814] use 2.8.1 for android. Refactored to allow per-platform-library versioning. Cordova CLI creates 2.8.0 project rather than 2.8.1 --- Key: CB-3814 URL: https://issues.apache.org/jira/browse/CB-3814 Project: Apache Cordova Issue Type: Bug Components: CLI Affects Versions: 2.8.0 Environment: npm 1.2.30 cordova (cli) 2.8.17 phonegap 2.8.0 centos 6 android sdk tools: 22.0.1 android build tools: 17 android platform tools: 17 /usr/local all owned by me via chown Reporter: Dan Moore Assignee: Filip Maj The version of phonegap/cordova for a freshly created project is 2.8.0-0-g6208c95. But phonegap 2.8.1 is released and available: http://phonegap.com/download/ (and matters for anyone who uses a plugin). -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CB-3686) Breakout Device Orientation Plugin for WP7
[ https://issues.apache.org/jira/browse/CB-3686?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13683776#comment-13683776 ] ASF subversion and git services commented on CB-3686: - Commit 9a27a88ba3a4e514d48c00f127ceebb2d1d4773d in branch refs/heads/master from [~bennmapes] [ https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-device-orientation.git;h=9a27a88 ] [CB-3686] added sensor capability for wp7 Breakout Device Orientation Plugin for WP7 -- Key: CB-3686 URL: https://issues.apache.org/jira/browse/CB-3686 Project: Apache Cordova Issue Type: Improvement Components: Plugin Device Orientation, WP7 Reporter: Steve Gill Assignee: Benn Mapes Fix For: 3.0.0 -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Created] (CB-3828) Add API and Configuration Guide Guide
Mike Sierra created CB-3828: --- Summary: Add API and Configuration Guide Guide Key: CB-3828 URL: https://issues.apache.org/jira/browse/CB-3828 Project: Apache Cordova Issue Type: Task Components: Docs Reporter: Mike Sierra Assignee: Michael Brooks Reader needs short tutorials about how to use APIs in real-world contexts. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (CB-3814) Cordova CLI creates 2.8.0 project rather than 2.8.1
[ https://issues.apache.org/jira/browse/CB-3814?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Filip Maj resolved CB-3814. --- Resolution: Fixed Fix Version/s: 2.9.0 Pushed a fix to npm as 2.8.19. Give it a shot! Cordova CLI creates 2.8.0 project rather than 2.8.1 --- Key: CB-3814 URL: https://issues.apache.org/jira/browse/CB-3814 Project: Apache Cordova Issue Type: Bug Components: CLI Affects Versions: 2.8.0 Environment: npm 1.2.30 cordova (cli) 2.8.17 phonegap 2.8.0 centos 6 android sdk tools: 22.0.1 android build tools: 17 android platform tools: 17 /usr/local all owned by me via chown Reporter: Dan Moore Assignee: Filip Maj Fix For: 2.9.0 The version of phonegap/cordova for a freshly created project is 2.8.0-0-g6208c95. But phonegap 2.8.1 is released and available: http://phonegap.com/download/ (and matters for anyone who uses a plugin). -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CB-3797) [Blackberry10] HOME/.cordova/blackberry10.json master properties file
[ https://issues.apache.org/jira/browse/CB-3797?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13683782#comment-13683782 ] ASF subversion and git services commented on CB-3797: - Commit 8e562c277c61e00a95ae96e106df001967ad7c06 in branch refs/heads/master from [~lorin] [ https://git-wip-us.apache.org/repos/asf?p=cordova-blackberry.git;h=8e562c2 ] removed run script dependency or project.json [CB-3797] moved blackberry json properties file initialization functions to utils [CB-3797] updated build and run scripts to use utils.js and use blackberry10.json [Blackberry10] HOME/.cordova/blackberry10.json master properties file - Key: CB-3797 URL: https://issues.apache.org/jira/browse/CB-3797 Project: Apache Cordova Issue Type: Improvement Components: BlackBerry Affects Versions: 2.8.0 Reporter: Lorin Beer Assignee: Lorin Beer Fix For: 2.9.0 on Jeffrey Heifetz's suggestion, remove multiple targets.json files and create a system master file which both project/repo scripts writes/reads to discussion here: https://issues.apache.org/jira/browse/CB-3604?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13682462#comment-13682462 -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CB-3797) [Blackberry10] HOME/.cordova/blackberry10.json master properties file
[ https://issues.apache.org/jira/browse/CB-3797?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13683785#comment-13683785 ] ASF subversion and git services commented on CB-3797: - Commit 28924ec2a5f1b850ce03a844f24209fc75939ffc in branch refs/heads/master from [~lorin] [ https://git-wip-us.apache.org/repos/asf?p=cordova-blackberry.git;h=28924ec ] [CB-3797] rename of targets.json to blackberry10.json [CB-3797] updated target script to use globally accessible blackberry10.json file, creates if not found. [CB-3797] removed targets.json copy in create script, bug fix in target.js [Blackberry10] HOME/.cordova/blackberry10.json master properties file - Key: CB-3797 URL: https://issues.apache.org/jira/browse/CB-3797 Project: Apache Cordova Issue Type: Improvement Components: BlackBerry Affects Versions: 2.8.0 Reporter: Lorin Beer Assignee: Lorin Beer Fix For: 2.9.0 on Jeffrey Heifetz's suggestion, remove multiple targets.json files and create a system master file which both project/repo scripts writes/reads to discussion here: https://issues.apache.org/jira/browse/CB-3604?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13682462#comment-13682462 -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CB-3797) [Blackberry10] HOME/.cordova/blackberry10.json master properties file
[ https://issues.apache.org/jira/browse/CB-3797?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13683786#comment-13683786 ] ASF subversion and git services commented on CB-3797: - Commit 28924ec2a5f1b850ce03a844f24209fc75939ffc in branch refs/heads/master from [~lorin] [ https://git-wip-us.apache.org/repos/asf?p=cordova-blackberry.git;h=28924ec ] [CB-3797] rename of targets.json to blackberry10.json [CB-3797] updated target script to use globally accessible blackberry10.json file, creates if not found. [CB-3797] removed targets.json copy in create script, bug fix in target.js [Blackberry10] HOME/.cordova/blackberry10.json master properties file - Key: CB-3797 URL: https://issues.apache.org/jira/browse/CB-3797 Project: Apache Cordova Issue Type: Improvement Components: BlackBerry Affects Versions: 2.8.0 Reporter: Lorin Beer Assignee: Lorin Beer Fix For: 2.9.0 on Jeffrey Heifetz's suggestion, remove multiple targets.json files and create a system master file which both project/repo scripts writes/reads to discussion here: https://issues.apache.org/jira/browse/CB-3604?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13682462#comment-13682462 -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CB-3797) [Blackberry10] HOME/.cordova/blackberry10.json master properties file
[ https://issues.apache.org/jira/browse/CB-3797?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13683783#comment-13683783 ] ASF subversion and git services commented on CB-3797: - Commit 8e562c277c61e00a95ae96e106df001967ad7c06 in branch refs/heads/master from [~lorin] [ https://git-wip-us.apache.org/repos/asf?p=cordova-blackberry.git;h=8e562c2 ] removed run script dependency or project.json [CB-3797] moved blackberry json properties file initialization functions to utils [CB-3797] updated build and run scripts to use utils.js and use blackberry10.json [Blackberry10] HOME/.cordova/blackberry10.json master properties file - Key: CB-3797 URL: https://issues.apache.org/jira/browse/CB-3797 Project: Apache Cordova Issue Type: Improvement Components: BlackBerry Affects Versions: 2.8.0 Reporter: Lorin Beer Assignee: Lorin Beer Fix For: 2.9.0 on Jeffrey Heifetz's suggestion, remove multiple targets.json files and create a system master file which both project/repo scripts writes/reads to discussion here: https://issues.apache.org/jira/browse/CB-3604?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13682462#comment-13682462 -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (CB-3828) Add API and Configuration Guide
[ https://issues.apache.org/jira/browse/CB-3828?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mike Sierra updated CB-3828: Summary: Add API and Configuration Guide (was: Add API and Configuration Guide Guide) Add API and Configuration Guide - Key: CB-3828 URL: https://issues.apache.org/jira/browse/CB-3828 Project: Apache Cordova Issue Type: Task Components: Docs Reporter: Mike Sierra Assignee: Michael Brooks Reader needs short tutorials about how to use APIs in real-world contexts. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (CB-3797) [Blackberry10] HOME/.cordova/blackberry10.json master properties file
[ https://issues.apache.org/jira/browse/CB-3797?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Lorin Beer resolved CB-3797. Resolution: Fixed fixed here: https://git-wip-us.apache.org/repos/asf?p=cordova-blackberry.git;a=commit;h=28924ec2a5f1b850ce03a844f24209fc75939ffc https://git-wip-us.apache.org/repos/asf?p=cordova-blackberry.git;a=commit;h=8e562c277c61e00a95ae96e106df001967ad7c06 [Blackberry10] HOME/.cordova/blackberry10.json master properties file - Key: CB-3797 URL: https://issues.apache.org/jira/browse/CB-3797 Project: Apache Cordova Issue Type: Improvement Components: BlackBerry Affects Versions: 2.8.0 Reporter: Lorin Beer Assignee: Lorin Beer Fix For: 2.9.0 on Jeffrey Heifetz's suggestion, remove multiple targets.json files and create a system master file which both project/repo scripts writes/reads to discussion here: https://issues.apache.org/jira/browse/CB-3604?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13682462#comment-13682462 -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CB-3693) Breakout Geolocation Plugin for WP7
[ https://issues.apache.org/jira/browse/CB-3693?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13683812#comment-13683812 ] ASF subversion and git services commented on CB-3693: - Commit e7519214d0ae54ca7253bb50e8410e51a4592510 in branch refs/heads/master from [~bennmapes] [ https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-geolocation.git;h=e751921 ] [CB-3693] added location capability for wp7 Breakout Geolocation Plugin for WP7 --- Key: CB-3693 URL: https://issues.apache.org/jira/browse/CB-3693 Project: Apache Cordova Issue Type: Improvement Components: Plugin Geolocation, WP7 Reporter: Steve Gill Assignee: Steve Gill Fix For: 3.0.0 -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (CB-3810) Rework Guide content
[ https://issues.apache.org/jira/browse/CB-3810?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mike Sierra updated CB-3810: Summary: Rework Guide content (was: Rework Guide content ) Rework Guide content --- Key: CB-3810 URL: https://issues.apache.org/jira/browse/CB-3810 Project: Apache Cordova Issue Type: Task Components: Docs Reporter: Mike Sierra Assignee: Michael Brooks Priority: Critical Current guide content assumes an SDK-centered workflow, which needs to be modified to address CLI audience. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CB-3725) Breakout File Transfer Plugin for Android
[ https://issues.apache.org/jira/browse/CB-3725?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13683840#comment-13683840 ] Tim Kim commented on CB-3725: - Just tested on android and has the same number of tests passing as master branch. Using this plugin commit: https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-file-transfer.git;a=commit;h=62e365cbc1f482cc629489d7e8e4bd3535f65da2 Breakout File Transfer Plugin for Android - Key: CB-3725 URL: https://issues.apache.org/jira/browse/CB-3725 Project: Apache Cordova Issue Type: Improvement Components: Android, Plugin File Transfer Reporter: Steve Gill Assignee: Herm Wong Fix For: 3.0.0 -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (CB-3725) Breakout File Transfer Plugin for Android
[ https://issues.apache.org/jira/browse/CB-3725?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tim Kim resolved CB-3725. - Resolution: Fixed Breakout File Transfer Plugin for Android - Key: CB-3725 URL: https://issues.apache.org/jira/browse/CB-3725 Project: Apache Cordova Issue Type: Improvement Components: Android, Plugin File Transfer Reporter: Steve Gill Assignee: Herm Wong Fix For: 3.0.0 -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Created] (CB-3830) [BlackBerry10] Refactor Packager to remove dependency on BBNDK
James Keshavarzi created CB-3830: Summary: [BlackBerry10] Refactor Packager to remove dependency on BBNDK Key: CB-3830 URL: https://issues.apache.org/jira/browse/CB-3830 Project: Apache Cordova Issue Type: Bug Components: BlackBerry Affects Versions: 2.8.0 Reporter: James Keshavarzi Assignee: Lorin Beer Fix For: 2.9.0 The packager is currently dependent on the BBNDK and its environment variables to run. If you don't execute the bbndk-env script prior to running the Packager won't work. We need to remove this dependency. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CB-3504) Cordova 2.7.0 uses WebResourceResponse which is only avalable in API Level 11
[ https://issues.apache.org/jira/browse/CB-3504?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13683862#comment-13683862 ] ASF subversion and git services commented on CB-3504: - Commit 90f83db9c9de2dffb3a4db965d7221e83b0e917e in branch refs/heads/master from [~bowserj] [ https://git-wip-us.apache.org/repos/asf?p=cordova-android.git;h=90f83db ] CB-3504: Fixing issue with the use of WebResourceResponse on pre-Honeycomb devices. Cordova 2.7.0 uses WebResourceResponse which is only avalable in API Level 11 - Key: CB-3504 URL: https://issues.apache.org/jira/browse/CB-3504 Project: Apache Cordova Issue Type: Bug Components: Android Affects Versions: 2.7.0 Reporter: Andrew Assignee: Joe Bowser Priority: Minor In CordovaWebViewClient.java, android.webkit.WebResourceResponse is imported and used by the methods shouldInterceptRequest and getWhitelistResponse. But since android.webkit.WebResourceResponse is only available on devices = API Level 11, this causes cordova apps to crash on devices at a lower API Level like my Samsung Galaxy S. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (CB-3504) Cordova 2.7.0 uses WebResourceResponse which is only avalable in API Level 11
[ https://issues.apache.org/jira/browse/CB-3504?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Joe Bowser resolved CB-3504. Resolution: Fixed This should fix the crash. I'm no longer getting spammy logs from this. Cordova 2.7.0 uses WebResourceResponse which is only avalable in API Level 11 - Key: CB-3504 URL: https://issues.apache.org/jira/browse/CB-3504 Project: Apache Cordova Issue Type: Bug Components: Android Affects Versions: 2.7.0 Reporter: Andrew Assignee: Joe Bowser Priority: Minor In CordovaWebViewClient.java, android.webkit.WebResourceResponse is imported and used by the methods shouldInterceptRequest and getWhitelistResponse. But since android.webkit.WebResourceResponse is only available on devices = API Level 11, this causes cordova apps to crash on devices at a lower API Level like my Samsung Galaxy S. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Created] (CB-3831) Android SplashScreen: navigator.splashscreen.show() isn't working
Steve Gill created CB-3831: -- Summary: Android SplashScreen: navigator.splashscreen.show() isn't working Key: CB-3831 URL: https://issues.apache.org/jira/browse/CB-3831 Project: Apache Cordova Issue Type: Bug Components: Android, Plugin SplashScreen Reporter: Steve Gill Assignee: Joe Bowser When I run the tests for splashscreen on android, it doesn't work. The splashscreen will do its original load as long as you add a delay to super.loadUrl(Config.getStartUrl(), 1) and add the splashscreen preference in the config.xml. The tests don't work for it though. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CB-3728) Breakout File Transfer Plugin for WP7
[ https://issues.apache.org/jira/browse/CB-3728?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13683883#comment-13683883 ] ASF subversion and git services commented on CB-3728: - Commit 26b4948cd32b5f9821187f3ee7ceb63c796d3a70 in branch refs/heads/master from [~bennmapes] [ https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-file-transfer.git;h=26b4948 ] [CB-3728] first pass wp7 support Breakout File Transfer Plugin for WP7 - Key: CB-3728 URL: https://issues.apache.org/jira/browse/CB-3728 Project: Apache Cordova Issue Type: Improvement Components: Plugin File Transfer, WP7 Reporter: Steve Gill Assignee: Steve Gill Fix For: 3.0.0 -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (CB-3728) Breakout File Transfer Plugin for WP7
[ https://issues.apache.org/jira/browse/CB-3728?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Benn Mapes resolved CB-3728. Resolution: Fixed Assignee: Benn Mapes (was: Steve Gill) Breakout File Transfer Plugin for WP7 - Key: CB-3728 URL: https://issues.apache.org/jira/browse/CB-3728 Project: Apache Cordova Issue Type: Improvement Components: Plugin File Transfer, WP7 Reporter: Steve Gill Assignee: Benn Mapes Fix For: 3.0.0 -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CB-3706) Breakout Media Plugin for WP7
[ https://issues.apache.org/jira/browse/CB-3706?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13683889#comment-13683889 ] ASF subversion and git services commented on CB-3706: - Commit 5d23b41cd1ac65ad010c9c9eb6512252042d6372 in branch refs/heads/master from [~bennmapes] [ https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-media.git;h=5d23b41 ] [CB-3706] added mediaLib capability for wp7 Breakout Media Plugin for WP7 - Key: CB-3706 URL: https://issues.apache.org/jira/browse/CB-3706 Project: Apache Cordova Issue Type: Improvement Components: Plugin Media, WP7 Reporter: Steve Gill Assignee: Steve Gill Fix For: 3.0.0 -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (CB-3831) Android SplashScreen: navigator.splashscreen.show() isn't working
[ https://issues.apache.org/jira/browse/CB-3831?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Joe Bowser updated CB-3831: --- Fix Version/s: 3.0.0 Affects Version/s: 3.0.0 Tested it on master, it works fine. Suspect there's issues posting the messages to the main activity, where the main activity needs to handle it. Splashscreen is a dumb plugin, and the majority of the logic has to be in the activity due to the nature of plugins. Android SplashScreen: navigator.splashscreen.show() isn't working - Key: CB-3831 URL: https://issues.apache.org/jira/browse/CB-3831 Project: Apache Cordova Issue Type: Bug Components: Android, Plugin SplashScreen Affects Versions: 3.0.0 Reporter: Steve Gill Assignee: Joe Bowser Fix For: 3.0.0 When I run the tests for splashscreen on android, it doesn't work. The splashscreen will do its original load as long as you add a delay to super.loadUrl(Config.getStartUrl(), 1) and add the splashscreen preference in the config.xml. The tests don't work for it though. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CB-3703) Breakout Media Capture Plugin for WP7
[ https://issues.apache.org/jira/browse/CB-3703?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13683922#comment-13683922 ] ASF subversion and git services commented on CB-3703: - Commit 6d3edfc6de7ea43bcfcf2049dbd3f9d93fa9504e in branch refs/heads/master from [~bennmapes] [ https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-media-capture.git;h=6d3edfc ] [CB-3703] added capabilities for wp7 Breakout Media Capture Plugin for WP7 - Key: CB-3703 URL: https://issues.apache.org/jira/browse/CB-3703 Project: Apache Cordova Issue Type: Improvement Components: Plugin Media Capture, WP7 Reporter: Steve Gill Assignee: Steve Gill Fix For: 3.0.0 -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira