[jira] [Updated] (CB-12085) FileReader#readAsArrayBuffer reads whole file

2017-06-26 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov updated CB-12085:
--
Priority: Minor  (was: Critical)

> FileReader#readAsArrayBuffer reads whole file
> -
>
> Key: CB-12085
> URL: https://issues.apache.org/jira/browse/CB-12085
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-plugin-file
>Affects Versions: 4.3.0
> Environment: Android
>Reporter: Damian Senn
>Priority: Minor
>  Labels: performance
>
> Reading a File with
> ```js
> let fr = new FileReader
> fr.onload = () => done(fs.result)
> fr.readAsArrayBuffer(blob)
> ```
> Is very slow, I'm assuming this is because it reads the whole file, then 
> transfers this via base64 to the JS world, where it is converted to an 
> ArrayBuffer. My use-case involves reading some media metadata in JS-World, 
> this usually involves reading several bytes (maybe around 100b to 1kb) of 2mb 
> to 50mb files.
> I noticed this by profiling via Chrome-DevTools where the most time is being 
> spent in the `atob` function in `cordova/base64.toArrayBuffer`.
> So parsing some hundreds of bytes on a 3mb file may take around 3 to 4 
> seconds on my Samsung Galaxy S4 and around 1 second on my Samsung Galaxy S6. 
> (This is without trying to read the actual metadata from the file).
> My guess is that this also has a very negative impact on memory usage and 
> garbage collection.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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



[jira] [Reopened] (CB-12085) FileReader#readAsArrayBuffer reads whole file

2017-06-26 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov reopened CB-12085:
---
  Assignee: (was: Nikita Matrosov)

Reopening as it's probably still an issue

> FileReader#readAsArrayBuffer reads whole file
> -
>
> Key: CB-12085
> URL: https://issues.apache.org/jira/browse/CB-12085
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-plugin-file
>Affects Versions: 4.3.0
> Environment: Android
>Reporter: Damian Senn
>Priority: Critical
>  Labels: performance
>
> Reading a File with
> ```js
> let fr = new FileReader
> fr.onload = () => done(fs.result)
> fr.readAsArrayBuffer(blob)
> ```
> Is very slow, I'm assuming this is because it reads the whole file, then 
> transfers this via base64 to the JS world, where it is converted to an 
> ArrayBuffer. My use-case involves reading some media metadata in JS-World, 
> this usually involves reading several bytes (maybe around 100b to 1kb) of 2mb 
> to 50mb files.
> I noticed this by profiling via Chrome-DevTools where the most time is being 
> spent in the `atob` function in `cordova/base64.toArrayBuffer`.
> So parsing some hundreds of bytes on a 3mb file may take around 3 to 4 
> seconds on my Samsung Galaxy S4 and around 1 second on my Samsung Galaxy S6. 
> (This is without trying to read the actual metadata from the file).
> My guess is that this also has a very negative impact on memory usage and 
> garbage collection.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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



[jira] (CB-10696) Error while downloading file who are having spaces between name in ios using cordova

2017-01-30 Thread Vladimir Kotikov (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Vladimir Kotikov commented on  CB-10696 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Error while downloading file who are having spaces between name in ios using cordova  
 
 
 
 
 
 
 
 
 
 
Nikita Matrosov, could you take a look please? 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.3.15#6346-sha1:dbc023d) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   



[jira] (CB-10696) Error while downloading file who are having spaces between name in ios using cordova

2017-01-30 Thread Vladimir Kotikov (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Vladimir Kotikov commented on  CB-10696 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Error while downloading file who are having spaces between name in ios using cordova  
 
 
 
 
 
 
 
 
 
 
Matthew Horn, thanks for details! We'll take a look at this shortly 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.3.15#6346-sha1:dbc023d) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   



[jira] (CB-10696) Error while downloading file who are having spaces between name in ios using cordova

2017-01-30 Thread Vladimir Kotikov (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Vladimir Kotikov assigned an issue to Vladimir Kotikov 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Apache Cordova /  CB-10696 
 
 
 
  Error while downloading file who are having spaces between name in ios using cordova  
 
 
 
 
 
 
 
 
 

Change By:
 
 Vladimir Kotikov 
 
 
 

Assignee:
 
 Vladimir Kotikov 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.3.15#6346-sha1:dbc023d) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   



[jira] (CB-10696) Error while downloading file who are having spaces between name in ios using cordova

2017-01-30 Thread Vladimir Kotikov (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Vladimir Kotikov assigned an issue to Nikita Matrosov 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Apache Cordova /  CB-10696 
 
 
 
  Error while downloading file who are having spaces between name in ios using cordova  
 
 
 
 
 
 
 
 
 

Change By:
 
 Vladimir Kotikov 
 
 
 

Assignee:
 
 Vladimir Kotikov Nikita Matrosov 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.3.15#6346-sha1:dbc023d) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   



[jira] [Resolved] (CB-12369) Ship Typescript definitions along with core plugins

2017-01-20 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov resolved CB-12369.
---
Resolution: Done

> Ship Typescript definitions along with core plugins
> ---
>
> Key: CB-12369
> URL: https://issues.apache.org/jira/browse/CB-12369
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: Plugins
>Reporter: Vladimir Kotikov
>Assignee: Vladimir Kotikov
>  Labels: plugins, typescript, typings
>
> Discussion: http://markmail.org/thread/7rpzjxytgtzrs7hw



--
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-12369) Ship Typescript definitions along with core plugins

2017-01-19 Thread Vladimir Kotikov (JIRA)
Vladimir Kotikov created CB-12369:
-

 Summary: Ship Typescript definitions along with core plugins
 Key: CB-12369
 URL: https://issues.apache.org/jira/browse/CB-12369
 Project: Apache Cordova
  Issue Type: Improvement
  Components: Plugins
Reporter: Vladimir Kotikov
Assignee: Vladimir Kotikov


Discussion: http://markmail.org/thread/7rpzjxytgtzrs7hw



--
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-12189) Plugin WinMD+DLL combination

2016-12-23 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov updated CB-12189:
--
Fix Version/s: 4.5.0

> Plugin WinMD+DLL combination
> 
>
> Key: CB-12189
> URL: https://issues.apache.org/jira/browse/CB-12189
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Windows
>Reporter: Chris Brody
> Fix For: 4.5.0
>
>
> As discussed in https://forums.adobe.com/message/9123283 and 
> https://github.com/litehelpers/Cordova-sqlite-legacy-build-support/issues/10 
> it is not possible to build on PhoneGap Build for Windows with a plugin such 
> as https://github.com/litehelpers/Cordova-sqlite-legacy-build-support or 
> https://github.com/litehelpers/Cordova-sqlite-evcore-extbuild-free. The 
> solution discussed in 
> https://github.com/litehelpers/Cordova-sqlite-legacy-build-support/issues/10 
> is to build the Windows C++ library by hand then include the WinMD file in 
> plugin.xml just like 
> https://github.com/phonegap/phonegap-plugin-barcodescanner/blob/master/plugin.xml#L65-L67.
> But as discussed in 
> https://github.com/litehelpers/Cordova-sqlite-legacy-build-support/issues/10 
> this is still not possible since we need to include both WinMD and DLL files 
> in case of a C++ library.
> I hereby raise this issue to fix cordova-windows to support WinMD+DLL for C++ 
> libraries such as 
> https://github.com/litehelpers/Cordova-sqlite-legacy-build-support. This is a 
> blocking issue for one of my customers.



--
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-12189) Plugin WinMD+DLL combination

2016-12-23 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov resolved CB-12189.
---
Resolution: Implemented

> Plugin WinMD+DLL combination
> 
>
> Key: CB-12189
> URL: https://issues.apache.org/jira/browse/CB-12189
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Windows
>Reporter: Chris Brody
> Fix For: 4.5.0
>
>
> As discussed in https://forums.adobe.com/message/9123283 and 
> https://github.com/litehelpers/Cordova-sqlite-legacy-build-support/issues/10 
> it is not possible to build on PhoneGap Build for Windows with a plugin such 
> as https://github.com/litehelpers/Cordova-sqlite-legacy-build-support or 
> https://github.com/litehelpers/Cordova-sqlite-evcore-extbuild-free. The 
> solution discussed in 
> https://github.com/litehelpers/Cordova-sqlite-legacy-build-support/issues/10 
> is to build the Windows C++ library by hand then include the WinMD file in 
> plugin.xml just like 
> https://github.com/phonegap/phonegap-plugin-barcodescanner/blob/master/plugin.xml#L65-L67.
> But as discussed in 
> https://github.com/litehelpers/Cordova-sqlite-legacy-build-support/issues/10 
> this is still not possible since we need to include both WinMD and DLL files 
> in case of a C++ library.
> I hereby raise this issue to fix cordova-windows to support WinMD+DLL for C++ 
> libraries such as 
> https://github.com/litehelpers/Cordova-sqlite-legacy-build-support. This is a 
> blocking issue for one of my customers.



--
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-12239) Allow passing build flags to MSBuild

2016-12-16 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov resolved CB-12239.
---
Resolution: Implemented

> Allow passing build flags to MSBuild
> 
>
> Key: CB-12239
> URL: https://issues.apache.org/jira/browse/CB-12239
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: Windows
>Reporter: Vladimir Kotikov
>Assignee: Vladimir Kotikov
>  Labels: buildFlag, triaged, windows
>
> Similar to iOS (see CB-11952 and CB-12127) it'd be great if developers could 
> pass arbitrary build flags to MSBuild. This is particularily useful for those 
> who wants their app that contains plugins w/ native code to be compiled w/ 
> specific version of C++ build toolset (or if the plugin specifies toolset 
> that is not available on build machine)



--
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-12239) Allow passing build flags to MSBuild

2016-12-13 Thread Vladimir Kotikov (JIRA)
Vladimir Kotikov created CB-12239:
-

 Summary: Allow passing build flags to MSBuild
 Key: CB-12239
 URL: https://issues.apache.org/jira/browse/CB-12239
 Project: Apache Cordova
  Issue Type: Improvement
  Components: Windows
Reporter: Vladimir Kotikov
Assignee: Vladimir Kotikov


Similar to iOS (see CB-11952 and CB-12127) it'd be great if developers could 
pass arbitrary build flags to MSBuild. This is particularily useful for those 
who wants their app that contains plugins w/ native code to be compiled w/ 
specific version of C++ build toolset (or if the plugin specifies toolset that 
is not available on build machine)



--
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-11541) Contacts-Plugin: "fax" and "homepage" create custom labels on iOS

2016-12-08 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov resolved CB-11541.
---
Resolution: Fixed
  Assignee: Nikita Matrosov

> Contacts-Plugin: "fax" and "homepage" create custom labels on iOS
> -
>
> Key: CB-11541
> URL: https://issues.apache.org/jira/browse/CB-11541
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Contacts
>Affects Versions: 2.1.0
> Environment: Tested on iOS 9.3.2
> Cordova Version: 6.2.0
> cordova-plugin-contacts 2.1.0 "Contacts"
>Reporter: Paixon
>Assignee: Nikita Matrosov
>  Labels: ios, triaged
>
> I create a ContactField with type "fax" and save it. The created contact 
> contains the field, but it is saved under a custom label, instead of the 
> available default label "fax work".
> Same happens if I add an ContactField with the type "homepage" to urls. The 
> existing label "homepage" is ignored. Instead it creates a new default label 
> "homepage".



--
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-12073) PhoneGap / Cordova is crashing when selecting a video greater than 59MB

2016-11-24 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov updated CB-12073:
--
Assignee: (was: Nikita Matrosov)

> PhoneGap / Cordova is crashing when selecting a video greater than 59MB
> ---
>
> Key: CB-12073
> URL: https://issues.apache.org/jira/browse/CB-12073
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Camera
>Affects Versions: 2.3.0
> Environment: iPhone 6 - iOS 10.1.1
> iPhone 5 - iOS 10.1.1
>Reporter: Daniel Herbert
>Priority: Critical
>  Labels: ios, triaged, wfc
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> This is the line of code that is failing, even if I run nothing in the 
> success function, it still crashes however the success function is being run 
> for a brief second before crashing.
> {noformat}
> navigator.camera.getPicture(createPostSuccessVideo, cameraError, {
> quality: 50,
> destinationType: destinationType.NATIVE_URI,
> sourceType: pictureSource.PHOTOLIBRARY,
> mediaType: navigator.camera.MediaType.VIDEO,
> correctOrientation : true ,
> saveToPhotoAlbum: false
> });
> {noformat}
> I noticed the memory usage spikes up to half a GB for some reason.
> Taking a video works, only selecting from the gallery is failing.
> I occasionally get an exc_bad_access error in Xcode before crashing, other 
> times no error just a crash.
> This code works for TAKING a video larger than 59mb:
> {noformat}
> navigator.device.capture.captureVideo(function(imageURI){ 
> createPostSuccessVideo(imageURI,1); }, captureError, {limit:1}); 
> {noformat}
> But I need to be able to select from the users library which fails.



--
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-12085) FileReader#readAsArrayBuffer reads whole file

2016-11-21 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov updated CB-12085:
--
Assignee: Nikita Matrosov

> FileReader#readAsArrayBuffer reads whole file
> -
>
> Key: CB-12085
> URL: https://issues.apache.org/jira/browse/CB-12085
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin File
>Affects Versions: 4.3.0
> Environment: Android
>Reporter: Damian Senn
>Assignee: Nikita Matrosov
>Priority: Critical
>  Labels: performance
>
> Reading a File with
> ```js
> let fr = new FileReader
> fr.onload = () => done(fs.result)
> fr.readAsArrayBuffer(blob)
> ```
> Is very slow, I'm assuming this is because it reads the whole file, then 
> transfers this via base64 to the JS world, where it is converted to an 
> ArrayBuffer. My use-case involves reading some media metadata in JS-World, 
> this usually involves reading several bytes (maybe around 100b to 1kb) of 2mb 
> to 50mb files.
> I noticed this by profiling via Chrome-DevTools where the most time is being 
> spent in the `atob` function in `cordova/base64.toArrayBuffer`.
> So parsing some hundreds of bytes on a 3mb file may take around 3 to 4 
> seconds on my Samsung Galaxy S4 and around 1 second on my Samsung Galaxy S6. 
> (This is without trying to read the actual metadata from the file).
> My guess is that this also has a very negative impact on memory usage and 
> garbage collection.



--
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-12112) moveFolder function in UWP fails for folder trees with depth greater than 1

2016-11-18 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov updated CB-12112:
--
Labels: reproduced triaged  (was: )

> moveFolder function in UWP fails for folder trees with depth greater than 1
> ---
>
> Key: CB-12112
> URL: https://issues.apache.org/jira/browse/CB-12112
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin File, Windows
>Affects Versions: 3.5.0
> Environment: Universal windows
>Reporter: Chris Redhead
>Assignee: Nikita Matrosov
>Priority: Minor
>  Labels: reproduced, triaged
>
> The moveFolder function works incorrectly in UWP for folder trees with depth 
> greater than 1. 
> The recursion does not work as expected so all files and folders end up in 
> the new directory



--
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-12112) moveFolder function in UWP fails for folder trees with depth greater than 1

2016-11-18 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov updated CB-12112:
--
Assignee: Nikita Matrosov

> moveFolder function in UWP fails for folder trees with depth greater than 1
> ---
>
> Key: CB-12112
> URL: https://issues.apache.org/jira/browse/CB-12112
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin File, Windows
>Affects Versions: 3.5.0
> Environment: Universal windows
>Reporter: Chris Redhead
>Assignee: Nikita Matrosov
>Priority: Minor
>  Labels: reproduced, triaged
>
> The moveFolder function works incorrectly in UWP for folder trees with depth 
> greater than 1. 
> The recursion does not work as expected so all files and folders end up in 
> the new directory



--
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-12147) Typo in cordova-windows causes verbose message not to print

2016-11-16 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov closed CB-12147.
-
Resolution: Fixed

> Typo in cordova-windows causes verbose message not to print
> ---
>
> Key: CB-12147
> URL: https://issues.apache.org/jira/browse/CB-12147
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Windows
>Affects Versions: Master
>Reporter: Jimmy Thomson
>Priority: Trivial
>
> The code at 
> https://github.com/apache/cordova-windows/blob/master/template/cordova/lib/build.js#L291
>  refers to 'vebose' rather than 'verbose', which means that particular 
> diagnostic statement does not print as it should.



--
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-12086) Camera docs has some errors

2016-11-13 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov closed CB-12086.
-
Resolution: Fixed

> Camera docs has some errors
> ---
>
> Key: CB-12086
> URL: https://issues.apache.org/jira/browse/CB-12086
> Project: Apache Cordova
>  Issue Type: Bug
>Reporter: jcesarmobile
>Priority: Minor
>
> Multiple references to NSPhotoLibraryUsageDescriptionentry where it should be 
> NSPhotoLibraryUsageDescription



--
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-8929) battery-status on Windows fails to work on Windows 10, thinks a Phone is a Desktop device

2016-11-08 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov closed CB-8929.

Resolution: Fixed

> battery-status on Windows fails to work on Windows 10, thinks a Phone is a 
> Desktop device
> -
>
> Key: CB-8929
> URL: https://issues.apache.org/jira/browse/CB-8929
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Battery Status, Windows
>Reporter: Rob Paveza
>Priority: Minor
>
> On a Windows 10 phone, the Battery Status responds that Battery Status isn't 
> available on a Windows Desktop device.



--
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-12067) Mobile Spec is missing cordova-plugin-compat, any plugins that require compat changes don't compile

2016-11-07 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov resolved CB-12067.
---
Resolution: Fixed

> Mobile Spec is missing cordova-plugin-compat, any plugins that require compat 
> changes don't compile
> ---
>
> Key: CB-12067
> URL: https://issues.apache.org/jira/browse/CB-12067
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: mobile-spec
>Reporter: Joe Bowser
>Assignee: Joe Bowser
>Priority: Blocker
>




--
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-12073) PhoneGap / Cordova is crashing when selecting a video greater than 59MB

2016-11-07 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov updated CB-12073:
--
Labels: ios triaged wfc  (was: )

> PhoneGap / Cordova is crashing when selecting a video greater than 59MB
> ---
>
> Key: CB-12073
> URL: https://issues.apache.org/jira/browse/CB-12073
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Camera
> Environment: iPhone 6
>Reporter: Daniel Herbert
>Priority: Critical
>  Labels: ios, triaged, wfc
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> This is the line of code that is failing, even if I run nothing in the 
> success function, it still crashes however the success function is being run 
> for a brief second before crashing.
> {noformat}
> navigator.camera.getPicture(createPostSuccessVideo, cameraError, {
> quality: 50,
> destinationType: destinationType.NATIVE_URI,
> sourceType: pictureSource.PHOTOLIBRARY,
> mediaType: navigator.camera.MediaType.VIDEO,
> correctOrientation : true ,
> saveToPhotoAlbum: false
> });
> {noformat}
> I noticed the memory usage spikes up to half a GB for some reason.
> Taking a video works, only selecting from the gallery is failing.
> I occasionally get an exc_bad_access error in Xcode before crashing, other 
> times no error just a crash.
> This code works for TAKING a video larger than 59mb:
> {noformat}
> navigator.device.capture.captureVideo(function(imageURI){ 
> createPostSuccessVideo(imageURI,1); }, captureError, {limit:1}); 
> {noformat}
> But I need to be able to select from the users library which fails.



--
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-12073) PhoneGap / Cordova is crashing when selecting a video greater than 59MB

2016-11-07 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov updated CB-12073:
--
Priority: Critical  (was: Major)

> PhoneGap / Cordova is crashing when selecting a video greater than 59MB
> ---
>
> Key: CB-12073
> URL: https://issues.apache.org/jira/browse/CB-12073
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Camera
> Environment: iPhone 6
>Reporter: Daniel Herbert
>Priority: Critical
>  Labels: ios, triaged, wfc
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> This is the line of code that is failing, even if I run nothing in the 
> success function, it still crashes however the success function is being run 
> for a brief second before crashing.
> {noformat}
> navigator.camera.getPicture(createPostSuccessVideo, cameraError, {
> quality: 50,
> destinationType: destinationType.NATIVE_URI,
> sourceType: pictureSource.PHOTOLIBRARY,
> mediaType: navigator.camera.MediaType.VIDEO,
> correctOrientation : true ,
> saveToPhotoAlbum: false
> });
> {noformat}
> I noticed the memory usage spikes up to half a GB for some reason.
> Taking a video works, only selecting from the gallery is failing.
> I occasionally get an exc_bad_access error in Xcode before crashing, other 
> times no error just a crash.
> This code works for TAKING a video larger than 59mb:
> {noformat}
> navigator.device.capture.captureVideo(function(imageURI){ 
> createPostSuccessVideo(imageURI,1); }, captureError, {limit:1}); 
> {noformat}
> But I need to be able to select from the users library which fails.



--
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-12073) PhoneGap / Cordova is crashing when selecting a video greater than 59MB

2016-11-07 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov updated CB-12073:
--
Assignee: Nikita Matrosov

> PhoneGap / Cordova is crashing when selecting a video greater than 59MB
> ---
>
> Key: CB-12073
> URL: https://issues.apache.org/jira/browse/CB-12073
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Camera
> Environment: iPhone 6
>Reporter: Daniel Herbert
>Assignee: Nikita Matrosov
>Priority: Critical
>  Labels: ios, triaged, wfc
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> This is the line of code that is failing, even if I run nothing in the 
> success function, it still crashes however the success function is being run 
> for a brief second before crashing.
> {noformat}
> navigator.camera.getPicture(createPostSuccessVideo, cameraError, {
> quality: 50,
> destinationType: destinationType.NATIVE_URI,
> sourceType: pictureSource.PHOTOLIBRARY,
> mediaType: navigator.camera.MediaType.VIDEO,
> correctOrientation : true ,
> saveToPhotoAlbum: false
> });
> {noformat}
> I noticed the memory usage spikes up to half a GB for some reason.
> Taking a video works, only selecting from the gallery is failing.
> I occasionally get an exc_bad_access error in Xcode before crashing, other 
> times no error just a crash.
> This code works for TAKING a video larger than 59mb:
> {noformat}
> navigator.device.capture.captureVideo(function(imageURI){ 
> createPostSuccessVideo(imageURI,1); }, captureError, {limit:1}); 
> {noformat}
> But I need to be able to select from the users library which fails.



--
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-12073) PhoneGap / Cordova is crashing when selecting a video greater than 59MB

2016-11-07 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov updated CB-12073:
--
Description: 
This is the line of code that is failing, even if I run nothing in the success 
function, it still crashes however the success function is being run for a 
brief second before crashing.
{noformat}
navigator.camera.getPicture(createPostSuccessVideo, cameraError, {
quality: 50,
destinationType: destinationType.NATIVE_URI,
sourceType: pictureSource.PHOTOLIBRARY,
mediaType: navigator.camera.MediaType.VIDEO,
correctOrientation : true ,
saveToPhotoAlbum: false
});
{noformat}
I noticed the memory usage spikes up to half a GB for some reason.

Taking a video works, only selecting from the gallery is failing.

I occasionally get an exc_bad_access error in Xcode before crashing, other 
times no error just a crash.

This code works for TAKING a video larger than 59mb:
{noformat}
navigator.device.capture.captureVideo(function(imageURI){ 
createPostSuccessVideo(imageURI,1); }, captureError, {limit:1}); 
{noformat}
But I need to be able to select from the users library which fails.

  was:
This is the line of code that is failing, even if I run nothing in the success 
function, it still crashes however the success function is being run for a 
brief second before crashing.

navigator.camera.getPicture(createPostSuccessVideo, cameraError, { quality: 50, 
destinationType: destinationType.NATIVE_URI,  sourceType: 
pictureSource.PHOTOLIBRARY, mediaType: navigator.camera.MediaType.VIDEO, 
correctOrientation : true , saveToPhotoAlbum: false  } );
I noticed the memory usage spikes up to half a GB for some reason.

Taking a video works, only selecting from the gallery is failing.

I occasionally get an exc_bad_access error in Xcode before crashing, other 
times no error just a crash.

This code works for TAKING a video larger than 59mb:

navigator.device.capture.captureVideo(function(imageURI){ 
createPostSuccessVideo(imageURI,1); }, captureError, {limit:1}); 

But I need to be able to select from the users library which fails.


> PhoneGap / Cordova is crashing when selecting a video greater than 59MB
> ---
>
> Key: CB-12073
> URL: https://issues.apache.org/jira/browse/CB-12073
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Camera
> Environment: iPhone 6
>Reporter: Daniel Herbert
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> This is the line of code that is failing, even if I run nothing in the 
> success function, it still crashes however the success function is being run 
> for a brief second before crashing.
> {noformat}
> navigator.camera.getPicture(createPostSuccessVideo, cameraError, {
> quality: 50,
> destinationType: destinationType.NATIVE_URI,
> sourceType: pictureSource.PHOTOLIBRARY,
> mediaType: navigator.camera.MediaType.VIDEO,
> correctOrientation : true ,
> saveToPhotoAlbum: false
> });
> {noformat}
> I noticed the memory usage spikes up to half a GB for some reason.
> Taking a video works, only selecting from the gallery is failing.
> I occasionally get an exc_bad_access error in Xcode before crashing, other 
> times no error just a crash.
> This code works for TAKING a video larger than 59mb:
> {noformat}
> navigator.device.capture.captureVideo(function(imageURI){ 
> createPostSuccessVideo(imageURI,1); }, captureError, {limit:1}); 
> {noformat}
> But I need to be able to select from the users library which fails.



--
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-12073) PhoneGap / Cordova is crashing when selecting a video greater than 59MB

2016-11-07 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov commented on CB-12073:
---

[~iisdan], could you please add more details about your case, specifically 
platform and plugin versions?

> PhoneGap / Cordova is crashing when selecting a video greater than 59MB
> ---
>
> Key: CB-12073
> URL: https://issues.apache.org/jira/browse/CB-12073
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Camera
> Environment: iPhone 6
>Reporter: Daniel Herbert
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> This is the line of code that is failing, even if I run nothing in the 
> success function, it still crashes however the success function is being run 
> for a brief second before crashing.
> navigator.camera.getPicture(createPostSuccessVideo, cameraError, { quality: 
> 50, destinationType: destinationType.NATIVE_URI,  sourceType: 
> pictureSource.PHOTOLIBRARY, mediaType: navigator.camera.MediaType.VIDEO, 
> correctOrientation : true , saveToPhotoAlbum: false  } );
> I noticed the memory usage spikes up to half a GB for some reason.
> Taking a video works, only selecting from the gallery is failing.
> I occasionally get an exc_bad_access error in Xcode before crashing, other 
> times no error just a crash.
> This code works for TAKING a video larger than 59mb:
> navigator.device.capture.captureVideo(function(imageURI){ 
> createPostSuccessVideo(imageURI,1); }, captureError, {limit:1}); 
> But I need to be able to select from the users library which fails.



--
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-12073) PhoneGap / Cordova is crashing when selecting a video greater than 59MB

2016-11-07 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov updated CB-12073:
--
Labels:   (was: patch)

> PhoneGap / Cordova is crashing when selecting a video greater than 59MB
> ---
>
> Key: CB-12073
> URL: https://issues.apache.org/jira/browse/CB-12073
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Camera
> Environment: iPhone 6
>Reporter: Daniel Herbert
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> This is the line of code that is failing, even if I run nothing in the 
> success function, it still crashes however the success function is being run 
> for a brief second before crashing.
> navigator.camera.getPicture(createPostSuccessVideo, cameraError, { quality: 
> 50, destinationType: destinationType.NATIVE_URI,  sourceType: 
> pictureSource.PHOTOLIBRARY, mediaType: navigator.camera.MediaType.VIDEO, 
> correctOrientation : true , saveToPhotoAlbum: false  } );
> I noticed the memory usage spikes up to half a GB for some reason.
> Taking a video works, only selecting from the gallery is failing.
> I occasionally get an exc_bad_access error in Xcode before crashing, other 
> times no error just a crash.
> This code works for TAKING a video larger than 59mb:
> navigator.device.capture.captureVideo(function(imageURI){ 
> createPostSuccessVideo(imageURI,1); }, captureError, {limit:1}); 
> But I need to be able to select from the users library which fails.



--
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-12073) PhoneGap / Cordova is crashing when selecting a video greater than 59MB

2016-11-07 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov updated CB-12073:
--
Flags:   (was: Patch,Important)

> PhoneGap / Cordova is crashing when selecting a video greater than 59MB
> ---
>
> Key: CB-12073
> URL: https://issues.apache.org/jira/browse/CB-12073
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Camera
> Environment: iPhone 6
>Reporter: Daniel Herbert
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> This is the line of code that is failing, even if I run nothing in the 
> success function, it still crashes however the success function is being run 
> for a brief second before crashing.
> navigator.camera.getPicture(createPostSuccessVideo, cameraError, { quality: 
> 50, destinationType: destinationType.NATIVE_URI,  sourceType: 
> pictureSource.PHOTOLIBRARY, mediaType: navigator.camera.MediaType.VIDEO, 
> correctOrientation : true , saveToPhotoAlbum: false  } );
> I noticed the memory usage spikes up to half a GB for some reason.
> Taking a video works, only selecting from the gallery is failing.
> I occasionally get an exc_bad_access error in Xcode before crashing, other 
> times no error just a crash.
> This code works for TAKING a video larger than 59mb:
> navigator.device.capture.captureVideo(function(imageURI){ 
> createPostSuccessVideo(imageURI,1); }, captureError, {limit:1}); 
> But I need to be able to select from the users library which fails.



--
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-12083) Custom frameworks: TypeError Uh oh! Path must be a string. Received undefined

2016-11-07 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov updated CB-12083:
--
Labels: cordova-ios-4.1.1 frameworks triaged  (was: cordova-ios-4.1.1 
frameworks)

> Custom frameworks: TypeError Uh oh! Path must be a string. Received undefined
> -
>
> Key: CB-12083
> URL: https://issues.apache.org/jira/browse/CB-12083
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS
>Affects Versions: 4.1.1
> Environment: cordova version: 6.1.1
>Reporter: Miquel
>Priority: Minor
>  Labels: cordova-ios-4.1.1, frameworks, triaged
>
> When removing custom frameworks from cordova it raises this error:
> {code}
> Error: TypeError: Uh oh!
> Path must be a string. Received undefined
> at assertPath (path.js:7:11)
> at Object.dirname (path.js:1324:5)
> at searchPathForFile 
> (/Volumes/DATA/apps/testApp/platforms/ios/cordova/node_modules/xcode/lib/pbxProject.js:1517:24)
> at pbxProject.removeFromFrameworkSearchPaths 
> (/Volumes/DATA/apps/testApp/platforms/ios/cordova/node_modules/xcode/lib/pbxProject.js:1035:20)
> at pbxProject.removeFramework 
> (/Volumes/DATA/apps/testApp/platforms/ios/cordova/node_modules/xcode/lib/pbxProject.js:307:14)
> at uninstall 
> (/Volumes/DATA/apps/testApp/platforms/ios/cordova/lib/plugman/pluginHandlers.js:112:41)
> at Object.process 
> (/Volumes/DATA/apps/testApp/platforms/ios/cordova/node_modules/cordova-common/src/ActionStack.js:56:25)
> at Plugman.removePlugin 
> (/Volumes/DATA/apps/testApp/platforms/ios/cordova/lib/plugman/Plugman.js:125:20)
> at Api.removePlugin 
> (/Volumes/DATA/apps/testApp/platforms/ios/cordova/Api.js:220:40)
> at handleUninstall 
> (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/uninstall.js:333:6)
> {code}
> Steps to reproduce
> - Create a cordova project with ios platform ~4.1.1
> - Run {{$ cordova plugin add cordova-admob}}
> - Run {{$ cordova plugin rm cordova-admob}}
> {{cordova-admob}} depends on {{cordova-libgoogleadmobads}} which has a custom 
> framework (admob sdk). When uninstalling this dependency, it crashes.
> I suspect this has been resolved in new versions of 
> [https://github.com/alunny/node-xcode] (I've also opened an issue there: 
> [https://github.com/alunny/node-xcode/issues/109])



--
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-12101) Android Studio gets messed up when clean is installed outside Android Studio

2016-11-07 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov resolved CB-12101.
---
Resolution: Fixed

> Android Studio gets messed up when clean is installed outside Android Studio
> 
>
> Key: CB-12101
> URL: https://issues.apache.org/jira/browse/CB-12101
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Android
>Reporter: Joe Bowser
>Assignee: Joe Bowser
>
> https://github.com/apache/cordova-android/commit/5db2de95f586eec1713656051e47c0d0bdc73a10#commitcomment-19645612



--
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-12111) Cannot use ES6 in our tools

2016-11-07 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov resolved CB-12111.
---
Resolution: Fixed

> Cannot use ES6 in our tools
> ---
>
> Key: CB-12111
> URL: https://issues.apache.org/jira/browse/CB-12111
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Android
>Reporter: Jesse MacFadyen
>Assignee: Jesse MacFadyen
>
> The recently added file bin/templates/cordova/lib/AndroidStudio.js includes 
> incompatible js for node v0.10 and v0.12 which we still support.



--
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-9179) [ios] the trueHeading property is still null after use navigator.geolocation.watchLocation()

2016-11-07 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov resolved CB-9179.
--
Resolution: Fixed

> [ios] the trueHeading property is still null after use 
> navigator.geolocation.watchLocation()
> 
>
> Key: CB-9179
> URL: https://issues.apache.org/jira/browse/CB-9179
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Device Orientation
>Affects Versions: 5.0.0
> Environment: iOS 8.3
> cordova-plugin-device-orientation 1.0.0
>Reporter: Colin Bau
>   Original Estimate: 12h
>  Remaining Estimate: 12h
>
> according this
> https://github.com/apache/cordova-plugin-device-orientation
> it said...
> The trueHeading property is only returned for location services enabled via 
> navigator.geolocation.watchLocation().
> but in fact...the trueHeading property is still null after use 
> navigator.geolocation.watchLocation()



--
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-12088) cordova prepare -d failed.

2016-11-06 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov resolved CB-12088.
---
Resolution: Fixed

> cordova prepare -d failed.
> --
>
> Key: CB-12088
> URL: https://issues.apache.org/jira/browse/CB-12088
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CLI
>Affects Versions: 5.0.1
> Environment: CentOS 6.5 with nodejs 6.9.1
> [root@host-80-0-0-24 acrop-client.git]# cordova --version
> 6.4.0
>Reporter: Yonggang Luo
>
> [root@host-80-0-0-24 acrop-client.git]# cordova prepare --verbose
> No scripts found for hook "before_prepare".
> Checking config.xml for saved platforms that haven't been added to the project
> Error loading cordova-browser
> Checking for any plugins added to the project that have not been installed in 
> browser platform
> No differences found between plugins added to project and installed in 
> browser platform. Continuing...
> Generating config.xml from defaults for platform "browser"
> No scripts found for hook "after_prepare".
> Checking config.xml for saved plugins that haven't been added to the project



--
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-11010) Unexpected EOF while finding contacts in iPhone 6s

2016-10-28 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov closed CB-11010.
-
Resolution: Cannot Reproduce

Closing this as we weren't able to repro this on a several devices. Please 
reopen in case if you run into this again.

> Unexpected EOF while finding contacts in iPhone 6s
> --
>
> Key: CB-11010
> URL: https://issues.apache.org/jira/browse/CB-11010
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Contacts
>Affects Versions: 2.0.0
> Environment: iOS 9.2.1, iOS 9.3 in iPhone 6s
>Reporter: Gowtham
>Assignee: Vladimir Kotikov
>  Labels: iOS, mustfix, triaged
>
> I tried accessing the contacts using contacts plugin v2.0.1 with the 
> following code 
> var options  = new ContactFindOptions();
> options.filter   = "";
> options.multiple = true;
> var fields = ["displayName","phoneNumbers"];
>   
> navigator.contacts.find(fields, gotContacts, errorHandler, options);
> This throws me an SyntaxError: Unexpected EOF in iPhone 6s models.
> I tested the same in iPhone 5s and iPhone 6, this works fine. Also it works 
> fine in iPhone 6s Simulator.
> I tested in three iPhone 6s phones where the iOS is 9.3 for two phones and 
> 9.2.1 for one.
> All three phones have contacts more than 400.
> All three returned me the same error. 



--
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-11532) Contacts EOF error on iOS

2016-10-28 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov closed CB-11532.
-
Resolution: Cannot Reproduce

Closing this as we weren't able to repro this on a several devices with 
different contacts sets. Please reopen in case if you run into this again.

> Contacts EOF error on iOS
> -
>
> Key: CB-11532
> URL: https://issues.apache.org/jira/browse/CB-11532
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Contacts
>Affects Versions: 2.1.1
> Environment: Cordova CLI: 6.2.0
> Gulp version:  CLI version 3.9.0
> Gulp local:   Local version 3.9.1
> Ionic Framework Version: 2.0.0-beta.7
> Ionic CLI Version: 2.0.0-beta.32
> Ionic App Lib Version: 2.0.0-beta.18
> ios-deploy version: 1.8.5
> ios-sim version: 4.1.1
> OS: Mac OS X El Capitan
> Node Version: v4.1.1
> Xcode version: Xcode 7.3 Build version 7D175
>Reporter: Phil Benoit
>Assignee: Vladimir Kotikov
>  Labels: contacts, ios, wfc
>
> When importing contacts from Google or Facebook the plugin crashes as it is 
> not able to handle the imported characters. 
> The error is - Syntax error: EOF reached
> Here is a list of real world contacts imported from Google that cause the 
> issue. 
> Gökmen
> Brûlé
> França
> ادوارد
> Gabby ••••
> Damián M.A.
> I have a fix for this that has been implemented in a live app. I will be 
> sending a pull request to the repo for review but wanted to log this incase 
> there were others coming across the same issue.  



--
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-10593) captureVideo: Android 6.0.1 camera crashes if video exceeds duration

2016-10-26 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov closed CB-10593.
-
Resolution: Cannot Reproduce

Ah, I see.
Unfortunately I wasn't able to reproduce the problem on this configuration, so 
this might be a device-specific issue or some project misconfiguration.

I'm going to close this as no repro. Please reopen if you run into this again.

> captureVideo: Android 6.0.1 camera crashes if video exceeds duration
> 
>
> Key: CB-10593
> URL: https://issues.apache.org/jira/browse/CB-10593
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Media Capture
> Environment: cordova-android@4.1.1
>Reporter: Geoffrey Bauduin
>Assignee: Vladimir Kotikov
>  Labels: Android, android, wfc
>
> I use this plugin in order to capture a video that can last, at most, 10 
> seconds.
> {code:title=camera.ts|borderStyle=solid}
> this.window["navigator"]["device"]["capture"].captureVideo((data:any) => {
>   if (data.length > 0) {
> observer.next(data[0].fullPath);
>   } else {
> observer.error("Cannot find recorded video");
>   }
> }, (error:string) => {
>   console.error("Cannot get video from camera:", error);
>   observer.error(error);
> }, {
>   duration: 10,
>   limit: 1,
>   quality: 0
> });
> {code}
> Everything is working as intended when I stop the video by myself before the 
> 10 seconds, but if my video exceeds 10 seconds, the camera application 
> crashes.



--
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-11523) Unhandled null pointer on mediacapture cancel

2016-10-26 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov closed CB-11523.
-

> Unhandled null pointer on mediacapture cancel
> -
>
> Key: CB-11523
> URL: https://issues.apache.org/jira/browse/CB-11523
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Media Capture
>Affects Versions: 1.2.0
> Environment: Android 4.4.2
>Reporter: Jan Kalina
>Assignee: Vladimir Kotikov
>  Labels: Android, wfc
>
> When selection of media in mediacapture is canceled:
> E/AndroidRuntime( 5307): java.lang.NullPointerException
> E/AndroidRuntime( 5307):  at 
> org.apache.cordova.mediacapture.Capture.createMediaFile(Capture.java:452)
> E/AndroidRuntime( 5307):  at 
> org.apache.cordova.mediacapture.Capture.access$000(Capture.java:54)
> E/AndroidRuntime( 5307):  at 
> org.apache.cordova.mediacapture.Capture$1.run(Capture.java:286)
> E/AndroidRuntime( 5307):  at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
> E/AndroidRuntime( 5307):  at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
> E/AndroidRuntime( 5307):  at java.lang.Thread.run(Thread.java:841)
> (and Cordova application is killed)



--
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-11523) Unhandled null pointer on mediacapture cancel

2016-10-26 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov resolved CB-11523.
---
Resolution: Cannot Reproduce

Closing this due to no response and because I wasn't able to reproduce this on 
various devices. If anyone still seeing this problem, please reopen.

> Unhandled null pointer on mediacapture cancel
> -
>
> Key: CB-11523
> URL: https://issues.apache.org/jira/browse/CB-11523
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Media Capture
>Affects Versions: 1.2.0
> Environment: Android 4.4.2
>Reporter: Jan Kalina
>Assignee: Vladimir Kotikov
>  Labels: Android, wfc
>
> When selection of media in mediacapture is canceled:
> E/AndroidRuntime( 5307): java.lang.NullPointerException
> E/AndroidRuntime( 5307):  at 
> org.apache.cordova.mediacapture.Capture.createMediaFile(Capture.java:452)
> E/AndroidRuntime( 5307):  at 
> org.apache.cordova.mediacapture.Capture.access$000(Capture.java:54)
> E/AndroidRuntime( 5307):  at 
> org.apache.cordova.mediacapture.Capture$1.run(Capture.java:286)
> E/AndroidRuntime( 5307):  at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
> E/AndroidRuntime( 5307):  at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
> E/AndroidRuntime( 5307):  at java.lang.Thread.run(Thread.java:841)
> (and Cordova application is killed)



--
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-10488) MediaFile.getFormatData does not work with localURL; changed with fullPath

2016-10-26 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov closed CB-10488.
-

> MediaFile.getFormatData does not work with localURL; changed with fullPath
> --
>
> Key: CB-10488
> URL: https://issues.apache.org/jira/browse/CB-10488
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Media Capture
> Environment: Android, iOS
>Reporter: Tanase Butcaru
>  Labels: Android, iOS, media-capture, triaged
>
> _MediaFile.getFormatData_ result data was empty (filled with default "0" 
> values) for all types of capture: image, video & audio.
> Problem encountered on Android & iOS.
> I solved this by changing the url passed to native code from _localURL_ to 
> _fullPath_.
> Tested with two different Android phones (5.1 & 4.4) & one iPhone 5 (iOS 9).
> The fix works!



--
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-7117) MediaFile.getFormatData() of newly-recorded video contains bad information

2016-10-26 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov resolved CB-7117.
--
Resolution: Fixed

Fixed by https://github.com/apache/cordova-plugin-media-capture/pull/53

> MediaFile.getFormatData() of newly-recorded video contains bad information
> --
>
> Key: CB-7117
> URL: https://issues.apache.org/jira/browse/CB-7117
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Media Capture
>Affects Versions: 3.5.0
> Environment: iOS 7, Android 4.4
>Reporter: Matthew Curtis
>
> I use the capture plugin to record a video from the device's camera. Upon 
> completion of recording, I'd like to get the duration of the video for use in 
> my application. However, when I run this test on my iPad or Android phone, 
> the MediaFileData object contains zero-ed out information. Here's a snippet:
> {code:JavaScript}
> navigator.device.capture.captureVideo(
> function(files) {
> var videoFile = files[0];
> videoFile.getFormatData(function(fileData) {
> console.log('file data:' + JSON.stringify(fileData));
> });
> }
> );
> {code}
> The console output is:
> {code:JavaScript}
> file data:{"width":0,"duration":0,"bitrate":0,"codecs":null,"height":0}
> {code}
> As best as I can tell, I'm using this correctly. Is there something I'm 
> missing, or can this not be used for newly-created media?



--
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-10701) Cordova Media Capture Plugin Video capture results in 0 'duration'

2016-10-26 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov resolved CB-10701.
---
Resolution: Fixed

Fixed in https://github.com/apache/cordova-plugin-media-capture/pull/53

> Cordova Media Capture Plugin Video capture results in 0 'duration'
> --
>
> Key: CB-10701
> URL: https://issues.apache.org/jira/browse/CB-10701
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Media Capture
> Environment: Intel XDK
>Reporter: Ivan
>  Labels: triaged
>
> I'm using Cordova Media Capture Plugin to capture video on android and 
> iphone. Everything works fine but one thing and that is getting duration of 
> video file.
> I'm using this code:
> navigator.device.capture.captureVideo(onSuccessVideo, onFailVideo, {limit:1, 
> duration: 120});
> function onSuccessVideo (mediaFiles) {
> mediaFiles[0].getFormatData(function(data) {
> var video_duration = data.duration;
> });
> }
> results for duration is zero on android and on iphone.
> Can you help me with this?



--
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-10489) MediaFile.getFormatData for audio recordings does not work for *.amr files

2016-10-26 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov resolved CB-10489.
---
Resolution: Fixed

> MediaFile.getFormatData for audio recordings does not work for *.amr files
> --
>
> Key: CB-10489
> URL: https://issues.apache.org/jira/browse/CB-10489
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Media Capture
> Environment: Android 4.4, Android 5.1
>Reporter: Tanase Butcaru
>  Labels: Android
>
> After resolving this bug (https://issues.apache.org/jira/browse/CB-10488) I 
> still could find a case where this feature does not work properly.
> iOS behaves as it should, only on Android the issue manifests.
> On my older device with Android 4.4, the sound recorder app has the option to 
> change the file type and if I set .wav instead of .amr, the recorded file is 
> read & its data is returned as it should (no "0" value for duration, for eg.).
> So the problem might be the .amr files.
> i tried to set the MIME type before launching the sound recorder app:
> {code}
> intent.putExtra(android.provider.MediaStore.Audio.Media.ENTRY_CONTENT_TYPE, 
> "audio/aac");
> {code}
> ... but with no success. Tried with _MIME_TYPE_ and _CONTENT_TYPE_ too.



--
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-10488) MediaFile.getFormatData does not work with localURL; changed with fullPath

2016-10-26 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov resolved CB-10488.
---
Resolution: Fixed

> MediaFile.getFormatData does not work with localURL; changed with fullPath
> --
>
> Key: CB-10488
> URL: https://issues.apache.org/jira/browse/CB-10488
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Media Capture
> Environment: Android, iOS
>Reporter: Tanase Butcaru
>  Labels: Android, iOS, media-capture, triaged
>
> _MediaFile.getFormatData_ result data was empty (filled with default "0" 
> values) for all types of capture: image, video & audio.
> Problem encountered on Android & iOS.
> I solved this by changing the url passed to native code from _localURL_ to 
> _fullPath_.
> Tested with two different Android phones (5.1 & 4.4) & one iPhone 5 (iOS 9).
> The fix works!



--
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-12059) No devices returned by cordova run windows --list

2016-10-26 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov edited comment on CB-12059 at 10/26/16 9:23 AM:
-

bq. {{Cannot launch the app with current version of Windows 10 SDK tools. You 
will have to launch the app after installation is completed}}
This message is emitted always when you're trying to deploy app to windows 
phone 10 device. There was some bug in WinAppDeployCmd that was preventing us 
from launching app after installation. This might have been fixed already, but 
we didn't have a chance to revisit this, so this is actually not an error, just 
warning that you may safely ignore.

bq. {{Error: Unexpected error from installation...}}
This basically means that something has happened inside WinAppDeployCmd, we 
don't know how to handle. Even though the app has been installed, 
WinAppDeployCmd returned an error, and since we can't check if the app was 
really installed/updated on device, we just report this error back assuming 
that if something went wrong then the app probably hasn't been installed.

If you feel that this is an issue for you, please open a separate ticket, 
perhaps with more detailed repro steps, so we can validate the problem and see 
if it's possible to fix it at our end.

Thanks.


was (Author: vladimir.kotikov):
bq. {{Cannot launch the app with current version of Windows 10 SDK tools. You 
will have to launch the app after installation is completed}}
This message is emitted always when you're trying to deploy app to windows 
phone device. There was some bug in WinAppDeployCmd that was preventing us from 
launching app after installation. This might have been fixed already, but we 
didn't have a chance to revisit this, so this is actually not an error, just 
warning that you may safely ignore.

bq. {{Error: Unexpected error from installation...}}
This basically means that something is happened inside WinAppDeployCmd, we 
don't know how to handle. Even though the app has been installed, 
WinAppDeployCmd returned an error, and since we can't check if the app was 
really installed updated on device, we just report this error back assuming 
that if something went wrong then the app probably hasn't been installed.

If you feel that this is an issue for you, please open a separate ticket, 
perhaps with more detailed repro steps, so we can validate the problem and see 
if it's possible to fix it at our end.

Thanks.

> No devices returned by cordova run windows --list
> -
>
> Key: CB-12059
> URL: https://issues.apache.org/jira/browse/CB-12059
> Project: Apache Cordova
>  Issue Type: Bug
>Affects Versions: 6.3.1
>Reporter: Graeme Mawson
>  Labels: reproduced, triaged
>
> Cordova CLI v6.3.1, Cordova Windows v4.4.2 on Surface Pro 4.
> I have Visual Studio 2015 installed and the Win 10 SDK and can successfully 
> deploy my apps to the SurfacePro using the Cordova command line via:
> cordova run windows
> I have a Lumia 550 Windows 10 phone connected via USB to the SurfacePro and 
> have enabled Developer Mode, Device discovery and Device Portal (without 
> Authentication) on the phone in the Settings under "For Developers".
> I can deploy to this phone by opening the CordovaApp.sln file generated by 
> Cordova in Visual Studio, selecting ARM and deploying to the attached device. 
> It works well.
> When I run this command:
> WinAppDeployCmd devices
> I get this output which indicates that my phone is found:
> Discovering devices...
> IP Address  GUID   Model/Name
> 127.0.0.1Lumia 550 (RM-1127)
> Done.
> However, when I run the following Cordova CLI command:
> cordova run windows --list
> I get this output which indicates no devices found:
> Available windows devices:
> Available windows virtual devices:
> Given that Cordova doesn't recognise my attached device, I am not able to 
> deploy directly to it using the Cordova CLI.



--
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-12059) No devices returned by cordova run windows --list

2016-10-26 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov commented on CB-12059:
---

bq. {{Cannot launch the app with current version of Windows 10 SDK tools. You 
will have to launch the app after installation is completed}}
This message is emitted always when you're trying to deploy app to windows 
phone device. There was some bug in WinAppDeployCmd that was preventing us from 
launching app after installation. This might have been fixed already, but we 
didn't have a chance to revisit this, so this is actually not an error, just 
warning that you may safely ignore.

bq. {{Error: Unexpected error from installation...}}
This basically means that something is happened inside WinAppDeployCmd, we 
don't know how to handle. Even though the app has been installed, 
WinAppDeployCmd returned an error, and since we can't check if the app was 
really installed updated on device, we just report this error back assuming 
that if something went wrong then the app probably hasn't been installed.

If you feel that this is an issue for you, please open a separate ticket, 
perhaps with more detailed repro steps, so we can validate the problem and see 
if it's possible to fix it at our end.

Thanks.

> No devices returned by cordova run windows --list
> -
>
> Key: CB-12059
> URL: https://issues.apache.org/jira/browse/CB-12059
> Project: Apache Cordova
>  Issue Type: Bug
>Affects Versions: 6.3.1
>Reporter: Graeme Mawson
>  Labels: reproduced, triaged
>
> Cordova CLI v6.3.1, Cordova Windows v4.4.2 on Surface Pro 4.
> I have Visual Studio 2015 installed and the Win 10 SDK and can successfully 
> deploy my apps to the SurfacePro using the Cordova command line via:
> cordova run windows
> I have a Lumia 550 Windows 10 phone connected via USB to the SurfacePro and 
> have enabled Developer Mode, Device discovery and Device Portal (without 
> Authentication) on the phone in the Settings under "For Developers".
> I can deploy to this phone by opening the CordovaApp.sln file generated by 
> Cordova in Visual Studio, selecting ARM and deploying to the attached device. 
> It works well.
> When I run this command:
> WinAppDeployCmd devices
> I get this output which indicates that my phone is found:
> Discovering devices...
> IP Address  GUID   Model/Name
> 127.0.0.1Lumia 550 (RM-1127)
> Done.
> However, when I run the following Cordova CLI command:
> cordova run windows --list
> I get this output which indicates no devices found:
> Available windows devices:
> Available windows virtual devices:
> Given that Cordova doesn't recognise my attached device, I am not able to 
> deploy directly to it using the Cordova CLI.



--
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-11979) add deprecation notice for using subdirectory syntax when fetching plugins

2016-10-25 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov resolved CB-11979.
---
Resolution: Fixed

> add deprecation notice for using subdirectory syntax when fetching plugins
> --
>
> Key: CB-11979
> URL: https://issues.apache.org/jira/browse/CB-11979
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CordovaLib
>Affects Versions: 6.3.1
>Reporter: Steve Gill
>Assignee: sterling gerritz
>  Labels: cordova-7.0.0
> Fix For: 6.4.0
>
>
> We plan to remove subdirectory syntax in cordova@7 since `--fetch` can't 
> support it. 
> Need to add a deprecation to the next cordova@6.x release to start warning 
> folks it is going away.
> You can see the subdirectory syntax at 
> http://cordova.apache.org/docs/en/latest/reference/cordova-cli/index.html#plugin-spec.
> I think it is plugin specific, but need to double check it is not supported 
> for fetching platforms too. 



--
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-12059) No devices returned by cordova run windows --list

2016-10-25 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov resolved CB-12059.
---
Resolution: Not A Problem

> No devices returned by cordova run windows --list
> -
>
> Key: CB-12059
> URL: https://issues.apache.org/jira/browse/CB-12059
> Project: Apache Cordova
>  Issue Type: Bug
>Affects Versions: 6.3.1
>Reporter: Graeme Mawson
>  Labels: reproduced, triaged
>
> Cordova CLI v6.3.1, Cordova Windows v4.4.2 on Surface Pro 4.
> I have Visual Studio 2015 installed and the Win 10 SDK and can successfully 
> deploy my apps to the SurfacePro using the Cordova command line via:
> cordova run windows
> I have a Lumia 550 Windows 10 phone connected via USB to the SurfacePro and 
> have enabled Developer Mode, Device discovery and Device Portal (without 
> Authentication) on the phone in the Settings under "For Developers".
> I can deploy to this phone by opening the CordovaApp.sln file generated by 
> Cordova in Visual Studio, selecting ARM and deploying to the attached device. 
> It works well.
> When I run this command:
> WinAppDeployCmd devices
> I get this output which indicates that my phone is found:
> Discovering devices...
> IP Address  GUID   Model/Name
> 127.0.0.1Lumia 550 (RM-1127)
> Done.
> However, when I run the following Cordova CLI command:
> cordova run windows --list
> I get this output which indicates no devices found:
> Available windows devices:
> Available windows virtual devices:
> Given that Cordova doesn't recognise my attached device, I am not able to 
> deploy directly to it using the Cordova CLI.



--
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-12059) No devices returned by cordova run windows --list

2016-10-25 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov edited comment on CB-12059 at 10/25/16 10:07 AM:
--

We currently list windows phone 8.1 devices/emulators by default. To list 
windows 10 devices you'll need to add {{--win10}} options to {{cordova run 
--list}} command, like this: {{cordova run --list -- --win10}} (notice double 
dash after {{--list}})

Also to deploy app to win10 phone you can use this command {{cordova run 
windows --device -- --appx uap --archs arm --phone}} which doesn't require any 
knowledge about conected device's name


was (Author: vladimir.kotikov):
We currently list windows phone 8.1 devices/emulators by default. To list 
windows 10 devices you'll need to add {{--win10}} options to {{cordova run 
--list}} command, like this: {{cordova run --list -- --win10}}

Also to deploy app to win10 phone you can use this command {{cordova run 
windows --device -- --appx uap --archs arm --phone}} which doesn't require any 
knowledge about conected device's name

> No devices returned by cordova run windows --list
> -
>
> Key: CB-12059
> URL: https://issues.apache.org/jira/browse/CB-12059
> Project: Apache Cordova
>  Issue Type: Bug
>Affects Versions: 6.3.1
>Reporter: Graeme Mawson
>  Labels: reproduced, triaged
>
> Cordova CLI v6.3.1, Cordova Windows v4.4.2 on Surface Pro 4.
> I have Visual Studio 2015 installed and the Win 10 SDK and can successfully 
> deploy my apps to the SurfacePro using the Cordova command line via:
> cordova run windows
> I have a Lumia 550 Windows 10 phone connected via USB to the SurfacePro and 
> have enabled Developer Mode, Device discovery and Device Portal (without 
> Authentication) on the phone in the Settings under "For Developers".
> I can deploy to this phone by opening the CordovaApp.sln file generated by 
> Cordova in Visual Studio, selecting ARM and deploying to the attached device. 
> It works well.
> When I run this command:
> WinAppDeployCmd devices
> I get this output which indicates that my phone is found:
> Discovering devices...
> IP Address  GUID   Model/Name
> 127.0.0.1Lumia 550 (RM-1127)
> Done.
> However, when I run the following Cordova CLI command:
> cordova run windows --list
> I get this output which indicates no devices found:
> Available windows devices:
> Available windows virtual devices:
> Given that Cordova doesn't recognise my attached device, I am not able to 
> deploy directly to it using the Cordova CLI.



--
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-12059) No devices returned by cordova run windows --list

2016-10-25 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov edited comment on CB-12059 at 10/25/16 10:07 AM:
--

We currently list windows phone 8.1 devices/emulators by default. To list 
windows 10 devices you'll need to add {{--win10}} options to {{cordova run 
--list}} command, like this: {{cordova run --list -- --win10}} (notice double 
dash after {{ --list}})

Also to deploy app to win10 phone you can use this command {{cordova run 
windows --device -- --appx uap --archs arm --phone}} which doesn't require any 
knowledge about conected device's name


was (Author: vladimir.kotikov):
We currently list windows phone 8.1 devices/emulators by default. To list 
windows 10 devices you'll need to add {{--win10}} options to {{cordova run 
--list}} command, like this: {{cordova run --list -- --win10}} (notice double 
dash after {{--list}})

Also to deploy app to win10 phone you can use this command {{cordova run 
windows --device -- --appx uap --archs arm --phone}} which doesn't require any 
knowledge about conected device's name

> No devices returned by cordova run windows --list
> -
>
> Key: CB-12059
> URL: https://issues.apache.org/jira/browse/CB-12059
> Project: Apache Cordova
>  Issue Type: Bug
>Affects Versions: 6.3.1
>Reporter: Graeme Mawson
>  Labels: reproduced, triaged
>
> Cordova CLI v6.3.1, Cordova Windows v4.4.2 on Surface Pro 4.
> I have Visual Studio 2015 installed and the Win 10 SDK and can successfully 
> deploy my apps to the SurfacePro using the Cordova command line via:
> cordova run windows
> I have a Lumia 550 Windows 10 phone connected via USB to the SurfacePro and 
> have enabled Developer Mode, Device discovery and Device Portal (without 
> Authentication) on the phone in the Settings under "For Developers".
> I can deploy to this phone by opening the CordovaApp.sln file generated by 
> Cordova in Visual Studio, selecting ARM and deploying to the attached device. 
> It works well.
> When I run this command:
> WinAppDeployCmd devices
> I get this output which indicates that my phone is found:
> Discovering devices...
> IP Address  GUID   Model/Name
> 127.0.0.1Lumia 550 (RM-1127)
> Done.
> However, when I run the following Cordova CLI command:
> cordova run windows --list
> I get this output which indicates no devices found:
> Available windows devices:
> Available windows virtual devices:
> Given that Cordova doesn't recognise my attached device, I am not able to 
> deploy directly to it using the Cordova CLI.



--
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-12059) No devices returned by cordova run windows --list

2016-10-25 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov commented on CB-12059:
---

We currently list windows phone 8.1 devices/emulators by default. To list 
windows 10 devices you'll need to add {{--win10}} options to {{cordova run 
--list}} command, like this: {{cordova run --list -- --win10}}

Also to deploy app to win10 phone you can use this command {{cordova run 
windows --device -- --appx uap --archs arm --phone}} which doesn't require any 
knowledge about conected device's name

> No devices returned by cordova run windows --list
> -
>
> Key: CB-12059
> URL: https://issues.apache.org/jira/browse/CB-12059
> Project: Apache Cordova
>  Issue Type: Bug
>Affects Versions: 6.3.1
>Reporter: Graeme Mawson
>  Labels: reproduced, triaged
>
> Cordova CLI v6.3.1, Cordova Windows v4.4.2 on Surface Pro 4.
> I have Visual Studio 2015 installed and the Win 10 SDK and can successfully 
> deploy my apps to the SurfacePro using the Cordova command line via:
> cordova run windows
> I have a Lumia 550 Windows 10 phone connected via USB to the SurfacePro and 
> have enabled Developer Mode, Device discovery and Device Portal (without 
> Authentication) on the phone in the Settings under "For Developers".
> I can deploy to this phone by opening the CordovaApp.sln file generated by 
> Cordova in Visual Studio, selecting ARM and deploying to the attached device. 
> It works well.
> When I run this command:
> WinAppDeployCmd devices
> I get this output which indicates that my phone is found:
> Discovering devices...
> IP Address  GUID   Model/Name
> 127.0.0.1Lumia 550 (RM-1127)
> Done.
> However, when I run the following Cordova CLI command:
> cordova run windows --list
> I get this output which indicates no devices found:
> Available windows devices:
> Available windows virtual devices:
> Given that Cordova doesn't recognise my attached device, I am not able to 
> deploy directly to it using the Cordova CLI.



--
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-12059) No devices returned by cordova run windows --list

2016-10-25 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov updated CB-12059:
--
Labels: reproduced triaged  (was: )

> No devices returned by cordova run windows --list
> -
>
> Key: CB-12059
> URL: https://issues.apache.org/jira/browse/CB-12059
> Project: Apache Cordova
>  Issue Type: Bug
>Affects Versions: 6.3.1
>Reporter: Graeme Mawson
>  Labels: reproduced, triaged
>
> Cordova CLI v6.3.1, Cordova Windows v4.4.2 on Surface Pro 4.
> I have Visual Studio 2015 installed and the Win 10 SDK and can successfully 
> deploy my apps to the SurfacePro using the Cordova command line via:
> cordova run windows
> I have a Lumia 550 Windows 10 phone connected via USB to the SurfacePro and 
> have enabled Developer Mode, Device discovery and Device Portal (without 
> Authentication) on the phone in the Settings under "For Developers".
> I can deploy to this phone by opening the CordovaApp.sln file generated by 
> Cordova in Visual Studio, selecting ARM and deploying to the attached device. 
> It works well.
> When I run this command:
> WinAppDeployCmd devices
> I get this output which indicates that my phone is found:
> Discovering devices...
> IP Address  GUID   Model/Name
> 127.0.0.1Lumia 550 (RM-1127)
> Done.
> However, when I run the following Cordova CLI command:
> cordova run windows --list
> I get this output which indicates no devices found:
> Available windows devices:
> Available windows virtual devices:
> Given that Cordova doesn't recognise my attached device, I am not able to 
> deploy directly to it using the Cordova CLI.



--
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-12046) cordova prepare needed for iOS in case of Xcode 8

2016-10-25 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov edited comment on CB-12046 at 10/25/16 8:36 AM:
-

It will be 6.4.0 and if everything is fine it will be released in a couple of 
days :)


was (Author: vladimir.kotikov):
It will be 6.4.0 and it everything is fine will be released in a couple of days 
:)

> cordova prepare needed for iOS in case of Xcode 8
> -
>
> Key: CB-12046
> URL: https://issues.apache.org/jira/browse/CB-12046
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS
>Reporter: Chris Brody
>
> After upgrading to Xcode 8, if I add cordova-sqlite-storage and add the ios 
> platform, I have to do cordova prepare before I am able to run the project on 
> iOS. I encounter the same thing if I make a test app with 
> cordova-plugin-dialogs. I started to discuss this in: 
> https://github.com/cordova/cordova-discuss/issues/55
> I think this helps explain both the problem and workaround solution in 
> https://github.com/litehelpers/Cordova-sqlite-storage/issues/567 ("iOS 10 
> support") and 
> https://github.com/litehelpers/Cordova-sqlcipher-adapter/issues/22 
> ("WKWebView incompatible").
> Note that this is NOT an issue with the macOS ("osx") platform.



--
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-12046) cordova prepare needed for iOS in case of Xcode 8

2016-10-25 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov commented on CB-12046:
---

It will be 6.4.0 and it everything is fine will be released in a couple of days 
:)

> cordova prepare needed for iOS in case of Xcode 8
> -
>
> Key: CB-12046
> URL: https://issues.apache.org/jira/browse/CB-12046
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS
>Reporter: Chris Brody
>
> After upgrading to Xcode 8, if I add cordova-sqlite-storage and add the ios 
> platform, I have to do cordova prepare before I am able to run the project on 
> iOS. I encounter the same thing if I make a test app with 
> cordova-plugin-dialogs. I started to discuss this in: 
> https://github.com/cordova/cordova-discuss/issues/55
> I think this helps explain both the problem and workaround solution in 
> https://github.com/litehelpers/Cordova-sqlite-storage/issues/567 ("iOS 10 
> support") and 
> https://github.com/litehelpers/Cordova-sqlcipher-adapter/issues/22 
> ("WKWebView incompatible").
> Note that this is NOT an issue with the macOS ("osx") platform.



--
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-11532) Contacts EOF error on iOS

2016-10-25 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov commented on CB-11532:
---

Yeah, I agree. I also experimented with hardcoding these strings in plugin's 
native code and they were crossing native->JS bridge without any problems, so 
this might indeed has to do with external contacts provider. So does this mean 
you're not seeing this anymore?

> Contacts EOF error on iOS
> -
>
> Key: CB-11532
> URL: https://issues.apache.org/jira/browse/CB-11532
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Contacts
>Affects Versions: 2.1.1
> Environment: Cordova CLI: 6.2.0
> Gulp version:  CLI version 3.9.0
> Gulp local:   Local version 3.9.1
> Ionic Framework Version: 2.0.0-beta.7
> Ionic CLI Version: 2.0.0-beta.32
> Ionic App Lib Version: 2.0.0-beta.18
> ios-deploy version: 1.8.5
> ios-sim version: 4.1.1
> OS: Mac OS X El Capitan
> Node Version: v4.1.1
> Xcode version: Xcode 7.3 Build version 7D175
>Reporter: Phil Benoit
>Assignee: Vladimir Kotikov
>  Labels: contacts, ios, wfc
>
> When importing contacts from Google or Facebook the plugin crashes as it is 
> not able to handle the imported characters. 
> The error is - Syntax error: EOF reached
> Here is a list of real world contacts imported from Google that cause the 
> issue. 
> Gökmen
> Brûlé
> França
> ادوارد
> Gabby ••••
> Damián M.A.
> I have a fix for this that has been implemented in a live app. I will be 
> sending a pull request to the repo for review but wanted to log this incase 
> there were others coming across the same issue.  



--
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-11010) Unexpected EOF while finding contacts in iPhone 6s

2016-10-25 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov reassigned CB-11010:
-

Assignee: Vladimir Kotikov

> Unexpected EOF while finding contacts in iPhone 6s
> --
>
> Key: CB-11010
> URL: https://issues.apache.org/jira/browse/CB-11010
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Contacts
>Affects Versions: 2.0.0
> Environment: iOS 9.2.1, iOS 9.3 in iPhone 6s
>Reporter: Gowtham
>Assignee: Vladimir Kotikov
>  Labels: iOS, mustfix, triaged
>
> I tried accessing the contacts using contacts plugin v2.0.1 with the 
> following code 
> var options  = new ContactFindOptions();
> options.filter   = "";
> options.multiple = true;
> var fields = ["displayName","phoneNumbers"];
>   
> navigator.contacts.find(fields, gotContacts, errorHandler, options);
> This throws me an SyntaxError: Unexpected EOF in iPhone 6s models.
> I tested the same in iPhone 5s and iPhone 6, this works fine. Also it works 
> fine in iPhone 6s Simulator.
> I tested in three iPhone 6s phones where the iOS is 9.3 for two phones and 
> 9.2.1 for one.
> All three phones have contacts more than 400.
> All three returned me the same error. 



--
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-11010) Unexpected EOF while finding contacts in iPhone 6s

2016-10-25 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov commented on CB-11010:
---

Hey, guys. We were trying to reproduce the exception, but it seems to be caused 
by some specially formatted contacts, so it doesn't happen for us. Any ideas, 
how we can get a stable repro? Also it would be great if someone could provide 
more details about the error: does it happen on JS or native side? are there 
any logs available in XCode or {{cordova log}} (to get it run 
{{./platforms/ios/cordova/log}} from your shell)?

> Unexpected EOF while finding contacts in iPhone 6s
> --
>
> Key: CB-11010
> URL: https://issues.apache.org/jira/browse/CB-11010
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Contacts
>Affects Versions: 2.0.0
> Environment: iOS 9.2.1, iOS 9.3 in iPhone 6s
>Reporter: Gowtham
>  Labels: iOS, mustfix, triaged
>
> I tried accessing the contacts using contacts plugin v2.0.1 with the 
> following code 
> var options  = new ContactFindOptions();
> options.filter   = "";
> options.multiple = true;
> var fields = ["displayName","phoneNumbers"];
>   
> navigator.contacts.find(fields, gotContacts, errorHandler, options);
> This throws me an SyntaxError: Unexpected EOF in iPhone 6s models.
> I tested the same in iPhone 5s and iPhone 6, this works fine. Also it works 
> fine in iPhone 6s Simulator.
> I tested in three iPhone 6s phones where the iOS is 9.3 for two phones and 
> 9.2.1 for one.
> All three phones have contacts more than 400.
> All three returned me the same error. 



--
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-11532) Contacts EOF error on iOS

2016-10-25 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov updated CB-11532:
--
Labels: contacts ios wfc  (was: contacts ios)

> Contacts EOF error on iOS
> -
>
> Key: CB-11532
> URL: https://issues.apache.org/jira/browse/CB-11532
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Contacts
>Affects Versions: 2.1.1
> Environment: Cordova CLI: 6.2.0
> Gulp version:  CLI version 3.9.0
> Gulp local:   Local version 3.9.1
> Ionic Framework Version: 2.0.0-beta.7
> Ionic CLI Version: 2.0.0-beta.32
> Ionic App Lib Version: 2.0.0-beta.18
> ios-deploy version: 1.8.5
> ios-sim version: 4.1.1
> OS: Mac OS X El Capitan
> Node Version: v4.1.1
> Xcode version: Xcode 7.3 Build version 7D175
>Reporter: Phil Benoit
>  Labels: contacts, ios, wfc
>
> When importing contacts from Google or Facebook the plugin crashes as it is 
> not able to handle the imported characters. 
> The error is - Syntax error: EOF reached
> Here is a list of real world contacts imported from Google that cause the 
> issue. 
> Gökmen
> Brûlé
> França
> ادوارد
> Gabby ••••
> Damián M.A.
> I have a fix for this that has been implemented in a live app. I will be 
> sending a pull request to the repo for review but wanted to log this incase 
> there were others coming across the same issue.  



--
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-11532) Contacts EOF error on iOS

2016-10-25 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov reassigned CB-11532:
-

Assignee: Vladimir Kotikov

> Contacts EOF error on iOS
> -
>
> Key: CB-11532
> URL: https://issues.apache.org/jira/browse/CB-11532
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Contacts
>Affects Versions: 2.1.1
> Environment: Cordova CLI: 6.2.0
> Gulp version:  CLI version 3.9.0
> Gulp local:   Local version 3.9.1
> Ionic Framework Version: 2.0.0-beta.7
> Ionic CLI Version: 2.0.0-beta.32
> Ionic App Lib Version: 2.0.0-beta.18
> ios-deploy version: 1.8.5
> ios-sim version: 4.1.1
> OS: Mac OS X El Capitan
> Node Version: v4.1.1
> Xcode version: Xcode 7.3 Build version 7D175
>Reporter: Phil Benoit
>Assignee: Vladimir Kotikov
>  Labels: contacts, ios, wfc
>
> When importing contacts from Google or Facebook the plugin crashes as it is 
> not able to handle the imported characters. 
> The error is - Syntax error: EOF reached
> Here is a list of real world contacts imported from Google that cause the 
> issue. 
> Gökmen
> Brûlé
> França
> ادوارد
> Gabby ••••
> Damián M.A.
> I have a fix for this that has been implemented in a live app. I will be 
> sending a pull request to the repo for review but wanted to log this incase 
> there were others coming across the same issue.  



--
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-11532) Contacts EOF error on iOS

2016-10-25 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov commented on CB-11532:
---

[~philbenoit], I know you have sent a PR for this, but i'd like to take a look 
at the problem once more. It looks somewhat similar to one from CB-11010 but I 
wasn't able to specify neither that one nor yours. Creating contacts with 
exactly the same names as you mentioned in google, importing them to the phone 
and then retrieving via {{contacts.find}} doesn't produce any error's for me.

Do you have any other information that might help reproduce the problem? Also, 
does that error message comes from JS or native code? in latter case there 
should be logs in xcode console with some details about the exception.

> Contacts EOF error on iOS
> -
>
> Key: CB-11532
> URL: https://issues.apache.org/jira/browse/CB-11532
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Contacts
>Affects Versions: 2.1.1
> Environment: Cordova CLI: 6.2.0
> Gulp version:  CLI version 3.9.0
> Gulp local:   Local version 3.9.1
> Ionic Framework Version: 2.0.0-beta.7
> Ionic CLI Version: 2.0.0-beta.32
> Ionic App Lib Version: 2.0.0-beta.18
> ios-deploy version: 1.8.5
> ios-sim version: 4.1.1
> OS: Mac OS X El Capitan
> Node Version: v4.1.1
> Xcode version: Xcode 7.3 Build version 7D175
>Reporter: Phil Benoit
>  Labels: contacts, ios, wfc
>
> When importing contacts from Google or Facebook the plugin crashes as it is 
> not able to handle the imported characters. 
> The error is - Syntax error: EOF reached
> Here is a list of real world contacts imported from Google that cause the 
> issue. 
> Gökmen
> Brûlé
> França
> ادوارد
> Gabby ••••
> Damián M.A.
> I have a fix for this that has been implemented in a live app. I will be 
> sending a pull request to the repo for review but wanted to log this incase 
> there were others coming across the same issue.  



--
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-12046) cordova prepare needed for iOS in case of Xcode 8

2016-10-24 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov commented on CB-12046:
---

Dupe of CB-11731?

> cordova prepare needed for iOS in case of Xcode 8
> -
>
> Key: CB-12046
> URL: https://issues.apache.org/jira/browse/CB-12046
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS
>Reporter: Chris Brody
>
> After upgrading to Xcode 8, if I add cordova-sqlite-storage and add the ios 
> platform, I have to do cordova prepare before I am able to run the project on 
> iOS. I encounter the same thing if I make a test app with 
> cordova-plugin-dialogs. I started to discuss this in: 
> https://github.com/cordova/cordova-discuss/issues/55
> I think this helps explain both the problem and workaround solution in 
> https://github.com/litehelpers/Cordova-sqlite-storage/issues/567 ("iOS 10 
> support") and 
> https://github.com/litehelpers/Cordova-sqlcipher-adapter/issues/22 
> ("WKWebView incompatible").
> Note that this is NOT an issue with the macOS ("osx") platform.



--
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-9333) Icon or splash screen file that has readonly attribute causes cordova prapare to fail

2016-10-21 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov updated CB-9333:
-
Component/s: (was: Windows)
 Android

> Icon or splash screen file that has readonly attribute causes cordova prapare 
> to fail
> -
>
> Key: CB-9333
> URL: https://issues.apache.org/jira/browse/CB-9333
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Android
> Environment: Windows 8
>Reporter: Roman Viskin
>Priority: Minor
>  Labels: triaged
>
> Steps to reproduce:
> Create project.
> cordova platform add android --save
> Edit config.xml, add
> 
> Where res/icon.png is file with readonly attribute set.
> Run cordova prepare.
> "Error: EPERM, operation not permitted" error will raise, with attached stack 
> trace.
> Remove read only attributre, run cordova prepare again.
> The prepare will run successfully.
> Bug: read only attribute should not cause the failure.
> ---
> at Object.fs.unlinkSync (fs.js:765:18)
> at android_parser.deleteDefaultResource 
> (C:\Users\romanv\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\src\cordova\metadata\android_parser.js:80:20)
> at android_parser.handleIcons 
> (C:\Users\romanv\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\src\cordova\metadata\android_parser.js:143:10)
> at android_parser.update_from_config 
> (C:\Users\romanv\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\src\cordova\metadata\android_parser.js:214:10)
> at android_parser.update_project 
> (C:\Users\romanv\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\src\cordova\metadata\android_parser.js:335:14)
> at 
> C:\Users\romanv\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\src\cordova\prepare.js:126:27
> at Array.map (native)
> at 
> C:\Users\romanv\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\src\cordova\prepare.js:70:40
> at _fulfilled 
> (C:\Users\romanv\AppData\Roaming\npm\node_modules\cordova\node_modules\q\q.js:787:54)
> at self.promiseDispatch.done 
> (C:\Users\romanv\AppData\Roaming\npm\node_modules\cordova\node_modules\q\q.js:816:30)



--
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-12042) Windows non-CLI project does not include WinJS folder

2016-10-21 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov resolved CB-12042.
---
Resolution: Fixed

> Windows non-CLI project does not include WinJS folder
> -
>
> Key: CB-12042
> URL: https://issues.apache.org/jira/browse/CB-12042
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Windows
>Reporter: Sergey Shakhnazarov
>  Labels: triaged, windows
>
> * npm install cordova-windows@4.4.2
> * node node_modules\cordova-windows\bin\create .\windowsTest 
> org.apache.cordova.test windowsTest
> * cd windowsTest2 && .\cordova\build
> * Open solution in Visual Studio and observe that WinJS folder is not 
> included into the project
> * Run the app and observe error in the JavaScript console:
> {{APPHOST9623: The app couldn’t resolve 
> ms-appx://org.apache.cordova.test/www/WinJS/js/base.js because of this error: 
> DATA_NOT_AVAILABLE.}}
> It prevents onWinJSReady from firing thus disabling activated, checkpoint, 
> backbutton and resuming event handling.



--
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-12036) Exception on prepare when no SplashScreen node not found in manifest

2016-10-21 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov resolved CB-12036.
---
Resolution: Fixed

> Exception on prepare when no SplashScreen node not found in manifest
> 
>
> Key: CB-12036
> URL: https://issues.apache.org/jira/browse/CB-12036
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Windows
>Affects Versions: 4.4.3
>Reporter: Giuseppe La Torre
>Priority: Minor
>
> This is a mirror of the pull: 
> https://github.com/apache/cordova-windows/pull/196
> The issue is:
> running prepare, the function setSplashBgColor on AppManifest.js throws 
> exception when then splashscreen node is not found in the manifest.
> The scenario:
> Windows allows to have an app with NO splashscreen at all. You can either 
> remove the node manually or, like me, use a hook to remove it because cordova 
> actually doesn't support such a feature.
> So, the code in that function crashes because it assumes a splashscreen 
> exists, but the node is optional in the manifest.
> The solution is easy: check if the node exists before doing stuff. No more 
> than that. The pull request implements that simply if.
> Please, don't delay because the missing feature. The issue is beyond that, 
> the code is wrong because the assumption is false.



--
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-12026) JavaScript interpreter problem

2016-10-21 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov commented on CB-12026:
---

Cordova itself doesn't interpret javascript - it delegates this to Android 
WebView, which is not the same thing as Android browser. That's why the code, 
working in browser doesn't work in Cordova. Also i'm not sure but perhaps 
Samsung might have it's own implementation of WebView on board, which might 
have some divergences with Google.

> JavaScript interpreter problem
> --
>
> Key: CB-12026
> URL: https://issues.apache.org/jira/browse/CB-12026
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Device, Plugin Network Information, Plugin 
> Statusbar, Plugin Vibration, Plugin Whitelist
>Affects Versions: 6.3.1
> Environment: Ubuntu 14.04 LTS x86
>Reporter: Amir Karimi
>  Labels: triaged
> Fix For: 6.3.1
>
>
> Hi, I use cordova after about 1 mount again but got error same this:
> "Uncaught SyntaxError: Unexpected token =" common.js:157
> at this line of code and some other lines this got error i set default value 
> of function parameters. same this:   function login(id,name="test",age=5)
> This do not got error before and work be fine... but now got error...
> Thanks for reading.



--
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-12026) JavaScript interpreter problem

2016-10-20 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov commented on CB-12026:
---

??because i check JS interpreter with external web page?? - could you please 
explain what did you mean?

> JavaScript interpreter problem
> --
>
> Key: CB-12026
> URL: https://issues.apache.org/jira/browse/CB-12026
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Device, Plugin Network Information, Plugin 
> Statusbar, Plugin Vibration, Plugin Whitelist
>Affects Versions: 6.3.1
> Environment: Ubuntu 14.04 LTS x86
>Reporter: Amir Karimi
>  Labels: triaged
> Fix For: 6.3.1
>
>
> Hi, I use cordova after about 1 mount again but got error same this:
> "Uncaught SyntaxError: Unexpected token =" common.js:157
> at this line of code and some other lines this got error i set default value 
> of function parameters. same this:   function login(id,name="test",age=5)
> This do not got error before and work be fine... but now got error...
> Thanks for reading.



--
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-12026) JavaScript interpreter problem

2016-10-20 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov commented on CB-12026:
---

Does this happens for you consistently on different devices? What device are 
you using for testing?

> JavaScript interpreter problem
> --
>
> Key: CB-12026
> URL: https://issues.apache.org/jira/browse/CB-12026
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Device, Plugin Network Information, Plugin 
> Statusbar, Plugin Vibration, Plugin Whitelist
>Affects Versions: 6.3.1
> Environment: Ubuntu 14.04 LTS x86
>Reporter: Amir Karimi
>  Labels: triaged
> Fix For: 6.3.1
>
>
> Hi, I use cordova after about 1 mount again but got error same this:
> "Uncaught SyntaxError: Unexpected token =" common.js:157
> at this line of code and some other lines this got error i set default value 
> of function parameters. same this:   function login(id,name="test",age=5)
> This do not got error before and work be fine... but now got error...
> Thanks for reading.



--
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-10-20 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov updated CB-10765:
--
Labels: cannot-reproduce wfc windows  (was: no-repro wfc windows)

> 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: Bug
>  Components: Windows
>Affects Versions: 5.4.1
> Environment: windows phone 8.1
>Reporter: Ishan Deb
>Priority: Critical
>  Labels: cannot-reproduce, wfc, 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] [Updated] (CB-12026) JavaScript interpreter problem

2016-10-20 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov updated CB-12026:
--
Labels: triaged  (was: )

> JavaScript interpreter problem
> --
>
> Key: CB-12026
> URL: https://issues.apache.org/jira/browse/CB-12026
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Device, Plugin Network Information, Plugin 
> Statusbar, Plugin Vibration, Plugin Whitelist
>Affects Versions: 6.3.1
> Environment: Ubuntu 14.04 LTS x86
>Reporter: Amir Karimi
>  Labels: triaged
> Fix For: 6.3.1
>
>
> Hi, I use cordova after about 1 mount again but got error same this:
> "Uncaught SyntaxError: Unexpected token =" common.js:157
> at this line of code and some other lines this got error i set default value 
> of function parameters. same this:   function login(id,name="test",age=5)
> This do not got error before and work be fine... but now got error...
> Thanks for reading.



--
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-12026) JavaScript interpreter problem

2016-10-20 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov commented on CB-12026:
---

Not sure what is the platform, you're developing for, but i guess this is 
because it doesn't support default functions parameters syntax from ES6. 
Consider using transpiler, such as Babel, to convert your JavaScript to ES5 
syntax.

Closing this as this is not a cordova issue

> JavaScript interpreter problem
> --
>
> Key: CB-12026
> URL: https://issues.apache.org/jira/browse/CB-12026
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Device, Plugin Network Information, Plugin 
> Statusbar, Plugin Vibration, Plugin Whitelist
>Affects Versions: 6.3.1
> Environment: Ubuntu 14.04 LTS x86
>Reporter: Amir Karimi
>  Labels: triaged
> Fix For: 6.3.1
>
>
> Hi, I use cordova after about 1 mount again but got error same this:
> "Uncaught SyntaxError: Unexpected token =" common.js:157
> at this line of code and some other lines this got error i set default value 
> of function parameters. same this:   function login(id,name="test",age=5)
> This do not got error before and work be fine... but now got error...
> Thanks for reading.



--
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-12026) JavaScript interpreter problem

2016-10-20 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov closed CB-12026.
-
Resolution: Not A Bug

> JavaScript interpreter problem
> --
>
> Key: CB-12026
> URL: https://issues.apache.org/jira/browse/CB-12026
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Device, Plugin Network Information, Plugin 
> Statusbar, Plugin Vibration, Plugin Whitelist
>Affects Versions: 6.3.1
> Environment: Ubuntu 14.04 LTS x86
>Reporter: Amir Karimi
>  Labels: triaged
> Fix For: 6.3.1
>
>
> Hi, I use cordova after about 1 mount again but got error same this:
> "Uncaught SyntaxError: Unexpected token =" common.js:157
> at this line of code and some other lines this got error i set default value 
> of function parameters. same this:   function login(id,name="test",age=5)
> This do not got error before and work be fine... but now got error...
> Thanks for reading.



--
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-11933) [windows] uap: not added on plugin add

2016-10-20 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov resolved CB-11933.
---
Resolution: Fixed

> [windows] uap: not added on plugin add
> --
>
> Key: CB-11933
> URL: https://issues.apache.org/jira/browse/CB-11933
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Windows
>Reporter: Sergey Shakhnazarov
>Assignee: Nikita Matrosov
>
> {noformat}
> cordova create test
> cd test
> cordova platform add https://github.com/apache/cordova-windows
> cordova plugin add 
> https://github.com/AzureAD/azure-activedirectory-library-for-cordova
> cordova plugin add plugins\cordova-plugin-ms-adal\src\windows\sso\
> type platforms\windows\package.windows10.appxmanifest
> {noformat}
> ->
> {noformat}
> 
> 
> 
> 
> 
> 
> {noformat}
> {{cordova prepare}}
> {noformat}
> type platforms\windows\package.windows10.appxmanifest
> {noformat}
> {noformat}
> 
> 
> 
> 
> 
> 
> {noformat}
> {{cordova plugin rm cordova-plugin-ms-adal-sso}}
> {noformat}
> type platforms\windows\package.windows10.appxmanifest
> {noformat}
> {noformat}
> 
> 
> 
> 
> 
> {noformat}
> 1. uap: prefixes not being added on plugin add
> 2. cordova prepare fixes this
> 3. plugin rm does not remove added capabilities as they have been changed
> cordova-plugin-ms-adal-sso plugin.xml:
> {noformat}
> 
> 
> 
> 
>  parent="/Package/Capabilities" device-target="windows">
> 
> 
> 
> 
> 
> {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] [Commented] (CB-10593) captureVideo: Android 6.0.1 camera crashes if video exceeds duration

2016-10-19 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov commented on CB-10593:
---

[~geoffreybauduin], ping.

> captureVideo: Android 6.0.1 camera crashes if video exceeds duration
> 
>
> Key: CB-10593
> URL: https://issues.apache.org/jira/browse/CB-10593
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Media Capture
> Environment: cordova-android@4.1.1
>Reporter: Geoffrey Bauduin
>Assignee: Vladimir Kotikov
>  Labels: Android, android, wfc
>
> I use this plugin in order to capture a video that can last, at most, 10 
> seconds.
> {code:title=camera.ts|borderStyle=solid}
> this.window["navigator"]["device"]["capture"].captureVideo((data:any) => {
>   if (data.length > 0) {
> observer.next(data[0].fullPath);
>   } else {
> observer.error("Cannot find recorded video");
>   }
> }, (error:string) => {
>   console.error("Cannot get video from camera:", error);
>   observer.error(error);
> }, {
>   duration: 10,
>   limit: 1,
>   quality: 0
> });
> {code}
> Everything is working as intended when I stop the video by myself before the 
> 10 seconds, but if my video exceeds 10 seconds, the camera application 
> crashes.



--
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-11523) Unhandled null pointer on mediacapture cancel

2016-10-19 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov reassigned CB-11523:
-

Assignee: Vladimir Kotikov

> Unhandled null pointer on mediacapture cancel
> -
>
> Key: CB-11523
> URL: https://issues.apache.org/jira/browse/CB-11523
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Media Capture
>Affects Versions: 1.2.0
> Environment: Android 4.4.2
>Reporter: Jan Kalina
>Assignee: Vladimir Kotikov
>  Labels: Android, wfc
>
> When selection of media in mediacapture is canceled:
> E/AndroidRuntime( 5307): java.lang.NullPointerException
> E/AndroidRuntime( 5307):  at 
> org.apache.cordova.mediacapture.Capture.createMediaFile(Capture.java:452)
> E/AndroidRuntime( 5307):  at 
> org.apache.cordova.mediacapture.Capture.access$000(Capture.java:54)
> E/AndroidRuntime( 5307):  at 
> org.apache.cordova.mediacapture.Capture$1.run(Capture.java:286)
> E/AndroidRuntime( 5307):  at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
> E/AndroidRuntime( 5307):  at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
> E/AndroidRuntime( 5307):  at java.lang.Thread.run(Thread.java:841)
> (and Cordova application is killed)



--
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-11523) Unhandled null pointer on mediacapture cancel

2016-10-19 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov updated CB-11523:
--
Labels: Android wfc  (was: )

> Unhandled null pointer on mediacapture cancel
> -
>
> Key: CB-11523
> URL: https://issues.apache.org/jira/browse/CB-11523
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Media Capture
>Affects Versions: 1.2.0
> Environment: Android 4.4.2
>Reporter: Jan Kalina
>  Labels: Android, wfc
>
> When selection of media in mediacapture is canceled:
> E/AndroidRuntime( 5307): java.lang.NullPointerException
> E/AndroidRuntime( 5307):  at 
> org.apache.cordova.mediacapture.Capture.createMediaFile(Capture.java:452)
> E/AndroidRuntime( 5307):  at 
> org.apache.cordova.mediacapture.Capture.access$000(Capture.java:54)
> E/AndroidRuntime( 5307):  at 
> org.apache.cordova.mediacapture.Capture$1.run(Capture.java:286)
> E/AndroidRuntime( 5307):  at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
> E/AndroidRuntime( 5307):  at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
> E/AndroidRuntime( 5307):  at java.lang.Thread.run(Thread.java:841)
> (and Cordova application is killed)



--
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-11523) Unhandled null pointer on mediacapture cancel

2016-10-19 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov commented on CB-11523:
---

[~honza889], is this issue still actual? Are you still experiencing the 
crashes? If so, please provide more detailed informaiton, specifically cordova, 
cordova-android and installed plugins' versions (run 'cordova --version && 
cordova platform ls && cordova plugin ls' in your project). Also, does this 
happens on some specific device?

> Unhandled null pointer on mediacapture cancel
> -
>
> Key: CB-11523
> URL: https://issues.apache.org/jira/browse/CB-11523
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Media Capture
>Affects Versions: 1.2.0
> Environment: Android 4.4.2
>Reporter: Jan Kalina
>
> When selection of media in mediacapture is canceled:
> E/AndroidRuntime( 5307): java.lang.NullPointerException
> E/AndroidRuntime( 5307):  at 
> org.apache.cordova.mediacapture.Capture.createMediaFile(Capture.java:452)
> E/AndroidRuntime( 5307):  at 
> org.apache.cordova.mediacapture.Capture.access$000(Capture.java:54)
> E/AndroidRuntime( 5307):  at 
> org.apache.cordova.mediacapture.Capture$1.run(Capture.java:286)
> E/AndroidRuntime( 5307):  at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
> E/AndroidRuntime( 5307):  at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
> E/AndroidRuntime( 5307):  at java.lang.Thread.run(Thread.java:841)
> (and Cordova application is killed)



--
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-11933) [windows] uap: not added on plugin add

2016-10-17 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov commented on CB-11933:
---

Keeping this open since Github PR 202 has fixed only the second part 
(capabilities removal). The first part (capabiltiest are not get added at 
plugin install time) was caused by changes in cordova-lib and requires some 
additional work to be done (i suggest adding a special logic to Windows' 
ConfigChanges override to add prefixes at plugin installation time)

> [windows] uap: not added on plugin add
> --
>
> Key: CB-11933
> URL: https://issues.apache.org/jira/browse/CB-11933
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Windows
>Reporter: Sergey Shakhnazarov
>Assignee: Nikita Matrosov
>
> {noformat}
> cordova create test
> cd test
> cordova platform add https://github.com/apache/cordova-windows
> cordova plugin add 
> https://github.com/AzureAD/azure-activedirectory-library-for-cordova
> cordova plugin add plugins\cordova-plugin-ms-adal\src\windows\sso\
> type platforms\windows\package.windows10.appxmanifest
> {noformat}
> ->
> {noformat}
> 
> 
> 
> 
> 
> 
> {noformat}
> {{cordova prepare}}
> {noformat}
> type platforms\windows\package.windows10.appxmanifest
> {noformat}
> {noformat}
> 
> 
> 
> 
> 
> 
> {noformat}
> {{cordova plugin rm cordova-plugin-ms-adal-sso}}
> {noformat}
> type platforms\windows\package.windows10.appxmanifest
> {noformat}
> {noformat}
> 
> 
> 
> 
> 
> {noformat}
> 1. uap: prefixes not being added on plugin add
> 2. cordova prepare fixes this
> 3. plugin rm does not remove added capabilities as they have been changed
> cordova-plugin-ms-adal-sso plugin.xml:
> {noformat}
> 
> 
> 
> 
>  parent="/Package/Capabilities" device-target="windows">
> 
> 
> 
> 
> 
> {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-11967) Cordova Plugin default preferences loaded as 'undefined' value inside cordova project.

2016-10-15 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov updated CB-11967:
--
Component/s: CordovaLib

> Cordova Plugin default preferences loaded as 'undefined' value inside cordova 
> project.
> --
>
> Key: CB-11967
> URL: https://issues.apache.org/jira/browse/CB-11967
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CordovaLib
>Affects Versions: 6.3.1
>Reporter: Iñaki Vitoria
>Assignee: Nikita Matrosov
>  Labels: reproduced, triaged
>
> Scenario
> 
> Creating a new cordova Plugin.
> Setting preferences and default values in different platforms inside 
> plugin.xml file.
> Once the plugin is added to the project and built, resultant DEFAULT values 
> aren´t loaded and set to 'undefined'.
> PROJECT SAMPLE CODE PROVIDED
> 
> Only relevant lines of code are included, everything else has been removed 
> since is automatically generated by cordova.
> 
>  
> xmlns="http://www.phonegap.com/ns/plugins/1.0";
> xmlns:android="http://schemas.android.com/apk/res/android";>
> Plugin
> 
> 
> 
> 
> 
> 
> 
> 
> 
>
> 
> 
> 
> 
> 
> 
> 
> 
> 
> Given the following preference configuration and default values PROVIDED
> the resultant config.xml file inside res/xml/config.xml (android example) 
> contains all default values set to 'undefined'
> 
> 
> 
> 
> 



--
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-11967) Cordova Plugin default preferences loaded as 'undefined' value inside cordova project.

2016-10-15 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov closed CB-11967.
-
Resolution: Fixed

> Cordova Plugin default preferences loaded as 'undefined' value inside cordova 
> project.
> --
>
> Key: CB-11967
> URL: https://issues.apache.org/jira/browse/CB-11967
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CordovaLib
>Affects Versions: 6.3.1
>Reporter: Iñaki Vitoria
>Assignee: Nikita Matrosov
>  Labels: reproduced, triaged
>
> Scenario
> 
> Creating a new cordova Plugin.
> Setting preferences and default values in different platforms inside 
> plugin.xml file.
> Once the plugin is added to the project and built, resultant DEFAULT values 
> aren´t loaded and set to 'undefined'.
> PROJECT SAMPLE CODE PROVIDED
> 
> Only relevant lines of code are included, everything else has been removed 
> since is automatically generated by cordova.
> 
>  
> xmlns="http://www.phonegap.com/ns/plugins/1.0";
> xmlns:android="http://schemas.android.com/apk/res/android";>
> Plugin
> 
> 
> 
> 
> 
> 
> 
> 
> 
>
> 
> 
> 
> 
> 
> 
> 
> 
> 
> Given the following preference configuration and default values PROVIDED
> the resultant config.xml file inside res/xml/config.xml (android example) 
> contains all default values set to 'undefined'
> 
> 
> 
> 
> 



--
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-11967) Cordova Plugin default preferences loaded as 'undefined' value inside cordova project.

2016-10-15 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov updated CB-11967:
--
Labels: reproduced triaged  (was: )

> Cordova Plugin default preferences loaded as 'undefined' value inside cordova 
> project.
> --
>
> Key: CB-11967
> URL: https://issues.apache.org/jira/browse/CB-11967
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CordovaLib
>Affects Versions: 6.3.1
>Reporter: Iñaki Vitoria
>Assignee: Nikita Matrosov
>  Labels: reproduced, triaged
>
> Scenario
> 
> Creating a new cordova Plugin.
> Setting preferences and default values in different platforms inside 
> plugin.xml file.
> Once the plugin is added to the project and built, resultant DEFAULT values 
> aren´t loaded and set to 'undefined'.
> PROJECT SAMPLE CODE PROVIDED
> 
> Only relevant lines of code are included, everything else has been removed 
> since is automatically generated by cordova.
> 
>  
> xmlns="http://www.phonegap.com/ns/plugins/1.0";
> xmlns:android="http://schemas.android.com/apk/res/android";>
> Plugin
> 
> 
> 
> 
> 
> 
> 
> 
> 
>
> 
> 
> 
> 
> 
> 
> 
> 
> 
> Given the following preference configuration and default values PROVIDED
> the resultant config.xml file inside res/xml/config.xml (android example) 
> contains all default values set to 'undefined'
> 
> 
> 
> 
> 



--
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-11951) Plugin preference default value is not being saved to .json

2016-10-15 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov closed CB-11951.
-
Resolution: Fixed

> Plugin preference default value is not being saved to .json
> -
>
> Key: CB-11951
> URL: https://issues.apache.org/jira/browse/CB-11951
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CLI, CordovaLib
>Affects Versions: 6.3.1
> Environment: Windows 10 with anniversary update
>Reporter: Alexander Sorokin
>Assignee: Nikita Matrosov
>
> Plugin preference default value is not being saved to .json
> {noformat}
> cordova create foo
> cd foo
> cordova platform add android
> cordova plugin add cordova-plugin-ms-azure-mobile-engagement --variable 
> AZME_ANDROID_CONNECTION_STRING=Endpoint=0;AppId=0;SdkKey=0 --variable 
> AZME_ENABLE_PLUGIN_LOG=false
> {noformat}
> check out `./platforms/android/android.json` or `./pluguns/android.json`
> it has the following lines:
> {code}
> "installed_plugins": {
> <...>
> "cordova-plugin-ms-azure-mobile-engagement": {
> "AZME_ENABLE_PLUGIN_LOG": "false",
> "AZME_ANDROID_GOOGLE_PROJECT_NUMBER": "null",
> "AZME_ANDROID_REACH_ICON": "icon",
> "AZME_ANDROID_CONNECTION_STRING": "Endpoint=0;AppId=0;SdkKey=0",
> "PACKAGE_NAME": "io.cordova.hellocordova"
> }
> },
> {code}
> You can see that "AZME_ENABLE_PLUGIN_LOG" is saved here, while 
> "AZME_ENABLE_NATIVE_LOG" is not.
> They both can be found in the plugin section of the  plugin's `plugin.xml` 
> file:
> https://github.com/Azure/azure-mobile-engagement-cordova/blob/master/plugin.xml#L29
> Note that the Android-specific preferences have been saved correctly.
> cordova@6.3.0 doesn't have this issue.



--
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-11967) Cordova Plugin default preferences loaded as 'undefined' value inside cordova project.

2016-10-15 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov updated CB-11967:
--
Assignee: Nikita Matrosov

> Cordova Plugin default preferences loaded as 'undefined' value inside cordova 
> project.
> --
>
> Key: CB-11967
> URL: https://issues.apache.org/jira/browse/CB-11967
> Project: Apache Cordova
>  Issue Type: Bug
>Affects Versions: 6.3.1
>Reporter: Iñaki Vitoria
>Assignee: Nikita Matrosov
>
> Scenario
> 
> Creating a new cordova Plugin.
> Setting preferences and default values in different platforms inside 
> plugin.xml file.
> Once the plugin is added to the project and built, resultant DEFAULT values 
> aren´t loaded and set to 'undefined'.
> PROJECT SAMPLE CODE PROVIDED
> 
> Only relevant lines of code are included, everything else has been removed 
> since is automatically generated by cordova.
> 
>  
> xmlns="http://www.phonegap.com/ns/plugins/1.0";
> xmlns:android="http://schemas.android.com/apk/res/android";>
> Plugin
> 
> 
> 
> 
> 
> 
> 
> 
> 
>
> 
> 
> 
> 
> 
> 
> 
> 
> 
> Given the following preference configuration and default values PROVIDED
> the resultant config.xml file inside res/xml/config.xml (android example) 
> contains all default values set to 'undefined'
> 
> 
> 
> 
> 



--
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-11825) Windows dll file won't be copied as resource while adding custom plugin to a UWP project

2016-10-13 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov closed CB-11825.
-
Resolution: Fixed

> Windows dll file won't be copied as resource while adding custom plugin to a 
> UWP project
> 
>
> Key: CB-11825
> URL: https://issues.apache.org/jira/browse/CB-11825
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugins, Windows
>Affects Versions: 6.3.1
> Environment: Windows10 UWP projects
>Reporter: Szabolcs Kubovics
>Priority: Critical
> Fix For: 6.3.2
>
>
> I have created a custom plugin which uses a Windows Runtime Component (e.g. 
> "foo.winmd") file. In this winmd I have a referenced library class (e.g. 
> "bar.dll").
> My plugin.xml looks like:
> 
>   ...  
>target="plugins/com.plugin.test.myPlugin/SayHelloLib.dll" 
> versions="<=0.0"/>
>   
> 
> With Cordova 6.2.0 the resource file will be copied to the target place and 
> if I add the plugin to a cordova project the winmd file will find it.
> With Cordova 6.3.1 the mentioned dll file won't be copied and I get 
> FileNotFoundException (because it is not there).
> "Exception calling native with command :: SayHelloToName :: sayHello 
> ::exception=WinRTError: The system cannot find the file specified.
> System.IO.FileNotFoundException: Could not load file or assembly 
> 'SayHelloLib, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one 
> of its dependencies. The system cannot find the file specified.
>at Plugin.Test.TestPlugin.getName(String name)
> cordova.js (993,13)"
> I created a test package to easily reproduce this scenario. The test 
> application can be downloaded from the external issue URL.
> - SayHelloLib: the library which is referred in the winmd (output of 
> PluginProject solution)
> - PluginProject: contains the plugin proxy and the dll resource as cross 
> referenced project (just for convenience)
> - MyPlugin: the custom plugin, contains the plugin .js and .xml files and 
> windows specific resources from PluginProject solution
> - www: the index.html, it has to be copied to the www folder of the newly 
> created Cordova project
> Repro steps:
> 1) build PluginProject project on x64 platform
> 2) copy built files:
>   PluginProject\MyTestPlugin\windows\src\myPlugin_proxy.js -> 
> MyPlugin\windows\src
>   
> PluginProject\Plugin.Test\Plugin.Test.UWP\bin\x64\Debug\Plugin.Test.winmd -> 
> MyPlugin\windows\windows10\bin 
>   PluginProject\Plugin.Test\Plugin.Test.UWP\bin\x64\Debug\SayHelloLib.dll 
> -> MyPlugin\windows\windows10\bin 
> 3) cordova create Cordova631 cordova631.test.plugin Cordova631
> 4) cd Cordova631
> 5) cordova platform add windows
> 6) cordova plugin add com.plugin.test.myPlugin --searchpath 
> 
> 7) copy file:
>   www\index.html -> Cordova631\platforms\windows\www
> 8) build the CordovaApp.sln on x64 platform
> 9) start the application
> 10) write something in the "Name" textbox
> 11) click "Say hello" button



--
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-11242) The platform-specific code for platforms w/ PlatformApi implemented should be removed in the next major release

2016-10-13 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov updated CB-11242:
--
Labels: cordova-7.0.0  (was: )

> The platform-specific code for platforms w/ PlatformApi implemented should be 
> removed in the next major release
> ---
>
> Key: CB-11242
> URL: https://issues.apache.org/jira/browse/CB-11242
> Project: Apache Cordova
>  Issue Type: Sub-task
>  Components: CordovaLib
>Reporter: Vladimir Kotikov
>  Labels: cordova-7.0.0
> Fix For: 7.0.0
>
>




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

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



[jira] [Updated] (CB-10644) Deprecate support for old versions of PlatformApi-enabled platforms

2016-10-13 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov updated CB-10644:
--
Labels: PlatformAPI PlatformApi  (was: PlatformAPI PlatformApi 
cordova-7.0.0)

> Deprecate support for old versions of PlatformApi-enabled platforms
> ---
>
> Key: CB-10644
> URL: https://issues.apache.org/jira/browse/CB-10644
> Project: Apache Cordova
>  Issue Type: Sub-task
>  Components: CordovaLib
>Affects Versions: 6.0.0
>Reporter: Vladimir Kotikov
>Assignee: Vladimir Kotikov
>  Labels: PlatformAPI, PlatformApi
>
> The list of platforms that currently have a PlatofrmApi implementation and 
> hence support for old versions of these platforms via PlatformApi polyfill 
> might be deprecated/removed:
> * cordova-android < 5
> * cordova-ios < 4
> * cordova-windows < 4.3.0
> * cordova-osx < 4



--
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-10644) Deprecate support for old versions of PlatformApi-enabled platforms

2016-10-13 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov updated CB-10644:
--
Labels: PlatformAPI PlatformApi cordova-7.0.0  (was: PlatformAPI 
PlatformApi)

> Deprecate support for old versions of PlatformApi-enabled platforms
> ---
>
> Key: CB-10644
> URL: https://issues.apache.org/jira/browse/CB-10644
> Project: Apache Cordova
>  Issue Type: Sub-task
>  Components: CordovaLib
>Affects Versions: 6.0.0
>Reporter: Vladimir Kotikov
>Assignee: Vladimir Kotikov
>  Labels: PlatformAPI, PlatformApi, cordova-7.0.0
>
> The list of platforms that currently have a PlatofrmApi implementation and 
> hence support for old versions of these platforms via PlatformApi polyfill 
> might be deprecated/removed:
> * cordova-android < 5
> * cordova-ios < 4
> * cordova-windows < 4.3.0
> * cordova-osx < 4



--
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-11990) Cordova prepare doesn't restore android.json and ios.json

2016-10-12 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov commented on CB-11990:
---

[~ymyhailova], which json file did you mean? Usually there are two 
.json files - {{/platforms//.json}} and 
{{/plugins/.json}}

> Cordova prepare doesn't restore android.json and ios.json
> -
>
> Key: CB-11990
> URL: https://issues.apache.org/jira/browse/CB-11990
> Project: Apache Cordova
>  Issue Type: Bug
>Affects Versions: 6.3.1
>Reporter: Yuliia Mykhailova
>Assignee: Audrey So
>
> If the platform specific .json of plugins was removed, cordova prepare 
> command doesn't re-create it, and as a result doesn't add plugins since 6.3.1 
> version, 6.3.0 is okay.



--
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-11523) Unhandled null pointer on mediacapture cancel

2016-10-10 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov commented on CB-11523:
---

[~akilawickey], are you still working on this? Were you able to reproduce the 
issue?

> Unhandled null pointer on mediacapture cancel
> -
>
> Key: CB-11523
> URL: https://issues.apache.org/jira/browse/CB-11523
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Media Capture
>Affects Versions: 1.2.0
> Environment: Android 4.4.2
>Reporter: Jan Kalina
>
> When selection of media in mediacapture is canceled:
> E/AndroidRuntime( 5307): java.lang.NullPointerException
> E/AndroidRuntime( 5307):  at 
> org.apache.cordova.mediacapture.Capture.createMediaFile(Capture.java:452)
> E/AndroidRuntime( 5307):  at 
> org.apache.cordova.mediacapture.Capture.access$000(Capture.java:54)
> E/AndroidRuntime( 5307):  at 
> org.apache.cordova.mediacapture.Capture$1.run(Capture.java:286)
> E/AndroidRuntime( 5307):  at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
> E/AndroidRuntime( 5307):  at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
> E/AndroidRuntime( 5307):  at java.lang.Thread.run(Thread.java:841)
> (and Cordova application is killed)



--
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-10593) captureVideo: Android 6.0.1 camera crashes if video exceeds duration

2016-10-10 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov reassigned CB-10593:
-

Assignee: Vladimir Kotikov

> captureVideo: Android 6.0.1 camera crashes if video exceeds duration
> 
>
> Key: CB-10593
> URL: https://issues.apache.org/jira/browse/CB-10593
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Media Capture
> Environment: cordova-android@4.1.1
>Reporter: Geoffrey Bauduin
>Assignee: Vladimir Kotikov
>  Labels: Android, android, wfc
>
> I use this plugin in order to capture a video that can last, at most, 10 
> seconds.
> {code:title=camera.ts|borderStyle=solid}
> this.window["navigator"]["device"]["capture"].captureVideo((data:any) => {
>   if (data.length > 0) {
> observer.next(data[0].fullPath);
>   } else {
> observer.error("Cannot find recorded video");
>   }
> }, (error:string) => {
>   console.error("Cannot get video from camera:", error);
>   observer.error(error);
> }, {
>   duration: 10,
>   limit: 1,
>   quality: 0
> });
> {code}
> Everything is working as intended when I stop the video by myself before the 
> 10 seconds, but if my video exceeds 10 seconds, the camera application 
> crashes.



--
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-10593) captureVideo: Android 6.0.1 camera crashes if video exceeds duration

2016-10-10 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov updated CB-10593:
--
Labels: Android android wfc  (was: android)

> captureVideo: Android 6.0.1 camera crashes if video exceeds duration
> 
>
> Key: CB-10593
> URL: https://issues.apache.org/jira/browse/CB-10593
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Media Capture
> Environment: cordova-android@4.1.1
>Reporter: Geoffrey Bauduin
>  Labels: Android, android, wfc
>
> I use this plugin in order to capture a video that can last, at most, 10 
> seconds.
> {code:title=camera.ts|borderStyle=solid}
> this.window["navigator"]["device"]["capture"].captureVideo((data:any) => {
>   if (data.length > 0) {
> observer.next(data[0].fullPath);
>   } else {
> observer.error("Cannot find recorded video");
>   }
> }, (error:string) => {
>   console.error("Cannot get video from camera:", error);
>   observer.error(error);
> }, {
>   duration: 10,
>   limit: 1,
>   quality: 0
> });
> {code}
> Everything is working as intended when I stop the video by myself before the 
> 10 seconds, but if my video exceeds 10 seconds, the camera application 
> crashes.



--
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-10593) captureVideo: Android 6.0.1 camera crashes if video exceeds duration

2016-10-10 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov commented on CB-10593:
---

[~GeoffreyB], could you please provide more details about the issue. 
Specifically the most interesting are plugin and cordova versions ({{cordova -v 
&& cordova plugin ls}}) and the device model and OS version. Does this happens 
for you every time when you stop the video? Does this reproduce on other 
devices?

Also it'd be great if you could provide a log output from device. To get an 
error log run {{. platforms/android/cordova/log}} in terminal from your cordova 
app directory.

> captureVideo: Android 6.0.1 camera crashes if video exceeds duration
> 
>
> Key: CB-10593
> URL: https://issues.apache.org/jira/browse/CB-10593
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Media Capture
> Environment: cordova-android@4.1.1
>Reporter: Geoffrey Bauduin
>  Labels: Android, android, wfc
>
> I use this plugin in order to capture a video that can last, at most, 10 
> seconds.
> {code:title=camera.ts|borderStyle=solid}
> this.window["navigator"]["device"]["capture"].captureVideo((data:any) => {
>   if (data.length > 0) {
> observer.next(data[0].fullPath);
>   } else {
> observer.error("Cannot find recorded video");
>   }
> }, (error:string) => {
>   console.error("Cannot get video from camera:", error);
>   observer.error(error);
> }, {
>   duration: 10,
>   limit: 1,
>   quality: 0
> });
> {code}
> Everything is working as intended when I stop the video by myself before the 
> 10 seconds, but if my video exceeds 10 seconds, the camera application 
> crashes.



--
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-11975) Search on Contacts ‘id’ field with JavaScript number type crashes in iOS

2016-10-10 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov updated CB-11975:
--
Labels: iOS ios reproduced triaged  (was: )

> Search on Contacts ‘id’ field with JavaScript number type crashes in iOS
> 
>
> Key: CB-11975
> URL: https://issues.apache.org/jira/browse/CB-11975
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Contacts
>Reporter: Andrew Forrest
>Priority: Critical
>  Labels: iOS, ios, reproduced, triaged
>
> I was trying to retrieve a specific contact by id in my Ionic/Cordova app, so 
> used the following code:
> {code:javascript}
> return Contacts.find(
>   ['id'],
>   {filter: contactId, multiple: true})
> {code}
> However, this crashes the iOS app at runtime with:
> {noformat}
> 2016-10-07 17:33:12.331 MyApp[10998:1880417] -[__NSCFNumber 
> isEqualToString:]: unrecognized selector sent to instance 0xb053
> 2016-10-07 17:33:12.337 MyApp[10998:1880417] *** Terminating app due to 
> uncaught exception 'NSInvalidArgumentException', reason: '-[__NSCFNumber 
> isEqualToString:]: unrecognized selector sent to instance 0xb053'
> *** First throw call stack:
> (
>   0   CoreFoundation  0x00010b0f334b 
> __exceptionPreprocess + 171
>   1   libobjc.A.dylib 0x00010ab2b21e 
> objc_exception_throw + 48
>   2   CoreFoundation  0x00010b162f34 
> -[NSObject(NSObject) doesNotRecognizeSelector:] + 132
>   3   CoreFoundation  0x00010b078c15 
> ___forwarding___ + 1013
>   4   CoreFoundation  0x00010b078798 
> _CF_forwarding_prep_0 + 120
>   5   MyApp   0x0001097217b7 
> __22-[CDVContacts search:]_block_invoke_2 + 983
>   6   MyApp   0x000109723760 
> __42-[CDVAddressBookHelper createAddressBook:]_block_invoke_2 + 368
>   7   libdispatch.dylib   0x00010e4450cd 
> _dispatch_client_callout + 8
>   8   libdispatch.dylib   0x00010e4275e5 
> _dispatch_barrier_sync_f_slow_invoke + 617
>   9   libdispatch.dylib   0x00010e4450cd 
> _dispatch_client_callout + 8
>   10  libdispatch.dylib   0x00010e4258d6 
> _dispatch_main_queue_callback_4CF + 406
>   11  CoreFoundation  0x00010b0b74f9 
> __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 9
>   12  CoreFoundation  0x00010b07cf8d 
> __CFRunLoopRun + 2205
>   13  CoreFoundation  0x00010b07c494 
> CFRunLoopRunSpecific + 420
>   14  GraphicsServices0x0001107aea6f 
> GSEventRunModal + 161
>   15  UIKit   0x00010be0df34 
> UIApplicationMain + 159
>   16  MyApp   0x00010962e531 main + 65
>   17  libdyld.dylib   0x00010e49168d start + 1
> )
> libc++abi.dylib: terminating with uncaught exception of type NSException
> (lldb) 
> {noformat}
> Seems to only fail when {{contactId}} is a JavaScript number. Converting it 
> to a string before searching ({{contactId+""}}) works fine.
> Fault originally occurred because Contact {{id}} field in iOS is an integer… 
> and it looks like I’m getting a JavaScript number value out of the Contacts 
> API. Was storing this integer in SQLite (which preserves the data type), 
> getting an integer back out, and passing it back into the {{Contacts.find()}} 
> API.
> Suggest:
>  * Contacts {{id}} field is supposed to return a string, so it should return 
> a string on iOS
>  * {{Contacts.find()}} should coerce its arguments to correct types before 
> calling native 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-11975) Search on Contacts ‘id’ field with JavaScript number type crashes in iOS

2016-10-10 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov updated CB-11975:
--
Assignee: Nikita Matrosov

> Search on Contacts ‘id’ field with JavaScript number type crashes in iOS
> 
>
> Key: CB-11975
> URL: https://issues.apache.org/jira/browse/CB-11975
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Contacts
>Reporter: Andrew Forrest
>Assignee: Nikita Matrosov
>Priority: Critical
>  Labels: iOS, ios, reproduced, triaged
>
> I was trying to retrieve a specific contact by id in my Ionic/Cordova app, so 
> used the following code:
> {code:javascript}
> return Contacts.find(
>   ['id'],
>   {filter: contactId, multiple: true})
> {code}
> However, this crashes the iOS app at runtime with:
> {noformat}
> 2016-10-07 17:33:12.331 MyApp[10998:1880417] -[__NSCFNumber 
> isEqualToString:]: unrecognized selector sent to instance 0xb053
> 2016-10-07 17:33:12.337 MyApp[10998:1880417] *** Terminating app due to 
> uncaught exception 'NSInvalidArgumentException', reason: '-[__NSCFNumber 
> isEqualToString:]: unrecognized selector sent to instance 0xb053'
> *** First throw call stack:
> (
>   0   CoreFoundation  0x00010b0f334b 
> __exceptionPreprocess + 171
>   1   libobjc.A.dylib 0x00010ab2b21e 
> objc_exception_throw + 48
>   2   CoreFoundation  0x00010b162f34 
> -[NSObject(NSObject) doesNotRecognizeSelector:] + 132
>   3   CoreFoundation  0x00010b078c15 
> ___forwarding___ + 1013
>   4   CoreFoundation  0x00010b078798 
> _CF_forwarding_prep_0 + 120
>   5   MyApp   0x0001097217b7 
> __22-[CDVContacts search:]_block_invoke_2 + 983
>   6   MyApp   0x000109723760 
> __42-[CDVAddressBookHelper createAddressBook:]_block_invoke_2 + 368
>   7   libdispatch.dylib   0x00010e4450cd 
> _dispatch_client_callout + 8
>   8   libdispatch.dylib   0x00010e4275e5 
> _dispatch_barrier_sync_f_slow_invoke + 617
>   9   libdispatch.dylib   0x00010e4450cd 
> _dispatch_client_callout + 8
>   10  libdispatch.dylib   0x00010e4258d6 
> _dispatch_main_queue_callback_4CF + 406
>   11  CoreFoundation  0x00010b0b74f9 
> __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 9
>   12  CoreFoundation  0x00010b07cf8d 
> __CFRunLoopRun + 2205
>   13  CoreFoundation  0x00010b07c494 
> CFRunLoopRunSpecific + 420
>   14  GraphicsServices0x0001107aea6f 
> GSEventRunModal + 161
>   15  UIKit   0x00010be0df34 
> UIApplicationMain + 159
>   16  MyApp   0x00010962e531 main + 65
>   17  libdyld.dylib   0x00010e49168d start + 1
> )
> libc++abi.dylib: terminating with uncaught exception of type NSException
> (lldb) 
> {noformat}
> Seems to only fail when {{contactId}} is a JavaScript number. Converting it 
> to a string before searching ({{contactId+""}}) works fine.
> Fault originally occurred because Contact {{id}} field in iOS is an integer… 
> and it looks like I’m getting a JavaScript number value out of the Contacts 
> API. Was storing this integer in SQLite (which preserves the data type), 
> getting an integer back out, and passing it back into the {{Contacts.find()}} 
> API.
> Suggest:
>  * Contacts {{id}} field is supposed to return a string, so it should return 
> a string on iOS
>  * {{Contacts.find()}} should coerce its arguments to correct types before 
> calling native 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-11975) Search on Contacts ‘id’ field with JavaScript number type crashes in iOS

2016-10-10 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov updated CB-11975:
--
Component/s: Plugin Contacts

> Search on Contacts ‘id’ field with JavaScript number type crashes in iOS
> 
>
> Key: CB-11975
> URL: https://issues.apache.org/jira/browse/CB-11975
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Contacts
>Reporter: Andrew Forrest
>Priority: Critical
>  Labels: iOS, ios, reproduced, triaged
>
> I was trying to retrieve a specific contact by id in my Ionic/Cordova app, so 
> used the following code:
> {code:javascript}
> return Contacts.find(
>   ['id'],
>   {filter: contactId, multiple: true})
> {code}
> However, this crashes the iOS app at runtime with:
> {noformat}
> 2016-10-07 17:33:12.331 MyApp[10998:1880417] -[__NSCFNumber 
> isEqualToString:]: unrecognized selector sent to instance 0xb053
> 2016-10-07 17:33:12.337 MyApp[10998:1880417] *** Terminating app due to 
> uncaught exception 'NSInvalidArgumentException', reason: '-[__NSCFNumber 
> isEqualToString:]: unrecognized selector sent to instance 0xb053'
> *** First throw call stack:
> (
>   0   CoreFoundation  0x00010b0f334b 
> __exceptionPreprocess + 171
>   1   libobjc.A.dylib 0x00010ab2b21e 
> objc_exception_throw + 48
>   2   CoreFoundation  0x00010b162f34 
> -[NSObject(NSObject) doesNotRecognizeSelector:] + 132
>   3   CoreFoundation  0x00010b078c15 
> ___forwarding___ + 1013
>   4   CoreFoundation  0x00010b078798 
> _CF_forwarding_prep_0 + 120
>   5   MyApp   0x0001097217b7 
> __22-[CDVContacts search:]_block_invoke_2 + 983
>   6   MyApp   0x000109723760 
> __42-[CDVAddressBookHelper createAddressBook:]_block_invoke_2 + 368
>   7   libdispatch.dylib   0x00010e4450cd 
> _dispatch_client_callout + 8
>   8   libdispatch.dylib   0x00010e4275e5 
> _dispatch_barrier_sync_f_slow_invoke + 617
>   9   libdispatch.dylib   0x00010e4450cd 
> _dispatch_client_callout + 8
>   10  libdispatch.dylib   0x00010e4258d6 
> _dispatch_main_queue_callback_4CF + 406
>   11  CoreFoundation  0x00010b0b74f9 
> __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 9
>   12  CoreFoundation  0x00010b07cf8d 
> __CFRunLoopRun + 2205
>   13  CoreFoundation  0x00010b07c494 
> CFRunLoopRunSpecific + 420
>   14  GraphicsServices0x0001107aea6f 
> GSEventRunModal + 161
>   15  UIKit   0x00010be0df34 
> UIApplicationMain + 159
>   16  MyApp   0x00010962e531 main + 65
>   17  libdyld.dylib   0x00010e49168d start + 1
> )
> libc++abi.dylib: terminating with uncaught exception of type NSException
> (lldb) 
> {noformat}
> Seems to only fail when {{contactId}} is a JavaScript number. Converting it 
> to a string before searching ({{contactId+""}}) works fine.
> Fault originally occurred because Contact {{id}} field in iOS is an integer… 
> and it looks like I’m getting a JavaScript number value out of the Contacts 
> API. Was storing this integer in SQLite (which preserves the data type), 
> getting an integer back out, and passing it back into the {{Contacts.find()}} 
> API.
> Suggest:
>  * Contacts {{id}} field is supposed to return a string, so it should return 
> a string on iOS
>  * {{Contacts.find()}} should coerce its arguments to correct types before 
> calling native 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-11975) Search on Contacts ‘id’ field with JavaScript number type crashes in iOS

2016-10-10 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov updated CB-11975:
--
Priority: Critical  (was: Major)

> Search on Contacts ‘id’ field with JavaScript number type crashes in iOS
> 
>
> Key: CB-11975
> URL: https://issues.apache.org/jira/browse/CB-11975
> Project: Apache Cordova
>  Issue Type: Bug
>Reporter: Andrew Forrest
>Priority: Critical
>
> I was trying to retrieve a specific contact by id in my Ionic/Cordova app, so 
> used the following code:
> {code:javascript}
> return Contacts.find(
>   ['id'],
>   {filter: contactId, multiple: true})
> {code}
> However, this crashes the iOS app at runtime with:
> {noformat}
> 2016-10-07 17:33:12.331 MyApp[10998:1880417] -[__NSCFNumber 
> isEqualToString:]: unrecognized selector sent to instance 0xb053
> 2016-10-07 17:33:12.337 MyApp[10998:1880417] *** Terminating app due to 
> uncaught exception 'NSInvalidArgumentException', reason: '-[__NSCFNumber 
> isEqualToString:]: unrecognized selector sent to instance 0xb053'
> *** First throw call stack:
> (
>   0   CoreFoundation  0x00010b0f334b 
> __exceptionPreprocess + 171
>   1   libobjc.A.dylib 0x00010ab2b21e 
> objc_exception_throw + 48
>   2   CoreFoundation  0x00010b162f34 
> -[NSObject(NSObject) doesNotRecognizeSelector:] + 132
>   3   CoreFoundation  0x00010b078c15 
> ___forwarding___ + 1013
>   4   CoreFoundation  0x00010b078798 
> _CF_forwarding_prep_0 + 120
>   5   MyApp   0x0001097217b7 
> __22-[CDVContacts search:]_block_invoke_2 + 983
>   6   MyApp   0x000109723760 
> __42-[CDVAddressBookHelper createAddressBook:]_block_invoke_2 + 368
>   7   libdispatch.dylib   0x00010e4450cd 
> _dispatch_client_callout + 8
>   8   libdispatch.dylib   0x00010e4275e5 
> _dispatch_barrier_sync_f_slow_invoke + 617
>   9   libdispatch.dylib   0x00010e4450cd 
> _dispatch_client_callout + 8
>   10  libdispatch.dylib   0x00010e4258d6 
> _dispatch_main_queue_callback_4CF + 406
>   11  CoreFoundation  0x00010b0b74f9 
> __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 9
>   12  CoreFoundation  0x00010b07cf8d 
> __CFRunLoopRun + 2205
>   13  CoreFoundation  0x00010b07c494 
> CFRunLoopRunSpecific + 420
>   14  GraphicsServices0x0001107aea6f 
> GSEventRunModal + 161
>   15  UIKit   0x00010be0df34 
> UIApplicationMain + 159
>   16  MyApp   0x00010962e531 main + 65
>   17  libdyld.dylib   0x00010e49168d start + 1
> )
> libc++abi.dylib: terminating with uncaught exception of type NSException
> (lldb) 
> {noformat}
> Seems to only fail when {{contactId}} is a JavaScript number. Converting it 
> to a string before searching ({{contactId+""}}) works fine.
> Fault originally occurred because Contact {{id}} field in iOS is an integer… 
> and it looks like I’m getting a JavaScript number value out of the Contacts 
> API. Was storing this integer in SQLite (which preserves the data type), 
> getting an integer back out, and passing it back into the {{Contacts.find()}} 
> API.
> Suggest:
>  * Contacts {{id}} field is supposed to return a string, so it should return 
> a string on iOS
>  * {{Contacts.find()}} should coerce its arguments to correct types before 
> calling native 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] [Closed] (CB-11433) Permission dialog display cordova package path instead of plain text message

2016-10-07 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov closed CB-11433.
-
Resolution: Not A Bug

> Permission dialog display cordova package path instead of plain text message
> 
>
> Key: CB-11433
> URL: https://issues.apache.org/jira/browse/CB-11433
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Geolocation
>Affects Versions: 2.2.0
> Environment: ios 9.3.x
>Reporter: Philipp Kursawe
>  Labels: triaged, wfc
>
> When having this react component
> {code}
> import React from "react"
> import { connect } from "react-redux"
> import { update } from "../geolocationActions"
> class GeoLocation extends React.Component {
>   constructor(props) {
> super(props)
> this.updatePosition = position => props.update(position)
> this.onError = () => props.update(null)
>   }
>   componentWillMount() {
> this.watchId = navigator.geolocation.watchPosition(this.updatePosition, 
> this.onError)
>   }
>   componentWillUnmount() {
> navigator.geolocation.clearWatch(this.watchId)
>   }
>   render() {
> return null
>   }
> }
> GeoLocation.propTypes = {
>   update: React.PropTypes.func.isRequired,
> }
> export default connect(null, { update })(GeoLocation)
> {code}
> Sometimes the phone displays the correct permission question:
> https://1drv.ms/i/s!AjrwWLsSkwcs1YlgMrdeK9AvkCwe7g
> but sometimes (even right after the first dialog) another dialog is displayed 
> and the app hangs after it has been closed.
> https://1drv.ms/i/s!AjrwWLsSkwcs1YlfkCT9F6OKUK9iRQ



--
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-11433) Permission dialog display cordova package path instead of plain text message

2016-10-07 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov commented on CB-11433:
---

Ah yes, I remember you mentioned that in Slack. Okay, closing this.

> Permission dialog display cordova package path instead of plain text message
> 
>
> Key: CB-11433
> URL: https://issues.apache.org/jira/browse/CB-11433
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Geolocation
>Affects Versions: 2.2.0
> Environment: ios 9.3.x
>Reporter: Philipp Kursawe
>  Labels: triaged, wfc
>
> When having this react component
> {code}
> import React from "react"
> import { connect } from "react-redux"
> import { update } from "../geolocationActions"
> class GeoLocation extends React.Component {
>   constructor(props) {
> super(props)
> this.updatePosition = position => props.update(position)
> this.onError = () => props.update(null)
>   }
>   componentWillMount() {
> this.watchId = navigator.geolocation.watchPosition(this.updatePosition, 
> this.onError)
>   }
>   componentWillUnmount() {
> navigator.geolocation.clearWatch(this.watchId)
>   }
>   render() {
> return null
>   }
> }
> GeoLocation.propTypes = {
>   update: React.PropTypes.func.isRequired,
> }
> export default connect(null, { update })(GeoLocation)
> {code}
> Sometimes the phone displays the correct permission question:
> https://1drv.ms/i/s!AjrwWLsSkwcs1YlgMrdeK9AvkCwe7g
> but sometimes (even right after the first dialog) another dialog is displayed 
> and the app hangs after it has been closed.
> https://1drv.ms/i/s!AjrwWLsSkwcs1YlfkCT9F6OKUK9iRQ



--
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-11433) Permission dialog display cordova package path instead of plain text message

2016-10-07 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov edited comment on CB-11433 at 10/7/16 8:11 AM:


Hey, [~pke], is this still valid? Are you still seeing the problem?


was (Author: vladimir.kotikov):
Hey, [~pke], is this still valid? Are you still seeing the problem?

> Permission dialog display cordova package path instead of plain text message
> 
>
> Key: CB-11433
> URL: https://issues.apache.org/jira/browse/CB-11433
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Geolocation
>Affects Versions: 2.2.0
> Environment: ios 9.3.x
>Reporter: Philipp Kursawe
>  Labels: triaged, wfc
>
> When having this react component
> {code}
> import React from "react"
> import { connect } from "react-redux"
> import { update } from "../geolocationActions"
> class GeoLocation extends React.Component {
>   constructor(props) {
> super(props)
> this.updatePosition = position => props.update(position)
> this.onError = () => props.update(null)
>   }
>   componentWillMount() {
> this.watchId = navigator.geolocation.watchPosition(this.updatePosition, 
> this.onError)
>   }
>   componentWillUnmount() {
> navigator.geolocation.clearWatch(this.watchId)
>   }
>   render() {
> return null
>   }
> }
> GeoLocation.propTypes = {
>   update: React.PropTypes.func.isRequired,
> }
> export default connect(null, { update })(GeoLocation)
> {code}
> Sometimes the phone displays the correct permission question:
> https://1drv.ms/i/s!AjrwWLsSkwcs1YlgMrdeK9AvkCwe7g
> but sometimes (even right after the first dialog) another dialog is displayed 
> and the app hangs after it has been closed.
> https://1drv.ms/i/s!AjrwWLsSkwcs1YlfkCT9F6OKUK9iRQ



--
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-11433) Permission dialog display cordova package path instead of plain text message

2016-10-07 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov commented on CB-11433:
---

Hey, [~pke], is this still valid? Are you still seeing the problem?

> Permission dialog display cordova package path instead of plain text message
> 
>
> Key: CB-11433
> URL: https://issues.apache.org/jira/browse/CB-11433
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Geolocation
>Affects Versions: 2.2.0
> Environment: ios 9.3.x
>Reporter: Philipp Kursawe
>  Labels: triaged, wfc
>
> When having this react component
> {code}
> import React from "react"
> import { connect } from "react-redux"
> import { update } from "../geolocationActions"
> class GeoLocation extends React.Component {
>   constructor(props) {
> super(props)
> this.updatePosition = position => props.update(position)
> this.onError = () => props.update(null)
>   }
>   componentWillMount() {
> this.watchId = navigator.geolocation.watchPosition(this.updatePosition, 
> this.onError)
>   }
>   componentWillUnmount() {
> navigator.geolocation.clearWatch(this.watchId)
>   }
>   render() {
> return null
>   }
> }
> GeoLocation.propTypes = {
>   update: React.PropTypes.func.isRequired,
> }
> export default connect(null, { update })(GeoLocation)
> {code}
> Sometimes the phone displays the correct permission question:
> https://1drv.ms/i/s!AjrwWLsSkwcs1YlgMrdeK9AvkCwe7g
> but sometimes (even right after the first dialog) another dialog is displayed 
> and the app hangs after it has been closed.
> https://1drv.ms/i/s!AjrwWLsSkwcs1YlfkCT9F6OKUK9iRQ



--
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-11848) [Windows] File plugin, nativeUrl includes two slashes before filename

2016-10-06 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov resolved CB-11848.
---
Resolution: Fixed

> [Windows] File plugin, nativeUrl includes two slashes before filename
> -
>
> Key: CB-11848
> URL: https://issues.apache.org/jira/browse/CB-11848
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin File
>Reporter: Maarten Manders
>  Labels: windows
>
> The returned FileEntry object in the getFile function of a DirectoryEntry 
> object contains an incorrect nativeUrl that contains 2 slashes before the 
> filename (ie. ms-appdata:///temp//myfile.file).
> This can seemingly be resolved by changing the following line in the getFile 
> function in FileProxy.js:
> var fspath = sanitize(dirpath +'/'+ path);
> to
> var fspath = sanitize(path);
> I am unsure if this causes any side-effects however.



--
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] [Reopened] (CB-11848) [Windows] File plugin, nativeUrl includes two slashes before filename

2016-10-06 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov reopened CB-11848:
---

> [Windows] File plugin, nativeUrl includes two slashes before filename
> -
>
> Key: CB-11848
> URL: https://issues.apache.org/jira/browse/CB-11848
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin File
>Reporter: Maarten Manders
>  Labels: windows
>
> The returned FileEntry object in the getFile function of a DirectoryEntry 
> object contains an incorrect nativeUrl that contains 2 slashes before the 
> filename (ie. ms-appdata:///temp//myfile.file).
> This can seemingly be resolved by changing the following line in the getFile 
> function in FileProxy.js:
> var fspath = sanitize(dirpath +'/'+ path);
> to
> var fspath = sanitize(path);
> I am unsure if this causes any side-effects however.



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



  1   2   3   4   5   6   7   8   9   10   >