[jira] [Commented] (CB-10798) Cannot create folder into cordova.file.externalRootDirectory on Android 6.x Marshmallow

2016-03-11 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-10798:
-

Github user dblotsky commented on a diff in the pull request:

https://github.com/apache/cordova-plugin-file/pull/170#discussion_r55900124
  
--- Diff: src/android/FileUtils.java ---
@@ -435,8 +443,23 @@ else if (action.equals("getDirectory")) {
 public void run(JSONArray args) throws 
FileExistsException, IOException, TypeMismatchException, EncodingException, 
JSONException {
 String dirname=args.getString(0);
 String path=args.getString(1);
-JSONObject obj = getFile(dirname, path, 
args.optJSONObject(2), true);
-callbackContext.success(obj);
+String nativeURL = 
resolveLocalFileSystemURI(dirname).getString("nativeURL");
+JSONObject j = requestAllPaths();
+String[] allowedStorageDirectories = 
{j.getString("applicationStorageDirectory"), 
j.getString("externalApplicationStorageDirectory")};
+boolean needReadPermission = true;
+
+// Ask for the read permission if the native url lies 
outside the allowed storage directories
+for(String directory : allowedStorageDirectories) {
--- End diff --

There is similar code in the above case. Please de-duplicate it.


> Cannot create folder into cordova.file.externalRootDirectory on Android 6.x 
> Marshmallow
> ---
>
> Key: CB-10798
> URL: https://issues.apache.org/jira/browse/CB-10798
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin File
>Affects Versions: 4.1.1
> Environment: Android 6.0.1 (Nexus 9 and other 6.x devices), Cordova 
> cli 6.0.0, Android platform 5.1.0
>Reporter: Vito Macchia
>Assignee: Raghav Katyal
>  Labels: android, triaged
>
> Cannot create folder into cordova.file.externalRootDirectory on Android 6.x 
> Marshmallow. It always returns encording error (12), while on Android 5.x 
> (Lollipop) the same code works fine.
> On Marshmallow devices I can succesfully create folders only into 
> cordova.file.externalDataDirectory.
> No matter the value of preference AndroidPersistentFileLocation or 
> AndroidExtraFilesystems.
> Code (some ES6, sorry)
> This snippet uses WinJS Promises - should work with native promises as well 
> or you can just remove promises and pass succes and fail callbacks. It should 
> create MY_Folder/test (both folders, like mkdirp) in the SD Card (regardless 
> if emulated or not) root directory. It works fine with 5.x devices, but 
> returns always FileError.ENCODING_ERR on Marshmallow. 
> {code:title=createDirectory.js|borderStyle=solid}
> function errorCode(e) {
> var msg = '';
> switch (e.code) {
> case FileError.ABORT_ERR:
> msg = 'ABORT_ERR';
> break;
> case FileError.ENCODING_ERR:
> msg = 'ENCODING_ERR';
> break;
> case FileError.NOT_READABLE_ERR:
> msg = 'NOT_READABLE_ERR';
> break;
> case FileError.PATH_EXISTS_ERR:
> msg = 'PATH_EXISTS_ERR';
> break;
> case FileError.QUOTA_EXCEEDED_ERR:
> msg = 'QUOTA_EXCEEDED_ERR';
> break;
> case FileError.NOT_FOUND_ERR:
> msg = 'NOT_FOUND_ERR';
> break;
> case FileError.SECURITY_ERR:
> msg = 'SECURITY_ERR';
> break;
> case FileError.INVALID_MODIFICATION_ERR:
> msg = 'INVALID_MODIFICATION_ERR';
> break;
> case FileError.INVALID_STATE_ERR:
> msg = 'INVALID_STATE_ERR';
> break;
> default:
> msg = 'Unknown Error';
> break;
> };
> console.log('Error: ' + msg, "CODE", e);
> return msg;
> }
> const STATIC_CONTENT_DIR = 'MY_Folder/test';
> function createDirectory(startDirectory = cordova.file.externalRootDirectory) 
> {
> return new WinJS.Promise(function(success, fail) {
> window.resolveLocalFileSystemURL(startDirectory, function(directory) {
> console.log("FS ROOT", directory);
> function fileGetDir(path, cb) {
> console.log("*** PATH", path);
> var fnGetOrCreateDir = function(p, de) {
> var entry = p.shift();
> console.log("PATH", path);
> if (entry) {
> de.getDirectory(entry, {
> create: true,
> exclusive: false
>

[jira] [Commented] (CB-10798) Cannot create folder into cordova.file.externalRootDirectory on Android 6.x Marshmallow

2016-03-11 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-10798:
-

Github user dblotsky commented on a diff in the pull request:

https://github.com/apache/cordova-plugin-file/pull/170#discussion_r55899953
  
--- Diff: src/android/FileUtils.java ---
@@ -347,18 +348,25 @@ else if (action.equals("write")) {
 threadhelper( new FileOp( ){
 public void run(JSONArray args) throws JSONException, 
FileNotFoundException, IOException, NoModificationAllowedException {
 String fname=args.getString(0);
+String nativeURL = 
resolveLocalFileSystemURI(fname).getString("nativeURL");
 String data=args.getString(1);
 int offset=args.getInt(2);
 Boolean isBinary=args.getBoolean(3);
-/*
- * If we don't have the package name in the path, 
we're reading and writing to places we need permission for
- */
-
if(fname.contains(cordova.getActivity().getPackageName()) ||
-hasReadPermission()) {
-long fileSize = write(fname, data, offset, 
isBinary);
-callbackContext.sendPluginResult(new 
PluginResult(PluginResult.Status.OK, fileSize));
+
+JSONObject j = requestAllPaths();
+String[] allowedStorageDirectories = 
{j.getString("applicationStorageDirectory"), 
j.getString("externalApplicationStorageDirectory")};
+boolean needWritePermission = true;
+
+// Ask for the write permission if the native url lies 
outside the allowed storage directories
+for(String directory : allowedStorageDirectories) {
+if(nativeURL.startsWith(directory) || 
hasWritePermission()) {
--- End diff --

Is there a native API call (that does normalizing, etc.) to check if a path 
contains a path?


> Cannot create folder into cordova.file.externalRootDirectory on Android 6.x 
> Marshmallow
> ---
>
> Key: CB-10798
> URL: https://issues.apache.org/jira/browse/CB-10798
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin File
>Affects Versions: 4.1.1
> Environment: Android 6.0.1 (Nexus 9 and other 6.x devices), Cordova 
> cli 6.0.0, Android platform 5.1.0
>Reporter: Vito Macchia
>Assignee: Raghav Katyal
>  Labels: android, triaged
>
> Cannot create folder into cordova.file.externalRootDirectory on Android 6.x 
> Marshmallow. It always returns encording error (12), while on Android 5.x 
> (Lollipop) the same code works fine.
> On Marshmallow devices I can succesfully create folders only into 
> cordova.file.externalDataDirectory.
> No matter the value of preference AndroidPersistentFileLocation or 
> AndroidExtraFilesystems.
> Code (some ES6, sorry)
> This snippet uses WinJS Promises - should work with native promises as well 
> or you can just remove promises and pass succes and fail callbacks. It should 
> create MY_Folder/test (both folders, like mkdirp) in the SD Card (regardless 
> if emulated or not) root directory. It works fine with 5.x devices, but 
> returns always FileError.ENCODING_ERR on Marshmallow. 
> {code:title=createDirectory.js|borderStyle=solid}
> function errorCode(e) {
> var msg = '';
> switch (e.code) {
> case FileError.ABORT_ERR:
> msg = 'ABORT_ERR';
> break;
> case FileError.ENCODING_ERR:
> msg = 'ENCODING_ERR';
> break;
> case FileError.NOT_READABLE_ERR:
> msg = 'NOT_READABLE_ERR';
> break;
> case FileError.PATH_EXISTS_ERR:
> msg = 'PATH_EXISTS_ERR';
> break;
> case FileError.QUOTA_EXCEEDED_ERR:
> msg = 'QUOTA_EXCEEDED_ERR';
> break;
> case FileError.NOT_FOUND_ERR:
> msg = 'NOT_FOUND_ERR';
> break;
> case FileError.SECURITY_ERR:
> msg = 'SECURITY_ERR';
> break;
> case FileError.INVALID_MODIFICATION_ERR:
> msg = 'INVALID_MODIFICATION_ERR';
> break;
> case FileError.INVALID_STATE_ERR:
> msg = 'INVALID_STATE_ERR';
> break;
> default:
> msg = 'Unknown Error';
> break;
> };
> console.log('Error: ' + msg, "CODE", e);
> return msg;
> }
> const STATIC_CONTENT_DIR = 'MY_Folder/test';
> function createDirectory(startDirectory = 

[jira] [Commented] (CB-10798) Cannot create folder into cordova.file.externalRootDirectory on Android 6.x Marshmallow

2016-03-11 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-10798:
-

Github user dblotsky commented on a diff in the pull request:

https://github.com/apache/cordova-plugin-file/pull/170#discussion_r55899536
  
--- Diff: src/android/FileUtils.java ---
@@ -75,6 +75,7 @@ Licensed to the Apache Software Foundation (ASF) under one
 
 public static final int READ_PERM = 0;
 public static final int WRITE_PERM = 1;
+public static final int READ_PERM_DIR = 2;
--- End diff --

It might be clearer to make these guys an enum.


> Cannot create folder into cordova.file.externalRootDirectory on Android 6.x 
> Marshmallow
> ---
>
> Key: CB-10798
> URL: https://issues.apache.org/jira/browse/CB-10798
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin File
>Affects Versions: 4.1.1
> Environment: Android 6.0.1 (Nexus 9 and other 6.x devices), Cordova 
> cli 6.0.0, Android platform 5.1.0
>Reporter: Vito Macchia
>Assignee: Raghav Katyal
>  Labels: android, triaged
>
> Cannot create folder into cordova.file.externalRootDirectory on Android 6.x 
> Marshmallow. It always returns encording error (12), while on Android 5.x 
> (Lollipop) the same code works fine.
> On Marshmallow devices I can succesfully create folders only into 
> cordova.file.externalDataDirectory.
> No matter the value of preference AndroidPersistentFileLocation or 
> AndroidExtraFilesystems.
> Code (some ES6, sorry)
> This snippet uses WinJS Promises - should work with native promises as well 
> or you can just remove promises and pass succes and fail callbacks. It should 
> create MY_Folder/test (both folders, like mkdirp) in the SD Card (regardless 
> if emulated or not) root directory. It works fine with 5.x devices, but 
> returns always FileError.ENCODING_ERR on Marshmallow. 
> {code:title=createDirectory.js|borderStyle=solid}
> function errorCode(e) {
> var msg = '';
> switch (e.code) {
> case FileError.ABORT_ERR:
> msg = 'ABORT_ERR';
> break;
> case FileError.ENCODING_ERR:
> msg = 'ENCODING_ERR';
> break;
> case FileError.NOT_READABLE_ERR:
> msg = 'NOT_READABLE_ERR';
> break;
> case FileError.PATH_EXISTS_ERR:
> msg = 'PATH_EXISTS_ERR';
> break;
> case FileError.QUOTA_EXCEEDED_ERR:
> msg = 'QUOTA_EXCEEDED_ERR';
> break;
> case FileError.NOT_FOUND_ERR:
> msg = 'NOT_FOUND_ERR';
> break;
> case FileError.SECURITY_ERR:
> msg = 'SECURITY_ERR';
> break;
> case FileError.INVALID_MODIFICATION_ERR:
> msg = 'INVALID_MODIFICATION_ERR';
> break;
> case FileError.INVALID_STATE_ERR:
> msg = 'INVALID_STATE_ERR';
> break;
> default:
> msg = 'Unknown Error';
> break;
> };
> console.log('Error: ' + msg, "CODE", e);
> return msg;
> }
> const STATIC_CONTENT_DIR = 'MY_Folder/test';
> function createDirectory(startDirectory = cordova.file.externalRootDirectory) 
> {
> return new WinJS.Promise(function(success, fail) {
> window.resolveLocalFileSystemURL(startDirectory, function(directory) {
> console.log("FS ROOT", directory);
> function fileGetDir(path, cb) {
> console.log("*** PATH", path);
> var fnGetOrCreateDir = function(p, de) {
> var entry = p.shift();
> console.log("PATH", path);
> if (entry) {
> de.getDirectory(entry, {
> create: true,
> exclusive: false
> }, function(dirEntry) {
> console.log("CR", dirEntry);
> fnGetOrCreateDir(p, dirEntry);
> }, fileFSError);
> } else
> if (cb) cb(de);
> };
> if (path) {
> var arPath = path.split("/");
> fnGetOrCreateDir(arPath, directory.filesystem.root);
> } else {
> if (cb) cb(directory);
> }
> }
> fileGetDir(STATIC_CONTENT_DIR, onSuccess);
> }, fileFSError);
> function fileFSError(e) {
> console.log(e.code);
> try {
> console.log("fileFSError: " + JSON.stringify(e) + 
> errorCode(e));
> fail(e);
> } catch 

[jira] [Commented] (CB-10829) Broken docs CLI reference links in platform guides

2016-03-11 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-10829:
-

Github user nikhilkh commented on the pull request:

https://github.com/apache/cordova-docs/pull/554#issuecomment-195579073
  
LGTM


> Broken docs CLI reference links in platform guides
> --
>
> Key: CB-10829
> URL: https://issues.apache.org/jira/browse/CB-10829
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Docs
>Reporter: Richard B Knoll
>Assignee: Dmitry Blotsky
>
> Looks like it is in blackberry10, Android and iOS. They appear like so
> {noformat}
> [Cordova CLI Reference]:(../../../cordova-cli/index.html)
> {noformat}



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

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



[jira] [Updated] (CB-8292) notification.prompt has invisible white text for user input

2016-03-11 Thread Victor Valdez-Hidalgo (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-8292?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Victor Valdez-Hidalgo updated CB-8292:
--
Attachment: Screenshot_2016-03-11-13-21-39.png

> notification.prompt has invisible white text for user input
> ---
>
> Key: CB-8292
> URL: https://issues.apache.org/jira/browse/CB-8292
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Dialogs
>Affects Versions: 3.5.0
> Environment: build.phonegap.com, with core plugins from source= 
> "plugins.cordova.io" .
> (Sorry I can't verify if this is just a build.phonegap.com problem or an 
> issue with the plugin, but from the code diffs, seems it is the plugin.)
>Reporter: Steve Bohrer
>Priority: Minor
> Attachments: Screenshot_2016-03-11-13-21-39.png, 
> Screenshot_2016-03-11-13-21-39.png
>
>
> In 0.2.9 of the core dialogs plugin, the change note says: "When you don't 
> specify a theme the platform defaults back to gingerbread styling. By 
> applying the device default theme it will change it to the new (and much 
> nicer looking) styles on newer devices."
> However, the EditText item is not changed, so user-entered text is still in 
> the gingerbread styling, which results in white text on the new white dialog 
> background. This issue persists through dialogs plugin 0.2.11. (Note that the 
> default prompt string is drawn with the proper font, but when the user enters 
> text, it is white.)
> From the diffs at  
> https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-dialogs.git;a=commitdiff;h=90ad94c3309619b9e629ccf416d1a787df7c3d0e
> It is clear that AlertDialog.Builder is called with the new default style, 
> but the EditText item is unchanged.
> Here's the excerpt of the relevant diffs:
> @@ -270,7 +270,7 @@ public class Notification extends CordovaPlugin {
>  public void run() {
>  final EditText promptInput =  new 
> EditText(cordova.getActivity());
>  promptInput.setHint(defaultText);
> -AlertDialog.Builder dlg = new 
> AlertDialog.Builder(cordova.getActivity());
> +AlertDialog.Builder dlg = new 
> AlertDialog.Builder(cordova.getActivity(), 
> AlertDialog.THEME_DEVICE_DEFAULT_LIGHT);



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

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



[jira] [Updated] (CB-8292) notification.prompt has invisible white text for user input

2016-03-11 Thread Victor Valdez-Hidalgo (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-8292?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Victor Valdez-Hidalgo updated CB-8292:
--
Attachment: Screenshot_2016-03-11-13-21-39.png

> notification.prompt has invisible white text for user input
> ---
>
> Key: CB-8292
> URL: https://issues.apache.org/jira/browse/CB-8292
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Dialogs
>Affects Versions: 3.5.0
> Environment: build.phonegap.com, with core plugins from source= 
> "plugins.cordova.io" .
> (Sorry I can't verify if this is just a build.phonegap.com problem or an 
> issue with the plugin, but from the code diffs, seems it is the plugin.)
>Reporter: Steve Bohrer
>Priority: Minor
> Attachments: Screenshot_2016-03-11-13-21-39.png, 
> Screenshot_2016-03-11-13-21-39.png
>
>
> In 0.2.9 of the core dialogs plugin, the change note says: "When you don't 
> specify a theme the platform defaults back to gingerbread styling. By 
> applying the device default theme it will change it to the new (and much 
> nicer looking) styles on newer devices."
> However, the EditText item is not changed, so user-entered text is still in 
> the gingerbread styling, which results in white text on the new white dialog 
> background. This issue persists through dialogs plugin 0.2.11. (Note that the 
> default prompt string is drawn with the proper font, but when the user enters 
> text, it is white.)
> From the diffs at  
> https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-dialogs.git;a=commitdiff;h=90ad94c3309619b9e629ccf416d1a787df7c3d0e
> It is clear that AlertDialog.Builder is called with the new default style, 
> but the EditText item is unchanged.
> Here's the excerpt of the relevant diffs:
> @@ -270,7 +270,7 @@ public class Notification extends CordovaPlugin {
>  public void run() {
>  final EditText promptInput =  new 
> EditText(cordova.getActivity());
>  promptInput.setHint(defaultText);
> -AlertDialog.Builder dlg = new 
> AlertDialog.Builder(cordova.getActivity());
> +AlertDialog.Builder dlg = new 
> AlertDialog.Builder(cordova.getActivity(), 
> AlertDialog.THEME_DEVICE_DEFAULT_LIGHT);



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

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



[jira] [Commented] (CB-10399) Implement Appium tests for Contacts plugin

2016-03-11 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-10399:
-

Github user dblotsky commented on a diff in the pull request:


https://github.com/apache/cordova-plugin-contacts/pull/101#discussion_r55895708
  
--- Diff: appium-tests/helpers/contactsHelper.js ---
@@ -0,0 +1,222 @@
+/* jshint node: true */
+/*
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ *
+*/
+
+'use strict';
+
+function prepare(item) {
+if (typeof item === 'object') {
+return JSON.stringify(item);
+}
+if (typeof item === 'string') {
+return '"' + item + '"';
+}
+return undefined;
+}
+
+module.exports.getContactName = function (firstName, lastName) {
+return {
+formatted: firstName == lastName === undefined ? null : firstName 
+ ' ' + lastName,
+familyName: lastName,
+givenName: firstName,
+middleName: ''
+};
+};
+
+module.exports.getAddContactCode = function (displayName, contactName, 
phoneNumber) {
+var preparedDisplayName = prepare(displayName);
+console.log('preparedDisplayName is ' + preparedDisplayName);
+var preparedContactName = prepare(contactName);
+var preparedPhoneNumber = prepare(phoneNumber);
+
+var result =
+'try {\n' +
+'var results = document.getElementById("info");\n' +
+'var contact = navigator.contacts.create({ "displayName": ' + 
preparedDisplayName + ', "name": ' + preparedContactName + ', "note": 
"DeleteMe" });\n' +
+
+'var phoneNumbers = [1];\n' +
+'phoneNumbers[0] = new ContactField("work", ' + 
preparedPhoneNumber + ', true);\n' +
+'contact.phoneNumbers = phoneNumbers;\n' +
+
+'contact.save(function() {\n' +
+'results.innerHTML = "' + (displayName || 'Nameless 
contact') + ' saved.";\n' +
+'}, function(e) {\n' +
+'if (e.code === ContactError.NOT_SUPPORTED_ERROR) {\n' +
+'results.innerHTML = "Saving contacts not 
supported.";\n' +
+'} else {\n' +
+'results.innerHTML = "Contact save failed: error " + 
e.code;\n' +
+'}\n' +
+'});\n' +
+'} catch (e) {\n' +
+'var results = document.getElementById("info");\n' +
+'results.innerHTML = "ERROR: " + e.code;\n' +
+'}\n';
+
+return result;
+};
+
+module.exports.getGetContactsCode = function (filter) {
+var preparedFilter = prepare(filter);
+
+var result =
+'var results = document.getElementById("info");\n' +
+'var obj = new ContactFindOptions();\n' +
+'if (' + preparedFilter + ') {\n' +
+'obj.filter = ' + preparedFilter + ';\n' +
+'}\n' +
+'obj.multiple = true;\n' +
+'navigator.contacts.find(["displayName", "name", "phoneNumbers", 
"emails", "urls", "note"], function(contacts) {\n' +
+'var s = "";\n' +
+'if (contacts.length === 0) {\n' +
+'s = "No contacts found";\n' +
+'} else {\n' +
+'s = "Number of contacts: " + contacts.length + 
"NamePhoneEmail";\n' +
+'for (var i = 0; i < contacts.length; i++) {\n' +
+'var contact = contacts[i];\n' +
+'var contactNameTag = contact.name ? "" + 
contact.name.formatted + "" : "(No Name)";\n' +
+'s = s + contactNameTag;\n' +
+'if (contact.phoneNumbers && 
contact.phoneNumbers.length > 0) {\n' +
+'s = s + contact.phoneNumbers[0].value;\n' +
+'}\n' +
+'s = s + "";\n' +
+   

[jira] [Commented] (CB-10720) Review plugin docs for display on website

2016-03-11 Thread Carlos Santana (JIRA)

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

Carlos Santana commented on CB-10720:
-

yeah it looks like all the commits are merged. I will close

> Review plugin docs for display on website
> -
>
> Key: CB-10720
> URL: https://issues.apache.org/jira/browse/CB-10720
> Project: Apache Cordova
>  Issue Type: Task
>  Components: Docs
>Reporter: Dmitry Blotsky
>Assignee: Dmitry Blotsky
>Priority: Minor
>




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

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



[jira] [Resolved] (CB-10720) Review plugin docs for display on website

2016-03-11 Thread Carlos Santana (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-10720?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Carlos Santana resolved CB-10720.
-
Resolution: Fixed

> Review plugin docs for display on website
> -
>
> Key: CB-10720
> URL: https://issues.apache.org/jira/browse/CB-10720
> Project: Apache Cordova
>  Issue Type: Task
>  Components: Docs
>Reporter: Dmitry Blotsky
>Assignee: Dmitry Blotsky
>Priority: Minor
>




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

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



[jira] [Commented] (CB-10836) "Edit" links on docs pages should be more helpful

2016-03-11 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-10836:
-

Github user stevengill commented on the pull request:

https://github.com/apache/cordova-docs/pull/551#issuecomment-195494647
  
LGTM


> "Edit" links on docs pages should be more helpful
> -
>
> Key: CB-10836
> URL: https://issues.apache.org/jira/browse/CB-10836
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: Docs
>Reporter: Dmitry Blotsky
>   Original Estimate: 4h
>  Remaining Estimate: 4h
>
> Namely, there should be links to:
> - correct place for editing source
> - correct place for translating



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

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



[jira] [Commented] (CB-10720) Review plugin docs for display on website

2016-03-11 Thread Richard B Knoll (JIRA)

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

Richard B Knoll commented on CB-10720:
--

[~csantana] pretty sure this is good to resolve.

> Review plugin docs for display on website
> -
>
> Key: CB-10720
> URL: https://issues.apache.org/jira/browse/CB-10720
> Project: Apache Cordova
>  Issue Type: Task
>  Components: Docs
>Reporter: Dmitry Blotsky
>Assignee: Dmitry Blotsky
>Priority: Minor
>




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

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



[jira] [Commented] (CB-10460) getRealPathFromURI_API11to18() return null

2016-03-11 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-10460:
-

GitHub user jcesarmobile opened a pull request:

https://github.com/apache/cordova-plugin-camera/pull/194

CB-10460 getRealPath return null in some cases

Now there is only a function to get the real path on API 11 and above.

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/jcesarmobile/cordova-plugin-camera 
CB-10460-android-camera

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/cordova-plugin-camera/pull/194.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #194


commit fb94a5ef81bc6ee12e0a4c31bcbdd78703530cf3
Author: Julio César 
Date:   2016-03-11T15:19:27Z

CB-10460 getRealPath return null in some cases

Now there is only a function to get the real path on API 11 and above.




> getRealPathFromURI_API11to18() return null
> --
>
> Key: CB-10460
> URL: https://issues.apache.org/jira/browse/CB-10460
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Camera
>Affects Versions: 2.0.0, 2.1.0
> Environment: Android 4.0.3
>Reporter: Satoshi Watanabe
>Assignee: jcesarmobile
>  Labels: android, reproduced, triaged
>
> getRealPathFromURI_API11to18() return null.
> CursorLoader in getRealPathFromURI_API11to18() throw following exception:
>  java.lang.RuntimeException: Can't create handler inside thread that has not 
> called Looper.prepare()
> so this method return null.
> I think call Looper.prepare() before creating CursorLoader.
> I am in need.
> I will request fixing it.



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

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



[jira] [Commented] (CB-10849) cordova-plugin-media Version 2.2.0 cannot play soundfiles on iOS

2016-03-11 Thread Omar Mefire (JIRA)

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

Omar Mefire commented on CB-10849:
--

Can you try using master and see if this issue still reproduces ?
https://github.com/apache/cordova-plugin-media

It might not crash and instead send back an error result.
Let me know.

> cordova-plugin-media Version 2.2.0 cannot play soundfiles on iOS 
> -
>
> Key: CB-10849
> URL: https://issues.apache.org/jira/browse/CB-10849
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Media
>Affects Versions: 3.9.0
> Environment: iPhone 4S with iOS 9.2.1
> latest X-Code and SDK Version
> Cordova 3.9.2
> cordova-plugin-media 2.2.0
>Reporter: Ronny Schleicher
>
> After updating to the cordova-plugin-media 2.2.0 it is no longer possible to 
> play any wav or mp3 files. It comes to a crash in the Objectiv-C code.
> To recreate the error:
> Play sound file 1
> Stop soundfile 1
> Play sound file 2
> Stop soundfile 2
> etc.
> crash ...
> With version 2.1.0, it works fine.
> {panel:title=callstack after crash in x-Code}
> 2016-03-11 11:49:25.961 FAMANICE[376:54395] Playing audio sample 
> 'resources/sounds/sendingChatMessage.mp3'
> 2016-03-11 11:49:25.964 FAMANICE[376:54395] Playing stream with AVPlayer & 
> custom rate
> 2016-03-11 11:49:25.988 FAMANICE[376:54256] *** Terminating app due to 
> uncaught exception 'NSInvalidArgumentException', reason: 'AVPlayerItem cannot 
> service a seek request with a completion handler until its status is 
> AVPlayerItemStatusReadyToPlay.'
> First throw call stack:
> (0x20db010b 0x20556e17 0x2627116f 0x2625eac1 0x1791d3 0x19b263 0x19ab5f 
> 0x215bd7bd 0x20d73e1f 0x20d73a51 0x20d7189d 0x20cc4bf9 0x20cc49e5 0x21f10ac9 
> 0x24f54ba1 0x104683 0x20973873)
> libc++abi.dylib: terminating with uncaught exception of type NSException
> (lldb) 
> {panel}



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

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



[jira] [Commented] (CB-10849) cordova-plugin-media Version 2.2.0 cannot play soundfiles on iOS

2016-03-11 Thread Omar Mefire (JIRA)

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

Omar Mefire commented on CB-10849:
--

This issue is due to recent regressions introduced after the introduction of a 
feature whose goal is the handling of streaming soundfiles from remote sources.

> cordova-plugin-media Version 2.2.0 cannot play soundfiles on iOS 
> -
>
> Key: CB-10849
> URL: https://issues.apache.org/jira/browse/CB-10849
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Media
>Affects Versions: 3.9.0
> Environment: iPhone 4S with iOS 9.2.1
> latest X-Code and SDK Version
> Cordova 3.9.2
> cordova-plugin-media 2.2.0
>Reporter: Ronny Schleicher
>
> After updating to the cordova-plugin-media 2.2.0 it is no longer possible to 
> play any wav or mp3 files. It comes to a crash in the Objectiv-C code.
> To recreate the error:
> Play sound file 1
> Stop soundfile 1
> Play sound file 2
> Stop soundfile 2
> etc.
> crash ...
> With version 2.1.0, it works fine.
> {panel:title=callstack after crash in x-Code}
> 2016-03-11 11:49:25.961 FAMANICE[376:54395] Playing audio sample 
> 'resources/sounds/sendingChatMessage.mp3'
> 2016-03-11 11:49:25.964 FAMANICE[376:54395] Playing stream with AVPlayer & 
> custom rate
> 2016-03-11 11:49:25.988 FAMANICE[376:54256] *** Terminating app due to 
> uncaught exception 'NSInvalidArgumentException', reason: 'AVPlayerItem cannot 
> service a seek request with a completion handler until its status is 
> AVPlayerItemStatusReadyToPlay.'
> First throw call stack:
> (0x20db010b 0x20556e17 0x2627116f 0x2625eac1 0x1791d3 0x19b263 0x19ab5f 
> 0x215bd7bd 0x20d73e1f 0x20d73a51 0x20d7189d 0x20cc4bf9 0x20cc49e5 0x21f10ac9 
> 0x24f54ba1 0x104683 0x20973873)
> libc++abi.dylib: terminating with uncaught exception of type NSException
> (lldb) 
> {panel}



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

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



[jira] [Resolved] (CB-10825) Permission not being requested for photolibrary source

2016-03-11 Thread Carlos Santana (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-10825?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Carlos Santana resolved CB-10825.
-
   Resolution: Fixed
Fix Version/s: 2.1.1

> Permission not being requested for photolibrary source
> --
>
> Key: CB-10825
> URL: https://issues.apache.org/jira/browse/CB-10825
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Camera
>Reporter: Richard B Knoll
>Assignee: Richard B Knoll
>Priority: Critical
>  Labels: android, regression, reproduced, triaged
> Fix For: 2.1.1
>
>
> We get a SecurityException for certain cameraOptions in Marshmallow because 
> we do not request the READ_EXTERNAL_STORAGE permission. Here is a repro set:
> {code}
> {
> saveToPhotoAlbum: false,
> targetHeight: -1,
> targetWidth: -1,
> allowEdit: false,
> correctOrientation: false,
> destinationType: Camera.DestinationType.FILE_URI,
> mediaType: Camera.MediaType.PICTURE,
> encodingType: 1,
> sourceType: Camera.PictureSourceType.SAVEDPHOTOALBUM
> }
> {code}
> Stack trace:
> {code}
> DatabaseUtils: Writing exception to parcel
> DatabaseUtils: java.lang.SecurityException: Permission Denial: reading 
> com.android.providers.media.MediaProvider uri 
> content://media/external/images/media requires 
> android.permission.READ_EXTERNAL_STORAGE, or grantUriPermission()
> DatabaseUtils: at 
> android.content.ContentProvider.enforceReadPermissionInner(ContentProvider.java:605)
> DatabaseUtils: at 
> android.content.ContentProvider$Transport.enforceReadPermission(ContentProvider.java:480)
> DatabaseUtils: at 
> android.content.ContentProvider$Transport.query(ContentProvider.java:211)
> DatabaseUtils: at 
> android.content.ContentProviderNative.onTransact(ContentProviderNative.java:112)
> DatabaseUtils: at android.os.Binder.execTransact(Binder.java:453)
> AndroidRuntime: FATAL EXCEPTION: pool-1-thread-2
> AndroidRuntime: Process: io.cordova.hellocordova
> AndroidRuntime: java.lang.SecurityException: Permission Denial: reading 
> com.android.providers.media.MediaProvider uri 
> content://media/external/images/media requires 
> android.permission.READ_EXTERNAL_STORAGE, or grantUriPermission()
> AndroidRuntime:at android.os.Parcel.readException(Parcel.java:1620)
> AndroidRuntime:at 
> android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:183)
> AndroidRuntime:at 
> android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:135)
> AndroidRuntime:at 
> android.content.ContentProviderProxy.query(ContentProviderNative.java:421)
> AndroidRuntime:at 
> android.content.ContentResolver.query(ContentResolver.java:491)
> AndroidRuntime:at 
> android.content.ContentResolver.query(ContentResolver.java:434)
> AndroidRuntime:at 
> org.apache.cordova.camera.FileHelper.getDataColumn(FileHelper.java:292)
> AndroidRuntime:at 
> org.apache.cordova.camera.FileHelper.getRealPathFromURI_API19(FileHelper.java:128)
> AndroidRuntime:at 
> org.apache.cordova.camera.FileHelper.getRealPath(FileHelper.java:64)
> AndroidRuntime:at 
> org.apache.cordova.camera.CameraLauncher.processResultFromGallery(CameraLauncher.java:623)
> AndroidRuntime:at 
> org.apache.cordova.camera.CameraLauncher.access$000(CameraLauncher.java:66)
> AndroidRuntime:at 
> org.apache.cordova.camera.CameraLauncher$1.run(CameraLauncher.java:781)
> AndroidRuntime:at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
> AndroidRuntime:at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
> AndroidRuntime:at java.lang.Thread.run(Thread.java:818)
> {code}



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

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



[jira] [Updated] (CB-10825) Permission not being requested for photolibrary source

2016-03-11 Thread Carlos Santana (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-10825?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Carlos Santana updated CB-10825:

Fix Version/s: Master

> Permission not being requested for photolibrary source
> --
>
> Key: CB-10825
> URL: https://issues.apache.org/jira/browse/CB-10825
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Camera
>Reporter: Richard B Knoll
>Assignee: Richard B Knoll
>Priority: Critical
>  Labels: android, regression, reproduced, triaged
> Fix For: Master, 2.1.1
>
>
> We get a SecurityException for certain cameraOptions in Marshmallow because 
> we do not request the READ_EXTERNAL_STORAGE permission. Here is a repro set:
> {code}
> {
> saveToPhotoAlbum: false,
> targetHeight: -1,
> targetWidth: -1,
> allowEdit: false,
> correctOrientation: false,
> destinationType: Camera.DestinationType.FILE_URI,
> mediaType: Camera.MediaType.PICTURE,
> encodingType: 1,
> sourceType: Camera.PictureSourceType.SAVEDPHOTOALBUM
> }
> {code}
> Stack trace:
> {code}
> DatabaseUtils: Writing exception to parcel
> DatabaseUtils: java.lang.SecurityException: Permission Denial: reading 
> com.android.providers.media.MediaProvider uri 
> content://media/external/images/media requires 
> android.permission.READ_EXTERNAL_STORAGE, or grantUriPermission()
> DatabaseUtils: at 
> android.content.ContentProvider.enforceReadPermissionInner(ContentProvider.java:605)
> DatabaseUtils: at 
> android.content.ContentProvider$Transport.enforceReadPermission(ContentProvider.java:480)
> DatabaseUtils: at 
> android.content.ContentProvider$Transport.query(ContentProvider.java:211)
> DatabaseUtils: at 
> android.content.ContentProviderNative.onTransact(ContentProviderNative.java:112)
> DatabaseUtils: at android.os.Binder.execTransact(Binder.java:453)
> AndroidRuntime: FATAL EXCEPTION: pool-1-thread-2
> AndroidRuntime: Process: io.cordova.hellocordova
> AndroidRuntime: java.lang.SecurityException: Permission Denial: reading 
> com.android.providers.media.MediaProvider uri 
> content://media/external/images/media requires 
> android.permission.READ_EXTERNAL_STORAGE, or grantUriPermission()
> AndroidRuntime:at android.os.Parcel.readException(Parcel.java:1620)
> AndroidRuntime:at 
> android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:183)
> AndroidRuntime:at 
> android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:135)
> AndroidRuntime:at 
> android.content.ContentProviderProxy.query(ContentProviderNative.java:421)
> AndroidRuntime:at 
> android.content.ContentResolver.query(ContentResolver.java:491)
> AndroidRuntime:at 
> android.content.ContentResolver.query(ContentResolver.java:434)
> AndroidRuntime:at 
> org.apache.cordova.camera.FileHelper.getDataColumn(FileHelper.java:292)
> AndroidRuntime:at 
> org.apache.cordova.camera.FileHelper.getRealPathFromURI_API19(FileHelper.java:128)
> AndroidRuntime:at 
> org.apache.cordova.camera.FileHelper.getRealPath(FileHelper.java:64)
> AndroidRuntime:at 
> org.apache.cordova.camera.CameraLauncher.processResultFromGallery(CameraLauncher.java:623)
> AndroidRuntime:at 
> org.apache.cordova.camera.CameraLauncher.access$000(CameraLauncher.java:66)
> AndroidRuntime:at 
> org.apache.cordova.camera.CameraLauncher$1.run(CameraLauncher.java:781)
> AndroidRuntime:at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
> AndroidRuntime:at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
> AndroidRuntime:at java.lang.Thread.run(Thread.java:818)
> {code}



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

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



[jira] [Commented] (CB-10720) Review plugin docs for display on website

2016-03-11 Thread Carlos Santana (JIRA)

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

Carlos Santana commented on CB-10720:
-

[~dblotsky] can we resolved this one? I'm want to release the plugins and this 
JIRA issues is included in CB-10820

> Review plugin docs for display on website
> -
>
> Key: CB-10720
> URL: https://issues.apache.org/jira/browse/CB-10720
> Project: Apache Cordova
>  Issue Type: Task
>  Components: Docs
>Reporter: Dmitry Blotsky
>Assignee: Dmitry Blotsky
>Priority: Minor
>




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

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



[jira] [Updated] (CB-10825) Permission not being requested for photolibrary source

2016-03-11 Thread Carlos Santana (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-10825?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Carlos Santana updated CB-10825:

Assignee: Richard B Knoll

> Permission not being requested for photolibrary source
> --
>
> Key: CB-10825
> URL: https://issues.apache.org/jira/browse/CB-10825
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Camera
>Reporter: Richard B Knoll
>Assignee: Richard B Knoll
>Priority: Critical
>  Labels: android, regression, reproduced, triaged
>
> We get a SecurityException for certain cameraOptions in Marshmallow because 
> we do not request the READ_EXTERNAL_STORAGE permission. Here is a repro set:
> {code}
> {
> saveToPhotoAlbum: false,
> targetHeight: -1,
> targetWidth: -1,
> allowEdit: false,
> correctOrientation: false,
> destinationType: Camera.DestinationType.FILE_URI,
> mediaType: Camera.MediaType.PICTURE,
> encodingType: 1,
> sourceType: Camera.PictureSourceType.SAVEDPHOTOALBUM
> }
> {code}
> Stack trace:
> {code}
> DatabaseUtils: Writing exception to parcel
> DatabaseUtils: java.lang.SecurityException: Permission Denial: reading 
> com.android.providers.media.MediaProvider uri 
> content://media/external/images/media requires 
> android.permission.READ_EXTERNAL_STORAGE, or grantUriPermission()
> DatabaseUtils: at 
> android.content.ContentProvider.enforceReadPermissionInner(ContentProvider.java:605)
> DatabaseUtils: at 
> android.content.ContentProvider$Transport.enforceReadPermission(ContentProvider.java:480)
> DatabaseUtils: at 
> android.content.ContentProvider$Transport.query(ContentProvider.java:211)
> DatabaseUtils: at 
> android.content.ContentProviderNative.onTransact(ContentProviderNative.java:112)
> DatabaseUtils: at android.os.Binder.execTransact(Binder.java:453)
> AndroidRuntime: FATAL EXCEPTION: pool-1-thread-2
> AndroidRuntime: Process: io.cordova.hellocordova
> AndroidRuntime: java.lang.SecurityException: Permission Denial: reading 
> com.android.providers.media.MediaProvider uri 
> content://media/external/images/media requires 
> android.permission.READ_EXTERNAL_STORAGE, or grantUriPermission()
> AndroidRuntime:at android.os.Parcel.readException(Parcel.java:1620)
> AndroidRuntime:at 
> android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:183)
> AndroidRuntime:at 
> android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:135)
> AndroidRuntime:at 
> android.content.ContentProviderProxy.query(ContentProviderNative.java:421)
> AndroidRuntime:at 
> android.content.ContentResolver.query(ContentResolver.java:491)
> AndroidRuntime:at 
> android.content.ContentResolver.query(ContentResolver.java:434)
> AndroidRuntime:at 
> org.apache.cordova.camera.FileHelper.getDataColumn(FileHelper.java:292)
> AndroidRuntime:at 
> org.apache.cordova.camera.FileHelper.getRealPathFromURI_API19(FileHelper.java:128)
> AndroidRuntime:at 
> org.apache.cordova.camera.FileHelper.getRealPath(FileHelper.java:64)
> AndroidRuntime:at 
> org.apache.cordova.camera.CameraLauncher.processResultFromGallery(CameraLauncher.java:623)
> AndroidRuntime:at 
> org.apache.cordova.camera.CameraLauncher.access$000(CameraLauncher.java:66)
> AndroidRuntime:at 
> org.apache.cordova.camera.CameraLauncher$1.run(CameraLauncher.java:781)
> AndroidRuntime:at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
> AndroidRuntime:at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
> AndroidRuntime:at java.lang.Thread.run(Thread.java:818)
> {code}



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

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



[jira] [Created] (CB-10852) Android Webview loadUrl length?

2016-03-11 Thread Nithin (JIRA)
Nithin created CB-10852:
---

 Summary: Android Webview loadUrl length?
 Key: CB-10852
 URL: https://issues.apache.org/jira/browse/CB-10852
 Project: Apache Cordova
  Issue Type: Bug
  Components: Android
 Environment: Using Android Cordova with Sencha touch framework.
Reporter: Nithin
Priority: Critical


Hi Folks,

 If url length is 57751 the data is loaded, but if url length is 177263 the 
data is not loaded.

Basically i am trying to pass the huge data from java to JS/HTML(JSON) level 
using loadUrl.
http://developer.android.com/reference/android/webkit/WebView.html#loadUrl(java.lang.String)

Is there any upper cap limit for URL?( Integer.MAX_VALUE, which is 2^31 - 1 (or 
approximately 2 billion.So you can have a String of 2,147,483,647 characters)?
Do i need to spilt the data and send or any other way to send huge data to 
JS/HTML?

Thanks
Nithin 





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

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



[jira] [Created] (CB-10851) Webview loadUrl length? If URL length is 57751 the data is loaded but is length is 177263 data is not loaded.What is the URL length limit?

2016-03-11 Thread Nithin (JIRA)
Nithin created CB-10851:
---

 Summary: Webview loadUrl length? If URL length is 57751 the data 
is loaded but is length is 177263 data is not loaded.What is the URL length 
limit?
 Key: CB-10851
 URL: https://issues.apache.org/jira/browse/CB-10851
 Project: Apache Cordova
  Issue Type: Bug
  Components: Android
Affects Versions: 3.5.0
Reporter: Nithin
Priority: Critical
 Fix For: Master






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

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



[jira] [Created] (CB-10850) Webview loadUrl length? If URL length is 57751 the data is loaded but is length is 177263 data is not loaded.What is the URL length limit?

2016-03-11 Thread Nithin (JIRA)
Nithin created CB-10850:
---

 Summary: Webview loadUrl length? If URL length is 57751 the data 
is loaded but is length is 177263 data is not loaded.What is the URL length 
limit?
 Key: CB-10850
 URL: https://issues.apache.org/jira/browse/CB-10850
 Project: Apache Cordova
  Issue Type: Bug
  Components: Android
Affects Versions: 3.5.0
Reporter: Nithin
Priority: Critical
 Fix For: Master






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

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



[jira] [Commented] (CB-10836) "Edit" links on docs pages should be more helpful

2016-03-11 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-10836:
-

Github user csantanapr commented on the pull request:

https://github.com/apache/cordova-docs/pull/551#issuecomment-195385864
  
@dblotsky Love the option to help with translations to get them to the 
right spot in Crowding.

Still I think the label for the button should be changed from "Edit" that 
was my initial concern. just Edit it's hard to spot and not knowing if it's 
going to login the user like the wiki

Can we have for English the button say "Edit Source on Github" and just be 
a Link, this way Link means you are going to leave this page and visit Gihub. 
Since there is one option.

Other Languages I would put two links "Edit Source on Gihub" and "Edit 
Translation on Crowding"



> "Edit" links on docs pages should be more helpful
> -
>
> Key: CB-10836
> URL: https://issues.apache.org/jira/browse/CB-10836
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: Docs
>Reporter: Dmitry Blotsky
>   Original Estimate: 4h
>  Remaining Estimate: 4h
>
> Namely, there should be links to:
> - correct place for editing source
> - correct place for translating



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

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



[jira] [Updated] (CB-10849) cordova-plugin-media Version 2.2.0 cannot play soundfiles on iOS

2016-03-11 Thread Ronny Schleicher (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-10849?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ronny Schleicher updated CB-10849:
--
Description: 
After updating to the cordova-plugin-media 2.2.0 it is no longer possible to 
play any wav or mp3 files. It comes to a crash in the Objectiv-C code.

To recreate the error:
Play sound file 1
Stop soundfile 1
Play sound file 2
Stop soundfile 2
etc.
crash ...

With version 2.1.0, it works fine.

{panel:title=callstack after crash in x-Code}
2016-03-11 11:49:25.961 FAMANICE[376:54395] Playing audio sample 
'resources/sounds/sendingChatMessage.mp3'
2016-03-11 11:49:25.964 FAMANICE[376:54395] Playing stream with AVPlayer & 
custom rate
2016-03-11 11:49:25.988 FAMANICE[376:54256] *** Terminating app due to uncaught 
exception 'NSInvalidArgumentException', reason: 'AVPlayerItem cannot service a 
seek request with a completion handler until its status is 
AVPlayerItemStatusReadyToPlay.'
First throw call stack:
(0x20db010b 0x20556e17 0x2627116f 0x2625eac1 0x1791d3 0x19b263 0x19ab5f 
0x215bd7bd 0x20d73e1f 0x20d73a51 0x20d7189d 0x20cc4bf9 0x20cc49e5 0x21f10ac9 
0x24f54ba1 0x104683 0x20973873)
libc++abi.dylib: terminating with uncaught exception of type NSException
(lldb) 
{panel}


  was:
After updating to the cordova-plugin-media 2.2.0 it is no longer possible to 
play any wav or mp3 files. It comes to a crash in the Objectiv-C code.

To recreate the error:
Play sound file 1
Stop soundfile 1
Play sound file 2
Stop soundfile 1
etc.
crash ...

With version 2.1.0, it works fine.

{panel:title=callstack after crash in x-Code}
2016-03-11 11:49:25.961 FAMANICE[376:54395] Playing audio sample 
'resources/sounds/sendingChatMessage.mp3'
2016-03-11 11:49:25.964 FAMANICE[376:54395] Playing stream with AVPlayer & 
custom rate
2016-03-11 11:49:25.988 FAMANICE[376:54256] *** Terminating app due to uncaught 
exception 'NSInvalidArgumentException', reason: 'AVPlayerItem cannot service a 
seek request with a completion handler until its status is 
AVPlayerItemStatusReadyToPlay.'
First throw call stack:
(0x20db010b 0x20556e17 0x2627116f 0x2625eac1 0x1791d3 0x19b263 0x19ab5f 
0x215bd7bd 0x20d73e1f 0x20d73a51 0x20d7189d 0x20cc4bf9 0x20cc49e5 0x21f10ac9 
0x24f54ba1 0x104683 0x20973873)
libc++abi.dylib: terminating with uncaught exception of type NSException
(lldb) 
{panel}



> cordova-plugin-media Version 2.2.0 cannot play soundfiles on iOS 
> -
>
> Key: CB-10849
> URL: https://issues.apache.org/jira/browse/CB-10849
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Media
>Affects Versions: 3.9.0
> Environment: iPhone 4S with iOS 9.2.1
> latest X-Code and SDK Version
> Cordova 3.9.2
> cordova-plugin-media 2.2.0
>Reporter: Ronny Schleicher
>
> After updating to the cordova-plugin-media 2.2.0 it is no longer possible to 
> play any wav or mp3 files. It comes to a crash in the Objectiv-C code.
> To recreate the error:
> Play sound file 1
> Stop soundfile 1
> Play sound file 2
> Stop soundfile 2
> etc.
> crash ...
> With version 2.1.0, it works fine.
> {panel:title=callstack after crash in x-Code}
> 2016-03-11 11:49:25.961 FAMANICE[376:54395] Playing audio sample 
> 'resources/sounds/sendingChatMessage.mp3'
> 2016-03-11 11:49:25.964 FAMANICE[376:54395] Playing stream with AVPlayer & 
> custom rate
> 2016-03-11 11:49:25.988 FAMANICE[376:54256] *** Terminating app due to 
> uncaught exception 'NSInvalidArgumentException', reason: 'AVPlayerItem cannot 
> service a seek request with a completion handler until its status is 
> AVPlayerItemStatusReadyToPlay.'
> First throw call stack:
> (0x20db010b 0x20556e17 0x2627116f 0x2625eac1 0x1791d3 0x19b263 0x19ab5f 
> 0x215bd7bd 0x20d73e1f 0x20d73a51 0x20d7189d 0x20cc4bf9 0x20cc49e5 0x21f10ac9 
> 0x24f54ba1 0x104683 0x20973873)
> libc++abi.dylib: terminating with uncaught exception of type NSException
> (lldb) 
> {panel}



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

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



[jira] [Updated] (CB-10849) cordova-plugin-media Version 2.2.0 cannot play soundfiles on iOS

2016-03-11 Thread Ronny Schleicher (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-10849?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ronny Schleicher updated CB-10849:
--
Description: 
After updating to the cordova-plugin-media 2.2.0 it is no longer possible to 
play any wav or mp3 files. It comes to a crash in the Objectiv-C code.

To recreate the error:
Play sound file 1
Stop soundfile 1
Play sound file 2
Stop soundfile 1
etc.
crash ...

With version 2.1.0, it works fine.

{panel:title=callstack after crash in x-Code}
2016-03-11 11:49:25.961 FAMANICE[376:54395] Playing audio sample 
'resources/sounds/sendingChatMessage.mp3'
2016-03-11 11:49:25.964 FAMANICE[376:54395] Playing stream with AVPlayer & 
custom rate
2016-03-11 11:49:25.988 FAMANICE[376:54256] *** Terminating app due to uncaught 
exception 'NSInvalidArgumentException', reason: 'AVPlayerItem cannot service a 
seek request with a completion handler until its status is 
AVPlayerItemStatusReadyToPlay.'
First throw call stack:
(0x20db010b 0x20556e17 0x2627116f 0x2625eac1 0x1791d3 0x19b263 0x19ab5f 
0x215bd7bd 0x20d73e1f 0x20d73a51 0x20d7189d 0x20cc4bf9 0x20cc49e5 0x21f10ac9 
0x24f54ba1 0x104683 0x20973873)
libc++abi.dylib: terminating with uncaught exception of type NSException
(lldb) 
{panel}


  was:
After updating to the cordova-plugin-media 2.2.0 it is no longer possible to 
play any wav or mp3 files. It comes to a crash in the Objectiv-C code.
With version 2.1.0, it works fine.

{panel:title=callstack after crash in x-Code}
2016-03-11 11:49:25.961 FAMANICE[376:54395] Playing audio sample 
'resources/sounds/sendingChatMessage.mp3'
2016-03-11 11:49:25.964 FAMANICE[376:54395] Playing stream with AVPlayer & 
custom rate
2016-03-11 11:49:25.988 FAMANICE[376:54256] *** Terminating app due to uncaught 
exception 'NSInvalidArgumentException', reason: 'AVPlayerItem cannot service a 
seek request with a completion handler until its status is 
AVPlayerItemStatusReadyToPlay.'
First throw call stack:
(0x20db010b 0x20556e17 0x2627116f 0x2625eac1 0x1791d3 0x19b263 0x19ab5f 
0x215bd7bd 0x20d73e1f 0x20d73a51 0x20d7189d 0x20cc4bf9 0x20cc49e5 0x21f10ac9 
0x24f54ba1 0x104683 0x20973873)
libc++abi.dylib: terminating with uncaught exception of type NSException
(lldb) 
{panel}



> cordova-plugin-media Version 2.2.0 cannot play soundfiles on iOS 
> -
>
> Key: CB-10849
> URL: https://issues.apache.org/jira/browse/CB-10849
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Media
>Affects Versions: 3.9.0
> Environment: iPhone 4S with iOS 9.2.1
> latest X-Code and SDK Version
> Cordova 3.9.2
> cordova-plugin-media 2.2.0
>Reporter: Ronny Schleicher
>
> After updating to the cordova-plugin-media 2.2.0 it is no longer possible to 
> play any wav or mp3 files. It comes to a crash in the Objectiv-C code.
> To recreate the error:
> Play sound file 1
> Stop soundfile 1
> Play sound file 2
> Stop soundfile 1
> etc.
> crash ...
> With version 2.1.0, it works fine.
> {panel:title=callstack after crash in x-Code}
> 2016-03-11 11:49:25.961 FAMANICE[376:54395] Playing audio sample 
> 'resources/sounds/sendingChatMessage.mp3'
> 2016-03-11 11:49:25.964 FAMANICE[376:54395] Playing stream with AVPlayer & 
> custom rate
> 2016-03-11 11:49:25.988 FAMANICE[376:54256] *** Terminating app due to 
> uncaught exception 'NSInvalidArgumentException', reason: 'AVPlayerItem cannot 
> service a seek request with a completion handler until its status is 
> AVPlayerItemStatusReadyToPlay.'
> First throw call stack:
> (0x20db010b 0x20556e17 0x2627116f 0x2625eac1 0x1791d3 0x19b263 0x19ab5f 
> 0x215bd7bd 0x20d73e1f 0x20d73a51 0x20d7189d 0x20cc4bf9 0x20cc49e5 0x21f10ac9 
> 0x24f54ba1 0x104683 0x20973873)
> libc++abi.dylib: terminating with uncaught exception of type NSException
> (lldb) 
> {panel}



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

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



[jira] [Updated] (CB-10849) cordova-plugin-media Version 2.2.0 cannot play soundfiles on iOS

2016-03-11 Thread Ronny Schleicher (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-10849?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ronny Schleicher updated CB-10849:
--
Description: 
After updating to the cordova-plugin-media 2.2.0 it is no longer possible to 
play any wav or mp3 files. It comes to a crash in the Objectiv-C code.
With version 2.1.0, it works fine.

{panel:title=callstack after crash in x-Code}
2016-03-11 11:49:25.961 FAMANICE[376:54395] Playing audio sample 
'resources/sounds/sendingChatMessage.mp3'
2016-03-11 11:49:25.964 FAMANICE[376:54395] Playing stream with AVPlayer & 
custom rate
2016-03-11 11:49:25.988 FAMANICE[376:54256] *** Terminating app due to uncaught 
exception 'NSInvalidArgumentException', reason: 'AVPlayerItem cannot service a 
seek request with a completion handler until its status is 
AVPlayerItemStatusReadyToPlay.'
First throw call stack:
(0x20db010b 0x20556e17 0x2627116f 0x2625eac1 0x1791d3 0x19b263 0x19ab5f 
0x215bd7bd 0x20d73e1f 0x20d73a51 0x20d7189d 0x20cc4bf9 0x20cc49e5 0x21f10ac9 
0x24f54ba1 0x104683 0x20973873)
libc++abi.dylib: terminating with uncaught exception of type NSException
(lldb) 
{panel}


  was:
After updating to the cordova-plugin-media 2.2.0 it is no longer possible to 
play any wav or mp3 files. It comes to a crash in the Objectiv-C code.
With version 2.1.0, it works fine.

{panel:title=Callstack after chrash in x-Code}
2016-03-11 11:49:25.961 FAMANICE[376:54395] Playing audio sample 
'resources/sounds/sendingChatMessage.mp3'
2016-03-11 11:49:25.964 FAMANICE[376:54395] Playing stream with AVPlayer & 
custom rate
2016-03-11 11:49:25.988 FAMANICE[376:54256] *** Terminating app due to uncaught 
exception 'NSInvalidArgumentException', reason: 'AVPlayerItem cannot service a 
seek request with a completion handler until its status is 
AVPlayerItemStatusReadyToPlay.'
First throw call stack:
(0x20db010b 0x20556e17 0x2627116f 0x2625eac1 0x1791d3 0x19b263 0x19ab5f 
0x215bd7bd 0x20d73e1f 0x20d73a51 0x20d7189d 0x20cc4bf9 0x20cc49e5 0x21f10ac9 
0x24f54ba1 0x104683 0x20973873)
libc++abi.dylib: terminating with uncaught exception of type NSException
(lldb) 
{panel}



> cordova-plugin-media Version 2.2.0 cannot play soundfiles on iOS 
> -
>
> Key: CB-10849
> URL: https://issues.apache.org/jira/browse/CB-10849
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Media
>Affects Versions: 3.9.0
> Environment: iPhone 4S with iOS 9.2.1
> latest X-Code and SDK Version
> Cordova 3.9.2
> cordova-plugin-media 2.2.0
>Reporter: Ronny Schleicher
>
> After updating to the cordova-plugin-media 2.2.0 it is no longer possible to 
> play any wav or mp3 files. It comes to a crash in the Objectiv-C code.
> With version 2.1.0, it works fine.
> {panel:title=callstack after crash in x-Code}
> 2016-03-11 11:49:25.961 FAMANICE[376:54395] Playing audio sample 
> 'resources/sounds/sendingChatMessage.mp3'
> 2016-03-11 11:49:25.964 FAMANICE[376:54395] Playing stream with AVPlayer & 
> custom rate
> 2016-03-11 11:49:25.988 FAMANICE[376:54256] *** Terminating app due to 
> uncaught exception 'NSInvalidArgumentException', reason: 'AVPlayerItem cannot 
> service a seek request with a completion handler until its status is 
> AVPlayerItemStatusReadyToPlay.'
> First throw call stack:
> (0x20db010b 0x20556e17 0x2627116f 0x2625eac1 0x1791d3 0x19b263 0x19ab5f 
> 0x215bd7bd 0x20d73e1f 0x20d73a51 0x20d7189d 0x20cc4bf9 0x20cc49e5 0x21f10ac9 
> 0x24f54ba1 0x104683 0x20973873)
> libc++abi.dylib: terminating with uncaught exception of type NSException
> (lldb) 
> {panel}



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

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



[jira] [Updated] (CB-10849) cordova-plugin-media Version 2.2.0 cannot play soundfiles on iOS

2016-03-11 Thread Ronny Schleicher (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-10849?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ronny Schleicher updated CB-10849:
--
Description: 
After updating to the cordova-plugin-media 2.2.0 it is no longer possible to 
play any wav or mp3 files. It comes to a crash in the Objectiv-C code.
With version 2.1.0, it works fine.

{panel:title=Callstack after chrash in x-Code}
2016-03-11 11:49:25.961 FAMANICE[376:54395] Playing audio sample 
'resources/sounds/sendingChatMessage.mp3'
2016-03-11 11:49:25.964 FAMANICE[376:54395] Playing stream with AVPlayer & 
custom rate
2016-03-11 11:49:25.988 FAMANICE[376:54256] *** Terminating app due to uncaught 
exception 'NSInvalidArgumentException', reason: 'AVPlayerItem cannot service a 
seek request with a completion handler until its status is 
AVPlayerItemStatusReadyToPlay.'
First throw call stack:
(0x20db010b 0x20556e17 0x2627116f 0x2625eac1 0x1791d3 0x19b263 0x19ab5f 
0x215bd7bd 0x20d73e1f 0x20d73a51 0x20d7189d 0x20cc4bf9 0x20cc49e5 0x21f10ac9 
0x24f54ba1 0x104683 0x20973873)
libc++abi.dylib: terminating with uncaught exception of type NSException
(lldb) 
{panel}


  was:
After updating to the cordova-plugin-media 2.2.0 it is no longer possible to 
play any wav or mp3 files. It comes to a crash in the Objectiv-C code.
With version 2.1.0, it works fine.

{panel:title=Callstack after chrash in x-Code}
2016-03-11 11:49:25.961 FAMANICE[376:54395] Playing audio sample 
'resources/sounds/sendingChatMessage.mp3'
2016-03-11 11:49:25.964 FAMANICE[376:54395] Playing stream with AVPlayer & 
custom rate
2016-03-11 11:49:25.988 FAMANICE[376:54256] *** Terminating app due to uncaught 
exception 'NSInvalidArgumentException', reason: 'AVPlayerItem cannot service a 
seek request with a completion handler until its status is 
AVPlayerItemStatusReadyToPlay.'
*** First throw call stack:
(0x20db010b 0x20556e17 0x2627116f 0x2625eac1 0x1791d3 0x19b263 0x19ab5f 
0x215bd7bd 0x20d73e1f 0x20d73a51 0x20d7189d 0x20cc4bf9 0x20cc49e5 0x21f10ac9 
0x24f54ba1 0x104683 0x20973873)
libc++abi.dylib: terminating with uncaught exception of type NSException
(lldb) 
{panel}



> cordova-plugin-media Version 2.2.0 cannot play soundfiles on iOS 
> -
>
> Key: CB-10849
> URL: https://issues.apache.org/jira/browse/CB-10849
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Media
>Affects Versions: 3.9.0
> Environment: iPhone 4S with iOS 9.2.1
> latest X-Code and SDK Version
> Cordova 3.9.2
> cordova-plugin-media 2.2.0
>Reporter: Ronny Schleicher
>
> After updating to the cordova-plugin-media 2.2.0 it is no longer possible to 
> play any wav or mp3 files. It comes to a crash in the Objectiv-C code.
> With version 2.1.0, it works fine.
> {panel:title=Callstack after chrash in x-Code}
> 2016-03-11 11:49:25.961 FAMANICE[376:54395] Playing audio sample 
> 'resources/sounds/sendingChatMessage.mp3'
> 2016-03-11 11:49:25.964 FAMANICE[376:54395] Playing stream with AVPlayer & 
> custom rate
> 2016-03-11 11:49:25.988 FAMANICE[376:54256] *** Terminating app due to 
> uncaught exception 'NSInvalidArgumentException', reason: 'AVPlayerItem cannot 
> service a seek request with a completion handler until its status is 
> AVPlayerItemStatusReadyToPlay.'
> First throw call stack:
> (0x20db010b 0x20556e17 0x2627116f 0x2625eac1 0x1791d3 0x19b263 0x19ab5f 
> 0x215bd7bd 0x20d73e1f 0x20d73a51 0x20d7189d 0x20cc4bf9 0x20cc49e5 0x21f10ac9 
> 0x24f54ba1 0x104683 0x20973873)
> libc++abi.dylib: terminating with uncaught exception of type NSException
> (lldb) 
> {panel}



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

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



[jira] [Created] (CB-10849) cordova-plugin-media Version 2.2.0 cannot play soundfiles on iOS

2016-03-11 Thread Ronny Schleicher (JIRA)
Ronny Schleicher created CB-10849:
-

 Summary: cordova-plugin-media Version 2.2.0 cannot play soundfiles 
on iOS 
 Key: CB-10849
 URL: https://issues.apache.org/jira/browse/CB-10849
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugin Media
Affects Versions: 3.9.0
 Environment: iPhone 4S with iOS 9.2.1
latest X-Code and SDK Version
Cordova 3.9.2
cordova-plugin-media 2.2.0
Reporter: Ronny Schleicher


After updating to the cordova-plugin-media 2.2.0 it is no longer possible to 
play any wav or mp3 files. It comes to a crash in the Objectiv-C code.
With version 2.1.0, it works fine.

{panel:title=Callstack after chrash in x-Code}
2016-03-11 11:49:25.961 FAMANICE[376:54395] Playing audio sample 
'resources/sounds/sendingChatMessage.mp3'
2016-03-11 11:49:25.964 FAMANICE[376:54395] Playing stream with AVPlayer & 
custom rate
2016-03-11 11:49:25.988 FAMANICE[376:54256] *** Terminating app due to uncaught 
exception 'NSInvalidArgumentException', reason: 'AVPlayerItem cannot service a 
seek request with a completion handler until its status is 
AVPlayerItemStatusReadyToPlay.'
*** First throw call stack:
(0x20db010b 0x20556e17 0x2627116f 0x2625eac1 0x1791d3 0x19b263 0x19ab5f 
0x215bd7bd 0x20d73e1f 0x20d73a51 0x20d7189d 0x20cc4bf9 0x20cc49e5 0x21f10ac9 
0x24f54ba1 0x104683 0x20973873)
libc++abi.dylib: terminating with uncaught exception of type NSException
(lldb) 
{panel}




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

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



[jira] [Created] (CB-10848) On windows, when windows-target-version is 10.0, splashscreen plugin does not display the cordova icon

2016-03-11 Thread Alexander Sorokin (JIRA)
Alexander Sorokin created CB-10848:
--

 Summary: On windows, when windows-target-version is 10.0, 
splashscreen plugin does not display the cordova icon
 Key: CB-10848
 URL: https://issues.apache.org/jira/browse/CB-10848
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugin SplashScreen
Affects Versions: Master
 Environment: Windows 10
Reporter: Alexander Sorokin


On windows, when windows-target-version is 10.0, splashscreen plugin does not 
display the cordova icon

Steps to repro:
{noformat}
cordova create foo
cd foo
cordova platform add windows
cordova plugin add cordova-plugin-splahscreen
< set windows-target-version preference to 10.0 in config.xml >
cordova run -- --archs="x64"
{noformat}

Expected result: splash screen has the Cordova icon
Actual result: splash screen is dark grey, without Cordova icon



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

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



[jira] [Resolved] (CB-10791) Add adjustLoggerLevel to cordova-common.CordovaLogger

2016-03-11 Thread Sergey Shakhnazarov (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-10791?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sergey Shakhnazarov resolved CB-10791.
--
Resolution: Fixed

> Add adjustLoggerLevel to cordova-common.CordovaLogger
> -
>
> Key: CB-10791
> URL: https://issues.apache.org/jira/browse/CB-10791
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: CordovaCommon
>Reporter: Sergey Shakhnazarov
>Assignee: Sergey Shakhnazarov
>




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

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



[jira] [Resolved] (CB-10780) Return waveform data while recording

2016-03-11 Thread Simon MacDonald (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-10780?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Simon MacDonald resolved CB-10780.
--
Resolution: Duplicate

> Return waveform data while recording
> 
>
> Key: CB-10780
> URL: https://issues.apache.org/jira/browse/CB-10780
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: Plugin Media
>Reporter: Simon MacDonald
>  Labels: Android, iOS
>
> While we are recording audio we should be able to return the volume of the 
> current sample so that the UI can use it to draw a waveform. This is very 
> useful for users to be able to tell if their voice is being recorded properly.



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

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



[jira] [Updated] (CB-10835) icon proportion on cordova android 5.1

2016-03-11 Thread Yann (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-10835?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Yann updated CB-10835:
--
Description: 
On cordova 6.0 with cordova android 5.1, the toolbar from the in app browser is 
display with messy button. 
Button images have not good proportion. 
On cordova android 4.1.1 no problem. 

Screenshot : http://imgur.com/7xhW4oH

  was:
On cordova android 5.1 the toolbar from the in app browser is display with 
messy button. 
Button images have not good proportion. 
On cordova android 4.1.1 no problem. 

Screenshot : http://imgur.com/7xhW4oH


> icon proportion on cordova android 5.1
> --
>
> Key: CB-10835
> URL: https://issues.apache.org/jira/browse/CB-10835
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Android
>Affects Versions: 1.1.0, 1.2.0, 1.3.0, 0.6.1, 1.2.1
> Environment: android, cordova 6.0
>Reporter: Yann
>
> On cordova 6.0 with cordova android 5.1, the toolbar from the in app browser 
> is display with messy button. 
> Button images have not good proportion. 
> On cordova android 4.1.1 no problem. 
> Screenshot : http://imgur.com/7xhW4oH



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

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



[jira] [Updated] (CB-10835) icon proportion on cordova android 5.1

2016-03-11 Thread Yann (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-10835?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Yann updated CB-10835:
--
Environment: android, cordova 6.0  (was: android)

> icon proportion on cordova android 5.1
> --
>
> Key: CB-10835
> URL: https://issues.apache.org/jira/browse/CB-10835
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Android
>Affects Versions: 1.1.0, 1.2.0, 1.3.0, 0.6.1, 1.2.1
> Environment: android, cordova 6.0
>Reporter: Yann
>
> On cordova android 5.1 the toolbar from the in app browser is display with 
> messy button. 
> Button images have not good proportion. 
> On cordova android 4.1.1 no problem. 
> Screenshot : http://imgur.com/7xhW4oH



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

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



[jira] [Commented] (CB-10399) Implement Appium tests for Contacts plugin

2016-03-11 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-10399:
-

Github user alsorokin commented on a diff in the pull request:


https://github.com/apache/cordova-plugin-contacts/pull/101#discussion_r55824201
  
--- Diff: appium-tests/android/android.spec.js ---
@@ -0,0 +1,338 @@
+/*jshint node: true, jasmine: true */
+/*
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ *
+*/
+
+// these tests are meant to be executed by Cordova Medic Appium runner
+// you can find it here: https://github.com/apache/cordova-medic/
+// it is not necessary to do a full CI setup to run these tests
+// just run "node cordova-medic/medic/medic.js appium --platform android 
--plugins cordova-plugin-contacts"
+
+'use strict';
+
+var wdHelper = require('../helpers/wdHelper');
+var screenshotHelper = require('../helpers/screenshotHelper');
+var contactsHelper = require('../helpers/contactsHelper');
+
+var STARTING_MESSAGE = 'Ready for action!';
+var MINUTE = 60 * 1000;
+var DEFAULT_WEBVIEW_CONTEXT = 'WEBVIEW';
+
+describe('Contacts Android', function () {
+var driver;
+// the name of webview context, it will be changed to match needed 
context if there are named ones:
+var webviewContext = DEFAULT_WEBVIEW_CONTEXT;
+// this indicates that there was a critical error and we should try to 
recover:
+var errorFlag = false;
+// this indicates that we couldn't restore Appium session and should 
fail fast:
+var stopFlag = false;
+
+function win() {
+expect(true).toBe(true);
+}
+
+function fail(error) {
--- End diff --

I was not aware that they did implement it. Such a nice function, gonna use 
it a lot.


> Implement Appium tests for Contacts plugin
> --
>
> Key: CB-10399
> URL: https://issues.apache.org/jira/browse/CB-10399
> Project: Apache Cordova
>  Issue Type: Task
>  Components: Medic, Plugin Contacts
>Reporter: Alexander Sorokin
>Assignee: Alexander Sorokin
>




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

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



[jira] [Commented] (CB-10270) camera.getPicture() returns an empty string

2016-03-11 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-10270:
-

Github user jcesarmobile commented on the pull request:


https://github.com/apache/cordova-plugin-camera/pull/160#issuecomment-195337221
  
I'm going to send a PR that will use the API 19 method on android 11 and 
greater and will handle file urls


> camera.getPicture() returns an empty string
> ---
>
> Key: CB-10270
> URL: https://issues.apache.org/jira/browse/CB-10270
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Camera
>Affects Versions: 2.1.0
> Environment: Android 4.4.2 (api 19)
>Reporter: Alexander Sorokin
>Priority: Critical
>  Labels: android, mustfix, reproduced, triaged
> Attachments: mobilespec-camera.7z
>
>
> Code sample to reproduce:
> {code}
> navigator.camera.getPicture(onSuccess, onFail, { 
> destinationType: Camera.DestinationType.FILE_URI,
> sourceType: Camera.PictureSourceType.PHOTOLIBRARY,
> correctOrientation: true
> });
> {code}
> {{onSuccess}} is called with an empty string as an argument.
> if {{correctOrientation}} is {{false}}, everything works as expected.



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

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



[jira] [Assigned] (CB-10460) getRealPathFromURI_API11to18() return null

2016-03-11 Thread jcesarmobile (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-10460?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

jcesarmobile reassigned CB-10460:
-

Assignee: jcesarmobile

> getRealPathFromURI_API11to18() return null
> --
>
> Key: CB-10460
> URL: https://issues.apache.org/jira/browse/CB-10460
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Camera
>Affects Versions: 2.0.0, 2.1.0
> Environment: Android 4.0.3
>Reporter: Satoshi Watanabe
>Assignee: jcesarmobile
>  Labels: android, reproduced, triaged
>
> getRealPathFromURI_API11to18() return null.
> CursorLoader in getRealPathFromURI_API11to18() throw following exception:
>  java.lang.RuntimeException: Can't create handler inside thread that has not 
> called Looper.prepare()
> so this method return null.
> I think call Looper.prepare() before creating CursorLoader.
> I am in need.
> I will request fixing it.



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

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



[jira] [Commented] (CB-10460) getRealPathFromURI_API11to18() return null

2016-03-11 Thread jcesarmobile (JIRA)

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

jcesarmobile commented on CB-10460:
---

I can reproduce it now with the sample project. I think it's because I didn't 
have the correctOrientation: true line.

I have a fix for it, will send the PR this afternoon, but will require help 
testing it as my change will remove the whole getRealPathFromURI_API11to18() 
and use the getRealPathFromURI_API19 instead with a minor change.

> getRealPathFromURI_API11to18() return null
> --
>
> Key: CB-10460
> URL: https://issues.apache.org/jira/browse/CB-10460
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Camera
>Affects Versions: 2.0.0, 2.1.0
> Environment: Android 4.0.3
>Reporter: Satoshi Watanabe
>  Labels: android, reproduced, triaged
>
> getRealPathFromURI_API11to18() return null.
> CursorLoader in getRealPathFromURI_API11to18() throw following exception:
>  java.lang.RuntimeException: Can't create handler inside thread that has not 
> called Looper.prepare()
> so this method return null.
> I think call Looper.prepare() before creating CursorLoader.
> I am in need.
> I will request fixing it.



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

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



[jira] [Closed] (CB-10846) Run unit tests for iOS and Android on AppVeyor

2016-03-11 Thread Vladimir Kotikov (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-10846?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Vladimir Kotikov closed CB-10846.
-
Resolution: Done

> Run unit tests for iOS and Android on AppVeyor
> --
>
> Key: CB-10846
> URL: https://issues.apache.org/jira/browse/CB-10846
> Project: Apache Cordova
>  Issue Type: Improvement
>Reporter: Vladimir Kotikov
>Assignee: Vladimir Kotikov
>




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

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



[jira] [Commented] (CB-10846) Run unit tests for iOS and Android on AppVeyor

2016-03-11 Thread ASF subversion and git services (JIRA)

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

ASF subversion and git services commented on CB-10846:
--

Commit 4c95f64419c4e81240bf9172afe33ec0b076bd7c in cordova-ios's branch 
refs/heads/master from [~vladimir.kotikov]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-ios.git;h=4c95f64 ]

CB-10846 Add status badges for Travis and AppVeyor


> Run unit tests for iOS and Android on AppVeyor
> --
>
> Key: CB-10846
> URL: https://issues.apache.org/jira/browse/CB-10846
> Project: Apache Cordova
>  Issue Type: Improvement
>Reporter: Vladimir Kotikov
>Assignee: Vladimir Kotikov
>




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

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



[jira] [Commented] (CB-10846) Run unit tests for iOS and Android on AppVeyor

2016-03-11 Thread ASF subversion and git services (JIRA)

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

ASF subversion and git services commented on CB-10846:
--

Commit e2a7cd6aeb5f58dd126affcd9802a78670c19955 in cordova-ios's branch 
refs/heads/master from [~vladimir.kotikov]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-ios.git;h=e2a7cd6 ]

CB-10846 Add status badges for Travis and AppVeyor


> Run unit tests for iOS and Android on AppVeyor
> --
>
> Key: CB-10846
> URL: https://issues.apache.org/jira/browse/CB-10846
> Project: Apache Cordova
>  Issue Type: Improvement
>Reporter: Vladimir Kotikov
>Assignee: Vladimir Kotikov
>




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

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



[jira] [Commented] (CB-10846) Run unit tests for iOS and Android on AppVeyor

2016-03-11 Thread ASF subversion and git services (JIRA)

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

ASF subversion and git services commented on CB-10846:
--

Commit 47257aa044bc859a17fe1d85ec62921cd4b21085 in cordova-ios's branch 
refs/heads/master from [~vladimir.kotikov]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-ios.git;h=47257aa ]

CB-10846 Add AppVeyor configuration


> Run unit tests for iOS and Android on AppVeyor
> --
>
> Key: CB-10846
> URL: https://issues.apache.org/jira/browse/CB-10846
> Project: Apache Cordova
>  Issue Type: Improvement
>Reporter: Vladimir Kotikov
>Assignee: Vladimir Kotikov
>




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

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



[jira] [Commented] (CB-10846) Run unit tests for iOS and Android on AppVeyor

2016-03-11 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-10846:
-

Github user asfgit closed the pull request at:

https://github.com/apache/cordova-ios/pull/202


> Run unit tests for iOS and Android on AppVeyor
> --
>
> Key: CB-10846
> URL: https://issues.apache.org/jira/browse/CB-10846
> Project: Apache Cordova
>  Issue Type: Improvement
>Reporter: Vladimir Kotikov
>Assignee: Vladimir Kotikov
>




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

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



[jira] [Updated] (CB-10847) history.go dont reload in wkwebview

2016-03-11 Thread JIRA

 [ 
https://issues.apache.org/jira/browse/CB-10847?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Léo Joseph updated CB-10847:

Description: 
Hi,
Here's my problem, when in a WKWebView i do a "window.open" and in this window 
i do "history.go(-history.length+1)" i go back to the origin file:// page, but 
the page is not reloaded and the js in it is not reexecuted, in uiwebview it 
worked well.
How is it possible to make it worked again ?

  was:
Hi,
Here's my problem, when in a WKWebView i do a "window.open" and in this window 
i do "history.go(-history.length+1)" i go back to the origin fil:// page, but 
the page is not reloaded and the js in it is not reexecuted, in uiwebview it 
worked well.
How is it possible to make it worked again ?


> history.go dont reload in wkwebview
> ---
>
> Key: CB-10847
> URL: https://issues.apache.org/jira/browse/CB-10847
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin WKWebViewEngine
>Affects Versions: 3.5.0
> Environment: iOS9
>Reporter: Léo Joseph
>
> Hi,
> Here's my problem, when in a WKWebView i do a "window.open" and in this 
> window i do "history.go(-history.length+1)" i go back to the origin file:// 
> page, but the page is not reloaded and the js in it is not reexecuted, in 
> uiwebview it worked well.
> How is it possible to make it worked again ?



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

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



[jira] [Updated] (CB-10847) history.go dont reload in wkwebview

2016-03-11 Thread JIRA

 [ 
https://issues.apache.org/jira/browse/CB-10847?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Léo Joseph updated CB-10847:

Description: 
Hi,
Here's my problem, when in a WKWebView i do a "window.open" and in this window 
i do "history.go(-history.length+1)" i go back to the origin fil:// page, but 
the page is not reloaded and the js in it is not reexecuted, in uiwebview it 
worked well.
How is it possible to make it worked again ?

  was:
Hi,
Here's my problem, when in a WKWebView i do a "window.open" and in this window 
i do "history.go(-history.length+1)" i go back to the origin fil:// page, but 
the page is not reloaded and the js in it is not reexecuted, in uiwebview it 
worked well.
How is it possible ?


> history.go dont reload in wkwebview
> ---
>
> Key: CB-10847
> URL: https://issues.apache.org/jira/browse/CB-10847
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin WKWebViewEngine
>Affects Versions: 3.5.0
> Environment: iOS9
>Reporter: Léo Joseph
>
> Hi,
> Here's my problem, when in a WKWebView i do a "window.open" and in this 
> window i do "history.go(-history.length+1)" i go back to the origin fil:// 
> page, but the page is not reloaded and the js in it is not reexecuted, in 
> uiwebview it worked well.
> How is it possible to make it worked again ?



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

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



[jira] [Created] (CB-10847) history.go dont reload in wkwebview

2016-03-11 Thread JIRA
Léo Joseph created CB-10847:
---

 Summary: history.go dont reload in wkwebview
 Key: CB-10847
 URL: https://issues.apache.org/jira/browse/CB-10847
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugin WKWebViewEngine
Affects Versions: 3.5.0
 Environment: iOS9
Reporter: Léo Joseph


Hi,
Here's my problem, when in a WKWebView i do a "window.open" and in this window 
i do "history.go(-history.length+1)" i go back to the origin fil:// page, but 
the page is not reloaded and the js in it is not reexecuted, in uiwebview it 
worked well.
How is it possible ?



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

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



[jira] [Commented] (CB-10846) Run unit tests for iOS and Android on AppVeyor

2016-03-11 Thread ASF subversion and git services (JIRA)

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

ASF subversion and git services commented on CB-10846:
--

Commit 27d359bd43d03ba0b9cdb3e56c15828c9f85426c in cordova-android's branch 
refs/heads/master from [~vladimir.kotikov]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-android.git;h=27d359b ]

CB-10846 Add AppVeyor configuration


> Run unit tests for iOS and Android on AppVeyor
> --
>
> Key: CB-10846
> URL: https://issues.apache.org/jira/browse/CB-10846
> Project: Apache Cordova
>  Issue Type: Improvement
>Reporter: Vladimir Kotikov
>Assignee: Vladimir Kotikov
>




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

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



[jira] [Commented] (CB-10846) Run unit tests for iOS and Android on AppVeyor

2016-03-11 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-10846:
-

Github user asfgit closed the pull request at:

https://github.com/apache/cordova-android/pull/274


> Run unit tests for iOS and Android on AppVeyor
> --
>
> Key: CB-10846
> URL: https://issues.apache.org/jira/browse/CB-10846
> Project: Apache Cordova
>  Issue Type: Improvement
>Reporter: Vladimir Kotikov
>Assignee: Vladimir Kotikov
>




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

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



[jira] [Commented] (CB-10837) platform specific orientation preference is not supported

2016-03-11 Thread dcz.switcher (JIRA)

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

dcz.switcher commented on CB-10837:
---

until this bug was resolved, I use a hook
here is the code if it can help someone

note : I use cheerio lib to parse the Manifest file, so you have to install it :
npm install cheerio
note 2 : if you never used hooks : 
1 - put this script in a subfolder call after_prepare/ in hooks/ (with the name 
you want, for example : hooks/after_prepare/android_orientation.js)
2 - give to the hooks folder execute rights : chmod -R a+x hooks/

{code:javascript}
#!/usr/bin/env node
var fs = require('fs'),
cheerio = require('cheerio');

var manifestPath = 'platforms/android/AndroidManifest.xml';

var manifest = fs.readFileSync(manifestPath, 'utf8')
var $ = cheerio.load(manifest, {xmlMode : true});

$('activity').each(function (i, el) { 
   if (el.attribs['android:name'] && el.attribs['android:name'] === 
"MainActivity"){
$(this).attr('android:screenOrientation', 'nosensor');   
   return;
  }
});

fs.writeFileSync(manifestPath, $.html(), 'utf8');
{code}

> platform specific orientation preference is not supported
> -
>
> Key: CB-10837
> URL: https://issues.apache.org/jira/browse/CB-10837
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Android
>Affects Versions: 5.4.1
>Reporter: dcz.switcher
>  Labels: build
>
> Hi,
> I want to set Manifest.xml activity with android:screenOrientation="nosensor"
> http://developer.android.com/guide/topics/manifest/activity-element.html#screen
> In cordova doc : 
> Additionally, you can specify any platform-specific orientation value if you 
> place the  element within a  element:
> So, I do it in config.xml
> 
> 
> 
> but on build : 
> Unsupported global orientation: nosensor. Defaulting to value: default



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

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



[jira] [Commented] (CB-10846) Run unit tests for iOS and Android on AppVeyor

2016-03-11 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-10846:
-

GitHub user vladimir-kotikov opened a pull request:

https://github.com/apache/cordova-ios/pull/202

CB-10846 Add AppVeyor configuration



You can merge this pull request into a Git repository by running:

$ git pull https://github.com/MSOpenTech/cordova-ios CB-10846

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/cordova-ios/pull/202.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #202


commit 47257aa044bc859a17fe1d85ec62921cd4b21085
Author: Vladimir Kotikov 
Date:   2016-03-11T08:05:17Z

CB-10846 Add AppVeyor configuration




> Run unit tests for iOS and Android on AppVeyor
> --
>
> Key: CB-10846
> URL: https://issues.apache.org/jira/browse/CB-10846
> Project: Apache Cordova
>  Issue Type: Improvement
>Reporter: Vladimir Kotikov
>Assignee: Vladimir Kotikov
>




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

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



[jira] [Updated] (CB-10765) When restarting the Windows Application it taking the user to log in page.

2016-03-11 Thread Ishan Deb (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-10765?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ishan Deb updated CB-10765:
---
Priority: Critical  (was: Major)

> When restarting the Windows Application it taking the user to log in page.
> --
>
> Key: CB-10765
> URL: https://issues.apache.org/jira/browse/CB-10765
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: Windows
>Affects Versions: 5.4.1
> Environment: windows phone 8.1
>Reporter: Ishan Deb
>Priority: Critical
>  Labels: windows
>
> Issue Definition: 
> ==
> I have an Html 5, JavaScript application for Windows Phone. I observe that 
> the application goes back to the log in page if I follow the below steps.
> 1. I log into the application and I an inside the application.
> 2. Now I press the home button the application goes to task manager.
> 3. Now I slide right and open the app from installed applications.
> 4. Then the application again takes me to the login screen.
> I observe that the same behavior works fine when I launch the application 
> from Task manager (in step 2) instead of installed applications.
> Environment:
> =
> Windows Phone 8.1 
> Cordova



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

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



[jira] [Commented] (CB-10846) Run unit tests for iOS and Android on AppVeyor

2016-03-11 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-10846:
-

GitHub user vladimir-kotikov opened a pull request:

https://github.com/apache/cordova-android/pull/274

CB-10846 Add AppVeyor configuration



You can merge this pull request into a Git repository by running:

$ git pull https://github.com/MSOpenTech/cordova-android CB-10846

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/cordova-android/pull/274.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #274


commit 27d359bd43d03ba0b9cdb3e56c15828c9f85426c
Author: Vladimir Kotikov 
Date:   2016-03-11T09:08:45Z

CB-10846 Add AppVeyor configuration




> Run unit tests for iOS and Android on AppVeyor
> --
>
> Key: CB-10846
> URL: https://issues.apache.org/jira/browse/CB-10846
> Project: Apache Cordova
>  Issue Type: Improvement
>Reporter: Vladimir Kotikov
>Assignee: Vladimir Kotikov
>




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

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



[jira] [Created] (CB-10846) Run unit tests for iOS and Android on AppVeyor

2016-03-11 Thread Vladimir Kotikov (JIRA)
Vladimir Kotikov created CB-10846:
-

 Summary: Run unit tests for iOS and Android on AppVeyor
 Key: CB-10846
 URL: https://issues.apache.org/jira/browse/CB-10846
 Project: Apache Cordova
  Issue Type: Improvement
Reporter: Vladimir Kotikov
Assignee: Vladimir Kotikov






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

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



[jira] [Updated] (CB-10845) Location permission lost for Windows Phone 8.1

2016-03-11 Thread Steffen Schaffert (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-10845?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Steffen Schaffert updated CB-10845:
---
Description: 
After updating to the latest Cordova versions (cordova-cli 6.0.0, 
cordova-windows 4.3.1, cordova-plugin-geolocation 2.1.0), the location 
capability is missing from the appxmanifest file.

In the platforms/windows folder, the file "package.windows.appxmanifest" 
contains the following region:

  
  


The file "package.phone.appxmanifest", which seems to be relevant when building 
for the ARM platform, is missing the location entry:

  


I don't know whether this is a bug in the geolocation plugin (which should add 
the permission) or in the windows platform. I was able to fix the problem for 
me by extending the plugin.xml of the geolocation plugin and adding:





This seems to be a bug because the existing extra with 
target="package.appxmanifest" works for the file package.windows.appxmanifest 
but not for package.phone.appxmanifest.

Edit: The build target was "Windows Phone (Universal)" from Visual Studio 2015, 
which results in creating an app package with the following name: 
"CordovaApp.Phone__arm.appxupload

  was:
After updating to the latest Cordova versions (cordova-cli 6.0.0, 
cordova-windows 4.3.1, cordova-plugin-geolocation 2.1.0), the location 
capability is missing from the appxmanifest file.

In the platforms/windows folder, the file "package.windows.appxmanifest" 
contains the following region:

  
  


The file "package.phone.appxmanifest", which seems to be relevant when building 
for the ARM platform, is missing the location entry:

  


I don't know whether this is a bug in the geolocation plugin (which should add 
the permission) or in the windows platform. I was able to fix the problem for 
me by extending the plugin.xml of the geolocation plugin and adding:





This seems to be a bug because the existing extra with 
target="package.appxmanifest" works for the file package.windows.appxmanifest 
but not for package.phone.appxmanifest.


> Location permission lost for Windows Phone 8.1
> --
>
> Key: CB-10845
> URL: https://issues.apache.org/jira/browse/CB-10845
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Geolocation, Windows
> Environment: Windows Phone 8.1
>Reporter: Steffen Schaffert
>
> After updating to the latest Cordova versions (cordova-cli 6.0.0, 
> cordova-windows 4.3.1, cordova-plugin-geolocation 2.1.0), the location 
> capability is missing from the appxmanifest file.
> In the platforms/windows folder, the file "package.windows.appxmanifest" 
> contains the following region:
> 
>   
>   
> 
> The file "package.phone.appxmanifest", which seems to be relevant when 
> building for the ARM platform, is missing the location entry:
> 
>   
> 
> I don't know whether this is a bug in the geolocation plugin (which should 
> add the permission) or in the windows platform. I was able to fix the problem 
> for me by extending the plugin.xml of the geolocation plugin and adding:
>  parent="/Package/Capabilities">
> 
> 
> This seems to be a bug because the existing extra with 
> target="package.appxmanifest" works for the file package.windows.appxmanifest 
> but not for package.phone.appxmanifest.
> Edit: The build target was "Windows Phone (Universal)" from Visual Studio 
> 2015, which results in creating an app package with the following name: 
> "CordovaApp.Phone__arm.appxupload



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

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



[jira] [Commented] (CB-10689) Apostrophe isn't escaped in the name of an application

2016-03-11 Thread Julien Bouquillon (JIRA)

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

Julien Bouquillon commented on CB-10689:


Hi,

Bug confirmed and just pushed a fix here : 
https://github.com/apache/cordova-android/pull/272


> Apostrophe isn't escaped in the name of an application
> --
>
> Key: CB-10689
> URL: https://issues.apache.org/jira/browse/CB-10689
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Android, CordovaLib
>Reporter: Joe Bowser
>Priority: Minor
>  Labels: triaged
>
> Steps to reproduce:
> 1. Create an application with an apostrophe in the name
> 2. Add Android
> 3. Build App
> Expected:
> App should build
> What happens: 
> Build errors out with an error containing this line: 
> platforms/android/build/intermediates/res/merged/debug/values/values.xml:4 : 
> AAPT: Apostrophe not preceded by \



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

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



[jira] [Created] (CB-10845) Location permission lost for Windows Phone 8.1

2016-03-11 Thread Steffen Schaffert (JIRA)
Steffen Schaffert created CB-10845:
--

 Summary: Location permission lost for Windows Phone 8.1
 Key: CB-10845
 URL: https://issues.apache.org/jira/browse/CB-10845
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugin Geolocation, Windows
 Environment: Windows Phone 8.1
Reporter: Steffen Schaffert


After updating to the latest Cordova versions (cordova-cli 6.0.0, 
cordova-windows 4.3.1, cordova-plugin-geolocation 2.1.0), the location 
capability is missing from the appxmanifest file.

In the platforms/windows folder, the file "package.windows.appxmanifest" 
contains the following region:

  
  


The file "package.phone.appxmanifest", which seems to be relevant when building 
for the ARM platform, is missing the location entry:

  


I don't know whether this is a bug in the geolocation plugin (which should add 
the permission) or in the windows platform. I was able to fix the problem for 
me by extending the plugin.xml of the geolocation plugin and adding:





This seems to be a bug because the existing extra with 
target="package.appxmanifest" works for the file package.windows.appxmanifest 
but not for package.phone.appxmanifest.



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

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