[jira] [Updated] (CB-7529) File transfer plugin for windows platform can't resolve 'ms-appdata' URIs

2014-09-12 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov updated CB-7529:
-
Description: 
Similar to https://issues.apache.org/jira/browse/CB-7413 File transfer plugin 
is not able to resolve 'ms-appdata' uris for local files. Such URIs are 
produced for example by camera plugin.
Due to this user can't upload a picture from camera to some remote server, for 
example, and he needs to use File plugin functionality to get full path to file 
and then upload it.

 File transfer plugin for windows platform can't resolve 'ms-appdata' URIs
 -

 Key: CB-7529
 URL: https://issues.apache.org/jira/browse/CB-7529
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugin File Transfer
Reporter: Vladimir Kotikov

 Similar to https://issues.apache.org/jira/browse/CB-7413 File transfer plugin 
 is not able to resolve 'ms-appdata' uris for local files. Such URIs are 
 produced for example by camera plugin.
 Due to this user can't upload a picture from camera to some remote server, 
 for example, and he needs to use File plugin functionality to get full path 
 to file and then upload it.



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


[jira] [Created] (CB-7530) Path contains space issue when creating Cordova app in Visual Studio

2014-09-12 Thread Ponmalar (JIRA)
Ponmalar created CB-7530:


 Summary: Path contains space issue when creating Cordova app in 
Visual Studio
 Key: CB-7530
 URL: https://issues.apache.org/jira/browse/CB-7530
 Project: Apache Cordova
  Issue Type: Bug
Affects Versions: 3.6.0
Reporter: Ponmalar
Priority: Critical


Hi Support,

We are trying to create Cordova Multi-Device Hybrid App from from Visual Studio 
and installed the required software mentioned in the below link
http://www.microsoft.com/en-us/download/details.aspx?id=42675

Issue: We unable to create new project when the project path contains space and 
unable to open the project from the path contains space. The reference 
screenshot is attached with this report.

Could you please assist me to resolve this issue asap?

Thanks,
Ponmalar P



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


[jira] [Updated] (CB-7530) Path contains space issue when creating Cordova app in Visual Studio

2014-09-12 Thread Ponmalar (JIRA)

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

Ponmalar updated CB-7530:
-
Attachment: cordova space issue.png

 Path contains space issue when creating Cordova app in Visual Studio
 

 Key: CB-7530
 URL: https://issues.apache.org/jira/browse/CB-7530
 Project: Apache Cordova
  Issue Type: Bug
Affects Versions: 3.6.0
Reporter: Ponmalar
Priority: Critical
  Labels: build
 Attachments: cordova space issue.png


 Hi Support,
 We are trying to create Cordova Multi-Device Hybrid App from from Visual 
 Studio and installed the required software mentioned in the below link
 http://www.microsoft.com/en-us/download/details.aspx?id=42675
 Issue: We unable to create new project when the project path contains space 
 and unable to open the project from the path contains space. The reference 
 screenshot is attached with this report.
 Could you please assist me to resolve this issue asap?
 Thanks,
 Ponmalar P



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


[jira] [Commented] (CB-7523) Possible error in the plugin.xml

2014-09-12 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-7523?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14131204#comment-14131204
 ] 

ASF GitHub Bot commented on CB-7523:


Github user ibuziuk commented on the pull request:


https://github.com/apache/cordova-plugin-contacts/pull/45#issuecomment-55368631
  
@cmarcelk could you possibly comment CB-7523 - 
https://issues.apache.org/jira/browse/CB-7523


 Possible error in the plugin.xml
 

 Key: CB-7523
 URL: https://issues.apache.org/jira/browse/CB-7523
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugin Contacts
Reporter: Ilya Buziuk

 I think there is an error in the plugin.xml
 https://github.com/apache/cordova-plugin-contacts/blob/master/plugin.xml#L67
 Should be  merges, instead of merge



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


[jira] [Updated] (CB-7314) Must re-add platforms after adding plugin to avoid build failure

2014-09-12 Thread Shawn Freyssonnet-Inder (JIRA)

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

Shawn Freyssonnet-Inder updated CB-7314:

  Description: 
{code}
$ cordova -v
# 3.5.0-0.2.7
$ cordova create a b c
$ cd a
$ cordova platform add ios
$ cordova emulate ios
# App works
$ cordova plugin add org.apache.cordova.file-transfer
$ cordova emulate ios
# Build fails
$ cordova platform remove ios
$ cordova platform add ios
$ cordova emulate ios
# App works
{code}

  was:
{code}
cordova create a b c
cd a
cordova platform add ios
cordova emulate ios
# App works
cordova plugin add org.apache.cordova.file-transfer
cordova emulate ios
# Build fails
cordova platform remove ios
cordova platform add ios
cordova emulate ios
# App works
{code}

Affects Version/s: 3.5.0

 Must re-add platforms after adding plugin to avoid build failure
 

 Key: CB-7314
 URL: https://issues.apache.org/jira/browse/CB-7314
 Project: Apache Cordova
  Issue Type: Bug
Affects Versions: 3.5.0
Reporter: Shawn Freyssonnet-Inder
Assignee: Vivek Thakur

 {code}
 $ cordova -v
 # 3.5.0-0.2.7
 $ cordova create a b c
 $ cd a
 $ cordova platform add ios
 $ cordova emulate ios
 # App works
 $ cordova plugin add org.apache.cordova.file-transfer
 $ cordova emulate ios
 # Build fails
 $ cordova platform remove ios
 $ cordova platform add ios
 $ cordova emulate ios
 # App works
 {code}



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


[jira] [Commented] (CB-7314) Must re-add platforms after adding plugin to avoid build failure

2014-09-12 Thread Shawn Freyssonnet-Inder (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-7314?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14131336#comment-14131336
 ] 

Shawn Freyssonnet-Inder commented on CB-7314:
-

{code}
cordova -v
3.5.0-0.2.7
{code}

 Must re-add platforms after adding plugin to avoid build failure
 

 Key: CB-7314
 URL: https://issues.apache.org/jira/browse/CB-7314
 Project: Apache Cordova
  Issue Type: Bug
Affects Versions: 3.5.0
Reporter: Shawn Freyssonnet-Inder
Assignee: Vivek Thakur

 {code}
 $ cordova -v
 # 3.5.0-0.2.7
 $ cordova create a b c
 $ cd a
 $ cordova platform add ios
 $ cordova emulate ios
 # App works
 $ cordova plugin add org.apache.cordova.file-transfer
 $ cordova emulate ios
 # Build fails
 $ cordova platform remove ios
 $ cordova platform add ios
 $ cordova emulate ios
 # App works
 {code}



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


[jira] [Commented] (CB-7515) Globalization getPreferredLanguage is not calling back

2014-09-12 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-7515?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14131347#comment-14131347
 ] 

ASF GitHub Bot commented on CB-7515:


GitHub user zalun opened a pull request:

https://github.com/apache/cordova-plugin-globalization/pull/24

CB-7515 Hold the information if L10n was ready before.



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

$ git pull https://github.com/zalun/cordova-plugin-globalization 
CB-7515_fixl10n_read_event

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

https://github.com/apache/cordova-plugin-globalization/pull/24.patch

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

This closes #24


commit 01bb703f45bb3bd2f2e4d268880b3c64ad68
Author: Piotr Zalewa pi...@zalewa.info
Date:   2014-09-12T10:16:32Z

Hold the information if L10n was ready before.




 Globalization getPreferredLanguage is not calling back
 --

 Key: CB-7515
 URL: https://issues.apache.org/jira/browse/CB-7515
 Project: Apache Cordova
  Issue Type: Bug
  Components: FirefoxOS
Reporter: Piotr Zalewa
Assignee: Piotr Zalewa

 This happens because an ``l10n_read`` event has been fired before calling the 
 function.



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


[jira] [Commented] (CB-7515) Globalization getPreferredLanguage is not calling back

2014-09-12 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-7515?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14131351#comment-14131351
 ] 

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

Commit aa66116f8b4e34209e47fee21adba40441cd45ca in 
cordova-plugin-globalization's branch refs/heads/master from [~zalun]
[ 
https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-globalization.git;h=aa66116
 ]

Merge branch 'CB-7515_fixl10n_read_event'


 Globalization getPreferredLanguage is not calling back
 --

 Key: CB-7515
 URL: https://issues.apache.org/jira/browse/CB-7515
 Project: Apache Cordova
  Issue Type: Bug
  Components: FirefoxOS
Reporter: Piotr Zalewa
Assignee: Piotr Zalewa

 This happens because an ``l10n_read`` event has been fired before calling the 
 function.



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


[jira] [Commented] (CB-7515) Globalization getPreferredLanguage is not calling back

2014-09-12 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-7515?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14131352#comment-14131352
 ] 

ASF GitHub Bot commented on CB-7515:


Github user asfgit closed the pull request at:

https://github.com/apache/cordova-plugin-globalization/pull/24


 Globalization getPreferredLanguage is not calling back
 --

 Key: CB-7515
 URL: https://issues.apache.org/jira/browse/CB-7515
 Project: Apache Cordova
  Issue Type: Bug
  Components: FirefoxOS
Reporter: Piotr Zalewa
Assignee: Piotr Zalewa

 This happens because an ``l10n_read`` event has been fired before calling the 
 function.



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


[jira] [Created] (CB-7531) Media play() fails to play sound immediately after release() call on windows

2014-09-12 Thread Vladimir Kotikov (JIRA)
Vladimir Kotikov created CB-7531:


 Summary: Media play() fails to play sound immediately after 
release() call on windows
 Key: CB-7531
 URL: https://issues.apache.org/jira/browse/CB-7531
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugin Media
Reporter: Vladimir Kotikov


In mobilespec, following recommended test procedure after pushing 'release' 
button and then immediately 'play' button i'm getting a foolowing error:
{noformat}
Exception calling native with command :: Media :: startPlayingAudio 
::exception=TypeError: Unable to get property 'play' of undefined or null 
reference
Error getting pos=TypeError: Unable to get property 'currentTime' of undefined 
or null reference
Exception was thrown at line 67, column 10 in 
ms-appx://org.apache.mobilespec/www/plugins/org.apache.cordova.media/src/windows8/MediaProxy.js
0x800a138f - JavaScript runtime error: Unable to get property 'play' of 
undefined or null reference
Exception was thrown at line 111, column 13 in 
ms-appx://org.apache.mobilespec/www/plugins/org.apache.cordova.media/src/windows8/MediaProxy.js
0x800a138f - JavaScript runtime error: Unable to get property 'currentTime' of 
undefined or null reference
{noformat}

It seems that problem in {{startPlayingAudio()}} method in MediaProxy.js, that 
doesn't ensures that {{node}} property of current Audio object is exists .



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


[jira] [Commented] (CB-7531) Media play() fails to play sound immediately after release() call on windows

2014-09-12 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-7531?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14131387#comment-14131387
 ] 

ASF GitHub Bot commented on CB-7531:


GitHub user vladimir-kotikov opened a pull request:

https://github.com/apache/cordova-plugin-media/pull/28

CB-7531 Fixes play() failure after release() call

Fix for https://issues.apache.org/jira/browse/CB-7531

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

$ git pull https://github.com/MSOpenTech/cordova-plugin-media CB-7531

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

https://github.com/apache/cordova-plugin-media/pull/28.patch

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

This closes #28


commit 4ba6b139eb846b91ebd022409cc6b87acb913463
Author: Vladimir Kotikov v-vlk...@microsoft.com
Date:   2014-09-12T11:10:59Z

CB-7531 Fixes play() failure after release() call




 Media play() fails to play sound immediately after release() call on windows
 

 Key: CB-7531
 URL: https://issues.apache.org/jira/browse/CB-7531
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugin Media
Reporter: Vladimir Kotikov
  Labels: media, windows

 In mobilespec, following recommended test procedure after pushing 'release' 
 button and then immediately 'play' button i'm getting a foolowing error:
 {noformat}
 Exception calling native with command :: Media :: startPlayingAudio 
 ::exception=TypeError: Unable to get property 'play' of undefined or null 
 reference
 Error getting pos=TypeError: Unable to get property 'currentTime' of 
 undefined or null reference
 Exception was thrown at line 67, column 10 in 
 ms-appx://org.apache.mobilespec/www/plugins/org.apache.cordova.media/src/windows8/MediaProxy.js
 0x800a138f - JavaScript runtime error: Unable to get property 'play' of 
 undefined or null reference
 Exception was thrown at line 111, column 13 in 
 ms-appx://org.apache.mobilespec/www/plugins/org.apache.cordova.media/src/windows8/MediaProxy.js
 0x800a138f - JavaScript runtime error: Unable to get property 'currentTime' 
 of undefined or null reference
 {noformat}
 It seems that problem in {{startPlayingAudio()}} method in MediaProxy.js, 
 that doesn't ensures that {{node}} property of current Audio object is exists 
 .



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


[jira] [Created] (CB-7532) File transfer plugin for windows can't download file to non-existing dir

2014-09-12 Thread Vladimir Kotikov (JIRA)
Vladimir Kotikov created CB-7532:


 Summary: File transfer plugin for windows can't download file to 
non-existing dir
 Key: CB-7532
 URL: https://issues.apache.org/jira/browse/CB-7532
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugin File Transfer
Reporter: Vladimir Kotikov


Best way to repro:

1. Create mobilespec app with windows platform
2. Run plugin manual test - org.apache.cordova.file-transfer.tests.tests
3. Push Download to a non-existent dir (should work) button

Following contents is placed into log:
{noformat}
Requesting filesystem
Checking for existing file
Checking for existing directory.
Starting download
ERROR: ft.download 1
{noformat}



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


[jira] [Commented] (CB-7529) File transfer plugin for windows platform can't resolve 'ms-appdata' URIs

2014-09-12 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-7529?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14131462#comment-14131462
 ] 

ASF GitHub Bot commented on CB-7529:


GitHub user vladimir-kotikov opened a pull request:

https://github.com/apache/cordova-plugin-file-transfer/pull/43

CB-7529 CB-7532 File transfer plugin improvements for windows

This includes fixes for https://issues.apache.org/jira/browse/CB-7529 and 
https://issues.apache.org/jira/browse/CB-7532

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

$ git pull https://github.com/MSOpenTech/cordova-plugin-file-transfer 
CB-7529

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

https://github.com/apache/cordova-plugin-file-transfer/pull/43.patch

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

This closes #43


commit 49c57d27b38df9e11e53c4bc11495d9f6a13852e
Author: Vladimir Kotikov v-vlk...@microsoft.com
Date:   2014-09-12T06:10:33Z

CB-7529 Adds support for 'ms-appdata' URIs for windows

commit 2b86a85c749a476d0998bb0caff6859c160cb92b
Author: Vladimir Kotikov v-vlk...@microsoft.com
Date:   2014-09-12T08:07:33Z

CB-7532 Handle non-existent download dirs properly

commit 223191f9bc6083abfe84dfca6e1e6fc0fa5a5f8f
Author: Vladimir Kotikov v-vlk...@microsoft.com
Date:   2014-09-12T08:08:16Z

Construct proper FileEntry with nativeURL property set




 File transfer plugin for windows platform can't resolve 'ms-appdata' URIs
 -

 Key: CB-7529
 URL: https://issues.apache.org/jira/browse/CB-7529
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugin File Transfer
Reporter: Vladimir Kotikov

 Similar to https://issues.apache.org/jira/browse/CB-7413 File transfer plugin 
 is not able to resolve 'ms-appdata' uris for local files. Such URIs are 
 produced for example by camera plugin.
 Due to this user can't upload a picture from camera to some remote server, 
 for example, and he needs to use File plugin functionality to get full path 
 to file and then upload it.



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


[jira] [Commented] (CB-7272) Docs for File plugin use o for... something

2014-09-12 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-7272?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14131552#comment-14131552
 ] 

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

Commit a82b102d203a02f2c02e9be2ff53104d4310a426 in cordova-plugin-file's branch 
refs/heads/master from [~iclelland]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-file.git;h=a82b102 ]

CB-7272: Replace confusing r/o abbreviation with just r


 Docs for File plugin use o for... something
 -

 Key: CB-7272
 URL: https://issues.apache.org/jira/browse/CB-7272
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugin File
Reporter: Raymond Camden
Priority: Minor
  Labels: documentation

 In the tables regarding read/write access for various OS, I see:
 r/o
 under the r/w table. What does read/oh mean? If it means yes to read and no 
 to write, why not just have r there?



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


[jira] [Assigned] (CB-7272) Docs for File plugin use o for... something

2014-09-12 Thread Ian Clelland (JIRA)

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

Ian Clelland reassigned CB-7272:


Assignee: Ian Clelland

 Docs for File plugin use o for... something
 -

 Key: CB-7272
 URL: https://issues.apache.org/jira/browse/CB-7272
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugin File
Reporter: Raymond Camden
Assignee: Ian Clelland
Priority: Minor
  Labels: documentation

 In the tables regarding read/write access for various OS, I see:
 r/o
 under the r/w table. What does read/oh mean? If it means yes to read and no 
 to write, why not just have r there?



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


[jira] [Resolved] (CB-7272) Docs for File plugin use o for... something

2014-09-12 Thread Ian Clelland (JIRA)

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

Ian Clelland resolved CB-7272.
--
Resolution: Fixed

No read or write permissions wouldn't be very useful ;)

I've updated the doc to replace r/o with r. Closing this issue.

 Docs for File plugin use o for... something
 -

 Key: CB-7272
 URL: https://issues.apache.org/jira/browse/CB-7272
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugin File
Reporter: Raymond Camden
Assignee: Ian Clelland
Priority: Minor
  Labels: documentation

 In the tables regarding read/write access for various OS, I see:
 r/o
 under the r/w table. What does read/oh mean? If it means yes to read and no 
 to write, why not just have r there?



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


[jira] [Created] (CB-7533) inappbrowser plugin not working with angularJs + cordova 3.5.1 release

2014-09-12 Thread aitzol berasategi (JIRA)
aitzol berasategi created CB-7533:
-

 Summary: inappbrowser plugin not working with angularJs + cordova 
3.5.1 release 
 Key: CB-7533
 URL: https://issues.apache.org/jira/browse/CB-7533
 Project: Apache Cordova
  Issue Type: Bug
  Components: Android
Affects Versions: 3.5.0
 Environment: I have an issue with angularJs + Cordova 3.5.1 hybrid 
webapp
Reporter: aitzol berasategi
 Fix For: 3.5.0


External links that I have in my angularJs + cordova3.5.0 app with inappbrowser 
plugin works fine. My app crashed after cordova is upgraded to the 3.5.1 
release, and then inappbrowser  doesnt work.
I call external links in appcontroller.js as well:

$scope.kanpoLink = function(link){
window.open(link, '_system', 'location=yes');
}

Sorry for my English.



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


[jira] [Created] (CB-7534) Fast useless rotation (90 deg) breaks layout

2014-09-12 Thread David Vielhuber (JIRA)
David Vielhuber created CB-7534:
---

 Summary: Fast useless rotation (90 deg) breaks layout
 Key: CB-7534
 URL: https://issues.apache.org/jira/browse/CB-7534
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugin Camera
Affects Versions: 3.3.0
Reporter: David Vielhuber


Hi!

With using the integrated Camera Plugin 2.9.0 from Phonegap Build I have 
problems with the orientation.

After I take a photo and press e.g. the back button, the screen is rotated by 
90 degrees and fastly rotates back. The problem is that sometimes my layout is 
destroyed through this fast orientation change.

When using instead other camera plugins (e.g. org.wbt11a.nativecamera), the 
screen never changes in orientation (i only use portrait mode).

Is this fixed in a future version (e.g. v3)?



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


[jira] [Updated] (CB-7534) Fast useless rotation (90 deg) breaks layout

2014-09-12 Thread David Vielhuber (JIRA)

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

David Vielhuber updated CB-7534:

Description: 
Hi!

With using the integrated Camera Plugin 2.9.0 from Phonegap Build I have 
problems with my layout.

After I take a photo and press e.g. the back button, the screen is rotated by 
90 degrees and fastly rotates back. The problem is that sometimes my layout is 
destroyed through this fast orientation change.

When using instead other camera plugins (e.g. org.wbt11a.nativecamera), the 
screen never changes in orientation (i only use portrait mode).

Is this fixed in a future version (e.g. v3)?

  was:
Hi!

With using the integrated Camera Plugin 2.9.0 from Phonegap Build I have 
problems with the orientation.

After I take a photo and press e.g. the back button, the screen is rotated by 
90 degrees and fastly rotates back. The problem is that sometimes my layout is 
destroyed through this fast orientation change.

When using instead other camera plugins (e.g. org.wbt11a.nativecamera), the 
screen never changes in orientation (i only use portrait mode).

Is this fixed in a future version (e.g. v3)?


 Fast useless rotation (90 deg) breaks layout
 

 Key: CB-7534
 URL: https://issues.apache.org/jira/browse/CB-7534
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugin Camera
Affects Versions: 3.3.0
Reporter: David Vielhuber

 Hi!
 With using the integrated Camera Plugin 2.9.0 from Phonegap Build I have 
 problems with my layout.
 After I take a photo and press e.g. the back button, the screen is rotated by 
 90 degrees and fastly rotates back. The problem is that sometimes my layout 
 is destroyed through this fast orientation change.
 When using instead other camera plugins (e.g. org.wbt11a.nativecamera), the 
 screen never changes in orientation (i only use portrait mode).
 Is this fixed in a future version (e.g. v3)?



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


[jira] [Updated] (CB-7534) Fast useless rotation (90 deg) breaks layout

2014-09-12 Thread David Vielhuber (JIRA)

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

David Vielhuber updated CB-7534:

Description: 
Hi!

With using the integrated Camera Plugin 2.9.0 from Phonegap Build I have 
problems with my layout.

After I take a photo and press e.g. the back button, the screen is rotated by 
90 degrees and fastly rotates back to its original orientation. The problem is 
that sometimes my layout is destroyed through this fast orientation change.

When using instead other camera plugins (e.g. org.wbt11a.nativecamera), the 
screen never changes in orientation (i only use portrait mode).

Is this fixed in a future version (e.g. v3)?

  was:
Hi!

With using the integrated Camera Plugin 2.9.0 from Phonegap Build I have 
problems with my layout.

After I take a photo and press e.g. the back button, the screen is rotated by 
90 degrees and fastly rotates back. The problem is that sometimes my layout is 
destroyed through this fast orientation change.

When using instead other camera plugins (e.g. org.wbt11a.nativecamera), the 
screen never changes in orientation (i only use portrait mode).

Is this fixed in a future version (e.g. v3)?


 Fast useless rotation (90 deg) breaks layout
 

 Key: CB-7534
 URL: https://issues.apache.org/jira/browse/CB-7534
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugin Camera
Affects Versions: 3.3.0
Reporter: David Vielhuber

 Hi!
 With using the integrated Camera Plugin 2.9.0 from Phonegap Build I have 
 problems with my layout.
 After I take a photo and press e.g. the back button, the screen is rotated by 
 90 degrees and fastly rotates back to its original orientation. The problem 
 is that sometimes my layout is destroyed through this fast orientation change.
 When using instead other camera plugins (e.g. org.wbt11a.nativecamera), the 
 screen never changes in orientation (i only use portrait mode).
 Is this fixed in a future version (e.g. v3)?



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


[jira] [Assigned] (CB-7526) cordova platform add fails for ios and android

2014-09-12 Thread Marcel Kinard (JIRA)

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

Marcel Kinard reassigned CB-7526:
-

Assignee: Marcel Kinard

 cordova platform add fails for ios and android
 --

 Key: CB-7526
 URL: https://issues.apache.org/jira/browse/CB-7526
 Project: Apache Cordova
  Issue Type: Bug
  Components: CLI
Affects Versions: 3.6.0
Reporter: Scott Gilroy
Assignee: Marcel Kinard
Priority: Blocker

 I created a new cordova project and attempted to add platforms
 $ cordova create HelloCordova com.twinehealth.hello HelloCordova
 Creating a new cordova project with name HelloCordova and id 
 com.twinehealth.hello at location 
 /Users/sgilroy/Documents/GitHub/HelloCordova
 Downloading cordova library for www...
 Download complete
 $ cd HelloCordova
 $ cordova platform add ios
 npm http GET https://registry.npmjs.org/cordova-ios/-/cordova-ios-3.6.1.tgz
 npm http 200 https://registry.npmjs.org/cordova-ios/-/cordova-ios-3.6.1.tgz
 Unable to fetch platform ios: Error: shasum check failed for 
 /var/folders/cr/68yqxgyx32zf7b7c9cbl6msrgn/T/npm-56180-4vCiphuS/1410472085915-0.8748841187916696/tmp.tgz
 Expected: ae3d0a39e25f21c897812029c3fbc7f816d592a7
 Actual:   ffed0885409aed998b6d351fcae46518ad279a02
 $ cordova platform add android
 npm http GET 
 https://registry.npmjs.org/cordova-android/-/cordova-android-3.6.1.tgz
 npm http 200 
 https://registry.npmjs.org/cordova-android/-/cordova-android-3.6.1.tgz
 Unable to fetch platform android: Error: shasum check failed for 
 /var/folders/cr/68yqxgyx32zf7b7c9cbl6msrgn/T/npm-56679-_qwlX-IR/1410472210058-0.6259658436756581/tmp.tgz
 Expected: b9138a0743c4f424ee62721c22dac84e8d1ca087
 Actual:   a5c74dea5a0225566e4a54185d8639a7f7f6ac3e



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


[jira] [Commented] (CB-7535) Enable DiskCache by defaut

2014-09-12 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-7535?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14131763#comment-14131763
 ] 

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

Commit 11f49f9d8e8cbc4966ab9b5dbd6e25f19ca04f4a in cordova-blackberry's branch 
refs/heads/master from [~bhiggins_bb]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-blackberry.git;h=11f49f9 ]

CB-7535 DiskCache - change default to enable


 Enable DiskCache by defaut
 --

 Key: CB-7535
 URL: https://issues.apache.org/jira/browse/CB-7535
 Project: Apache Cordova
  Issue Type: Bug
  Components: BlackBerry
Reporter: Bryan Higgins
Assignee: Bryan Higgins
Priority: Minor
 Fix For: 3.7.0


 This should really be set to enable by default to match behaviour of other 
 platforms and boost performance for remotely hosted apps.
 DiskCache 
 Enables WebView caching, which prevents the app from issuing multiple network 
 requests for the same resource.
 The value can be either disable or enable. The default value is disable.
 Example
 preference name=DiskCache value=enable /



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


[jira] [Resolved] (CB-7535) Enable DiskCache by defaut

2014-09-12 Thread Bryan Higgins (JIRA)

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

Bryan Higgins resolved CB-7535.
---
Resolution: Fixed

 Enable DiskCache by defaut
 --

 Key: CB-7535
 URL: https://issues.apache.org/jira/browse/CB-7535
 Project: Apache Cordova
  Issue Type: Bug
  Components: BlackBerry
Reporter: Bryan Higgins
Assignee: Bryan Higgins
Priority: Minor
 Fix For: 3.7.0


 This should really be set to enable by default to match behaviour of other 
 platforms and boost performance for remotely hosted apps.
 DiskCache 
 Enables WebView caching, which prevents the app from issuing multiple network 
 requests for the same resource.
 The value can be either disable or enable. The default value is disable.
 Example
 preference name=DiskCache value=enable /



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


[jira] [Created] (CB-7536) Give better error message for missing android SDK requirements

2014-09-12 Thread Andrew Grieve (JIRA)
Andrew Grieve created CB-7536:
-

 Summary: Give better error message for missing android SDK 
requirements
 Key: CB-7536
 URL: https://issues.apache.org/jira/browse/CB-7536
 Project: Apache Cordova
  Issue Type: Bug
  Components: Android
Reporter: Andrew Grieve
Assignee: Andrew Grieve
Priority: Minor


When you don't have the correct SDK installed, or when you don't have Java, or 
when you don't have an emulator AVD, we should give even better error messages.



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


[jira] [Updated] (CB-7314) Must re-add platforms after adding plugin to avoid build failure

2014-09-12 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-7314:
-
Component/s: CLI

 Must re-add platforms after adding plugin to avoid build failure
 

 Key: CB-7314
 URL: https://issues.apache.org/jira/browse/CB-7314
 Project: Apache Cordova
  Issue Type: Bug
  Components: CLI
Affects Versions: 3.5.0
Reporter: Shawn Freyssonnet-Inder
Assignee: Vivek Thakur

 {code}
 $ cordova -v
 # 3.5.0-0.2.7
 $ cordova create a b c
 $ cd a
 $ cordova platform add ios
 $ cordova emulate ios
 # App works
 $ cordova plugin add org.apache.cordova.file-transfer
 $ cordova emulate ios
 # Build fails
 $ cordova platform remove ios
 $ cordova platform add ios
 $ cordova emulate ios
 # App works
 {code}



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


[jira] [Updated] (CB-7515) Globalization getPreferredLanguage is not calling back

2014-09-12 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-7515:
-
Component/s: Plugin Globalization

 Globalization getPreferredLanguage is not calling back
 --

 Key: CB-7515
 URL: https://issues.apache.org/jira/browse/CB-7515
 Project: Apache Cordova
  Issue Type: Bug
  Components: FirefoxOS, Plugin Globalization
Reporter: Piotr Zalewa
Assignee: Piotr Zalewa

 This happens because an ``l10n_read`` event has been fired before calling the 
 function.



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


[jira] [Created] (CB-7537) have CLI not pin to patch releases of platforms

2014-09-12 Thread Marcel Kinard (JIRA)
Marcel Kinard created CB-7537:
-

 Summary: have CLI not pin to patch releases of platforms
 Key: CB-7537
 URL: https://issues.apache.org/jira/browse/CB-7537
 Project: Apache Cordova
  Issue Type: Improvement
  Components: CordovaLib
Reporter: Marcel Kinard
Priority: Minor


During the 3.6 release, we ran in to issues that required bumping the patch 
version of the platforms (major.minor.patch). As that propagated through our 
tools it also required changes to 
cordova-lib/cordova-lib/src/cordova/platforms.js, and also to 
cordova-cli/package.json#dependencies.cordova-lib.

It would be nice is if platforms.js could reference 3.6.x instead of 3.6.0, 
and then if any patch versions of the platforms are available (i.e., 3.6.1) 
then the cli could download those without requiring any changes to platforms.js 
and cascading components.



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


[jira] [Updated] (CB-7537) have CLI not pin to patch releases of platforms

2014-09-12 Thread Marcel Kinard (JIRA)

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

Marcel Kinard updated CB-7537:
--
Description: 
During the 3.6 release, we ran in to issues that required bumping the patch 
version of the platforms (major.minor.patch). As that propagated through our 
tools it also required changes to 
cordova-lib/cordova-lib/src/cordova/platforms.js, and also to 
cordova-cli/package.json#dependencies.cordova-lib.

It would be nice is if platforms.js could reference 3.6.x instead of 3.6.0, 
and then if any patch versions of the platforms are available (i.e., 3.6.1 
and tagged in the npm repo as latest) then the cli could download those 
without requiring any changes to platforms.js and cascading components.

  was:
During the 3.6 release, we ran in to issues that required bumping the patch 
version of the platforms (major.minor.patch). As that propagated through our 
tools it also required changes to 
cordova-lib/cordova-lib/src/cordova/platforms.js, and also to 
cordova-cli/package.json#dependencies.cordova-lib.

It would be nice is if platforms.js could reference 3.6.x instead of 3.6.0, 
and then if any patch versions of the platforms are available (i.e., 3.6.1) 
then the cli could download those without requiring any changes to platforms.js 
and cascading components.


 have CLI not pin to patch releases of platforms
 ---

 Key: CB-7537
 URL: https://issues.apache.org/jira/browse/CB-7537
 Project: Apache Cordova
  Issue Type: Improvement
  Components: CordovaLib
Reporter: Marcel Kinard
Priority: Minor

 During the 3.6 release, we ran in to issues that required bumping the patch 
 version of the platforms (major.minor.patch). As that propagated through our 
 tools it also required changes to 
 cordova-lib/cordova-lib/src/cordova/platforms.js, and also to 
 cordova-cli/package.json#dependencies.cordova-lib.
 It would be nice is if platforms.js could reference 3.6.x instead of 
 3.6.0, and then if any patch versions of the platforms are available (i.e., 
 3.6.1 and tagged in the npm repo as latest) then the cli could download 
 those without requiring any changes to platforms.js and cascading components.



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


[jira] [Updated] (CB-7533) inappbrowser plugin not working with angularJs + cordova 3.5.1 release

2014-09-12 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-7533:
-
Component/s: Plugin InAppBrowser

 inappbrowser plugin not working with angularJs + cordova 3.5.1 release 
 ---

 Key: CB-7533
 URL: https://issues.apache.org/jira/browse/CB-7533
 Project: Apache Cordova
  Issue Type: Bug
  Components: Android, Plugin InAppBrowser
Affects Versions: 3.5.0
 Environment: I have an issue with angularJs + Cordova 3.5.1 hybrid 
 webapp
Reporter: aitzol berasategi
  Labels: inappbrowser, javascript, newbie
 Fix For: 3.5.0


 External links that I have in my angularJs + cordova3.5.0 app with 
 inappbrowser plugin works fine. My app crashed after cordova is upgraded to 
 the 3.5.1 release, and then inappbrowser  doesnt work.
 I call external links in appcontroller.js as well:
 $scope.kanpoLink = function(link){
 window.open(link, '_system', 'location=yes');
 }
 Sorry for my English.



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


[jira] [Commented] (CB-7536) Give better error message for missing android SDK requirements

2014-09-12 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-7536?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14131867#comment-14131867
 ] 

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

Commit 525ce0e0ad585542d149700a442e767e3ed93c8b in cordova-android's branch 
refs/heads/4.0.x from [~agrieve]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-android.git;h=525ce0e ]

CB-7536 Tweak error messages for missing JDK / SDK / AVDs


 Give better error message for missing android SDK requirements
 --

 Key: CB-7536
 URL: https://issues.apache.org/jira/browse/CB-7536
 Project: Apache Cordova
  Issue Type: Bug
  Components: Android
Reporter: Andrew Grieve
Assignee: Andrew Grieve
Priority: Minor

 When you don't have the correct SDK installed, or when you don't have Java, 
 or when you don't have an emulator AVD, we should give even better error 
 messages.



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


[jira] [Commented] (CB-7536) Give better error message for missing android SDK requirements

2014-09-12 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-7536?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14131866#comment-14131866
 ] 

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

Commit 525ce0e0ad585542d149700a442e767e3ed93c8b in cordova-android's branch 
refs/heads/master from [~agrieve]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-android.git;h=525ce0e ]

CB-7536 Tweak error messages for missing JDK / SDK / AVDs


 Give better error message for missing android SDK requirements
 --

 Key: CB-7536
 URL: https://issues.apache.org/jira/browse/CB-7536
 Project: Apache Cordova
  Issue Type: Bug
  Components: Android
Reporter: Andrew Grieve
Assignee: Andrew Grieve
Priority: Minor

 When you don't have the correct SDK installed, or when you don't have Java, 
 or when you don't have an emulator AVD, we should give even better error 
 messages.



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


[jira] [Created] (CB-7538) Beep in Android locks main UI thread

2014-09-12 Thread David Peacock (JIRA)
David Peacock created CB-7538:
-

 Summary: Beep in Android locks main UI thread
 Key: CB-7538
 URL: https://issues.apache.org/jira/browse/CB-7538
 Project: Apache Cordova
  Issue Type: Bug
  Components: Android, Plugin Dialogs
Reporter: David Peacock


When using the navigator.notification.beep() the main UI thread gets locked up. 
 This is especially noticeable when you have a long notification ringtone, or 
are calling beep with a parameter (i.e. beep(10)).  Beep should be done in it's 
own thread.

I will be submitting a pull request that resolves this.



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


[jira] [Commented] (CB-7538) Beep in Android locks main UI thread

2014-09-12 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-7538?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14131932#comment-14131932
 ] 

ASF GitHub Bot commented on CB-7538:


GitHub user dpeacock opened a pull request:

https://github.com/apache/cordova-plugin-dialogs/pull/33

CB-7538 Android beep thread fix

Beep now executes in it's own thread.  It was previously executing in the 
main UI thread which was causing the application to lock up will the beep was 
occurring.

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

$ git pull https://github.com/dpeacock/cordova-plugin-dialogs CB-7538

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

https://github.com/apache/cordova-plugin-dialogs/pull/33.patch

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

This closes #33


commit 0b4afee46d9d095ca956cb6e3f0a92a828d02f91
Author: David Peacock dapeac...@gmail.com
Date:   2014-09-12T18:52:01Z

CB-7538 Android beep thread fix
Beep now executes in it's own thread.  It was previously executing in the 
main UI thread which was causing the application to lock up will the beep was 
occurring.




 Beep in Android locks main UI thread
 

 Key: CB-7538
 URL: https://issues.apache.org/jira/browse/CB-7538
 Project: Apache Cordova
  Issue Type: Bug
  Components: Android, Plugin Dialogs
Reporter: David Peacock

 When using the navigator.notification.beep() the main UI thread gets locked 
 up.  This is especially noticeable when you have a long notification 
 ringtone, or are calling beep with a parameter (i.e. beep(10)).  Beep should 
 be done in it's own thread.
 I will be submitting a pull request that resolves this.



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


[jira] [Created] (CB-7539) Use local webserver option to load local HTML file from www

2014-09-12 Thread Shazron Abdullah (JIRA)
Shazron Abdullah created CB-7539:


 Summary: Use local webserver option to load local HTML file from 
www
 Key: CB-7539
 URL: https://issues.apache.org/jira/browse/CB-7539
 Project: Apache Cordova
  Issue Type: Bug
  Components: iOS
Reporter: Shazron Abdullah


This workaround is because of this bug:
http://www.openradar.me/radar?id=5839348817723392
(filed with Apple of course also)

I'm still hoping that Apple fixes this in iOS 8.1, but we should have this as a 
contingency plan.

Create this as an included plugin, so it can be extracted later if need be.

We need to secure access to the local webserver, probably through a session 
token in the header, since background apps can have access to the webserver. 
The session token is passed down to the initially loaded local page specified 
from the content tag in config.xml, and should be used in the cordova.exec 
call. We would also need to implement local proxy support , see CB-7348

This all sounds more complex than it needs to be than just loading a file url 
-- wishing Apple would just fix this in iOS 8.1 instead.






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


[jira] [Updated] (CB-7539) Use local webserver option to load local HTML file from www

2014-09-12 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-7539:
-
Issue Type: Sub-task  (was: Bug)
Parent: CB-7043

 Use local webserver option to load local HTML file from www
 ---

 Key: CB-7539
 URL: https://issues.apache.org/jira/browse/CB-7539
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: iOS
Reporter: Shazron Abdullah

 This workaround is because of this bug:
 http://www.openradar.me/radar?id=5839348817723392
 (filed with Apple of course also)
 I'm still hoping that Apple fixes this in iOS 8.1, but we should have this as 
 a contingency plan.
 Create this as an included plugin, so it can be extracted later if need be.
 We need to secure access to the local webserver, probably through a session 
 token in the header, since background apps can have access to the webserver. 
 The session token is passed down to the initially loaded local page specified 
 from the content tag in config.xml, and should be used in the cordova.exec 
 call. We would also need to implement local proxy support , see CB-7348
 This all sounds more complex than it needs to be than just loading a file url 
 -- wishing Apple would just fix this in iOS 8.1 instead.



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


[jira] [Updated] (CB-7539) Use local webserver option to load local HTML file from www

2014-09-12 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-7539:
-
Priority: Blocker  (was: Major)

 Use local webserver option to load local HTML file from www
 ---

 Key: CB-7539
 URL: https://issues.apache.org/jira/browse/CB-7539
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: iOS
Reporter: Shazron Abdullah
Priority: Blocker

 This workaround is because of this bug:
 http://www.openradar.me/radar?id=5839348817723392
 (filed with Apple of course also)
 I'm still hoping that Apple fixes this in iOS 8.1, but we should have this as 
 a contingency plan.
 Create this as an included plugin, so it can be extracted later if need be.
 We need to secure access to the local webserver, probably through a session 
 token in the header, since background apps can have access to the webserver. 
 The session token is passed down to the initially loaded local page specified 
 from the content tag in config.xml, and should be used in the cordova.exec 
 call. We would also need to implement local proxy support , see CB-7348
 This all sounds more complex than it needs to be than just loading a file url 
 -- wishing Apple would just fix this in iOS 8.1 instead.



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


[jira] [Updated] (CB-7517) Media Plugin: returns an error and app becomes unresponsive when playing some mp3 fiiles on iOS 8

2014-09-12 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-7517:
-
Summary: Media Plugin: returns an error and app becomes unresponsive when 
playing some mp3 fiiles on iOS 8  (was: Media plugin returns an error and app 
becomes unresponsive when playing some mp3 fiiles on iOS 8)

 Media Plugin: returns an error and app becomes unresponsive when playing some 
 mp3 fiiles on iOS 8
 -

 Key: CB-7517
 URL: https://issues.apache.org/jira/browse/CB-7517
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: Plugin Media
Affects Versions: 3.5.0
 Environment: iOS 8 GM
Reporter: Tom Krones
 Attachments: chart-1-6-1-bad.mp3, chart-1-6-1-good.mp3


 You can read more about the issue here:
 https://groups.google.com/forum/?hl=en?hl%3Den#!topic/phonegap/Zb7NQsr6wCQ
 I just upgraded my device to iOS 8 and started getting a decode error with 
 some of my mp3 files that are being played using the media plugin.  They 
 played fine with iOS 6 and iOS 7.  Here are the two files one plays fine the 
 other gives the MediaError.MEDIA_ERR_DECODE = 3 error.
 Anyone know why this is happening and if there is any software I can use to 
 re-encode the files and to see if it fixes them?
 attached files.



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


[jira] [Updated] (CB-7517) [Media][iOS 8] returns an error and app becomes unresponsive when playing some mp3 fiiles

2014-09-12 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-7517:
-
Summary: [Media][iOS 8] returns an error and app becomes unresponsive when 
playing some mp3 fiiles  (was: Media Plugin: returns an error and app becomes 
unresponsive when playing some mp3 fiiles on iOS 8)

 [Media][iOS 8] returns an error and app becomes unresponsive when playing 
 some mp3 fiiles
 -

 Key: CB-7517
 URL: https://issues.apache.org/jira/browse/CB-7517
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: Plugin Media
Affects Versions: 3.5.0
 Environment: iOS 8 GM
Reporter: Tom Krones
 Attachments: chart-1-6-1-bad.mp3, chart-1-6-1-good.mp3


 You can read more about the issue here:
 https://groups.google.com/forum/?hl=en?hl%3Den#!topic/phonegap/Zb7NQsr6wCQ
 I just upgraded my device to iOS 8 and started getting a decode error with 
 some of my mp3 files that are being played using the media plugin.  They 
 played fine with iOS 6 and iOS 7.  Here are the two files one plays fine the 
 other gives the MediaError.MEDIA_ERR_DECODE = 3 error.
 Anyone know why this is happening and if there is any software I can use to 
 re-encode the files and to see if it fixes them?
 attached files.



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


[jira] [Updated] (CB-7527) [Camera][iOS 8] - Rotation issue

2014-09-12 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-7527:
-
Summary: [Camera][iOS 8] - Rotation issue  (was: ios 8 GM version - camera 
rotation issue)

 [Camera][iOS 8] - Rotation issue
 

 Key: CB-7527
 URL: https://issues.apache.org/jira/browse/CB-7527
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: Plugin Camera
Affects Versions: 3.5.0
 Environment: cordova 3.5.0, ios 8 GM, xcode 6 GM, camera plugin 0.2.8 
 (same with ancient cordova 2.2)
Reporter: Roman Mandryk
Assignee: Shazron Abdullah

 When using ios 8 GM and cordova 3.5 app, after launching the camera in any 
 rotation the camera is launched fine and shoot button is on the right side. 
 When I rotate the device into new orientation, the picture gets sideways or 
 upsidedown with shoot button always on right side.
 Native camera app has weird glitch when changing orientation (not present in 
 7.1) but then changes orientation correctly.
 The problem seems to appear only in cordova app.
 Issue happens with both current app in production and app build with xcode 6 
 GM.



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


[jira] [Updated] (CB-7179) [InAppBrowser][iOS 8] Update to support WKWebView

2014-09-12 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-7179:
-
Summary: [InAppBrowser][iOS 8] Update to support WKWebView  (was: Update 
InAppBrowser to support WKWebView)

 [InAppBrowser][iOS 8] Update to support WKWebView
 -

 Key: CB-7179
 URL: https://issues.apache.org/jira/browse/CB-7179
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: Plugin InAppBrowser
 Environment: iOS 8
Reporter: Shazron Abdullah

 support dual use with UIWebView



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


[jira] [Updated] (CB-7306) [Splashscreen][iOS 8] fails to go away (wkwebview iOS 8 branch)

2014-09-12 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-7306:
-
Summary: [Splashscreen][iOS 8] fails to go away (wkwebview iOS 8 branch)  
(was: Splashscreen fails to go away (wkwebview iOS 8 branch))

 [Splashscreen][iOS 8] fails to go away (wkwebview iOS 8 branch)
 ---

 Key: CB-7306
 URL: https://issues.apache.org/jira/browse/CB-7306
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: Plugin SplashScreen
Reporter: Shazron Abdullah

 This is based on testing with cordova-ios wkwebview branch and mobile-spec 
 3.5.0



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


[jira] [Commented] (CB-7527) [Camera][iOS 8] - Rotation issue

2014-09-12 Thread Edna Morales (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-7527?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14132024#comment-14132024
 ] 

Edna Morales commented on CB-7527:
--

I remember seeing an issue like this awhile back. I believe it may be an iOS 8 
bug, as this same issue is seen in the native Messages app whenever you bring 
up the camera from there (i.e. Select the camera button and choose Take Photo 
or Video).
Is the device on which this is happening an iPad? When I was investigating this 
issue it seemed to only happen on an iPad with iOS 8, not an iPhone with iOS 8.

 [Camera][iOS 8] - Rotation issue
 

 Key: CB-7527
 URL: https://issues.apache.org/jira/browse/CB-7527
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: Plugin Camera
Affects Versions: 3.5.0
 Environment: cordova 3.5.0, ios 8 GM, xcode 6 GM, camera plugin 0.2.8 
 (same with ancient cordova 2.2)
Reporter: Roman Mandryk
Assignee: Shazron Abdullah

 When using ios 8 GM and cordova 3.5 app, after launching the camera in any 
 rotation the camera is launched fine and shoot button is on the right side. 
 When I rotate the device into new orientation, the picture gets sideways or 
 upsidedown with shoot button always on right side.
 Native camera app has weird glitch when changing orientation (not present in 
 7.1) but then changes orientation correctly.
 The problem seems to appear only in cordova app.
 Issue happens with both current app in production and app build with xcode 6 
 GM.



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


[jira] [Commented] (CB-7536) Give better error message for missing android SDK requirements

2014-09-12 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-7536?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14132035#comment-14132035
 ] 

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

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

CB-7536 Tweak Android SDK not installed error message.

We no longer require you to edit your PATH


 Give better error message for missing android SDK requirements
 --

 Key: CB-7536
 URL: https://issues.apache.org/jira/browse/CB-7536
 Project: Apache Cordova
  Issue Type: Bug
  Components: Android
Reporter: Andrew Grieve
Assignee: Andrew Grieve
Priority: Minor

 When you don't have the correct SDK installed, or when you don't have Java, 
 or when you don't have an emulator AVD, we should give even better error 
 messages.



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


[jira] [Commented] (CB-7536) Give better error message for missing android SDK requirements

2014-09-12 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-7536?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14132036#comment-14132036
 ] 

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

Commit f2e8c00f49187d669043f56247b2ab623395e5c8 in cordova-android's branch 
refs/heads/4.0.x from [~agrieve]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-android.git;h=f2e8c00 ]

CB-7536 Tweak Android SDK not installed error message.

We no longer require you to edit your PATH


 Give better error message for missing android SDK requirements
 --

 Key: CB-7536
 URL: https://issues.apache.org/jira/browse/CB-7536
 Project: Apache Cordova
  Issue Type: Bug
  Components: Android
Reporter: Andrew Grieve
Assignee: Andrew Grieve
Priority: Minor

 When you don't have the correct SDK installed, or when you don't have Java, 
 or when you don't have an emulator AVD, we should give even better error 
 messages.



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


[jira] [Resolved] (CB-7536) Give better error message for missing android SDK requirements

2014-09-12 Thread Andrew Grieve (JIRA)

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

Andrew Grieve resolved CB-7536.
---
Resolution: Fixed

Fixed om 3.7.0-dev

 Give better error message for missing android SDK requirements
 --

 Key: CB-7536
 URL: https://issues.apache.org/jira/browse/CB-7536
 Project: Apache Cordova
  Issue Type: Bug
  Components: Android
Reporter: Andrew Grieve
Assignee: Andrew Grieve
Priority: Minor

 When you don't have the correct SDK installed, or when you don't have Java, 
 or when you don't have an emulator AVD, we should give even better error 
 messages.



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


[jira] [Created] (CB-7540) coho prepare-release-branch crashes on windows and wp8

2014-09-12 Thread Marcel Kinard (JIRA)
Marcel Kinard created CB-7540:
-

 Summary: coho prepare-release-branch crashes on windows and wp8
 Key: CB-7540
 URL: https://issues.apache.org/jira/browse/CB-7540
 Project: Apache Cordova
  Issue Type: Bug
  Components: Coho
Reporter: Marcel Kinard
Priority: Minor


The prepare-release-branch command in coho is erroring out when trying to copy 
the generated cordova.js from cordova-js into the platform repo. I'm wondering 
if some of the recent changes to the windows and wp8 platforms to support 
Windows Universal Apps may be the cause of this.

I'm guessing it has to do with the definition of cordovaJsPaths in 
cordova-coho/src/repoutil.js, as the destination locations in the platform may 
have changed. It is also unclear if the source cordova-js/pkg/cordova*js file 
may need to be changed.

The output below is for windows, I see similar output for wp8 also.

{code}
marcelk-macbook:apache marcelk$ cordova-coho/coho prepare-release-branch 
--version 3.6.3 -r windows
Running from /Users/marcelk/Developer/apache
cordova-windows/ === Executing: git remote update origin
cordova-windows/ === Already up-to-date: cordova-windows
cordova-windows/ === Remote branch already exists for repo: 
cordova-windows
cordova-windows/ === Already up-to-date: cordova-windows
cordova-js/  Executing: git checkout -q 3.6.3
cordova-js/  Executing: grunt
Running compile:amazon-fireos (compile) task
generated cordova.amazon-fireos.js @ 3.6.3 in 7ms

Running compile:android (compile) task
generated cordova.android.js @ 3.6.3 in 6ms

Running compile:blackberry10 (compile) task
generated cordova.blackberry10.js @ 3.6.3 in 4ms

Running compile:ios (compile) task
generated cordova.ios.js @ 3.6.3 in 4ms

Running compile:osx (compile) task
generated cordova.osx.js @ 3.6.3 in 7ms

Running compile:test (compile) task
generated cordova.test.js @ 3.6.3 in 5ms

Running compile:windows (compile) task
generated cordova.windows.js @ 3.6.3 in 5ms

Running compile:windows8 (compile) task
generated cordova.windows8.js @ 3.6.3 in 5ms

Running compile:windowsphone (compile) task
generated cordova.windowsphone.js @ 3.6.3 in 5ms

Running compile:firefoxos (compile) task
generated cordova.firefoxos.js @ 3.6.3 in 5ms

Running compile:webos (compile) task
generated cordova.webos.js @ 3.6.3 in 5ms

Running compile:ubuntu (compile) task
generated cordova.ubuntu.js @ 3.6.3 in 4ms

Running compile:browser (compile) task
generated cordova.browser.js @ 3.6.3 in 4ms

Running jshint:src (jshint) task
 59 files lint free.

Running whitespace-check task
files with whitespace issues: (to fix: `grunt whitespace-fix`)
   src/common/init_b.js
   src/ios/exec.js
   src/webos/platform.js
   src/windows/platform.js

Running compile:amazon-fireos (compile) task
generated cordova.amazon-fireos.js @ 3.6.3 in 4ms

Running compile:android (compile) task
generated cordova.android.js @ 3.6.3 in 5ms

Running compile:blackberry10 (compile) task
generated cordova.blackberry10.js @ 3.6.3 in 3ms

Running compile:ios (compile) task
generated cordova.ios.js @ 3.6.3 in 4ms

Running compile:osx (compile) task
generated cordova.osx.js @ 3.6.3 in 4ms

Running compile:test (compile) task
generated cordova.test.js @ 3.6.3 in 5ms

Running compile:windows (compile) task
generated cordova.windows.js @ 3.6.3 in 4ms

Running compile:windows8 (compile) task
generated cordova.windows8.js @ 3.6.3 in 4ms

Running compile:windowsphone (compile) task
generated cordova.windowsphone.js @ 3.6.3 in 3ms

Running compile:firefoxos (compile) task
generated cordova.firefoxos.js @ 3.6.3 in 4ms

Running compile:webos (compile) task
generated cordova.webos.js @ 3.6.3 in 3ms

Running compile:ubuntu (compile) task
generated cordova.ubuntu.js @ 3.6.3 in 3ms

Running compile:browser (compile) task
generated cordova.browser.js @ 3.6.3 in 3ms

Running _test task
starting node-based tests

Unit Tests:
Could not find cordova.js script tag. Plugin loading may fail.
..

Finished in 0.069 seconds
122 tests, 256 assertions, 0 failures, 0 skipped


Done, without errors.
cordova-js/  Executing: git checkout -q 3.6.x
cordova-windows/ === Coping File: 
../cordova-js/pkg/cordova.windows8.js - windows8/cordova.js
cp: copyFileSync: could not write to dest file (code=ENOENT):windows8/cordova.js

Copy failed.
marcelk-macbook:apache marcelk$ 
{code}



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


[jira] [Updated] (CB-7506) Media Plugin doesnt play in iOS 8

2014-09-12 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-7506:
-
Issue Type: Sub-task  (was: Bug)
Parent: CB-7043

 Media Plugin doesnt play in iOS 8
 -

 Key: CB-7506
 URL: https://issues.apache.org/jira/browse/CB-7506
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: iOS
Affects Versions: 3.5.0
Reporter: Tom Krones





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


[jira] [Updated] (CB-7506) [Media][iOS 8] Playback doesn't work

2014-09-12 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-7506:
-
Component/s: (was: iOS)

 [Media][iOS 8] Playback doesn't work
 

 Key: CB-7506
 URL: https://issues.apache.org/jira/browse/CB-7506
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: Plugin Media
Affects Versions: 3.5.0
Reporter: Tom Krones





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


[jira] [Updated] (CB-7506) [Media][iOS 8] Playback doesn't work

2014-09-12 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-7506:
-
Component/s: Plugin Media
Environment: iOS 8

 [Media][iOS 8] Playback doesn't work
 

 Key: CB-7506
 URL: https://issues.apache.org/jira/browse/CB-7506
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: Plugin Media
Affects Versions: 3.5.0
 Environment: iOS 8
Reporter: Tom Krones





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


[jira] [Updated] (CB-7506) [Media][iOS 8] Playback doesn't work

2014-09-12 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-7506:
-
Summary: [Media][iOS 8] Playback doesn't work  (was: Media Plugin doesnt 
play in iOS 8)

 [Media][iOS 8] Playback doesn't work
 

 Key: CB-7506
 URL: https://issues.apache.org/jira/browse/CB-7506
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: Plugin Media
Affects Versions: 3.5.0
Reporter: Tom Krones





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


[jira] [Updated] (CB-7442) Geolocation blocks other plugins on iOS

2014-09-12 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-7442:
-
Component/s: (was: iOS)
Environment: iOS

 Geolocation blocks other plugins on iOS
 ---

 Key: CB-7442
 URL: https://issues.apache.org/jira/browse/CB-7442
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugin Geolocation
Affects Versions: 3.5.0
 Environment: iOS
Reporter: Marco

 Hi there, 
 I have a cordova app with a bunch of installed plugins: statusbar, 
 geolocation, barcode scanner. Geolocation plugin blocks other plugins. In 
 other words:
 1. If I remove geolocation, everything is fine. However, two prompts are 
 shown when I call getPosition or watchPosition.
 2. After installation from xcode on physical device, statusbar plugin is 
 loaded, but geolocation and barcode scanner not. If I click on the gps arrow 
 in the status bar, geolocation and barcode scanner work. Moreover, if I click 
 on the button that should open the barcode scanner, nothing happens until I 
 click on the gps arrow!
 3. After a cold restart (always on physical device), no plugin seems to be 
 loaded. If I minimize the app and reopen it, then every plugin is loaded.
 The Android version works.
 Plugin was added using cli
 cordova plugin add org.apache.cordova.geolocation
 cordova build ios
 I do not know if it could be related to this issue 
 https://issues.apache.org/jira/browse/CB-4970
 Thanks in advance
 Marco



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


[jira] [Commented] (CB-7450) Fix deprecations in cordova-ios unit tests

2014-09-12 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-7450?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14132404#comment-14132404
 ] 

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

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

CB-7450 - Fix deprecations in cordova-ios unit tests (interim checkin)


 Fix deprecations in cordova-ios unit tests
 --

 Key: CB-7450
 URL: https://issues.apache.org/jira/browse/CB-7450
 Project: Apache Cordova
  Issue Type: Bug
  Components: iOS
Reporter: Shazron Abdullah

 Fix usage of deprecated methods in the unit tests.



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