[jira] [Comment Edited] (CB-9999) Cordova file plugin: error: package org.apache.cordova.file does not exist

2015-11-21 Thread Quentin POIRIER (JIRA)

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

Quentin POIRIER edited comment on CB- at 11/22/15 12:42 AM:


Hello,

I have the exact same problem:

{code:title=console}
/home/talanor/projects/epitech/eip/dev/Cyanionic/platforms/android/src/org/apache/cordova/filetransfer/FileTransfer.java:59:
 error: cannot find symbol
import org.apache.cordova.file.FileUtils;
  ^
  symbol:   class FileUtils
  location: package org.apache.cordova.file
/home/talanor/projects/epitech/eip/dev/Cyanionic/platforms/android/src/org/apache/cordova/filetransfer/FileTransfer.java:934:
 error: cannot find symbol
FileUtils filePlugin = (FileUtils) pm.getPlugin("File");
^
  symbol: class FileUtils
/home/talanor/projects/epitech/eip/dev/Cyanionic/platforms/android/src/org/apache/cordova/filetransfer/FileTransfer.java:934:
 error: cannot find symbol
FileUtils filePlugin = (FileUtils) pm.getPlugin("File");
^
  symbol: class FileUtils
Note: 
/home/talanor/projects/epitech/eip/dev/Cyanionic/platforms/android/src/org/apache/cordova/filetransfer/FileTransfer.java
 uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: 
/home/talanor/projects/epitech/eip/dev/Cyanionic/platforms/android/src/org/apache/cordova/filetransfer/FileTransfer.java
 uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
3 errors
 FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':compileDebugJava'.
> Compilation failed; see the compiler error output for details.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug 
option to get more log output.

BUILD FAILED

Total time: 1.539 secs

/home/talanor/projects/epitech/eip/dev/Cyanionic/platforms/android/cordova/node_modules/q/q.js:126
throw e;
  ^
Error code 1 for command: 
/home/talanor/projects/epitech/eip/dev/Cyanionic/platforms/android/gradlew with 
args: 
cdvBuildDebug,-b,/home/talanor/projects/epitech/eip/dev/Cyanionic/platforms/android/build.gradle,-Dorg.gradle.daemon=true
ERROR building one of the platforms: Error: 
/home/talanor/projects/epitech/eip/dev/Cyanionic/platforms/android/cordova/build:
 Command failed with exit code 1
You may not have the required environment or OS to build this project
Error: 
/home/talanor/projects/epitech/eip/dev/Cyanionic/platforms/android/cordova/build:
 Command failed with exit code 1
{code}

But I know I have all the modules installed:

{code:title=console}
talanor@HellBuntu:~/projects/epitech/eip/dev/Cyanionic$ cordova plugin ls
cordova-plugin-file 3.0.0 "File"
cordova-plugin-file-transfer 1.4.0 "File Transfer"
cordova-plugin-whitelist 1.0.0 "Whitelist"
cordova-plugin-zip 3.0.0 "cordova-plugin-zip"
ionic-plugin-keyboard 1.0.7 "Keyboard"
{code}

Additionnal informations:
{code:title=console}
talanor@HellBuntu:~/projects/epitech/eip/dev/Cyanionic$ cordova --version
5.4.0
talanor@HellBuntu:~/projects/epitech/eip/dev/Cyanionic$ cordova platforms
Installed platforms: android 4.1.1
Available platforms: amazon-fireos, blackberry10, browser, firefoxos, ubuntu, 
webos
{code}

I am currently working on Ubuntu vivid.

Thank you

EDIT 1:

I am also unable to reproduce on a brand new project.

EDIT 2:

It would seem that removing the android platform and re installing it fixes the 
problem.


was (Author: talanor):
Hello,

I have the exact same problem:

{code:title=console}
/home/talanor/projects/epitech/eip/dev/Cyanionic/platforms/android/src/org/apache/cordova/filetransfer/FileTransfer.java:59:
 error: cannot find symbol
import org.apache.cordova.file.FileUtils;
  ^
  symbol:   class FileUtils
  location: package org.apache.cordova.file
/home/talanor/projects/epitech/eip/dev/Cyanionic/platforms/android/src/org/apache/cordova/filetransfer/FileTransfer.java:934:
 error: cannot find symbol
FileUtils filePlugin = (FileUtils) pm.getPlugin("File");
^
  symbol: class FileUtils
/home/talanor/projects/epitech/eip/dev/Cyanionic/platforms/android/src/org/apache/cordova/filetransfer/FileTransfer.java:934:
 error: cannot find symbol
FileUtils filePlugin = (FileUtils) pm.getPlugin("File");
^
  symbol: class FileUtils
Note: 
/home/talanor/projects/epitech/eip/dev/Cyanionic/platforms/android/src/org/apache/cordova/filetransfer/FileTransfer.java
 uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: 
/home/talanor/projects/epitech/eip/dev/Cyanionic/platforms/android/src/org/apache/cordova/fil

[jira] [Comment Edited] (CB-9999) Cordova file plugin: error: package org.apache.cordova.file does not exist

2015-11-21 Thread Quentin POIRIER (JIRA)

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

Quentin POIRIER edited comment on CB- at 11/22/15 12:34 AM:


Hello,

I have the exact same problem:

{code:title=console}
/home/talanor/projects/epitech/eip/dev/Cyanionic/platforms/android/src/org/apache/cordova/filetransfer/FileTransfer.java:59:
 error: cannot find symbol
import org.apache.cordova.file.FileUtils;
  ^
  symbol:   class FileUtils
  location: package org.apache.cordova.file
/home/talanor/projects/epitech/eip/dev/Cyanionic/platforms/android/src/org/apache/cordova/filetransfer/FileTransfer.java:934:
 error: cannot find symbol
FileUtils filePlugin = (FileUtils) pm.getPlugin("File");
^
  symbol: class FileUtils
/home/talanor/projects/epitech/eip/dev/Cyanionic/platforms/android/src/org/apache/cordova/filetransfer/FileTransfer.java:934:
 error: cannot find symbol
FileUtils filePlugin = (FileUtils) pm.getPlugin("File");
^
  symbol: class FileUtils
Note: 
/home/talanor/projects/epitech/eip/dev/Cyanionic/platforms/android/src/org/apache/cordova/filetransfer/FileTransfer.java
 uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: 
/home/talanor/projects/epitech/eip/dev/Cyanionic/platforms/android/src/org/apache/cordova/filetransfer/FileTransfer.java
 uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
3 errors
 FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':compileDebugJava'.
> Compilation failed; see the compiler error output for details.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug 
option to get more log output.

BUILD FAILED

Total time: 1.539 secs

/home/talanor/projects/epitech/eip/dev/Cyanionic/platforms/android/cordova/node_modules/q/q.js:126
throw e;
  ^
Error code 1 for command: 
/home/talanor/projects/epitech/eip/dev/Cyanionic/platforms/android/gradlew with 
args: 
cdvBuildDebug,-b,/home/talanor/projects/epitech/eip/dev/Cyanionic/platforms/android/build.gradle,-Dorg.gradle.daemon=true
ERROR building one of the platforms: Error: 
/home/talanor/projects/epitech/eip/dev/Cyanionic/platforms/android/cordova/build:
 Command failed with exit code 1
You may not have the required environment or OS to build this project
Error: 
/home/talanor/projects/epitech/eip/dev/Cyanionic/platforms/android/cordova/build:
 Command failed with exit code 1
{code}

But I know I have all the modules installed:

{code:title=console}
talanor@HellBuntu:~/projects/epitech/eip/dev/Cyanionic$ cordova plugin ls
cordova-plugin-file 3.0.0 "File"
cordova-plugin-file-transfer 1.4.0 "File Transfer"
cordova-plugin-whitelist 1.0.0 "Whitelist"
cordova-plugin-zip 3.0.0 "cordova-plugin-zip"
ionic-plugin-keyboard 1.0.7 "Keyboard"
{code}

Additionnal informations:
{code:title=console}
talanor@HellBuntu:~/projects/epitech/eip/dev/Cyanionic$ cordova --version
5.4.0
talanor@HellBuntu:~/projects/epitech/eip/dev/Cyanionic$ cordova platforms
Installed platforms: android 4.1.1
Available platforms: amazon-fireos, blackberry10, browser, firefoxos, ubuntu, 
webos
{code}

I am also unable to reproduce on a brand new project.

I am currently working on Ubuntu vivid.

Thank you


was (Author: talanor):
Hello,

I have the exact same problem:

{code:title=console}
/home/talanor/projects/epitech/eip/dev/Cyanionic/platforms/android/src/org/apache/cordova/filetransfer/FileTransfer.java:59:
 error: cannot find symbol
import org.apache.cordova.file.FileUtils;
  ^
  symbol:   class FileUtils
  location: package org.apache.cordova.file
/home/talanor/projects/epitech/eip/dev/Cyanionic/platforms/android/src/org/apache/cordova/filetransfer/FileTransfer.java:934:
 error: cannot find symbol
FileUtils filePlugin = (FileUtils) pm.getPlugin("File");
^
  symbol: class FileUtils
/home/talanor/projects/epitech/eip/dev/Cyanionic/platforms/android/src/org/apache/cordova/filetransfer/FileTransfer.java:934:
 error: cannot find symbol
FileUtils filePlugin = (FileUtils) pm.getPlugin("File");
^
  symbol: class FileUtils
Note: 
/home/talanor/projects/epitech/eip/dev/Cyanionic/platforms/android/src/org/apache/cordova/filetransfer/FileTransfer.java
 uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: 
/home/talanor/projects/epitech/eip/dev/Cyanionic/platforms/android/src/org/apache/cordova/filetransfer/FileTransfer.java
 uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for d

[jira] [Commented] (CB-9999) Cordova file plugin: error: package org.apache.cordova.file does not exist

2015-11-21 Thread Quentin POIRIER (JIRA)

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

Quentin POIRIER commented on CB-:
-

Hello,

I have the exact same problem:

{code:title=console}
/home/talanor/projects/epitech/eip/dev/Cyanionic/platforms/android/src/org/apache/cordova/filetransfer/FileTransfer.java:59:
 error: cannot find symbol
import org.apache.cordova.file.FileUtils;
  ^
  symbol:   class FileUtils
  location: package org.apache.cordova.file
/home/talanor/projects/epitech/eip/dev/Cyanionic/platforms/android/src/org/apache/cordova/filetransfer/FileTransfer.java:934:
 error: cannot find symbol
FileUtils filePlugin = (FileUtils) pm.getPlugin("File");
^
  symbol: class FileUtils
/home/talanor/projects/epitech/eip/dev/Cyanionic/platforms/android/src/org/apache/cordova/filetransfer/FileTransfer.java:934:
 error: cannot find symbol
FileUtils filePlugin = (FileUtils) pm.getPlugin("File");
^
  symbol: class FileUtils
Note: 
/home/talanor/projects/epitech/eip/dev/Cyanionic/platforms/android/src/org/apache/cordova/filetransfer/FileTransfer.java
 uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: 
/home/talanor/projects/epitech/eip/dev/Cyanionic/platforms/android/src/org/apache/cordova/filetransfer/FileTransfer.java
 uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
3 errors
 FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':compileDebugJava'.
> Compilation failed; see the compiler error output for details.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug 
option to get more log output.

BUILD FAILED

Total time: 1.539 secs

/home/talanor/projects/epitech/eip/dev/Cyanionic/platforms/android/cordova/node_modules/q/q.js:126
throw e;
  ^
Error code 1 for command: 
/home/talanor/projects/epitech/eip/dev/Cyanionic/platforms/android/gradlew with 
args: 
cdvBuildDebug,-b,/home/talanor/projects/epitech/eip/dev/Cyanionic/platforms/android/build.gradle,-Dorg.gradle.daemon=true
ERROR building one of the platforms: Error: 
/home/talanor/projects/epitech/eip/dev/Cyanionic/platforms/android/cordova/build:
 Command failed with exit code 1
You may not have the required environment or OS to build this project
Error: 
/home/talanor/projects/epitech/eip/dev/Cyanionic/platforms/android/cordova/build:
 Command failed with exit code 1
{code}

But I know I have all the modules installed:

{code:title=console}
talanor@HellBuntu:~/projects/epitech/eip/dev/Cyanionic$ cordova plugin ls
cordova-plugin-file 3.0.0 "File"
cordova-plugin-file-transfer 1.4.0 "File Transfer"
cordova-plugin-whitelist 1.0.0 "Whitelist"
cordova-plugin-zip 3.0.0 "cordova-plugin-zip"
ionic-plugin-keyboard 1.0.7 "Keyboard"
{code}

Additionnal informations:
{code:title=console}
talanor@HellBuntu:~/projects/epitech/eip/dev/Cyanionic$ cordova --version
5.4.0
talanor@HellBuntu:~/projects/epitech/eip/dev/Cyanionic$ cordova platforms
Installed platforms: android 4.1.1
Available platforms: amazon-fireos, blackberry10, browser, firefoxos, ubuntu, 
webos
{code}

I am currently working on Ubuntu vivid.

Thank you

> Cordova file plugin: error: package org.apache.cordova.file does not exist
> --
>
> Key: CB-
> URL: https://issues.apache.org/jira/browse/CB-
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin File, Plugin File Transfer
> Environment: MacOS
>Reporter: romeo mihalcea
>  Labels: Android
>
> After installing the `cordova-plugin-file` and trying to run the project I 
> get this error in the console:
> {code:borderStyle=solid}
> .../local/cordova-build/platforms/android/src/org/apache/cordova/filetransfer/FileTransfer.java:59:
>  error: package org.apache.cordova.file does not exist
> import org.apache.cordova.file.FileUtils;
>   ^
> .../local/cordova-build/platforms/android/src/org/apache/cordova/filetransfer/FileTransfer.java:934:
>  error: cannot find symbol
> FileUtils filePlugin = (FileUtils) 
> pm.getPlugin("File");
> ^
>   symbol: class FileUtils
> .../local/cordova-build/platforms/android/src/org/apache/cordova/filetransfer/FileTransfer.java:934:
>  error: cannot find symbol
> FileUtils filePlugin = (FileUtils) 
> pm.getPlugin("File");
> ^
>   symbol: class FileUtils
> Note: Some input files use or override a deprecated API.
> Note: Recompile with -Xlint:

[jira] [Created] (CB-10059) Point to Plugin/Platform versioning in config.xml and plugin.xml docs

2015-11-21 Thread Omar Mefire (JIRA)
Omar Mefire created CB-10059:


 Summary: Point to Plugin/Platform versioning in config.xml and 
plugin.xml docs
 Key: CB-10059
 URL: https://issues.apache.org/jira/browse/CB-10059
 Project: Apache Cordova
  Issue Type: Improvement
Reporter: Omar Mefire
Priority: Minor


There is documentation for plugin/platform version management here: 
http://cordova.apache.org/docs/en/5.4.0/platform_plugin_versioning_ref/index.html

But it would be great if this documentation is referenced or incorporated into 
the config.xml and plugin.xml sections of the documentation.



--
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-9971) Cordova outputs "Picked up _JAVA_OPTIONS" in stderr

2015-11-21 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-9971:


Github user asfgit closed the pull request at:

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


> Cordova outputs "Picked up _JAVA_OPTIONS" in stderr
> ---
>
> Key: CB-9971
> URL: https://issues.apache.org/jira/browse/CB-9971
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Android
>Affects Versions: 5.0.0
> Environment: Windows, Tools for Apache Cordova in Visual Studio
> Cordova 5.4.0
>Reporter: Michael Braude
>Assignee: Vladimir Kotikov
>Priority: Critical
>  Labels: easyfix, windows,
>   Original Estimate: 2h
>  Remaining Estimate: 2h
>
> Starting with version 5.4.0, Cordova now outputs "Picked up _JAVA_OPTIONS: 
> -Xmx512M" to stderr. This breaks clients such as Visual Studio because we 
> interpret messages in stderr to be errors, and this is not an error. So the 
> result is that we show deploy failures to the dev when there are no errors.
> See this for customer impact: 
> http://stackoverflow.com/questions/33603167/vs2015-build-with-cordova-cli5-4-0-shows-deployment-errors
> We can work around this in Visual Studio by using special casing, but Cordova 
> needs to output this in stdout like it did in previous versions



--
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-9971) Cordova outputs "Picked up _JAVA_OPTIONS" in stderr

2015-11-21 Thread ASF subversion and git services (JIRA)

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

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

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

CB-9971 Suppress gradlew _JAVA_OPTIONS output during build


> Cordova outputs "Picked up _JAVA_OPTIONS" in stderr
> ---
>
> Key: CB-9971
> URL: https://issues.apache.org/jira/browse/CB-9971
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Android
>Affects Versions: 5.0.0
> Environment: Windows, Tools for Apache Cordova in Visual Studio
> Cordova 5.4.0
>Reporter: Michael Braude
>Assignee: Vladimir Kotikov
>Priority: Critical
>  Labels: easyfix, windows,
>   Original Estimate: 2h
>  Remaining Estimate: 2h
>
> Starting with version 5.4.0, Cordova now outputs "Picked up _JAVA_OPTIONS: 
> -Xmx512M" to stderr. This breaks clients such as Visual Studio because we 
> interpret messages in stderr to be errors, and this is not an error. So the 
> result is that we show deploy failures to the dev when there are no errors.
> See this for customer impact: 
> http://stackoverflow.com/questions/33603167/vs2015-build-with-cordova-cli5-4-0-shows-deployment-errors
> We can work around this in Visual Studio by using special casing, but Cordova 
> needs to output this in stdout like it did in previous versions



--
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-10010) Cordova plugin contacts - PhoneNumbers error

2015-11-21 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov commented on CB-10010:
---

Also this might be probably related to CB-9629 - some of your contacts might 
not have phone numbers specified, so {{phoneNumbers}} property will be null.

> Cordova plugin contacts - PhoneNumbers error
> 
>
> Key: CB-10010
> URL: https://issues.apache.org/jira/browse/CB-10010
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Contacts
>Affects Versions: 1.1.0
>Reporter: Rony Cohen
>Assignee: Vladimir Kotikov
>Priority: Minor
>  Labels: Android, contacts, cordova-plugin-contacts, triaged
>
> with cordova-plugin-contacts 1.1.0 "Contacts"
> When I get the whole list of contacts It's working but when I choose : 
> navigator.contacts.fieldType.phoneNumbers in the options.desiredFields
> I get properly some first contacts, then (maybe because one of my contact 
> phoneNumber value) , I get this error : 
> Error in Success callbackId: Contacts598408154 : 
> SyntaxError: Unexpected token ucordova.js:312



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

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



[jira] [Comment Edited] (CB-10010) Cordova plugin contacts - PhoneNumbers error

2015-11-21 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov edited comment on CB-10010 at 11/21/15 2:11 PM:
-

[~ronyrun], this looks like an error in _your_ success callback for 
{{contacts.find()}}. Could you please post a code to repro this issue?


was (Author: vladimir.kotikov):
[~ronyrun], this looks like an error in either success or error callback for 
{{contacts.find()}}. Could you please post a code to repro this issue?

> Cordova plugin contacts - PhoneNumbers error
> 
>
> Key: CB-10010
> URL: https://issues.apache.org/jira/browse/CB-10010
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Contacts
>Affects Versions: 1.1.0
>Reporter: Rony Cohen
>Assignee: Vladimir Kotikov
>Priority: Minor
>  Labels: Android, contacts, cordova-plugin-contacts, triaged
>
> with cordova-plugin-contacts 1.1.0 "Contacts"
> When I get the whole list of contacts It's working but when I choose : 
> navigator.contacts.fieldType.phoneNumbers in the options.desiredFields
> I get properly some first contacts, then (maybe because one of my contact 
> phoneNumber value) , I get this error : 
> Error in Success callbackId: Contacts598408154 : 
> SyntaxError: Unexpected token ucordova.js:312



--
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-9629) Contact.pick return null in phoneNumbers instead of empty array when no numbers

2015-11-21 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov closed CB-9629.

Resolution: Not A Problem

> Contact.pick return null in phoneNumbers instead of empty array when no 
> numbers
> ---
>
> Key: CB-9629
> URL: https://issues.apache.org/jira/browse/CB-9629
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Contacts
> Environment: Android 5.1
> Cordova 5.2.0
>Reporter: Sergey
>Assignee: Vladimir Kotikov
>Priority: Minor
>  Labels: android, api-breaking, api-change, platform-consistency, 
> reproduced, triaged
>




--
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-9629) Contact.pick return null in phoneNumbers instead of empty array when no numbers

2015-11-21 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov commented on CB-9629:
--

According to http://www.w3.org/TR/2011/WD-contacts-api-20110616/#attributes-1 
{{Contact.phoneNumbers}} property is _nullable_, so this is probably not a bug. 
You should check if the property is available manually before accesing it.

> Contact.pick return null in phoneNumbers instead of empty array when no 
> numbers
> ---
>
> Key: CB-9629
> URL: https://issues.apache.org/jira/browse/CB-9629
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Contacts
> Environment: Android 5.1
> Cordova 5.2.0
>Reporter: Sergey
>Assignee: Vladimir Kotikov
>Priority: Minor
>  Labels: android, api-breaking, api-change, platform-consistency, 
> reproduced, triaged
>




--
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-9629) Contact.pick return null in phoneNumbers instead of empty array when no numbers

2015-11-21 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov updated CB-9629:
-
Labels: android api-breaking api-change platform-consistency reproduced 
triaged  (was: android api-breaking api-change platform-consistency triaged)

> Contact.pick return null in phoneNumbers instead of empty array when no 
> numbers
> ---
>
> Key: CB-9629
> URL: https://issues.apache.org/jira/browse/CB-9629
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Contacts
> Environment: Android 5.1
> Cordova 5.2.0
>Reporter: Sergey
>Assignee: Vladimir Kotikov
>Priority: Minor
>  Labels: android, api-breaking, api-change, platform-consistency, 
> reproduced, triaged
>




--
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-7241) Contacts.find does not work 100%

2015-11-21 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov updated CB-7241:
-
Labels: Android cannot-reproduce triaged  (was: Android cannot-reproduce)

> Contacts.find does not work 100%
> 
>
> Key: CB-7241
> URL: https://issues.apache.org/jira/browse/CB-7241
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Contacts
>Reporter: adam telles
>  Labels: Android, cannot-reproduce, triaged
>
> Contacts find method does not call onSuccess or onError function 100% of the 
> time. Our app uses contacts.find 0 to * times and it works 80% of the time 
> however for some reason it will not work the other 20 percent of the time. 
> Testing our app we have narrowed down that the method does not produce a 
> catchable error for a try catch block to catch. Our app calls the find 
> function once to load all contacts then again to search a filtered list based 
> on the users input. The user can search with this process as many times as 
> they want but after an undetermined amount of times time the plugin stops 
> working. To temporarily fix you have to stop the app and make sure its not in 
> the background so it can start fresh.



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

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



[jira] [Comment Edited] (CB-7241) Contacts.find does not work 100%

2015-11-21 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov edited comment on CB-7241 at 11/21/15 1:48 PM:


[~atelles], it is very hard to reproduce such a vague bug. You said, ??we have 
narrowed down that the method does not produce a catchable error for a try 
catch block to catch??, so you probably should have a crash log for this? Post 
it here please.

Also other details also would be very helpful: your device model and Android 
version, plugin version, {{contacts.find()}} arguments...


was (Author: vladimir.kotikov):
[~atelles], it is very hard to reproduce such a vague bug. As you said, ??we 
have narrowed down that the method does not produce a catchable error for a try 
catch block to catch??, so you probably should have a crash log for this?

Also other details also would be very helpful: your device model and Android 
version, plugin version, {{contacts.find()}} arguments...

> Contacts.find does not work 100%
> 
>
> Key: CB-7241
> URL: https://issues.apache.org/jira/browse/CB-7241
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Contacts
>Reporter: adam telles
>  Labels: Android, cannot-reproduce, triaged
>
> Contacts find method does not call onSuccess or onError function 100% of the 
> time. Our app uses contacts.find 0 to * times and it works 80% of the time 
> however for some reason it will not work the other 20 percent of the time. 
> Testing our app we have narrowed down that the method does not produce a 
> catchable error for a try catch block to catch. Our app calls the find 
> function once to load all contacts then again to search a filtered list based 
> on the users input. The user can search with this process as many times as 
> they want but after an undetermined amount of times time the plugin stops 
> working. To temporarily fix you have to stop the app and make sure its not in 
> the background so it can start fresh.



--
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-7241) Contacts.find does not work 100%

2015-11-21 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov commented on CB-7241:
--

[~atelles], it is very hard to reproduce such a vague bug. As you said, ??we 
have narrowed down that the method does not produce a catchable error for a try 
catch block to catch??, so you probably should have a crash log for this?

Also other details also would be very helpful: your device model and Android 
version, plugin version, {{contacts.find()}} arguments...

> Contacts.find does not work 100%
> 
>
> Key: CB-7241
> URL: https://issues.apache.org/jira/browse/CB-7241
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Contacts
>Reporter: adam telles
>  Labels: Android, cannot-reproduce
>
> Contacts find method does not call onSuccess or onError function 100% of the 
> time. Our app uses contacts.find 0 to * times and it works 80% of the time 
> however for some reason it will not work the other 20 percent of the time. 
> Testing our app we have narrowed down that the method does not produce a 
> catchable error for a try catch block to catch. Our app calls the find 
> function once to load all contacts then again to search a filtered list based 
> on the users input. The user can search with this process as many times as 
> they want but after an undetermined amount of times time the plugin stops 
> working. To temporarily fix you have to stop the app and make sure its not in 
> the background so it can start fresh.



--
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-7241) Contacts.find does not work 100%

2015-11-21 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov updated CB-7241:
-
Affects Version/s: (was: 3.5.0)
   (was: 3.4.0)

> Contacts.find does not work 100%
> 
>
> Key: CB-7241
> URL: https://issues.apache.org/jira/browse/CB-7241
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Contacts
>Reporter: adam telles
>  Labels: Android, cannot-reproduce
>
> Contacts find method does not call onSuccess or onError function 100% of the 
> time. Our app uses contacts.find 0 to * times and it works 80% of the time 
> however for some reason it will not work the other 20 percent of the time. 
> Testing our app we have narrowed down that the method does not produce a 
> catchable error for a try catch block to catch. Our app calls the find 
> function once to load all contacts then again to search a filtered list based 
> on the users input. The user can search with this process as many times as 
> they want but after an undetermined amount of times time the plugin stops 
> working. To temporarily fix you have to stop the app and make sure its not in 
> the background so it can start fresh.



--
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-7241) Contacts.find does not work 100%

2015-11-21 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov updated CB-7241:
-
Labels: Android cannot-reproduce  (was: Android)

> Contacts.find does not work 100%
> 
>
> Key: CB-7241
> URL: https://issues.apache.org/jira/browse/CB-7241
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Contacts
>Affects Versions: 3.4.0, 3.5.0
>Reporter: adam telles
>  Labels: Android, cannot-reproduce
>
> Contacts find method does not call onSuccess or onError function 100% of the 
> time. Our app uses contacts.find 0 to * times and it works 80% of the time 
> however for some reason it will not work the other 20 percent of the time. 
> Testing our app we have narrowed down that the method does not produce a 
> catchable error for a try catch block to catch. Our app calls the find 
> function once to load all contacts then again to search a filtered list based 
> on the users input. The user can search with this process as many times as 
> they want but after an undetermined amount of times time the plugin stops 
> working. To temporarily fix you have to stop the app and make sure its not in 
> the background so it can start fresh.



--
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-7906) App crashes when find() is called with undefined desiredField members

2015-11-21 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-7906:


GitHub user vladimir-kotikov opened a pull request:

https://github.com/apache/cordova-plugin-contacts/pull/85

CB-7906 Prevent app crash when desiredFields option has undefined items



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

$ git pull https://github.com/MSOpenTech/cordova-plugin-contacts CB-7906

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

https://github.com/apache/cordova-plugin-contacts/pull/85.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 #85


commit deda3d83b24f3ae4fd004ee7f75f7b95ab0ca354
Author: Vladimir Kotikov 
Date:   2015-11-21T13:02:53Z

CB-7906 Prevent app crash when desiredFields option has undefined items




> App crashes when find() is called with undefined desiredField members
> -
>
> Key: CB-7906
> URL: https://issues.apache.org/jira/browse/CB-7906
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Contacts
> Environment: iOS 7, iOS 8
> Cordova 3.6.0
>Reporter: Shingo Toda
>  Labels: documentation-update, iOS, reproduced, triaged
>
> Apps crash when find() is called with undefined members of ContactFieldType.
> For example, the following code sets desiredFields to {{xx}} or {{yyy}} which 
> are actually not defined in ContactFieldType.
> {code:javascript}
> options.desiredFields = [navigator.contacts.fieldType.xx, 
> navigator.contacts.fieldType.yyy];
> var fields = [navigator.contacts.fieldType.displayName, 
> navigator.contacts.fieldType.name];
> navigator.contacts.find(fields, onSuccess, onError, options);
> {code}
> In Objective-C code, those undefined members are turned into {{NSNull}} 
> object. Therefore {{calcReturnFields}} method receives {{fieldArray}} which 
> contains {{NSNull}} objects, then analyses {{fieldStr}} NSString object which 
> is actually {{NSNull}} at {{[fieldStr componentsSeparatedByString:@"."]}} and 
> eventually an app crashes.
> I tweaked {{calcReturnFields}} method to ignore {{NSNull}} object as below 
> and this looks working fine.
> {code:title=CDVContact.m}
> for (id i in fieldsArray) {
> NSMutableArray* keys = nil;
> NSString* fieldStr = nil;
> if ([i isKindOfClass:[NSNumber class]]) {
> fieldStr = [i stringValue];
> // ST modified start
> } else if([i isEqual:[NSNull null]]){
> continue;
> // ST modified end
> } else {
> fieldStr = i;
> }
> {code}
> By this modification, all invalid desiredField types are ignored and those 
> types could be thought to be "not found". In my opinion, this behaviour would 
> make sense to developer as {{find()}} is called with dodgy desiredField 
> parameters then those types shouldn't be included in the returned contact 
> data. As far as I know, at least {{find()}} for Android behaves like this. 
> By the way, I couldn't see supported parameters for {{desiredField}} in 
> document. If I look at {{ContactFieldType.js}}, those members are populated 
> from {{Contact}}, {{ContactAddress}}, etc.. It would be nice to clearly 
> describe all supported types.



--
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-8290) Cordova contacts plugin crashes if any one has a contact name with new line chars.

2015-11-21 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov updated CB-8290:
-
Labels: cannot-reproduce iOS triaged  (was: iOS triaged)

> Cordova contacts plugin crashes if any one has a contact name with new line 
> chars. 
> ---
>
> Key: CB-8290
> URL: https://issues.apache.org/jira/browse/CB-8290
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Contacts
> Environment: iPhone 4, 5, 6
>Reporter: Rameez Raja
>  Labels: cannot-reproduce, iOS, triaged
>
> When i tried to search contacts using cordova contacts plugin, it crashes 
> when a contact has line break chars in its name (i.e. formatted, given, 
> family etc). For example i have a contact name in phone ABCDEF.
> Cordova plugin is returning this name as 
> ...
> name: {
>formatted: 'ABC\U2028DEF'
>...
> }
> ...
> which is causing issue. Because it is not a valid JSON object.



--
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-8290) Cordova contacts plugin crashes if any one has a contact name with new line chars.

2015-11-21 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov commented on CB-8290:
--

[~rameezraja], I can't reproduce this, since the iOS seems to not give a way to 
create a contact with newline symbols. How did you managed to do that?

> Cordova contacts plugin crashes if any one has a contact name with new line 
> chars. 
> ---
>
> Key: CB-8290
> URL: https://issues.apache.org/jira/browse/CB-8290
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Contacts
> Environment: iPhone 4, 5, 6
>Reporter: Rameez Raja
>  Labels: cannot-reproduce, iOS, triaged
>
> When i tried to search contacts using cordova contacts plugin, it crashes 
> when a contact has line break chars in its name (i.e. formatted, given, 
> family etc). For example i have a contact name in phone ABCDEF.
> Cordova plugin is returning this name as 
> ...
> name: {
>formatted: 'ABC\U2028DEF'
>...
> }
> ...
> which is causing issue. Because it is not a valid JSON object.



--
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-8517) App crash because of ContentResolver query returned null on lollipop device

2015-11-21 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov updated CB-8517:
-
Labels: Android cannot-reproduce triaged  (was: Android triaged)

> App crash because of ContentResolver query returned null on lollipop device
> ---
>
> Key: CB-8517
> URL: https://issues.apache.org/jira/browse/CB-8517
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Contacts
> Environment: Lollipop, MotoG
>Reporter: Manoj Katari P
>  Labels: Android, cannot-reproduce, triaged
>
> ContentResolver.query() can return null in devices running with lollipop.
> Its not handled in contacts plugin at ContactAccessorSdk5.java:186 for 
> idCursor
> ---
> FATAL EXCEPTION: pool-1-thread-38
> E/AndroidRuntime(17921): Process: com.toshiba.uclient, PID: 17921
> E/AndroidRuntime(17921): java.lang.NullPointerException: Attempt to invoke 
> interface method 'boolean android.database.Cursor.moveToNext()' on a null 
> object reference
> E/AndroidRuntime(17921):  at 
> org.apache.cordova.contacts.ContactAccessorSdk5.search(ContactAccessorSdk5.java:186)
> E/AndroidRuntime(17921):  at 
> org.apache.cordova.contacts.ContactManager$1.run(ContactManager.java:93)
> E/AndroidRuntime(17921):  at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
> E/AndroidRuntime(17921):  at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
> E/AndroidRuntime(17921):  at java.lang.Thread.run(Thread.java:818)



--
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-8517) App crash because of ContentResolver query returned null on lollipop device

2015-11-21 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov commented on CB-8517:
--

[~arunpv], [~manoj.kp], i see a potential source of NPE in 
{{ContactAccessorSdk5}}, but to fix this properly i need find out why 
contentResolver returns null cursor there.

Could you please add a bit more details so i can reproduce this: 
{{contacts.find}} params would be very useful, Also, does this happen only on 
MotoG device, or other devices also affected?

> App crash because of ContentResolver query returned null on lollipop device
> ---
>
> Key: CB-8517
> URL: https://issues.apache.org/jira/browse/CB-8517
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Contacts
> Environment: Lollipop, MotoG
>Reporter: Manoj Katari P
>  Labels: Android, triaged
>
> ContentResolver.query() can return null in devices running with lollipop.
> Its not handled in contacts plugin at ContactAccessorSdk5.java:186 for 
> idCursor
> ---
> FATAL EXCEPTION: pool-1-thread-38
> E/AndroidRuntime(17921): Process: com.toshiba.uclient, PID: 17921
> E/AndroidRuntime(17921): java.lang.NullPointerException: Attempt to invoke 
> interface method 'boolean android.database.Cursor.moveToNext()' on a null 
> object reference
> E/AndroidRuntime(17921):  at 
> org.apache.cordova.contacts.ContactAccessorSdk5.search(ContactAccessorSdk5.java:186)
> E/AndroidRuntime(17921):  at 
> org.apache.cordova.contacts.ContactManager$1.run(ContactManager.java:93)
> E/AndroidRuntime(17921):  at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
> E/AndroidRuntime(17921):  at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
> E/AndroidRuntime(17921):  at java.lang.Thread.run(Thread.java:818)



--
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-8156) [Contacts] Cancelling pickContact should call the error callback, but callback "nothing" for now

2015-11-21 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-8156:


GitHub user vladimir-kotikov opened a pull request:

https://github.com/apache/cordova-plugin-contacts/pull/84

CB-8156 Call error callback on pickContact cancellation

Also introduce OPERATION_CANCELLED_ERROR as an error code for reporting 
contact picker cancellation.

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

$ git pull https://github.com/MSOpenTech/cordova-plugin-contacts CB-8156

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

https://github.com/apache/cordova-plugin-contacts/pull/84.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 #84


commit d49a9148a23a672dd9ed7e246c48227f9b5653f0
Author: Vladimir Kotikov 
Date:   2015-11-21T09:50:11Z

CB-8156 Call error callback on pickContact cancellation

Also introduce OPERATION_CANCELLED_ERROR as an error code for reporting 
contact picker cancellation.




> [Contacts] Cancelling pickContact should call the error callback, but 
> callback "nothing" for now
> 
>
> Key: CB-8156
> URL: https://issues.apache.org/jira/browse/CB-8156
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Contacts
> Environment: I using ipad mini 8.1.2 with phonegap 3.6.3 or 3.7.1 and 
> latest contact plugin
>Reporter: Colin Bau
>Assignee: Vladimir Kotikov
>  Labels: android, ios, regression, reproduced, triaged
>
> according to this
> https://issues.apache.org/jira/browse/CB-7772
> it have been solved
> Cancelling pickContact should call the error callback, but callback "nothing" 
> (no any response) for now



--
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-7021) mobilespec missing test cases for navigator.contacts.pickContact

2015-11-21 Thread ASF subversion and git services (JIRA)

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

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

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

CB-7021 Adds missing button for pickContact test


> mobilespec missing test cases for navigator.contacts.pickContact
> 
>
> Key: CB-7021
> URL: https://issues.apache.org/jira/browse/CB-7021
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Contacts
>Affects Versions: Master
>Reporter: Carlos Santana
>Assignee: Vladimir Kotikov
>  Labels: easyfix, triaged
>
> mobilespec missing test cases for navigator.contacts.pickContact
> manual test /contacts/index.js missing tests for 
> navigator.contacts.pickContact



--
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-10057) removing tag does not remove ATS entry

2015-11-21 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah resolved CB-10057.
---
Resolution: Fixed

> removing  tag does not remove ATS entry
> ---
>
> Key: CB-10057
> URL: https://issues.apache.org/jira/browse/CB-10057
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CordovaLib
>Affects Versions: 5.3.3
>Reporter: Shazron Abdullah
>Assignee: Shazron Abdullah
>  Labels: cordova-ios-4.0.x
>
> In config.xml:
> Add:
> 
> Then `cordova prepare`
> NSAllowArbitraryLoads is still true in the Info.plist



--
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-10057) removing tag does not remove ATS entry

2015-11-21 Thread ASF subversion and git services (JIRA)

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

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

Commit ba30bfda5860f672f5e2901e9d15c7daab566b71 in cordova-lib's branch 
refs/heads/master from [~shazron]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-lib.git;h=ba30bfd ]

CB-10057 - removing  tag does not remove ATS entry


> removing  tag does not remove ATS entry
> ---
>
> Key: CB-10057
> URL: https://issues.apache.org/jira/browse/CB-10057
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CordovaLib
>Affects Versions: 5.3.3
>Reporter: Shazron Abdullah
>Assignee: Shazron Abdullah
>  Labels: cordova-ios-4.0.x
>
> In config.xml:
> Add:
> 
> Then `cordova prepare`
> NSAllowArbitraryLoads is still true in the Info.plist



--
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-10057) removing tag does not remove ATS entry

2015-11-21 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah commented on CB-10057:
---

Since platforms are build artifacts -- the CLI should clobber existing ATS 
entries on each `cordova prepare`
Any plugin that modifies ATS directly should instead add config.xml entries.

> removing  tag does not remove ATS entry
> ---
>
> Key: CB-10057
> URL: https://issues.apache.org/jira/browse/CB-10057
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CordovaLib
>Affects Versions: 5.3.3
>Reporter: Shazron Abdullah
>Assignee: Shazron Abdullah
>  Labels: cordova-ios-4.0.x
>
> In config.xml:
> Add:
> 
> Then `cordova prepare`
> NSAllowArbitraryLoads is still true in the Info.plist



--
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-10057) removing tag does not remove ATS entry

2015-11-21 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-10057:
--
Summary: removing  tag does not remove ATS entry  (was: removing 
 tag wildcard does not remove ATS entry)

> removing  tag does not remove ATS entry
> ---
>
> Key: CB-10057
> URL: https://issues.apache.org/jira/browse/CB-10057
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CordovaLib
>Affects Versions: 5.3.3
>Reporter: Shazron Abdullah
>Assignee: Shazron Abdullah
>  Labels: cordova-ios-4.0.x
>
> In config.xml:
> Add:
> 
> Then `cordova prepare`
> NSAllowArbitraryLoads is still true in the Info.plist



--
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-9971) Cordova outputs "Picked up _JAVA_OPTIONS" in stderr

2015-11-21 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-9971:


Github user sgrebnov commented on the pull request:

https://github.com/apache/cordova-android/pull/240#issuecomment-158613976
  
I think current implementation is good enough so let's merge this PR.

:+1:  to the idea of improving superspawn function so it can cover this 
case as well, but I think this is out of scope of this PR so let's continue 
discussion at CB-10052.


> Cordova outputs "Picked up _JAVA_OPTIONS" in stderr
> ---
>
> Key: CB-9971
> URL: https://issues.apache.org/jira/browse/CB-9971
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Android
>Affects Versions: 5.0.0
> Environment: Windows, Tools for Apache Cordova in Visual Studio
> Cordova 5.4.0
>Reporter: Michael Braude
>Assignee: Vladimir Kotikov
>Priority: Critical
>  Labels: easyfix, windows,
>   Original Estimate: 2h
>  Remaining Estimate: 2h
>
> Starting with version 5.4.0, Cordova now outputs "Picked up _JAVA_OPTIONS: 
> -Xmx512M" to stderr. This breaks clients such as Visual Studio because we 
> interpret messages in stderr to be errors, and this is not an error. So the 
> result is that we show deploy failures to the dev when there are no errors.
> See this for customer impact: 
> http://stackoverflow.com/questions/33603167/vs2015-build-with-cordova-cli5-4-0-shows-deployment-errors
> We can work around this in Visual Studio by using special casing, but Cordova 
> needs to output this in stdout like it did in previous versions



--
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