[jira] [Assigned] (CB-9578) Document link generate wrong link in some condition.

2015-08-30 Thread Andrey Kurdyumov (JIRA)

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

Andrey Kurdyumov reassigned CB-9578:


Assignee: Andrey Kurdyumov

> Document link generate wrong link in some condition.
> 
>
> Key: CB-9578
> URL: https://issues.apache.org/jira/browse/CB-9578
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Docs, Translation
>Affects Versions: Master
>Reporter: Youngho Cho
>Assignee: Andrey Kurdyumov
>Priority: Minor
>
> During translate the document to Korean, I found a strange behavior abut link 
> generation.
> For some head words in pages we have,  for example
> # 플랫폼 가이드  --> A
> # 안드로이드 플랫폼 가이드 --> B
> # 윈도우폰 8 플랫폼 가이드 --> C
> # iOS 플랫폼 가이드  --> D
> ---
> the link for A, C, D are generated correctly like
> 플랫폼 가이드
> 윈도우폰 8 플랫폼 가이드
> iOS 플랫폼 가이드
> but for B, the link generated likes
> 안드로이드 플랫폼 가이드  which I expect 안드로이드 플랫폼 가이드.
> Looks like the duplicated part of key word followed by a number or english 
> alphabet then no problem but it is followed by other charcter then the link 
> is generated for the duplcated part key word only not for whole key word.
>   



--
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-9578) Document link generate wrong link in some condition.

2015-08-30 Thread Andrey Kurdyumov (JIRA)

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

Andrey Kurdyumov updated CB-9578:
-
Component/s: Translation

> Document link generate wrong link in some condition.
> 
>
> Key: CB-9578
> URL: https://issues.apache.org/jira/browse/CB-9578
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Docs, Translation
>Affects Versions: Master
>Reporter: Youngho Cho
>Priority: Minor
>
> During translate the document to Korean, I found a strange behavior abut link 
> generation.
> For some head words in pages we have,  for example
> # 플랫폼 가이드  --> A
> # 안드로이드 플랫폼 가이드 --> B
> # 윈도우폰 8 플랫폼 가이드 --> C
> # iOS 플랫폼 가이드  --> D
> ---
> the link for A, C, D are generated correctly like
> 플랫폼 가이드
> 윈도우폰 8 플랫폼 가이드
> iOS 플랫폼 가이드
> but for B, the link generated likes
> 안드로이드 플랫폼 가이드  which I expect 안드로이드 플랫폼 가이드.
> Looks like the duplicated part of key word followed by a number or english 
> alphabet then no problem but it is followed by other charcter then the link 
> is generated for the duplcated part key word only not for whole key word.
>   



--
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-9578) Document link generate wrong link in some condition.

2015-08-30 Thread Youngho Cho (JIRA)
Youngho Cho created CB-9578:
---

 Summary: Document link generate wrong link in some condition.
 Key: CB-9578
 URL: https://issues.apache.org/jira/browse/CB-9578
 Project: Apache Cordova
  Issue Type: Bug
  Components: Docs
Affects Versions: Master
Reporter: Youngho Cho
Priority: Minor


During translate the document to Korean, I found a strange behavior abut link 
generation.

For some head words in pages we have,  for example
# 플랫폼 가이드  --> A
# 안드로이드 플랫폼 가이드 --> B
# 윈도우폰 8 플랫폼 가이드 --> C
# iOS 플랫폼 가이드  --> D
---
the link for A, C, D are generated correctly like

플랫폼 가이드
윈도우폰 8 플랫폼 가이드
iOS 플랫폼 가이드

but for B, the link generated likes
안드로이드 플랫폼 가이드  which I expect 안드로이드 플랫폼 가이드.

Looks like the duplicated part of key word followed by a number or english 
alphabet then no problem but it is followed by other charcter then the link is 
generated for the duplcated part key word only not for whole key word.


  





--
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-9559) Adding a plugin with caret in version results in an error

2015-08-30 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-9559:


Github user TimBarham commented on the pull request:

https://github.com/apache/cordova-lib/pull/291#issuecomment-136247366
  
Np :smile: 


> Adding a plugin with caret in version results in an error
> -
>
> Key: CB-9559
> URL: https://issues.apache.org/jira/browse/CB-9559
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CordovaLib
>Affects Versions: 5.2.0
> Environment: OS X 10.10.5 
> cordova-cli 5.2.0
>Reporter: Shazron Abdullah
>Assignee: Tim Barham
>Priority: Critical
>
> *Repro:*
> {code}
> cordova plugin add cordova-plugin-battery-status@^1.0.0
> Fetching plugin "cordova-plugin-battery-status@^1.0.0" via npm
> Failed to fetch plugin cordova-plugin-battery-status@^1.0.0 via registry.
> Probably this is either a connection problem, or plugin spec is incorrect.
> Check your connection and plugin name/version/URL.
> Error: No compatible version found: cordova-plugin-battery-status@'">=1.0.0 
> <2.0.0"'
> Valid install targets:
> ["0.2.1","0.2.3","0.2.4","0.2.5","0.2.6","0.2.7","0.2.9","0.2.10","0.2.11","0.2.12","1.0.0","1.1.0"]
> {code}
> *Expected:*
> The plugin can be installed
> *Actual:*
> The plugin cannot be installed.
> Note in the error log, the version is expanded from:
> {code}
>  @^1.0.0
> {code}
> to:
> {code}
> @">=1.0.0 <2.0.0"
> {code}
> But, it appears the double quotes around the expanded version in the error 
> log are *wrapped with single quotes* now, resulting in the error.
> The version is expanded using this *processPluginVersion* function:
> https://github.com/apache/cordova-lib/blob/3e34b557c8bb6876022f0a4186b81d4ff8e5da75/cordova-lib/src/plugman/registry/registry.js#L282
> From this commit:
> https://github.com/apache/cordova-lib/commit/024b970b26d3d8b7f9a6b2f0eab2325d7716deef
> The fix appears to be not calling the function *processPluginVersion* and 
> passing it to *npm cache add* as is:
> https://github.com/apache/cordova-lib/blob/3e34b557c8bb6876022f0a4186b81d4ff8e5da75/cordova-lib/src/plugman/registry/registry.js#L270
> The purpose of this function is because we are using an older version of npm 
> that may not understand carets. Is this still truly the case? If not, we 
> could get rid of this function -- while still keeping CB-9147 fixed/resolved



--
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-7771) "media-capture" bugs with WP8.1

2015-08-30 Thread Colin Bau (JIRA)

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

Colin Bau commented on CB-7771:
---

hi Jesse
only for issue 3 really a problem
this behavior will reduce my webview in wp8

> "media-capture" bugs with WP8.1
> ---
>
> Key: CB-7771
> URL: https://issues.apache.org/jira/browse/CB-7771
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Media Capture, WP8
>Affects Versions: 3.7.0, 3.6.3, 3.7.1
> Environment: I using WP8.1 with phonegap 3.6.3 and all latest core 
> plugin...(media-capture 1.0.0)
>Reporter: Colin Bau
>Assignee: Jesse MacFadyen
>  Labels: media-capture
>
> this is my original screenshot
> http://www.littlebau.com/20141013_wp/01.png
> issue 1
> when I execute
> navigator.device.capture.captureAudio(captureSuccess, captureError, options);
> it will show this
> http://www.littlebau.com/20141013_wp/02.png
> if I press "start",the duration will run,but if I press "take"...nothing real 
> happened
> if I press the hardware "backbutton",but it will not trigger the 
> "captureError" callback
> issue 2
> when I execute
> navigator.device.capture.captureImage(captureSuccess, captureError, options);
> it will show the user interface to do some function
> but...
> if I press the "backbutton",it although trigger the "captureError" 
> callback,but get the "error.code" => undefined
> issue 3
> when I execute
> navigator.device.capture.captureVideo(captureSuccess, captureError, options);
> it will show the user interface to do some function
> http://www.littlebau.com/20141013_wp/03.png
> but...
> if I press "record" button,sometimes it will become black screen
> http://www.littlebau.com/20141013_wp/04.png
> and when change back to my app,my webview become so strang and very small 
> (immediately press the "backbutton" will cause the same situation)
> http://www.littlebau.com/20141013_wp/05.png



--
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-7771) "media-capture" bugs with WP8.1

2015-08-30 Thread Colin Bau (JIRA)

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

Colin Bau commented on CB-7771:
---

hi Jesse
is there any feedback or ??

> "media-capture" bugs with WP8.1
> ---
>
> Key: CB-7771
> URL: https://issues.apache.org/jira/browse/CB-7771
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Media Capture, WP8
>Affects Versions: 3.7.0, 3.6.3, 3.7.1
> Environment: I using WP8.1 with phonegap 3.6.3 and all latest core 
> plugin...(media-capture 1.0.0)
>Reporter: Colin Bau
>Assignee: Jesse MacFadyen
>  Labels: media-capture
>
> this is my original screenshot
> http://www.littlebau.com/20141013_wp/01.png
> issue 1
> when I execute
> navigator.device.capture.captureAudio(captureSuccess, captureError, options);
> it will show this
> http://www.littlebau.com/20141013_wp/02.png
> if I press "start",the duration will run,but if I press "take"...nothing real 
> happened
> if I press the hardware "backbutton",but it will not trigger the 
> "captureError" callback
> issue 2
> when I execute
> navigator.device.capture.captureImage(captureSuccess, captureError, options);
> it will show the user interface to do some function
> but...
> if I press the "backbutton",it although trigger the "captureError" 
> callback,but get the "error.code" => undefined
> issue 3
> when I execute
> navigator.device.capture.captureVideo(captureSuccess, captureError, options);
> it will show the user interface to do some function
> http://www.littlebau.com/20141013_wp/03.png
> but...
> if I press "record" button,sometimes it will become black screen
> http://www.littlebau.com/20141013_wp/04.png
> and when change back to my app,my webview become so strang and very small 
> (immediately press the "backbutton" will cause the same situation)
> http://www.littlebau.com/20141013_wp/05.png



--
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-9218) media's "pause" bugs with WP 8.1

2015-08-30 Thread Colin Bau (JIRA)

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

Colin Bau commented on CB-9218:
---

hi Jesse
is there any feedback or ??

> media's "pause" bugs with WP 8.1
> 
>
> Key: CB-9218
> URL: https://issues.apache.org/jira/browse/CB-9218
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Media, WP8
> Environment: I using WP8.1 with with cordova-plugin-media 1.0.0
>Reporter: Colin Bau
>Assignee: Jesse MacFadyen
>  Labels: media
>
> according to this
> https://github.com/apache/cordova-plugin-media
> this is my full code
> =
> var myMedia1 = new 
> Media("http://audio.ibeat.org/content/p1rj1s/p1rj1s_-_rockGuitar.mp3";);
> myMedia1.play();
> setTimeout(function() { myMedia1.pause(); }, 5000);
> setTimeout(function() { myMedia1.play(); }, 8000);
> =
> this music about total 18 seconds
> when in Android and iOS,the music will pause after 5 seconds and replay after 
> 8 seconds (it mean replay in range 5 -18 seconds)
> but...
> only when in wp8.1,it seem pause too after 5 seconds but restart play the 
> music (it mean replay in range 1 -18 seconds)
> just use any mp3 music that you like
> tried many times...trust me



--
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-9200) event progress with "cordova.InAppBrowser.open"

2015-08-30 Thread Colin Bau (JIRA)

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

Colin Bau reopened CB-9200:
---

still have problem

> event progress with "cordova.InAppBrowser.open"
> ---
>
> Key: CB-9200
> URL: https://issues.apache.org/jira/browse/CB-9200
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin InAppBrowser
> Environment: cordova-plugin-inappbrowser 1.0.0 + 
> cordova-plugin-dialogs 1.1.0 + ios 8.3 (12F69)
>Reporter: Colin Bau
>   Original Estimate: 12h
>  Remaining Estimate: 12h
>
> according to this
> https://github.com/apache/cordova-plugin-inappbrowser
> let me demo for example "loadstart" (other enent have the same problem)
> {code}
> var ref = cordova.InAppBrowser.open('http://apache.org', '_blank', 
> 'location=yes');
> //this line will trigger
> ref.addEventListener('loadstart', function(event) { alert(event.url); });
> //this line will never trigger
> ref.addEventListener('loadstart', function(event) { 
> navigator.notification.alert("test", null, 'title', 'ok'); });
> {code}
> is the "inappbrowser" have some conflict with "dialogs"



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

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



[jira] [Issue Comment Deleted] (CB-9200) event progress with "cordova.InAppBrowser.open"

2015-08-30 Thread Colin Bau (JIRA)

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

Colin Bau updated CB-9200:
--
Comment: was deleted

(was: resolved in 1.0.1 version)

> event progress with "cordova.InAppBrowser.open"
> ---
>
> Key: CB-9200
> URL: https://issues.apache.org/jira/browse/CB-9200
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin InAppBrowser
> Environment: cordova-plugin-inappbrowser 1.0.0 + 
> cordova-plugin-dialogs 1.1.0 + ios 8.3 (12F69)
>Reporter: Colin Bau
>   Original Estimate: 12h
>  Remaining Estimate: 12h
>
> according to this
> https://github.com/apache/cordova-plugin-inappbrowser
> let me demo for example "loadstart" (other enent have the same problem)
> {code}
> var ref = cordova.InAppBrowser.open('http://apache.org', '_blank', 
> 'location=yes');
> //this line will trigger
> ref.addEventListener('loadstart', function(event) { alert(event.url); });
> //this line will never trigger
> ref.addEventListener('loadstart', function(event) { 
> navigator.notification.alert("test", null, 'title', 'ok'); });
> {code}
> is the "inappbrowser" have some conflict with "dialogs"



--
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-9200) event progress with "cordova.InAppBrowser.open"

2015-08-30 Thread Colin Bau (JIRA)

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

Colin Bau resolved CB-9200.
---
Resolution: Fixed

resolved in 1.0.1 version

> event progress with "cordova.InAppBrowser.open"
> ---
>
> Key: CB-9200
> URL: https://issues.apache.org/jira/browse/CB-9200
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin InAppBrowser
> Environment: cordova-plugin-inappbrowser 1.0.0 + 
> cordova-plugin-dialogs 1.1.0 + ios 8.3 (12F69)
>Reporter: Colin Bau
>   Original Estimate: 12h
>  Remaining Estimate: 12h
>
> according to this
> https://github.com/apache/cordova-plugin-inappbrowser
> let me demo for example "loadstart" (other enent have the same problem)
> {code}
> var ref = cordova.InAppBrowser.open('http://apache.org', '_blank', 
> 'location=yes');
> //this line will trigger
> ref.addEventListener('loadstart', function(event) { alert(event.url); });
> //this line will never trigger
> ref.addEventListener('loadstart', function(event) { 
> navigator.notification.alert("test", null, 'title', 'ok'); });
> {code}
> is the "inappbrowser" have some conflict with "dialogs"



--
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-9201) "inappbrowser" plugin with "fullscreen" attribute issues in wp8.1

2015-08-30 Thread Colin Bau (JIRA)

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

Colin Bau closed CB-9201.
-
Resolution: Won't Fix

> "inappbrowser" plugin with "fullscreen" attribute issues in wp8.1
> -
>
> Key: CB-9201
> URL: https://issues.apache.org/jira/browse/CB-9201
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin InAppBrowser, WP8
> Environment: cordova-plugin-inappbrowser 1.0.0 with wp8.1
>Reporter: Colin Bau
>Assignee: Jesse MacFadyen
>   Original Estimate: 12h
>  Remaining Estimate: 12h
>
> according to this
> https://github.com/apache/cordova-plugin-inappbrowser/blob/8ce6b497fa803936784629187e9c66ebaddfbe1b/doc/index.md
> it said...
> fullscreen: set to yes to create the browser control without a border around 
> it. Please note that if location=no is also specified, there will be no 
> control presented to user to close IAB window
> but I tried in wp8.1,no mater yes or no,seem all the same
> if it is because this attribute not supported by WP8 yet or ?



--
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-9199) "cordova.InAppBrowser.open" problem with wp8

2015-08-30 Thread Colin Bau (JIRA)

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

Colin Bau resolved CB-9199.
---
Resolution: Fixed

solved in 1.0.1 version

> "cordova.InAppBrowser.open" problem with wp8
> 
>
> Key: CB-9199
> URL: https://issues.apache.org/jira/browse/CB-9199
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin InAppBrowser, WP8
> Environment: cordova-plugin-inappbrowser 1.0.0 with wp8.1
>Reporter: Colin Bau
>Assignee: Jesse MacFadyen
>   Original Estimate: 12h
>  Remaining Estimate: 12h
>
> according to this
> although we can use...
> window.open = cordova.InAppBrowser.open;
> but I found a strange thing really only in wp8
> in wp8,it must be use "window.open" instead of "cordova.InAppBrowser.open"
> otherwise,all function will be fail
> tried many times



--
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-7802) "inappbrowser" plugin with "location" attribute issues in wp8.1

2015-08-30 Thread Colin Bau (JIRA)

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

Colin Bau commented on CB-7802:
---

it also not work in wp8

> "inappbrowser" plugin with "location" attribute issues in wp8.1
> ---
>
> Key: CB-7802
> URL: https://issues.apache.org/jira/browse/CB-7802
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin InAppBrowser
>Affects Versions: 3.7.0, 3.6.3
> Environment: cordova-plugin-inappbrowser 1.0.0 with wp8.1
>Reporter: Colin Bau
>  Labels: inappbrowser
>   Original Estimate: 12h
>  Remaining Estimate: 12h
>
> according to this
> https://github.com/apache/cordova-plugin-inappbrowser/blob/8ce6b497fa803936784629187e9c66ebaddfbe1b/doc/index.md
> it said...
> location: Set to yes or no to turn the InAppBrowser's location bar on or off.
> but I tried in wp8.1,no mater yes or no,seem the "location bar" never show
> if it is because this attribute not supported by WP8 yet ?



--
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-8115) incorrect birthday saved to phonebook using Contacts Plugin

2015-08-30 Thread Colin Bau (JIRA)

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

Colin Bau commented on CB-8115:
---

still no any reply...
somebody can feedback about this ?

> incorrect birthday saved to phonebook using Contacts Plugin
> ---
>
> Key: CB-8115
> URL: https://issues.apache.org/jira/browse/CB-8115
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CordovaJS, Plugin Contacts
>Affects Versions: 4.0.0
> Environment: Android and IOS
>Reporter: Kiran Jain
>  Labels: Contacts, Cordova, IOS, android, birthday
>
> We are facing an issue while trying to add birthday to Contact while using 
> Cordova for android while adding a new contact to the phonebook
> following is part of the code
> contact = navigator.contacts.create({
> "displayName": displayname
> });
> // store contact name
> var contactName = new ContactName();
> contactName.familyName = lastname;
> contactName.givenName = firstname
> contact.name = contactName;
> contact.birthday = new Date("16 May 1984");
> // save the contact
> contact.save();
> With above code, when data is viewed in android phone, the birthday is save 
> as 29-12-6731 instead of expected 16-May-1984
> we have tried all possible combinations of date entry viz: 16-May-1984 ; 
> 16/May/1984 ; 16/5/1984 ; new date(1984,05,16)
> but all in vain the results are the same.
> also need to know how to save anniversary date
> when using this plugin for IOS, the date saved is 15-May-1984 (1 day less 
> than expected).



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

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



[jira] [Commented] (CB-9174) contact's photo attribute not work in wp8

2015-08-30 Thread Colin Bau (JIRA)

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

Colin Bau commented on CB-9174:
---

is there any response or ...?
is ut because wp8 not ready support the "outside" address ?

> contact's photo attribute not work in wp8
> -
>
> Key: CB-9174
> URL: https://issues.apache.org/jira/browse/CB-9174
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Contacts, WP8
> Environment: winphone 8.1 with contact plugin 1.0.0
>Reporter: Colin Bau
>
> this is my full code
> =
> var contact = navigator.contacts.create();
> contact.nickname = 'nick';
> var photos = [];
> photos[0] = new ContactField('url', 
> 'https://www.google.com.tw/images/srpr/logo11w.png' + updatewords, false);
> contact.photos = photos;
> contact.save(onSuccess, onError);
> =
> the data will insert success
> but the photo information will only appear in android and iOS,wp8 got the 
> null value 



--
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-7789) "navigator.contacts.find" will cause immediately shut down in wp8

2015-08-30 Thread Colin Bau (JIRA)

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

Colin Bau resolved CB-7789.
---
Resolution: Fixed

resolved in 1.1.0

> "navigator.contacts.find" will cause immediately shut down in wp8
> -
>
> Key: CB-7789
> URL: https://issues.apache.org/jira/browse/CB-7789
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Contacts, WP8
>Affects Versions: 3.7.0, 3.6.3
> Environment: winphone 8.1
>Reporter: Colin Bau
>  Labels: contacts
>   Original Estimate: 12h
>  Remaining Estimate: 12h
>
> when I use these code
> var options = new ContactFindOptions();
> options.filter = "";
> options.multiple = true;
> var filter_emails = ["emails"]
> navigator.contacts.find(filter_emails, refresh_contact_success_email, null, 
> options);
> function refresh_contact_success_email(contacts)
> {
> alert('success')
> }
> in android and ios are work perfect (it will trigger "alert")
> but in wp8,it will immediately shut down
> PS
> if let the filter have a value such like options.filter = "abc";
> it will normal again



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

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



[jira] [Commented] (CB-9170) allowEdit seem not work in iOS

2015-08-30 Thread Colin Bau (JIRA)

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

Colin Bau commented on CB-9170:
---

is there any response or ...?

> allowEdit seem not work in iOS
> --
>
> Key: CB-9170
> URL: https://issues.apache.org/jira/browse/CB-9170
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Camera
> Environment: I am using Cordova Cli 5.0 with all latest core plugin
>Reporter: Colin Bau
>  Labels: camera
>
> according to this
> https://github.com/apache/cordova-plugin-camera
> I am using
> { destinationType : Camera.DestinationType.FILE_URL, sourceType : 
> Camera.PictureSourceType.CAMERA, encodingType: Camera.EncodingType.JPEG, 
> targetWidth: 100, targetHeight: 100, saveToPhotoAlbum: TRUE, allowEdit : true 
> }
> in Android the attribute "allowEdit"
> set to true => will show the edit window
> set to false => will not show the edit window
> but in iOS
> no mater true or false,seem the edit window will not show
> is it because that "allowEdit" not already support by iOS ?



--
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-9169) encodingType seem only have JPG file

2015-08-30 Thread Colin Bau (JIRA)

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

Colin Bau commented on CB-9169:
---

hi Jesse
any feedback or ??

> encodingType seem only have JPG file
> 
>
> Key: CB-9169
> URL: https://issues.apache.org/jira/browse/CB-9169
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Android, Plugin Camera, WP8
>Affects Versions: 5.0.1
> Environment: I am using Cordova Cli 5.0 with all latest core plugin
> iOS
>Reporter: Colin Bau
>Assignee: Jesse MacFadyen
>  Labels: camera
>
> according to this
> https://github.com/apache/cordova-plugin-camera
> I am using
> { destinationType : Camera.DestinationType.FILE_URL,
>   sourceType : Camera.PictureSourceType.CAMERA,
>   encodingType: Camera.EncodingType.JPEG,
>   targetWidth: 100,
>   targetHeight: 100,
>   saveToPhotoAlbum: TRUE }
> no mater which the encodingType's value is "Camera.EncodingType.JPEG" OR 
> "Camera.EncodingType.PNG"
> finally the output file is xxx.jpg
> Android iOS WP8 all have this situation



--
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-9168) NATIVE_URI not support by winphone

2015-08-30 Thread Colin Bau (JIRA)

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

Colin Bau commented on CB-9168:
---

hi Jesse
I just want to ask is it because NATIVE_URI not support by winphone yet ?

> NATIVE_URI not support by winphone
> --
>
> Key: CB-9168
> URL: https://issues.apache.org/jira/browse/CB-9168
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Camera, WP8
>Affects Versions: 5.0.1
> Environment: I am using Codrova Cli 5.0 with all latest core plugin
>Reporter: Colin Bau
>Assignee: Jesse MacFadyen
>  Labels: Windows, camera
>
> I am using Codrova Cli 5.0 with all latest core plugin
> when I use
> navigator.camera.getPicture(onSuccess, onFail, { quality: 50, 
> destinationType: Camera.DestinationType.NATIVE_URI } );
> android and iOS will all trigger the success callback
> but in wp8 it will trigger the fail and output these words
> "Incorrect option:destinationType"
> is it because NATIVE_URI not support by winphone yet ?



--
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-9556) Plugin install/uninstall does not do proper ref count

2015-08-30 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-9556:


Github user omefire commented on the pull request:

https://github.com/apache/cordova-lib/pull/287#issuecomment-136231112
  
LGTM !



> Plugin install/uninstall does not do proper ref count
> -
>
> Key: CB-9556
> URL: https://issues.apache.org/jira/browse/CB-9556
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CordovaLib
>Reporter: Vladimir Kotikov
>Assignee: Vladimir Kotikov
>
> If the plugin B is installed by {{cordova plugin add}} command after it was 
> already installed as a dependency to another plugin A it is sill marked as 
> dependency and will be removed after uninstallation of A.
> *Repro steps:*
> * Install plugin A with dependency on plugin B
> This installs plugin A and plugin B
> * Install plugin B  --- because the user wants to use it
> Installation does nothing because plugin B is already installed
> * Uninstall plugin A
> This removes both plugin A and plugin B
> *Expected:*
> The plugin B remains installed



--
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-7788) [only in wp8]"navigator.contacts.pickContact" not trigger "succ" or "fail" feedback in wp

2015-08-30 Thread Colin Bau (JIRA)

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

Colin Bau resolved CB-7788.
---
Resolution: Implemented

is resolved by contact 1.2.0 version

> [only in wp8]"navigator.contacts.pickContact" not trigger "succ" or "fail" 
> feedback in wp
> -
>
> Key: CB-7788
> URL: https://issues.apache.org/jira/browse/CB-7788
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Contacts, WP8
>Affects Versions: 3.7.0, 3.6.3, 3.7.1
> Environment: winphone 8.1
> contact plugin 1.0.0 version
>Reporter: Colin Bau
>  Labels: contacts
>   Original Estimate: 12h
>  Remaining Estimate: 12h
>
> according to this
> https://github.com/apache/cordova-plugin-contacts/blob/e42219a7d5b9492eb5b4a31c84e392d3379f6a08/doc/index.md
> I found...
> when I use "navigator.contacts.pickContact",it will appear the contact 
> list,but after I click one of this,it will return to my app,but nothing 
> happened
> but only in wp8



--
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-9168) NATIVE_URI not support by winphone

2015-08-30 Thread Colin Bau (JIRA)

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

Colin Bau commented on CB-9168:
---

seem still any reply...

> NATIVE_URI not support by winphone
> --
>
> Key: CB-9168
> URL: https://issues.apache.org/jira/browse/CB-9168
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Camera, WP8
>Affects Versions: 5.0.1
> Environment: I am using Codrova Cli 5.0 with all latest core plugin
>Reporter: Colin Bau
>Assignee: Jesse MacFadyen
>  Labels: Windows, camera
>
> I am using Codrova Cli 5.0 with all latest core plugin
> when I use
> navigator.camera.getPicture(onSuccess, onFail, { quality: 50, 
> destinationType: Camera.DestinationType.NATIVE_URI } );
> android and iOS will all trigger the success callback
> but in wp8 it will trigger the fail and output these words
> "Incorrect option:destinationType"
> is it because NATIVE_URI not support by winphone yet ?



--
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-9556) Plugin install/uninstall does not do proper ref count

2015-08-30 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-9556:


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

https://github.com/apache/cordova-lib/pull/287#discussion_r38279426
  
--- Diff: cordova-lib/src/plugman/install.js ---
@@ -273,8 +273,13 @@ function runInstall(actions, platform, project_dir, 
plugin_dir, plugins_dir, opt
 var platformJson = PlatformJson.load(plugins_dir, platform);
 
 if (platformJson.isPluginInstalled(pluginInfo.id)) {
+var msg = 'Plugin "' + pluginInfo.id + '" already installed on ' + 
platform + '.';
--- End diff --

:nit please move this line within the if statement : `if 
(options.is_top_level) ...`


> Plugin install/uninstall does not do proper ref count
> -
>
> Key: CB-9556
> URL: https://issues.apache.org/jira/browse/CB-9556
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CordovaLib
>Reporter: Vladimir Kotikov
>Assignee: Vladimir Kotikov
>
> If the plugin B is installed by {{cordova plugin add}} command after it was 
> already installed as a dependency to another plugin A it is sill marked as 
> dependency and will be removed after uninstallation of A.
> *Repro steps:*
> * Install plugin A with dependency on plugin B
> This installs plugin A and plugin B
> * Install plugin B  --- because the user wants to use it
> Installation does nothing because plugin B is already installed
> * Uninstall plugin A
> This removes both plugin A and plugin B
> *Expected:*
> The plugin B remains installed



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