[jira] [Commented] (CB-5401) Plugin File Transfer does not work on Android 4.4

2013-11-18 Thread julio cesar (JIRA)

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

julio cesar commented on CB-5401:
-

How do you get the file you want to upload?

I think the problem is you get it from the new android 4.4 options, recent, 
drive, images or downloads.

There is an open issue with that: https://issues.apache.org/jira/browse/CB-5398

 Plugin File Transfer does not work on Android 4.4
 -

 Key: CB-5401
 URL: https://issues.apache.org/jira/browse/CB-5401
 Project: Apache Cordova
  Issue Type: Bug
  Components: Android, Plugin File Transfer
Affects Versions: 3.4.0
Reporter: Jean Carriere

 When using FileTransfer plugin to upload a file, I get an error on KitKat 
 (the code works fine on android 4.3.
 Here is the stack trace : 
 java.lang.SecurityException: Permission Denial: reading 
 com.android.providers.media.MediaDocumentsProvider uri 
 content://com.android.providers.media.documents/document/image:5646 from 
 pid=16183, uid=10093 requires android.permission.MANAGE_DOCUMENTS, or 
 grantUriPermission()
 E/FileTransfer(16183):at 
 android.os.Parcel.readException(Parcel.java:1461)
 E/FileTransfer(16183):at 
 android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:185)
 E/FileTransfer(16183):at 
 android.database.DatabaseUtils.readExceptionWithFileNotFoundExceptionFromParcel(DatabaseUtils.java:148)
 E/FileTransfer(16183):at 
 android.content.ContentProviderProxy.openTypedAssetFile(ContentProviderNative.java:682)
 E/FileTransfer(16183):at 
 android.content.ContentResolver.openTypedAssetFileDescriptor(ContentResolver.java:1063)
 E/FileTransfer(16183):at 
 android.content.ContentResolver.openAssetFileDescriptor(ContentResolver.java:904)
 E/FileTransfer(16183):at 
 android.content.ContentResolver.openAssetFileDescriptor(ContentResolver.java:831)
 E/FileTransfer(16183):at 
 org.apache.cordova.CordovaResourceApi.openForRead(CordovaResourceApi.java:245)
 E/FileTransfer(16183):at 
 org.apache.cordova.CordovaResourceApi.openForRead(CordovaResourceApi.java:204)
 E/FileTransfer(16183):at 
 org.apache.cordova.filetransfer.FileTransfer$1.run(FileTransfer.java:364)
 E/FileTransfer(16183):at 
 java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
 E/FileTransfer(16183):at 
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
 E/FileTransfer(16183):at java.lang.Thread.run(Thread.java:841)
 The js code is : 
  var options = new FileUploadOptions();
 options.fileKey = file;
 options.fileName = imageURI.substr(imageURI.lastIndexOf('/') + 1);
 options.mimeType = image/jpeg;
 options.headers = {
 Connection: close
 };
 options.chunkedMode = false;
 var params = {};
 params.token = config.token();
 options.params = params;
 var ft = new FileTransfer();
 ft.upload(imageURI, config.serviceUrl() + media/default, win, 
 fail, options);



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Comment Edited] (CB-5401) Plugin File Transfer does not work on Android 4.4

2013-11-18 Thread julio cesar (JIRA)

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

julio cesar edited comment on CB-5401 at 11/18/13 8:57 AM:
---

How do you get the file you want to upload?

I think the problem is you get it from the new android 4.4 options, recent, 
drive, images or downloads.

There is an open issue with that: https://issues.apache.org/jira/browse/CB-5398

I use file transfer and it works if I choose the images from the gallery app.


was (Author: jcesarmobile):
How do you get the file you want to upload?

I think the problem is you get it from the new android 4.4 options, recent, 
drive, images or downloads.

There is an open issue with that: https://issues.apache.org/jira/browse/CB-5398

 Plugin File Transfer does not work on Android 4.4
 -

 Key: CB-5401
 URL: https://issues.apache.org/jira/browse/CB-5401
 Project: Apache Cordova
  Issue Type: Bug
  Components: Android, Plugin File Transfer
Affects Versions: 3.4.0
Reporter: Jean Carriere

 When using FileTransfer plugin to upload a file, I get an error on KitKat 
 (the code works fine on android 4.3.
 Here is the stack trace : 
 java.lang.SecurityException: Permission Denial: reading 
 com.android.providers.media.MediaDocumentsProvider uri 
 content://com.android.providers.media.documents/document/image:5646 from 
 pid=16183, uid=10093 requires android.permission.MANAGE_DOCUMENTS, or 
 grantUriPermission()
 E/FileTransfer(16183):at 
 android.os.Parcel.readException(Parcel.java:1461)
 E/FileTransfer(16183):at 
 android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:185)
 E/FileTransfer(16183):at 
 android.database.DatabaseUtils.readExceptionWithFileNotFoundExceptionFromParcel(DatabaseUtils.java:148)
 E/FileTransfer(16183):at 
 android.content.ContentProviderProxy.openTypedAssetFile(ContentProviderNative.java:682)
 E/FileTransfer(16183):at 
 android.content.ContentResolver.openTypedAssetFileDescriptor(ContentResolver.java:1063)
 E/FileTransfer(16183):at 
 android.content.ContentResolver.openAssetFileDescriptor(ContentResolver.java:904)
 E/FileTransfer(16183):at 
 android.content.ContentResolver.openAssetFileDescriptor(ContentResolver.java:831)
 E/FileTransfer(16183):at 
 org.apache.cordova.CordovaResourceApi.openForRead(CordovaResourceApi.java:245)
 E/FileTransfer(16183):at 
 org.apache.cordova.CordovaResourceApi.openForRead(CordovaResourceApi.java:204)
 E/FileTransfer(16183):at 
 org.apache.cordova.filetransfer.FileTransfer$1.run(FileTransfer.java:364)
 E/FileTransfer(16183):at 
 java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
 E/FileTransfer(16183):at 
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
 E/FileTransfer(16183):at java.lang.Thread.run(Thread.java:841)
 The js code is : 
  var options = new FileUploadOptions();
 options.fileKey = file;
 options.fileName = imageURI.substr(imageURI.lastIndexOf('/') + 1);
 options.mimeType = image/jpeg;
 options.headers = {
 Connection: close
 };
 options.chunkedMode = false;
 var params = {};
 params.token = config.token();
 options.params = params;
 var ft = new FileTransfer();
 ft.upload(imageURI, config.serviceUrl() + media/default, win, 
 fail, options);



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Commented] (CB-5401) Plugin File Transfer does not work on Android 4.4

2013-11-18 Thread Jean Carriere (JIRA)

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

Jean Carriere commented on CB-5401:
---

Indeed, it's the new kitkat options. I did'nt even notice it was a new option 
as it was opened by default.
I close this issue as it is a duplicate

 Plugin File Transfer does not work on Android 4.4
 -

 Key: CB-5401
 URL: https://issues.apache.org/jira/browse/CB-5401
 Project: Apache Cordova
  Issue Type: Bug
  Components: Android, Plugin File Transfer
Affects Versions: 3.4.0
Reporter: Jean Carriere

 When using FileTransfer plugin to upload a file, I get an error on KitKat 
 (the code works fine on android 4.3.
 Here is the stack trace : 
 java.lang.SecurityException: Permission Denial: reading 
 com.android.providers.media.MediaDocumentsProvider uri 
 content://com.android.providers.media.documents/document/image:5646 from 
 pid=16183, uid=10093 requires android.permission.MANAGE_DOCUMENTS, or 
 grantUriPermission()
 E/FileTransfer(16183):at 
 android.os.Parcel.readException(Parcel.java:1461)
 E/FileTransfer(16183):at 
 android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:185)
 E/FileTransfer(16183):at 
 android.database.DatabaseUtils.readExceptionWithFileNotFoundExceptionFromParcel(DatabaseUtils.java:148)
 E/FileTransfer(16183):at 
 android.content.ContentProviderProxy.openTypedAssetFile(ContentProviderNative.java:682)
 E/FileTransfer(16183):at 
 android.content.ContentResolver.openTypedAssetFileDescriptor(ContentResolver.java:1063)
 E/FileTransfer(16183):at 
 android.content.ContentResolver.openAssetFileDescriptor(ContentResolver.java:904)
 E/FileTransfer(16183):at 
 android.content.ContentResolver.openAssetFileDescriptor(ContentResolver.java:831)
 E/FileTransfer(16183):at 
 org.apache.cordova.CordovaResourceApi.openForRead(CordovaResourceApi.java:245)
 E/FileTransfer(16183):at 
 org.apache.cordova.CordovaResourceApi.openForRead(CordovaResourceApi.java:204)
 E/FileTransfer(16183):at 
 org.apache.cordova.filetransfer.FileTransfer$1.run(FileTransfer.java:364)
 E/FileTransfer(16183):at 
 java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
 E/FileTransfer(16183):at 
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
 E/FileTransfer(16183):at java.lang.Thread.run(Thread.java:841)
 The js code is : 
  var options = new FileUploadOptions();
 options.fileKey = file;
 options.fileName = imageURI.substr(imageURI.lastIndexOf('/') + 1);
 options.mimeType = image/jpeg;
 options.headers = {
 Connection: close
 };
 options.chunkedMode = false;
 var params = {};
 params.token = config.token();
 options.params = params;
 var ft = new FileTransfer();
 ft.upload(imageURI, config.serviceUrl() + media/default, win, 
 fail, options);



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Closed] (CB-5401) Plugin File Transfer does not work on Android 4.4

2013-11-18 Thread Jean Carriere (JIRA)

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

Jean Carriere closed CB-5401.
-

Resolution: Duplicate

 Plugin File Transfer does not work on Android 4.4
 -

 Key: CB-5401
 URL: https://issues.apache.org/jira/browse/CB-5401
 Project: Apache Cordova
  Issue Type: Bug
  Components: Android, Plugin File Transfer
Affects Versions: 3.4.0
Reporter: Jean Carriere

 When using FileTransfer plugin to upload a file, I get an error on KitKat 
 (the code works fine on android 4.3.
 Here is the stack trace : 
 java.lang.SecurityException: Permission Denial: reading 
 com.android.providers.media.MediaDocumentsProvider uri 
 content://com.android.providers.media.documents/document/image:5646 from 
 pid=16183, uid=10093 requires android.permission.MANAGE_DOCUMENTS, or 
 grantUriPermission()
 E/FileTransfer(16183):at 
 android.os.Parcel.readException(Parcel.java:1461)
 E/FileTransfer(16183):at 
 android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:185)
 E/FileTransfer(16183):at 
 android.database.DatabaseUtils.readExceptionWithFileNotFoundExceptionFromParcel(DatabaseUtils.java:148)
 E/FileTransfer(16183):at 
 android.content.ContentProviderProxy.openTypedAssetFile(ContentProviderNative.java:682)
 E/FileTransfer(16183):at 
 android.content.ContentResolver.openTypedAssetFileDescriptor(ContentResolver.java:1063)
 E/FileTransfer(16183):at 
 android.content.ContentResolver.openAssetFileDescriptor(ContentResolver.java:904)
 E/FileTransfer(16183):at 
 android.content.ContentResolver.openAssetFileDescriptor(ContentResolver.java:831)
 E/FileTransfer(16183):at 
 org.apache.cordova.CordovaResourceApi.openForRead(CordovaResourceApi.java:245)
 E/FileTransfer(16183):at 
 org.apache.cordova.CordovaResourceApi.openForRead(CordovaResourceApi.java:204)
 E/FileTransfer(16183):at 
 org.apache.cordova.filetransfer.FileTransfer$1.run(FileTransfer.java:364)
 E/FileTransfer(16183):at 
 java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
 E/FileTransfer(16183):at 
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
 E/FileTransfer(16183):at java.lang.Thread.run(Thread.java:841)
 The js code is : 
  var options = new FileUploadOptions();
 options.fileKey = file;
 options.fileName = imageURI.substr(imageURI.lastIndexOf('/') + 1);
 options.mimeType = image/jpeg;
 options.headers = {
 Connection: close
 };
 options.chunkedMode = false;
 var params = {};
 params.token = config.token();
 options.params = params;
 var ft = new FileTransfer();
 ft.upload(imageURI, config.serviceUrl() + media/default, win, 
 fail, options);



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Reopened] (CB-5424) Network activity doesn't show in Weinre

2013-11-18 Thread Federico Kereki (JIRA)

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

Federico Kereki reopened CB-5424:
-


I have been doing AJAX JSONP calls (through JQuery's $.ajax(...) method) and 
they do not show in the NETWORK panel. I'll try to look into the implementation 
of this method; if it's XmlHttpRequest they should show, but it's possible they 
could be resolved in other way.

 Network activity doesn't show in Weinre
 ---

 Key: CB-5424
 URL: https://issues.apache.org/jira/browse/CB-5424
 Project: Apache Cordova
  Issue Type: Bug
  Components: weinre
Affects Versions: 3.1.0
 Environment: OpenSuse 13.1, PhoneGap (latest), Android
Reporter: Federico Kereki
Assignee: Patrick Mueller

 When using Weinre for debugging, the NETWORK and TIMELINE tabs do not ever 
 show any information.



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Commented] (CB-5424) Network activity doesn't show in Weinre

2013-11-18 Thread Patrick Mueller (JIRA)

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

Patrick Mueller commented on CB-5424:
-

Yes, debug the path through your code in a desktop debugger, to see if it uses 
XHR.  When using JSONP, libraries will often get the JSON loaded by creating a 
SCRIPT element and loading it into the DOM.  weinre can't track that.

 Network activity doesn't show in Weinre
 ---

 Key: CB-5424
 URL: https://issues.apache.org/jira/browse/CB-5424
 Project: Apache Cordova
  Issue Type: Bug
  Components: weinre
Affects Versions: 3.1.0
 Environment: OpenSuse 13.1, PhoneGap (latest), Android
Reporter: Federico Kereki
Assignee: Patrick Mueller

 When using Weinre for debugging, the NETWORK and TIMELINE tabs do not ever 
 show any information.



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Updated] (CB-3324) InAppBrowser does not handle hardware back button

2013-11-18 Thread Martin Hujer (JIRA)

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

Martin Hujer updated CB-3324:
-

 Priority: Blocker  (was: Major)
Affects Version/s: 3.1.0

Still does not work in 3.1.0

 InAppBrowser does not handle hardware back button
 -

 Key: CB-3324
 URL: https://issues.apache.org/jira/browse/CB-3324
 Project: Apache Cordova
  Issue Type: Bug
  Components: WP8
Affects Versions: 2.7.0, 3.1.0
Reporter: Martin Hujer
Assignee: Jesse MacFadyen
Priority: Blocker

 When the link is opened in InAppBrowser on WP8 and I try to use hardware back 
 button to get back to app, it does not work. Actually, it backs in the 
 webpage under InAppBrowser.
 Steps to reproduce:
 1) Navigate throught the HTML app packaged with Cordova
 2) A wild link appears
 3) Taping opens InAppBrowser
 4) Using HW back button navigates in underlaying webpage and not in 
 InAppBrowser so it eventually closes the app after few clicks (it seems 
 nothing is happening in the InAppBrowser).
 Back hardware button works consistenty in all WP8 apps, so I think it should 
 also work here.



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Commented] (CB-5071) Geolocation plugin logging error

2013-11-18 Thread David Rabinowitz (JIRA)

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

David Rabinowitz commented on CB-5071:
--

I had a similar issue with another plugin - was with cordova 3.1.0. The problem 
was that project was created with cordova 3.0.0 and the 3.0.0 jar was in the 
android app. Once I ran cordova platform update android to update the jar to 
3.1.0 the problem was solved.

 Geolocation plugin logging error
 

 Key: CB-5071
 URL: https://issues.apache.org/jira/browse/CB-5071
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugin Geolocation
Affects Versions: 3.1.0
 Environment: cordova 3.1, newest geolocation plugin version, Android, 
 Nexus 7, ADT.
Reporter: Jason Ormand

 Using Eclipse/ADT logcat, I see many error logs for 10-14 14:32:06.846: 
 E/Web Console(514): Uncaught Error: Error calling method on NPObject. at 
 file:///android_asset/www/cordova.js:929. It appears to be related to the 
 geolocation plugin, as removing all calls to geolocation.watchPosition seems 
 to prevent this error from getting logged. As far as I can tell however, the 
 plugin is working.



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Commented] (CB-5425) iOS: Inappbrowser sometimes does not open the page and event falls through to main webView

2013-11-18 Thread JIRA

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

Tomáš Fejfar commented on CB-5425:
--

We also use in-page anchors (#index/index, etc). So that may be similar 
although it manifests bit differently

 iOS: Inappbrowser sometimes does not open the page and event falls through 
 to main webView
 

 Key: CB-5425
 URL: https://issues.apache.org/jira/browse/CB-5425
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugin InAppBrowser
Affects Versions: 3.1.0
 Environment: iOS7 Simulator (retina 4), iOS6 iPod
Reporter: Tomáš Fejfar
  Labels: cordova, inappbrowser, ios

 There is a simple app illustrating the issue: 
 https://github.com/tomasfejfar/cordova-bug-01
 There is a div with ontouch event that will open google.com in inappbrowser - 
 there is a link inside - that will open seznam.cz 
 Steps to reproduce:
 * play with it long enough clicking on the link and closing inappbrowser 
 (appears irregularly)
 * wild inappbrowser appears (EMPTY)
 * seznam.cz is loaded in the main webview
 My guess is that on some occasions the window.open() call fails somehow and 
 the webview handles the tap event - opening the link. 



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Commented] (CB-5337) Windows8 build fails due to invalid app version

2013-11-18 Thread Maxime LUCE (JIRA)

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

Maxime LUCE commented on CB-5337:
-

Fixed in a more clean way in CB-5400 :
https://issues.apache.org/jira/browse/CB-5400.

Uses a different function to fix Version string in order to avoid polluating 
update_from_config method.





 Windows8 build fails due to invalid app version
 ---

 Key: CB-5337
 URL: https://issues.apache.org/jira/browse/CB-5337
 Project: Apache Cordova
  Issue Type: Bug
  Components: CLI, Windows 8
 Environment: Windows8
Reporter: Sergey Grebnov
Assignee: Jesse MacFadyen

 package.appxmanifest(3,85): error APPX3022: App manifest validation failed. 
 Value '0.0.1' of attribute '/Package/Identity/@Version' must contain a valid 
 four-part version number. 
 [c:\..\mobilespec\platforms\windows8\CordovaApp.jsproj]
 This is because by default Apacge Cordova recommends to use three-digits 
 version number, https://build.phonegap.com/docs/config-xml
 'version: for best results, use a major/minor/patch style version, with three 
 numbers, such as 0.0.1'
 But Windows Store app requires app version to be four-digits number: major 
 version.minor version.build number.revision
 So we should manually add required version part at the end.



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Commented] (CB-5400) Version and Id is not set correctly in Windows 8 application project file

2013-11-18 Thread Maxime LUCE (JIRA)

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

Maxime LUCE commented on CB-5400:
-

This issue resolves issue CB-5337 in a more pleasant way.

 Version and Id is not set correctly in Windows 8 application project file
 -

 Key: CB-5400
 URL: https://issues.apache.org/jira/browse/CB-5400
 Project: Apache Cordova
  Issue Type: Bug
  Components: CLI, Windows 8
Reporter: Maxime LUCE
Assignee: Maxime LUCE

 When using CLI with Windows 8 Platform :
 1. Cordova default version string is not compatible with Windows 8 one (0.0.0 
 vs 0.0.0.0) so add a .0 automatically.
 2. In package.appxmanifest, Application.id must be a safe name, which is not 
 actually, we can use packageName (which is safe) or compute a safe name based 
 on config name.



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Created] (CB-5426) Doc translation for v3.2

2013-11-18 Thread Lisa Seacat DeLuca (JIRA)
Lisa Seacat DeLuca created CB-5426:
--

 Summary: Doc translation for v3.2
 Key: CB-5426
 URL: https://issues.apache.org/jira/browse/CB-5426
 Project: Apache Cordova
  Issue Type: Bug
  Components: Docs
Affects Versions: 3.2.0
Reporter: Lisa Seacat DeLuca
Assignee: Michael Brooks
Priority: Minor


JIRA issue to track the translations from edge for 3.2



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Commented] (CB-3510) contacts plugin failing tests

2013-11-18 Thread Lisa Seacat DeLuca (JIRA)

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

Lisa Seacat DeLuca commented on CB-3510:


[~mwbrooks] I created a pull request here: 
https://github.com/apache/cordova-docs/pull/155

I know you want to see a different pull request for each language but I haven't 
had a chance to split the script up to handle all languages individually.

 contacts plugin failing tests
 -

 Key: CB-3510
 URL: https://issues.apache.org/jira/browse/CB-3510
 Project: Apache Cordova
  Issue Type: Bug
  Components: Android, iOS, Plugin Contacts
Reporter: Steve Gill
 Fix For: 3.0.0


 ios/android 3.0.0 branch 
 ios has 4 failing specs and android has 5-6. Need to investigate more.



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Commented] (CB-5426) Doc translation for v3.2

2013-11-18 Thread Lisa Seacat DeLuca (JIRA)

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

Lisa Seacat DeLuca commented on CB-5426:


[~mwbrooks] I created a pull request here: 
https://github.com/apache/cordova-docs/pull/155

I know you want to see a different pull request for each language but I haven't 
had a chance to split the script up to handle all languages individually.


 Doc translation for v3.2
 

 Key: CB-5426
 URL: https://issues.apache.org/jira/browse/CB-5426
 Project: Apache Cordova
  Issue Type: Bug
  Components: Docs
Affects Versions: 3.2.0
Reporter: Lisa Seacat DeLuca
Assignee: Michael Brooks
Priority: Minor
  Labels: translation

 JIRA issue to track the translations from edge for 3.2



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Issue Comment Deleted] (CB-3510) contacts plugin failing tests

2013-11-18 Thread Lisa Seacat DeLuca (JIRA)

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

Lisa Seacat DeLuca updated CB-3510:
---

Comment: was deleted

(was: [~mwbrooks] I created a pull request here: 
https://github.com/apache/cordova-docs/pull/155

I know you want to see a different pull request for each language but I haven't 
had a chance to split the script up to handle all languages individually.)

 contacts plugin failing tests
 -

 Key: CB-3510
 URL: https://issues.apache.org/jira/browse/CB-3510
 Project: Apache Cordova
  Issue Type: Bug
  Components: Android, iOS, Plugin Contacts
Reporter: Steve Gill
 Fix For: 3.0.0


 ios/android 3.0.0 branch 
 ios has 4 failing specs and android has 5-6. Need to investigate more.



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Commented] (CB-5400) Version and Id is not set correctly in Windows 8 application project file

2013-11-18 Thread Sergey Grebnov (JIRA)

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

Sergey Grebnov commented on CB-5400:


Disagree with comment above regarding fixing CB-5337 in a more pleasant way. 
This fix does not work for version 1.0 which is valid in terms of Apache 
Cordova. We don't have restriction to version format, we just recommend to use 
x.x.x version

 Version and Id is not set correctly in Windows 8 application project file
 -

 Key: CB-5400
 URL: https://issues.apache.org/jira/browse/CB-5400
 Project: Apache Cordova
  Issue Type: Bug
  Components: CLI, Windows 8
Reporter: Maxime LUCE
Assignee: Maxime LUCE

 When using CLI with Windows 8 Platform :
 1. Cordova default version string is not compatible with Windows 8 one (0.0.0 
 vs 0.0.0.0) so add a .0 automatically.
 2. In package.appxmanifest, Application.id must be a safe name, which is not 
 actually, we can use packageName (which is safe) or compute a safe name based 
 on config name.



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Commented] (CB-5337) Windows8 build fails due to invalid app version

2013-11-18 Thread Sergey Grebnov (JIRA)

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

Sergey Grebnov commented on CB-5337:


Disagree with comment above Fixed in a more clean way in CB-5400. That fix 
does not look better and even does not work for version 1.0 which is valid in 
terms of Apache Cordova. We don't have restriction to version format, we just 
recommend to use x.x.x version

 Windows8 build fails due to invalid app version
 ---

 Key: CB-5337
 URL: https://issues.apache.org/jira/browse/CB-5337
 Project: Apache Cordova
  Issue Type: Bug
  Components: CLI, Windows 8
 Environment: Windows8
Reporter: Sergey Grebnov
Assignee: Jesse MacFadyen

 package.appxmanifest(3,85): error APPX3022: App manifest validation failed. 
 Value '0.0.1' of attribute '/Package/Identity/@Version' must contain a valid 
 four-part version number. 
 [c:\..\mobilespec\platforms\windows8\CordovaApp.jsproj]
 This is because by default Apacge Cordova recommends to use three-digits 
 version number, https://build.phonegap.com/docs/config-xml
 'version: for best results, use a major/minor/patch style version, with three 
 numbers, such as 0.0.1'
 But Windows Store app requires app version to be four-digits number: major 
 version.minor version.build number.revision
 So we should manually add required version part at the end.



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Created] (CB-5427) InAppBrowser crashes without loadstop or loaderror on Android 4.4

2013-11-18 Thread Mike Billau (JIRA)
Mike Billau created CB-5427:
---

 Summary: InAppBrowser crashes without loadstop or loaderror on 
Android 4.4
 Key: CB-5427
 URL: https://issues.apache.org/jira/browse/CB-5427
 Project: Apache Cordova
  Issue Type: Bug
  Components: Android, Plugin InAppBrowser
Affects Versions: 3.2.0
 Environment: Windows 7
Android 4.4
Reporter: Mike Billau


InAppBrowser on Android 4.4 sometimes fails when you click to open any page on 
the CordovaWebView. An alert will pop up saying Unexpected: Browser closed 
without a loadstop or loaderror.   Closing the dialog will force quit the 
application. I can't detect a pattern to reproduce the issue; what I do is just 
keep running through the first few buttons under Local URL and White Listed URL 
headings on the mobile spec page. Other people seem to be having this issue 
too: https://groups.google.com/forum/#!topic/phonegap/e5_5unC2fYs

In logcat I'm seeing:
{noformat}
11-18 11:50:07.648: D/CordovaLog(6369): 
file:///android_asset/www/inappbrowser/index.html: Line 79 : IAB 
event={type:loadstop,url:http://www.google.com/}
11-18 11:50:07.648: I/chromium(6369): [INFO:CONSOLE(79)] IAB 
event={type:loadstop,url:http://www.google.com/};, source: 
file:///android_asset/www/inappbrowser/index.html (79)
11-18 11:50:07.928: W/UnimplementedWebViewApi(6369): Unimplemented WebView 
method onKeyDown called from: 
android.webkit.WebView.onKeyDown(WebView.java:2169)
11-18 11:50:07.968: W/InputEventReceiver(6369): Attempted to finish an input 
event but the input event receiver has already been disposed.
11-18 11:50:07.998: D/CordovaLog(6369): 
file:///android_asset/www/inappbrowser/index.html: Line 79 : IAB 
event={type:exit}
11-18 11:50:07.998: I/chromium(6369): [INFO:CONSOLE(79)] IAB 
event={type:exit}, source: 
file:///android_asset/www/inappbrowser/index.html (79)
11-18 11:50:09.408: D/InAppBrowser(6369): target = _self
11-18 11:50:09.418: D/InAppBrowser(6369): in self
11-18 11:50:09.418: D/CordovaWebView(6369):  loadUrl(http://www.apple.com/)
11-18 11:50:09.418: D/PluginManager(6369): init()
11-18 11:50:09.428: D/CordovaWebView(6369):  loadUrlNow()
11-18 11:50:09.428: W/CordovaPlugin(6369): Attempted to send a second callback 
for ID: InAppBrowser921848427
11-18 11:50:09.428: W/CordovaPlugin(6369): Result was: 
11-18 11:50:09.488: D/CordovaLog(6369): 
file:///android_asset/www/inappbrowser/index.html: Line 79 : IAB 
event={type:exit}
11-18 11:50:09.488: I/chromium(6369): [INFO:CONSOLE(79)] IAB 
event={type:exit}, source: 
file:///android_asset/www/inappbrowser/index.html (79)
11-18 11:50:09.508: D/dalvikvm(6369): GC_FOR_ALLOC freed 50K, 3% free 
18380K/18836K, paused 8ms, total 8ms
11-18 11:50:09.508: I/dalvikvm-heap(6369): Grow heap (frag case) to 18.584MB 
for 629776-byte allocation
11-18 11:50:09.528: D/dalvikvm(6369): GC_FOR_ALLOC freed 7K, 3% free 
18988K/19452K, paused 12ms, total 12ms
11-18 11:50:09.578: D/dalvikvm(1108): GC_CONCURRENT freed 448K, 9% free 
17309K/18816K, paused 2ms+1ms, total 23ms
11-18 11:50:09.638: D/dalvikvm(744): GC_CONCURRENT freed 2582K, 29% free 
27397K/38100K, paused 3ms+4ms, total 76ms
11-18 11:50:29.428: E/CordovaWebView(6369): CordovaWebView: TIMEOUT ERROR!
11-18 11:50:29.428: D/CordovaWebViewClient(6369): 
CordovaWebViewClient.onReceivedError: Error code=-6 Description=The connection 
to the server was unsuccessful. URL=http://www.apple.com/
11-18 11:50:29.428: D/CordovaActivity(6369): 
onMessage(onReceivedError,{errorCode:-6,url:http:\/\/www.apple.com\/,description:The
 connection to the server was unsuccessful.})
11-18 11:50:29.458: D/SoftKeyboardDetect(6369): Ignore this event
11-18 11:50:29.558: D/CordovaWebViewClient(6369): 
onPageFinished(http://www.apple.com/)
11-18 11:50:29.558: D/CordovaActivity(6369): 
onMessage(onPageFinished,http://www.apple.com/)
11-18 11:50:56.078: D/audio_hw_primary(184): select_devices: out_snd_device(2: 
speaker) in_snd_device(0: )
11-18 11:50:56.098: D/CordovaActivity(6369): Paused the application!
11-18 11:50:56.128: W/IInputConnectionWrapper(6369): showStatusIcon on inactive 
InputConnection
11-18 11:50:56.598: D/CordovaActivity(6369): CordovaActivity.onDestroy()
11-18 11:50:56.598: D/CordovaWebView(6369):  loadUrlNow()
11-18 11:50:56.678: E/WindowManager(6369): android.view.WindowLeaked: Activity 
org.apache.mobilespec.mobilespec has leaked window 
com.android.internal.policy.impl.PhoneWindow$DecorView{42686118 V.E. 
R... 0,0-1080,638} that was originally added here
11-18 11:50:56.678: E/WindowManager(6369):  at 
android.view.ViewRootImpl.init(ViewRootImpl.java:346)
11-18 11:50:56.678: E/WindowManager(6369):  at 
android.view.WindowManagerGlobal.addView(WindowManagerGlobal.java:248)
11-18 11:50:56.678: E/WindowManager(6369):  at 
android.view.WindowManagerImpl.addView(WindowManagerImpl.java:69)
11-18 11:50:56.678: E/WindowManager(6369):  at 

[jira] [Updated] (CB-5427) InAppBrowser crashes without loadstop or loaderror on Android 4.4

2013-11-18 Thread Mike Billau (JIRA)

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

Mike Billau updated CB-5427:


Environment: 
Windows 7
Android 4.x

  was:
Windows 7
Android 4.4


 InAppBrowser crashes without loadstop or loaderror on Android 4.4
 -

 Key: CB-5427
 URL: https://issues.apache.org/jira/browse/CB-5427
 Project: Apache Cordova
  Issue Type: Bug
  Components: Android, Plugin InAppBrowser
Affects Versions: 3.2.0
 Environment: Windows 7
 Android 4.x
Reporter: Mike Billau

 InAppBrowser on Android 4.4 sometimes fails when you click to open any page 
 on the CordovaWebView. An alert will pop up saying Unexpected: Browser 
 closed without a loadstop or loaderror.   Closing the dialog will force quit 
 the application. I can't detect a pattern to reproduce the issue; what I do 
 is just keep running through the first few buttons under Local URL and White 
 Listed URL headings on the mobile spec page. Other people seem to be having 
 this issue too: https://groups.google.com/forum/#!topic/phonegap/e5_5unC2fYs
 In logcat I'm seeing:
 {noformat}
 11-18 11:50:07.648: D/CordovaLog(6369): 
 file:///android_asset/www/inappbrowser/index.html: Line 79 : IAB 
 event={type:loadstop,url:http://www.google.com/}
 11-18 11:50:07.648: I/chromium(6369): [INFO:CONSOLE(79)] IAB 
 event={type:loadstop,url:http://www.google.com/};, source: 
 file:///android_asset/www/inappbrowser/index.html (79)
 11-18 11:50:07.928: W/UnimplementedWebViewApi(6369): Unimplemented WebView 
 method onKeyDown called from: 
 android.webkit.WebView.onKeyDown(WebView.java:2169)
 11-18 11:50:07.968: W/InputEventReceiver(6369): Attempted to finish an input 
 event but the input event receiver has already been disposed.
 11-18 11:50:07.998: D/CordovaLog(6369): 
 file:///android_asset/www/inappbrowser/index.html: Line 79 : IAB 
 event={type:exit}
 11-18 11:50:07.998: I/chromium(6369): [INFO:CONSOLE(79)] IAB 
 event={type:exit}, source: 
 file:///android_asset/www/inappbrowser/index.html (79)
 11-18 11:50:09.408: D/InAppBrowser(6369): target = _self
 11-18 11:50:09.418: D/InAppBrowser(6369): in self
 11-18 11:50:09.418: D/CordovaWebView(6369):  loadUrl(http://www.apple.com/)
 11-18 11:50:09.418: D/PluginManager(6369): init()
 11-18 11:50:09.428: D/CordovaWebView(6369):  loadUrlNow()
 11-18 11:50:09.428: W/CordovaPlugin(6369): Attempted to send a second 
 callback for ID: InAppBrowser921848427
 11-18 11:50:09.428: W/CordovaPlugin(6369): Result was: 
 11-18 11:50:09.488: D/CordovaLog(6369): 
 file:///android_asset/www/inappbrowser/index.html: Line 79 : IAB 
 event={type:exit}
 11-18 11:50:09.488: I/chromium(6369): [INFO:CONSOLE(79)] IAB 
 event={type:exit}, source: 
 file:///android_asset/www/inappbrowser/index.html (79)
 11-18 11:50:09.508: D/dalvikvm(6369): GC_FOR_ALLOC freed 50K, 3% free 
 18380K/18836K, paused 8ms, total 8ms
 11-18 11:50:09.508: I/dalvikvm-heap(6369): Grow heap (frag case) to 18.584MB 
 for 629776-byte allocation
 11-18 11:50:09.528: D/dalvikvm(6369): GC_FOR_ALLOC freed 7K, 3% free 
 18988K/19452K, paused 12ms, total 12ms
 11-18 11:50:09.578: D/dalvikvm(1108): GC_CONCURRENT freed 448K, 9% free 
 17309K/18816K, paused 2ms+1ms, total 23ms
 11-18 11:50:09.638: D/dalvikvm(744): GC_CONCURRENT freed 2582K, 29% free 
 27397K/38100K, paused 3ms+4ms, total 76ms
 11-18 11:50:29.428: E/CordovaWebView(6369): CordovaWebView: TIMEOUT ERROR!
 11-18 11:50:29.428: D/CordovaWebViewClient(6369): 
 CordovaWebViewClient.onReceivedError: Error code=-6 Description=The 
 connection to the server was unsuccessful. URL=http://www.apple.com/
 11-18 11:50:29.428: D/CordovaActivity(6369): 
 onMessage(onReceivedError,{errorCode:-6,url:http:\/\/www.apple.com\/,description:The
  connection to the server was unsuccessful.})
 11-18 11:50:29.458: D/SoftKeyboardDetect(6369): Ignore this event
 11-18 11:50:29.558: D/CordovaWebViewClient(6369): 
 onPageFinished(http://www.apple.com/)
 11-18 11:50:29.558: D/CordovaActivity(6369): 
 onMessage(onPageFinished,http://www.apple.com/)
 11-18 11:50:56.078: D/audio_hw_primary(184): select_devices: 
 out_snd_device(2: speaker) in_snd_device(0: )
 11-18 11:50:56.098: D/CordovaActivity(6369): Paused the application!
 11-18 11:50:56.128: W/IInputConnectionWrapper(6369): showStatusIcon on 
 inactive InputConnection
 11-18 11:50:56.598: D/CordovaActivity(6369): CordovaActivity.onDestroy()
 11-18 11:50:56.598: D/CordovaWebView(6369):  loadUrlNow()
 11-18 11:50:56.678: E/WindowManager(6369): android.view.WindowLeaked: 
 Activity org.apache.mobilespec.mobilespec has leaked window 
 com.android.internal.policy.impl.PhoneWindow$DecorView{42686118 V.E. 
 R... 0,0-1080,638} that was originally added here
 11-18 11:50:56.678: E/WindowManager(6369):at 
 android.view.ViewRootImpl.init(ViewRootImpl.java:346)
 

[jira] [Commented] (CB-5400) Version and Id is not set correctly in Windows 8 application project file

2013-11-18 Thread Maxime LUCE (JIRA)

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

Maxime LUCE commented on CB-5400:
-

By 'more pleasant way', I mean 'in a different function'.
But you're right about the issue you are putting on light, it will be fixed in 
the hour.

 Version and Id is not set correctly in Windows 8 application project file
 -

 Key: CB-5400
 URL: https://issues.apache.org/jira/browse/CB-5400
 Project: Apache Cordova
  Issue Type: Bug
  Components: CLI, Windows 8
Reporter: Maxime LUCE
Assignee: Maxime LUCE

 When using CLI with Windows 8 Platform :
 1. Cordova default version string is not compatible with Windows 8 one (0.0.0 
 vs 0.0.0.0) so add a .0 automatically.
 2. In package.appxmanifest, Application.id must be a safe name, which is not 
 actually, we can use packageName (which is safe) or compute a safe name based 
 on config name.



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Commented] (CB-5421) Add BOM to all html, js, css files to ensure app can pass Windows Store Certification

2013-11-18 Thread Sergey Grebnov (JIRA)

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

Sergey Grebnov commented on CB-5421:


Link to fix (Maxime)
https://github.com/Touchit/cordova-cli/commit/26ff73fa47f7a5c806e4792896b8bc2d91cbd585

 Add BOM to all html, js, css files to ensure app can pass Windows Store 
 Certification
 -

 Key: CB-5421
 URL: https://issues.apache.org/jira/browse/CB-5421
 Project: Apache Cordova
  Issue Type: Improvement
  Components: CLI, Windows 8
Reporter: Maxime LUCE
Assignee: Maxime LUCE

 Windows Store Certification requires each javascript, html and css files to 
 be encoded in utf-8, with BOM (byte order mark).
 So it could be helpful to ensure this encoding during project update. It 
 could be added in windows8_parser.js. 



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Created] (CB-5428) versionCode attribute not updating when using command line tools.

2013-11-18 Thread Venkata Kiran (JIRA)
Venkata Kiran created CB-5428:
-

 Summary: versionCode attribute not updating when using command 
line tools.
 Key: CB-5428
 URL: https://issues.apache.org/jira/browse/CB-5428
 Project: Apache Cordova
  Issue Type: Bug
  Components: CLI
Affects Versions: 3.1.0
 Environment: Android, Windows
Reporter: Venkata Kiran
Priority: Minor


The versionCode from the root project is not reflected in Android project. The 
Android project is always ending up with versionCode 1 irrespective of what 
ever is configured in root project.

The below link has more details:

https://groups.google.com/forum/#!topic/phonegap/ckk2h2nri4Q




--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Commented] (CB-5400) Version and Id is not set correctly in Windows 8 application project file

2013-11-18 Thread Maxime LUCE (JIRA)

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

Maxime LUCE commented on CB-5400:
-

Fixed in pull request : https://github.com/apache/cordova-cli/pull/93
Commit : 
https://github.com/Touchit/cordova-cli/commit/4f19c86235045ff07aca19084128ce0c6b77cae2


 Version and Id is not set correctly in Windows 8 application project file
 -

 Key: CB-5400
 URL: https://issues.apache.org/jira/browse/CB-5400
 Project: Apache Cordova
  Issue Type: Bug
  Components: CLI, Windows 8
Reporter: Maxime LUCE
Assignee: Maxime LUCE

 When using CLI with Windows 8 Platform :
 1. Cordova default version string is not compatible with Windows 8 one (0.0.0 
 vs 0.0.0.0) so add a .0 automatically.
 2. In package.appxmanifest, Application.id must be a safe name, which is not 
 actually, we can use packageName (which is safe) or compute a safe name based 
 on config name.



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Created] (CB-5429) cordova-plugin-network-information fails on iOS when updateReachability is executed

2013-11-18 Thread Pepe Cano (JIRA)
Pepe Cano created CB-5429:
-

 Summary: cordova-plugin-network-information fails on iOS when 
updateReachability is executed
 Key: CB-5429
 URL: https://issues.apache.org/jira/browse/CB-5429
 Project: Apache Cordova
  Issue Type: Bug
  Components: iOS
Affects Versions: 3.1.0
Reporter: Pepe Cano


The use case is:

- app has not any active network connection
- put the app in background and access to WIFI settings to active any WIFI 
connection
- updateReachability is executed and the [self sendPluginResult] call 
originates and EXC_BAD_ACCESS exception on the _callbackId variable.





--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Created] (CB-5430) [plugin-network-information] JS getInfo method does not work on Android

2013-11-18 Thread Pepe Cano (JIRA)
Pepe Cano created CB-5430:
-

 Summary: [plugin-network-information] JS getInfo method does not 
work on Android
 Key: CB-5430
 URL: https://issues.apache.org/jira/browse/CB-5430
 Project: Apache Cordova
  Issue Type: Bug
  Components: Android
Reporter: Pepe Cano


The error is described at http://stackoverflow.com/a/19894873/446317

Current JS implementation originates and exception because the getInfo method 
is available at the navigator.connection variable.

So, the only way to use the API is to call directly:
cordovaRef.exec(function(v) {
}, function() {
}, NetworkStatus, getConnectionInfo, []);




--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Resolved] (CB-5179) [Release + 3.2.0] Test Tag 3.2.0 for: cordova-js, cordova-mobile-spec and cordova-app-hello-world

2013-11-18 Thread Steve Gill (JIRA)

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

Steve Gill resolved CB-5179.


Resolution: Fixed

tagged

 [Release + 3.2.0] Test  Tag 3.2.0 for: cordova-js, cordova-mobile-spec and 
 cordova-app-hello-world
 ---

 Key: CB-5179
 URL: https://issues.apache.org/jira/browse/CB-5179
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: App Hello World, CordovaJS, mobile-spec
Reporter: Steve Gill
Assignee: Steve Gill
 Fix For: 3.2.0






--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Commented] (CB-5421) Add BOM to all html, js, css files to ensure app can pass Windows Store Certification

2013-11-18 Thread Maxime LUCE (JIRA)

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

Maxime LUCE commented on CB-5421:
-

I created a pull request on Github :
https://github.com/apache/cordova-cli/pull/96

 Add BOM to all html, js, css files to ensure app can pass Windows Store 
 Certification
 -

 Key: CB-5421
 URL: https://issues.apache.org/jira/browse/CB-5421
 Project: Apache Cordova
  Issue Type: Improvement
  Components: CLI, Windows 8
Reporter: Maxime LUCE
Assignee: Maxime LUCE

 Windows Store Certification requires each javascript, html and css files to 
 be encoded in utf-8, with BOM (byte order mark).
 So it could be helpful to ensure this encoding during project update. It 
 could be added in windows8_parser.js. 



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Commented] (CB-5389) Status Bar plugin issues with orientation

2013-11-18 Thread Mike Hartington (JIRA)

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

Mike Hartington commented on CB-5389:
-

meta name=viewport content=initial-scale=1.0, user-scalable = no

 Status Bar plugin issues with orientation
 -

 Key: CB-5389
 URL: https://issues.apache.org/jira/browse/CB-5389
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugins
Affects Versions: 3.1.0
 Environment: Ios
Reporter: Mike Hartington
Assignee: Shazron Abdullah
  Labels: ios, javascript, objective-c, statusbar-plugin

 When I try to hide the Status Bar on iOS when my device is in landscape, the 
 entire app's width shrinks to what is about the devices width would be if 
 portrait. 
 So if my iPad is in landscape and I hide the status bar, the app will just 
 scale to about 768px. 
 I tried removing my apps javascript, ran the app again, and used Safaris Web 
 Inspect Console to see if I had an error in my javascript, but had the same 
 issue. 



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Commented] (CB-5405) Update the JS code to allow the FileSystem object to format paths used in exec() calls.

2013-11-18 Thread ASF subversion and git services (JIRA)

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

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

Commit e82cff74b52bd44525817a39b8f508b26bc892a8 in branch refs/heads/master 
from [~iclelland]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-mobile-spec.git;h=e82cff7 ]

CB-5405: Remove test that doesn't make sense for filesystem URLs


 Update the JS code to allow the FileSystem object to format paths used in 
 exec() calls.
 ---

 Key: CB-5405
 URL: https://issues.apache.org/jira/browse/CB-5405
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: Plugin File
Reporter: Ian Clelland
Assignee: Ian Clelland

 Since CB-5129, all Entry objects should have a filesystem object attached. By 
 allowing this FS object to determine what information goes across the bridge, 
 we are 90% of the way to using URLs internally, rather than (real) filesystem 
 paths, which was one of the goals of the refactoring.



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Commented] (CB-5406) [ios] Switch native code to use filesystem://localhost/* URLs internally, and change the FileSystem JS object to use those URLs for the bridge.

2013-11-18 Thread ASF subversion and git services (JIRA)

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

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

Commit 64187ca1be3e5b0a8d366959d1946a99ba44c198 in branch refs/heads/dev from 
[~iclelland]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-file.git;h=64187ca ]

CB-5406: Factor out filesystem providers in iOS


 [ios] Switch native code to use filesystem://localhost/* URLs internally, and 
 change the FileSystem JS object to use those URLs for the bridge.
 ---

 Key: CB-5406
 URL: https://issues.apache.org/jira/browse/CB-5406
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: iOS, Plugin File
Reporter: Ian Clelland
Assignee: Ian Clelland





--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Commented] (CB-5406) [ios] Switch native code to use filesystem://localhost/* URLs internally, and change the FileSystem JS object to use those URLs for the bridge.

2013-11-18 Thread ASF subversion and git services (JIRA)

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

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

Commit 7bb397771431c24ae4fdbe4c5d5f745479689904 in branch refs/heads/dev from 
[~iclelland]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-file.git;h=7bb3977 ]

CB-5406: Split iOS file plugin into modules


 [ios] Switch native code to use filesystem://localhost/* URLs internally, and 
 change the FileSystem JS object to use those URLs for the bridge.
 ---

 Key: CB-5406
 URL: https://issues.apache.org/jira/browse/CB-5406
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: iOS, Plugin File
Reporter: Ian Clelland
Assignee: Ian Clelland





--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Commented] (CB-5408) [ios] Add URL handlers for filesystem:// URLs in native code

2013-11-18 Thread ASF subversion and git services (JIRA)

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

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

Commit b8c4f85eb56ca51fec08cf8a1fbc926f56ac4e7e in branch refs/heads/dev from 
[~iclelland]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-file.git;h=b8c4f85 ]

CB-5408: Add handler for filesystem:// urls


 [ios] Add URL handlers for filesystem:// URLs in native code
 

 Key: CB-5408
 URL: https://issues.apache.org/jira/browse/CB-5408
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: Plugin File
Reporter: Ian Clelland
Assignee: Ian Clelland





--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Commented] (CB-5406) [ios] Switch native code to use filesystem://localhost/* URLs internally, and change the FileSystem JS object to use those URLs for the bridge.

2013-11-18 Thread ASF subversion and git services (JIRA)

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

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

Commit b3b6a83f0c18d0416245b4bc7375ac07fa819129 in branch refs/heads/dev from 
[~iclelland]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-file.git;h=b3b6a83 ]

CB-5406: Update iOS native code to use filesystem URLs internally


 [ios] Switch native code to use filesystem://localhost/* URLs internally, and 
 change the FileSystem JS object to use those URLs for the bridge.
 ---

 Key: CB-5406
 URL: https://issues.apache.org/jira/browse/CB-5406
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: iOS, Plugin File
Reporter: Ian Clelland
Assignee: Ian Clelland





--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Commented] (CB-5403) Overhaul File API implementation

2013-11-18 Thread ASF subversion and git services (JIRA)

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

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

Commit 8d7e2611b828330b8b89661c75f5b818b5a39d64 in branch refs/heads/dev from 
[~iclelland]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-file.git;h=8d7e261 ]

CB-5403: Bump File plugin major version


 Overhaul File API implementation
 

 Key: CB-5403
 URL: https://issues.apache.org/jira/browse/CB-5403
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugin File
Reporter: Ian Clelland
Assignee: Ian Clelland

 This is the meta-issue for all of the File API-related changes.
 File is getting overhauled, to provide the following features:
 1. Entry.toURL() should return a filesystem:// URL on platforms which support 
 it. Platforms which cannot support custom URL protocols are free to return 
 URLs which *can* be used to access the local file system.
 2. These URLs will look like:
   filesystem://localhost/persistent/path/to/file.ext
   filesystem://localhost/temporary/path/to/file.ext
 Additional roots are possible for new file systems (assets, media, documents, 
 etc)
 (The specific format used does not need to conform to any existing or 
 proposed standard, since these URLs should not be assumed valid across 
 machines)
 3. Entry.fullPath will be relative to the HTML file system root, and not a 
 path from the root of the actual device file system.
 4. Only URLs will be passed over the exec bridge; we won't be passing raw 
 file system paths into and out of JS anymore. (This generally means 
 filesystem:// URLs in the iOS/Android case, but platforms are free to support 
 other URLs as needed)
 5. Tests need to be updated so that they still pass when these changes are 
 made.
 6. File plugin should be modular, so that additional filesystem types can be 
 easily supported.



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Created] (CB-5431) Status Bar Plugin blanks view on call overlaysWebView(false) in landscape orientation

2013-11-18 Thread Sepp Wijnands (JIRA)
Sepp Wijnands created CB-5431:
-

 Summary: Status Bar Plugin blanks view on call 
overlaysWebView(false) in landscape orientation 
 Key: CB-5431
 URL: https://issues.apache.org/jira/browse/CB-5431
 Project: Apache Cordova
  Issue Type: Bug
  Components: iOS
Affects Versions: 3.1.0
Reporter: Sepp Wijnands


If you call StatusBar.overlaysWebView(false) in the deviceready() event and the 
iPad Retina device is in Landscape mode, it blanks the screen and
places a 20px black bar vertically on the screen.

Code to reproduce problem (HelloCordova example project: www/js/index.js):
onDeviceReady: function() {
StatusBar.overlaysWebView(false);
app.receivedEvent('deviceready');
},

iOS simulator environment: iPad Retina iOS 7.0, Orientated in *landscape* mode.

Screenshot: 
https://www.dropbox.com/s/6o66wuf2f7gy9dx/iOS%20Simulator%20Screen%20shot%2018%20Nov%202013%2021.13.34.png

Example project demonstrating the problem (based on HelloCordova): 
https://www.dropbox.com/s/gb9wbz6jber6ovc/BugStatusBarLandscape.zip




--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Updated] (CB-5431) Status Bar Plugin blanks view on call overlaysWebView(false) in landscape orientation

2013-11-18 Thread Sepp Wijnands (JIRA)

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

Sepp Wijnands updated CB-5431:
--

Description: 
If you call StatusBar.overlaysWebView(false) in the deviceready() event and the 
iPad Retina device is in Landscape mode, it blanks the screen and
places a 20px black bar vertically on the screen.

Code to reproduce problem (HelloCordova example project: www/js/index.js):
(quote)
onDeviceReady: function() {
StatusBar.overlaysWebView(false);
app.receivedEvent('deviceready');
},
(quote)

iOS simulator environment: iPad Retina iOS 7.0, Orientated in *landscape* mode.

Screenshot: 
https://www.dropbox.com/s/6o66wuf2f7gy9dx/iOS%20Simulator%20Screen%20shot%2018%20Nov%202013%2021.13.34.png

Example project demonstrating the problem (based on HelloCordova): 
https://www.dropbox.com/s/gb9wbz6jber6ovc/BugStatusBarLandscape.zip


  was:
If you call StatusBar.overlaysWebView(false) in the deviceready() event and the 
iPad Retina device is in Landscape mode, it blanks the screen and
places a 20px black bar vertically on the screen.

Code to reproduce problem (HelloCordova example project: www/js/index.js):
onDeviceReady: function() {
StatusBar.overlaysWebView(false);
app.receivedEvent('deviceready');
},

iOS simulator environment: iPad Retina iOS 7.0, Orientated in *landscape* mode.

Screenshot: 
https://www.dropbox.com/s/6o66wuf2f7gy9dx/iOS%20Simulator%20Screen%20shot%2018%20Nov%202013%2021.13.34.png

Example project demonstrating the problem (based on HelloCordova): 
https://www.dropbox.com/s/gb9wbz6jber6ovc/BugStatusBarLandscape.zip



 Status Bar Plugin blanks view on call overlaysWebView(false) in landscape 
 orientation 
 --

 Key: CB-5431
 URL: https://issues.apache.org/jira/browse/CB-5431
 Project: Apache Cordova
  Issue Type: Bug
  Components: iOS
Affects Versions: 3.1.0
Reporter: Sepp Wijnands

 If you call StatusBar.overlaysWebView(false) in the deviceready() event and 
 the iPad Retina device is in Landscape mode, it blanks the screen and
 places a 20px black bar vertically on the screen.
 Code to reproduce problem (HelloCordova example project: www/js/index.js):
 (quote)
 onDeviceReady: function() {
 StatusBar.overlaysWebView(false);
 app.receivedEvent('deviceready');
 },
 (quote)
 iOS simulator environment: iPad Retina iOS 7.0, Orientated in *landscape* 
 mode.
 Screenshot: 
 https://www.dropbox.com/s/6o66wuf2f7gy9dx/iOS%20Simulator%20Screen%20shot%2018%20Nov%202013%2021.13.34.png
 Example project demonstrating the problem (based on HelloCordova): 
 https://www.dropbox.com/s/gb9wbz6jber6ovc/BugStatusBarLandscape.zip



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Updated] (CB-5431) Status Bar Plugin blanks view on call overlaysWebView(false) in landscape orientation

2013-11-18 Thread Sepp Wijnands (JIRA)

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

Sepp Wijnands updated CB-5431:
--

Description: 
If you call StatusBar.overlaysWebView(false) in the deviceready() event and the 
iPad Retina device is in Landscape mode, it blanks the screen and
places a 20px black bar vertically on the screen.

Code to reproduce problem (HelloCordova example project: www/js/index.js):
{quote}
onDeviceReady: function() {
StatusBar.overlaysWebView(false);
app.receivedEvent('deviceready');
},
{quote}

iOS simulator environment: iPad Retina iOS 7.0, Orientated in *landscape* mode.

Screenshot: 
https://www.dropbox.com/s/6o66wuf2f7gy9dx/iOS%20Simulator%20Screen%20shot%2018%20Nov%202013%2021.13.34.png

Example project demonstrating the problem (based on HelloCordova): 
https://www.dropbox.com/s/gb9wbz6jber6ovc/BugStatusBarLandscape.zip


  was:
If you call StatusBar.overlaysWebView(false) in the deviceready() event and the 
iPad Retina device is in Landscape mode, it blanks the screen and
places a 20px black bar vertically on the screen.

Code to reproduce problem (HelloCordova example project: www/js/index.js):
(quote)
onDeviceReady: function() {
StatusBar.overlaysWebView(false);
app.receivedEvent('deviceready');
},
(quote)

iOS simulator environment: iPad Retina iOS 7.0, Orientated in *landscape* mode.

Screenshot: 
https://www.dropbox.com/s/6o66wuf2f7gy9dx/iOS%20Simulator%20Screen%20shot%2018%20Nov%202013%2021.13.34.png

Example project demonstrating the problem (based on HelloCordova): 
https://www.dropbox.com/s/gb9wbz6jber6ovc/BugStatusBarLandscape.zip



 Status Bar Plugin blanks view on call overlaysWebView(false) in landscape 
 orientation 
 --

 Key: CB-5431
 URL: https://issues.apache.org/jira/browse/CB-5431
 Project: Apache Cordova
  Issue Type: Bug
  Components: iOS
Affects Versions: 3.1.0
Reporter: Sepp Wijnands

 If you call StatusBar.overlaysWebView(false) in the deviceready() event and 
 the iPad Retina device is in Landscape mode, it blanks the screen and
 places a 20px black bar vertically on the screen.
 Code to reproduce problem (HelloCordova example project: www/js/index.js):
 {quote}
 onDeviceReady: function() {
 StatusBar.overlaysWebView(false);
 app.receivedEvent('deviceready');
 },
 {quote}
 iOS simulator environment: iPad Retina iOS 7.0, Orientated in *landscape* 
 mode.
 Screenshot: 
 https://www.dropbox.com/s/6o66wuf2f7gy9dx/iOS%20Simulator%20Screen%20shot%2018%20Nov%202013%2021.13.34.png
 Example project demonstrating the problem (based on HelloCordova): 
 https://www.dropbox.com/s/gb9wbz6jber6ovc/BugStatusBarLandscape.zip



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Updated] (CB-5431) Status Bar Plugin blanks view on call overlaysWebView(false) in landscape orientation

2013-11-18 Thread Sepp Wijnands (JIRA)

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

Sepp Wijnands updated CB-5431:
--

Description: 
If you call StatusBar.overlaysWebView(false) in the deviceready() event and the 
iPad Retina device is in Landscape mode, it blanks the screen and
places a 20px black bar vertically on the screen.

Code to reproduce problem (HelloCordova example project: www/js/index.js):
{code}
onDeviceReady: function() {
StatusBar.overlaysWebView(false);
app.receivedEvent('deviceready');
},
{code}

iOS simulator environment: iPad Retina iOS 7.0, Orientated in *landscape* mode.

Screenshot: 
https://www.dropbox.com/s/6o66wuf2f7gy9dx/iOS%20Simulator%20Screen%20shot%2018%20Nov%202013%2021.13.34.png

Example project demonstrating the problem (based on HelloCordova): 
https://www.dropbox.com/s/gb9wbz6jber6ovc/BugStatusBarLandscape.zip


  was:
If you call StatusBar.overlaysWebView(false) in the deviceready() event and the 
iPad Retina device is in Landscape mode, it blanks the screen and
places a 20px black bar vertically on the screen.

Code to reproduce problem (HelloCordova example project: www/js/index.js):
{quote}
onDeviceReady: function() {
StatusBar.overlaysWebView(false);
app.receivedEvent('deviceready');
},
{quote}

iOS simulator environment: iPad Retina iOS 7.0, Orientated in *landscape* mode.

Screenshot: 
https://www.dropbox.com/s/6o66wuf2f7gy9dx/iOS%20Simulator%20Screen%20shot%2018%20Nov%202013%2021.13.34.png

Example project demonstrating the problem (based on HelloCordova): 
https://www.dropbox.com/s/gb9wbz6jber6ovc/BugStatusBarLandscape.zip



 Status Bar Plugin blanks view on call overlaysWebView(false) in landscape 
 orientation 
 --

 Key: CB-5431
 URL: https://issues.apache.org/jira/browse/CB-5431
 Project: Apache Cordova
  Issue Type: Bug
  Components: iOS
Affects Versions: 3.1.0
Reporter: Sepp Wijnands

 If you call StatusBar.overlaysWebView(false) in the deviceready() event and 
 the iPad Retina device is in Landscape mode, it blanks the screen and
 places a 20px black bar vertically on the screen.
 Code to reproduce problem (HelloCordova example project: www/js/index.js):
 {code}
 onDeviceReady: function() {
 StatusBar.overlaysWebView(false);
 app.receivedEvent('deviceready');
 },
 {code}
 iOS simulator environment: iPad Retina iOS 7.0, Orientated in *landscape* 
 mode.
 Screenshot: 
 https://www.dropbox.com/s/6o66wuf2f7gy9dx/iOS%20Simulator%20Screen%20shot%2018%20Nov%202013%2021.13.34.png
 Example project demonstrating the problem (based on HelloCordova): 
 https://www.dropbox.com/s/gb9wbz6jber6ovc/BugStatusBarLandscape.zip



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Commented] (CB-5432) splashscreen config in docs is malformed

2013-11-18 Thread Marcel Kinard (JIRA)

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

Marcel Kinard commented on CB-5432:
---

Joe or Michael B, please review 
https://github.com/cmarcelk/cordova-docs/commit/414ff6398db42b62bf9fee8703f17532ad553eb6
 and see if I got any of this wrong. Then I can merge. Thanks!

 splashscreen config in docs is malformed
 

 Key: CB-5432
 URL: https://issues.apache.org/jira/browse/CB-5432
 Project: Apache Cordova
  Issue Type: Bug
  Components: Docs
Affects Versions: 3.1.0
Reporter: Marcel Kinard
Assignee: Marcel Kinard
Priority: Minor

 There are a few queries in the PG google group asking questions about what to 
 put in the config.xml for splashscreens. The XML fragment in the docs is not 
 well-formed XML, so that is an obvious error.
 Related, for Android, there isn't quite enough instructions to easily use 
 splashscreens.



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Commented] (CB-5433) init.bat uses %HOME% instead of %HOMEDRIVE%%HOMEPATH%

2013-11-18 Thread Josh Soref (JIRA)

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

Josh Soref commented on CB-5433:


https://github.com/apache/cordova-blackberry/pull/124

 init.bat uses %HOME% instead of %HOMEDRIVE%%HOMEPATH%
 -

 Key: CB-5433
 URL: https://issues.apache.org/jira/browse/CB-5433
 Project: Apache Cordova
  Issue Type: Bug
  Components: BlackBerry
Affects Versions: 3.1.0
 Environment: Windows (8)
Reporter: Josh Soref
Assignee: Josh Soref

 bin/init and bin/init.bat are supposed to be fairly parallel, unfortunately 
 $HOME is a unix concept, on Windows there are two variables (for Historical 
 reasons...) %HOMEDRIVE% and %HOMEPATH% see 
 http://support.microsoft.com/kb/101507 for more information
 The relevant line from bin\init.bat is:
 set 
 CORDOVA_HOME_DIR=%HOME%\.cordova\lib\blackberry10\cordova\%CORDOVA_VERSION%



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Commented] (CB-5363) Need a better bug reporting message for when parsing the .cordova/config.json

2013-11-18 Thread ASF subversion and git services (JIRA)

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

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

Commit 142ecae55ec7c8d15f26367d81420032b2da9e16 in branch refs/heads/master 
from [~jsoref]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-cli.git;h=142ecae ]

CB-5363 Improve config_json error reporting


 Need a better bug reporting message for when parsing the .cordova/config.json
 -

 Key: CB-5363
 URL: https://issues.apache.org/jira/browse/CB-5363
 Project: Apache Cordova
  Issue Type: Bug
Affects Versions: 3.1.0
Reporter: JennyGee
Priority: Minor

 Error is not handled when there is an syntax error in the .JSON file and it 
 spits out garbage that is not indicative of the actual problem. 
 This was encountered especially when there was a single quote instead of 
 double quotes.



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Resolved] (CB-5165) [Release + 3.2.0] Test Tag 3.2.0 for Android

2013-11-18 Thread Joe Bowser (JIRA)

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

Joe Bowser resolved CB-5165.


Resolution: Fixed

Nothing changed between the RC1, tagging and releasing. :D

 [Release + 3.2.0] Test  Tag 3.2.0 for Android
 --

 Key: CB-5165
 URL: https://issues.apache.org/jira/browse/CB-5165
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: Android
Reporter: Steve Gill
Assignee: Joe Bowser
 Fix For: 3.2.0


 Refer to Workflow here:
 http://wiki.apache.org/cordova/CuttingReleases



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Updated] (CB-5294) File input element not opening file picker in Android 4.4

2013-11-18 Thread Joe Bowser (JIRA)

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

Joe Bowser updated CB-5294:
---

Priority: Major  (was: Blocker)

Kitkat is only on Nexus devices, this is not a blocker.

 File input element not opening file picker in Android 4.4
 -

 Key: CB-5294
 URL: https://issues.apache.org/jira/browse/CB-5294
 Project: Apache Cordova
  Issue Type: Bug
  Components: Android
Affects Versions: 3.1.0
 Environment: Android 4.4 (emulator and Nexus 5)
Reporter: Paul Kane
Assignee: Joe Bowser

 The file input field doesn't respond when clicked/tapped in Android 4.4. 
 Works fine in previous Android versions. This is regardless of whether the 
 Target Level is set to 18 or 19.
 To reproduce, I created a fresh Cordova 3.1.0 project for Android. The only 
 modification I made to the default (placeholder) index.html file was adding a 
 form element with a single input type=file element inside. Clicking the 
 Choose File button does nothing. No Logcat output or errors. Normally at 
 this point a dialogue would open allowing me to select an image from the 
 gallery or take a picture, which is what happens in older Android versions.



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Commented] (CB-5432) splashscreen config in docs is malformed

2013-11-18 Thread Joe Bowser (JIRA)

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

Joe Bowser commented on CB-5432:


Looks good, ship it. (BTW: We have a tool for code review, but yeah, I prefer 
github personally)

 splashscreen config in docs is malformed
 

 Key: CB-5432
 URL: https://issues.apache.org/jira/browse/CB-5432
 Project: Apache Cordova
  Issue Type: Bug
  Components: Docs
Affects Versions: 3.1.0
Reporter: Marcel Kinard
Assignee: Marcel Kinard
Priority: Minor

 There are a few queries in the PG google group asking questions about what to 
 put in the config.xml for splashscreens. The XML fragment in the docs is not 
 well-formed XML, so that is an obvious error.
 Related, for Android, there isn't quite enough instructions to easily use 
 splashscreens.



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Resolved] (CB-5374) App crashes when save video

2013-11-18 Thread Joe Bowser (JIRA)

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

Joe Bowser resolved CB-5374.


Resolution: Fixed

This should be resolved with the latest capture plugin.

 App crashes when save video
 ---

 Key: CB-5374
 URL: https://issues.apache.org/jira/browse/CB-5374
 Project: Apache Cordova
  Issue Type: Bug
  Components: Android
Affects Versions: 3.1.0
Reporter: Luiz Bernardo Souza e Souza
Priority: Critical

 When I tried to use media capture plugin to capture a video, the camera opens 
 ok, but when I try to save the app crashes and I get this on logcat:
 11-13 10:21:52.920: E/AndroidRuntime(8457): FATAL EXCEPTION: main
 11-13 10:21:52.920: E/AndroidRuntime(8457): java.lang.RuntimeException: 
 Failure delivering result ResultInfo{who=null, request=2, result=-1, 
 data=Intent { act=inline-data dat=content://media/external/video/media/3483 
 }} to activity {com.w2s.evaltec/com.w2s.evaltec.Evaltec}: 
 java.lang.IllegalStateException: Do not perform IO operations on the UI 
 thread. Use CordovaInterface.getThreadPool() instead.



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Created] (CB-5434) EXCEPTION_DEBUG_TOKEN_NOT_FOUND and EXCEPTION_DEBUG_TOKEN_NOT_FOUND errors are bad

2013-11-18 Thread Josh Soref (JIRA)
Josh Soref created CB-5434:
--

 Summary: EXCEPTION_DEBUG_TOKEN_NOT_FOUND and 
EXCEPTION_DEBUG_TOKEN_NOT_FOUND errors are bad
 Key: CB-5434
 URL: https://issues.apache.org/jira/browse/CB-5434
 Project: Apache Cordova
  Issue Type: Bug
  Components: BlackBerry
Reporter: Josh Soref
Priority: Minor


./blackberry10/bin/templates/project/cordova/lib/localize.js:en: 
Failed to find debug token. If you have an existing debug token, please copy 
it to %HOME%/.cordova/blackberry10debugtoken.bar. To generate a new debug 
token, execute the 'run' command.
./blackberry10/bin/templates/project/cordova/lib/localize.js:en: 
No signing password provided, debug token cannot be generated. Please enter a 
value for 'keystorepass' in %HOME%/.cordova/blackberry10.json or use 
--keystorepass via command-line directly from the project cordova scripts.

There is no %HOME% environment variable in general on Windows, the error 
message should be passed the path that was checked by the tool



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Updated] (CB-5372) Notification.beep blocks app execution - doesn't use CordovaInterface.getThreadPool

2013-11-18 Thread Joe Bowser (JIRA)

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

Joe Bowser updated CB-5372:
---

Priority: Minor  (was: Blocker)

This is definitely not a blocker.

 Notification.beep blocks app execution - doesn't use 
 CordovaInterface.getThreadPool
 ---

 Key: CB-5372
 URL: https://issues.apache.org/jira/browse/CB-5372
 Project: Apache Cordova
  Issue Type: Bug
  Components: Android
Affects Versions: 3.1.0
Reporter: Michael Schmidt
Priority: Minor

 Calling a simple beep notification for 5 seconds blocks the whole app for 
 this time
 {quote}
   navigator.notification.beep(5);
 {quote}
 Debug console output is as follows:
 {quote}
  11-13 12:07:09.845: W/PluginManager(14561): THREAD WARNING: exec() call to 
 Notification.beep blocked the main thread for 10507ms. Plugin should use 
 CordovaInterface.getThreadPool().
 {quote}
 App runs on Android 4.1



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Created] (CB-5435) GetPreference for unknown key causes exception

2013-11-18 Thread Jesse MacFadyen (JIRA)
Jesse MacFadyen created CB-5435:
---

 Summary: GetPreference for unknown key causes exception
 Key: CB-5435
 URL: https://issues.apache.org/jira/browse/CB-5435
 Project: Apache Cordova
  Issue Type: Bug
  Components: WP7, WP8
Affects Versions: 3.1.0
Reporter: Jesse MacFadyen
Assignee: Jesse MacFadyen
 Fix For: 3.3.0


ConfigHelper blindly tries to fetch a key from the Dictionary, even if it is 
not defined.



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Assigned] (CB-5166) [Release + 3.2.0] Test Tag 3.2.0 for iOS

2013-11-18 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah reassigned CB-5166:


Assignee: Shazron Abdullah

 [Release + 3.2.0] Test  Tag 3.2.0 for iOS
 --

 Key: CB-5166
 URL: https://issues.apache.org/jira/browse/CB-5166
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: iOS
Reporter: Steve Gill
Assignee: Shazron Abdullah
 Fix For: 3.2.0


 Refer to Workflow here:
 http://wiki.apache.org/cordova/CuttingReleases



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Resolved] (CB-5166) [Release + 3.2.0] Test Tag 3.2.0 for iOS

2013-11-18 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah resolved CB-5166.
--

Resolution: Fixed

 [Release + 3.2.0] Test  Tag 3.2.0 for iOS
 --

 Key: CB-5166
 URL: https://issues.apache.org/jira/browse/CB-5166
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: iOS
Reporter: Steve Gill
Assignee: Shazron Abdullah
 Fix For: 3.2.0


 Refer to Workflow here:
 http://wiki.apache.org/cordova/CuttingReleases



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Commented] (CB-5389) Status Bar plugin issues with orientation

2013-11-18 Thread Richard McMillan (JIRA)

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

Richard McMillan commented on CB-5389:
--

Confirmed here - Landscape breaks when hiding the statusbar on iOS7. 

meta name='viewport' content='initial-scale=1, maximum-scale=1, 
user-scalable=no'

 Status Bar plugin issues with orientation
 -

 Key: CB-5389
 URL: https://issues.apache.org/jira/browse/CB-5389
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugins
Affects Versions: 3.1.0
 Environment: Ios
Reporter: Mike Hartington
Assignee: Shazron Abdullah
  Labels: ios, javascript, objective-c, statusbar-plugin

 When I try to hide the Status Bar on iOS when my device is in landscape, the 
 entire app's width shrinks to what is about the devices width would be if 
 portrait. 
 So if my iPad is in landscape and I hide the status bar, the app will just 
 scale to about 768px. 
 I tried removing my apps javascript, ran the app again, and used Safaris Web 
 Inspect Console to see if I had an error in my javascript, but had the same 
 issue. 



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Commented] (CB-5336) Status Bar plugin white screens app when launched in iPad Landscape

2013-11-18 Thread Richard McMillan (JIRA)

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

Richard McMillan commented on CB-5336:
--

Dupe of https://issues.apache.org/jira/browse/CB-5431

 Status Bar plugin white screens app when launched in iPad Landscape
 ---

 Key: CB-5336
 URL: https://issues.apache.org/jira/browse/CB-5336
 Project: Apache Cordova
  Issue Type: Bug
  Components: Labs
Affects Versions: 3.1.0
 Environment: iOS 7, iPad Landscape only
Reporter: Kuan Yi Ming

 If launched from iPad Landscape mode, the Status Bar project renders a whole 
 white screen when the StatusBar.overlaysWebView function is called.
 The app works fine when launched in Portrait, then rotated to Landscape 
 though.



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Commented] (CB-5432) splashscreen config in docs is malformed

2013-11-18 Thread ASF subversion and git services (JIRA)

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

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

Commit 02f9e24fbfabc1db2645c2cb7fd296d1433ce3ab in branch refs/heads/master 
from [~cmarcelk]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-docs.git;h=02f9e24 ]

CB-5432: Correct docs for splash screen

- The config.xml example was malformed. Fix it.
- Add more explanation about using splashscreen on Android.
- Explain that invoking splashscreen.show() is probably not desired.


 splashscreen config in docs is malformed
 

 Key: CB-5432
 URL: https://issues.apache.org/jira/browse/CB-5432
 Project: Apache Cordova
  Issue Type: Bug
  Components: Docs
Affects Versions: 3.1.0
Reporter: Marcel Kinard
Assignee: Marcel Kinard
Priority: Minor

 There are a few queries in the PG google group asking questions about what to 
 put in the config.xml for splashscreens. The XML fragment in the docs is not 
 well-formed XML, so that is an obvious error.
 Related, for Android, there isn't quite enough instructions to easily use 
 splashscreens.



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Commented] (CB-5432) splashscreen config in docs is malformed

2013-11-18 Thread ASF subversion and git services (JIRA)

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

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

Commit d05cf6dbcb65bdb1caabeaf81f2f79424a917751 in branch refs/heads/master 
from [~cmarcelk]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-docs.git;h=d05cf6d ]

CB-5432: fix typos in config.xml example in 3.1


 splashscreen config in docs is malformed
 

 Key: CB-5432
 URL: https://issues.apache.org/jira/browse/CB-5432
 Project: Apache Cordova
  Issue Type: Bug
  Components: Docs
Affects Versions: 3.1.0
Reporter: Marcel Kinard
Assignee: Marcel Kinard
Priority: Minor

 There are a few queries in the PG google group asking questions about what to 
 put in the config.xml for splashscreens. The XML fragment in the docs is not 
 well-formed XML, so that is an obvious error.
 Related, for Android, there isn't quite enough instructions to easily use 
 splashscreens.



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Updated] (CB-5425) iOS: Inappbrowser sometimes does not open the page and event falls through to main webView

2013-11-18 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-5425:
-

Component/s: iOS

 iOS: Inappbrowser sometimes does not open the page and event falls through 
 to main webView
 

 Key: CB-5425
 URL: https://issues.apache.org/jira/browse/CB-5425
 Project: Apache Cordova
  Issue Type: Bug
  Components: iOS, Plugin InAppBrowser
Affects Versions: 3.1.0
 Environment: iOS7 Simulator (retina 4), iOS6 iPod
Reporter: Tomáš Fejfar
  Labels: cordova, inappbrowser, ios

 There is a simple app illustrating the issue: 
 https://github.com/tomasfejfar/cordova-bug-01
 There is a div with ontouch event that will open google.com in inappbrowser - 
 there is a link inside - that will open seznam.cz 
 Steps to reproduce:
 * play with it long enough clicking on the link and closing inappbrowser 
 (appears irregularly)
 * wild inappbrowser appears (EMPTY)
 * seznam.cz is loaded in the main webview
 My guess is that on some occasions the window.open() call fails somehow and 
 the webview handles the tap event - opening the link. 



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Resolved] (CB-5170) [Release + 3.2.0] Test Tag 3.2.0 for Firefox OS

2013-11-18 Thread Steve Gill (JIRA)

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

Steve Gill resolved CB-5170.


Resolution: Fixed

 [Release + 3.2.0] Test  Tag 3.2.0 for Firefox OS
 -

 Key: CB-5170
 URL: https://issues.apache.org/jira/browse/CB-5170
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: FirefoxOS
Reporter: Steve Gill
Assignee: Steve Gill
 Fix For: 3.2.0


 Refer to Workflow here:
 http://wiki.apache.org/cordova/CuttingReleases



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Commented] (CB-5420) userAgent incorrect in iOS simulator

2013-11-18 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah commented on CB-5420:
--

I just tested on the iOS 6.1 Simulator on Xcode 5.0.2 with these device configs:
1. iPhone
2. iPhone (Retina 3.5)
3. iPhone (Retina 4)

They all report iPhone. In any case this does not seem to be a Cordova issue, 
and we are supporting Xcode 5 going forward. Try again with 5.

 userAgent incorrect in iOS simulator
 

 Key: CB-5420
 URL: https://issues.apache.org/jira/browse/CB-5420
 Project: Apache Cordova
  Issue Type: Bug
  Components: iOS
Affects Versions: 2.9.0
 Environment: iOS 6.1 simulator from xCode 4.6.3, running as an iPhone 
Reporter: Jacob Weber
Priority: Minor

 If I launch a Cordova/PhoneGap app on the iOS 6.1 simulator, running in 
 iPhone mode, and inspect it with Safari on the Mac, the value of 
 navigator.userAgent is:
 {{Mozilla/5.0 (iPad; CPU OS 6_1 like Mac OS X) AppleWebKit/536.26 (KHTML, 
 like Gecko) Mobile/10B141 (187887888)}}
 Note that it says iPad, although it should be iPhone.
 If I launch Safari in the same simulator, the userAgent string is:
 {{Mozilla/5.0 (iPhone; CPU iPhone OS 6_1 like Mac OS X) AppleWebKit/536.26 
 (KHTML, like Gecko) Version/6.0 Mobile/10B141 Safari/8536.25}}



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Updated] (CB-5429) cordova-plugin-network-information fails on iOS when updateReachability is executed

2013-11-18 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-5429:
-

Component/s: Plugin Network Information

 cordova-plugin-network-information fails on iOS when updateReachability is 
 executed
 ---

 Key: CB-5429
 URL: https://issues.apache.org/jira/browse/CB-5429
 Project: Apache Cordova
  Issue Type: Bug
  Components: iOS, Plugin Network Information
Affects Versions: 3.1.0
Reporter: Pepe Cano
 Fix For: 3.3.0


 The use case is:
 - app has not any active network connection
 - put the app in background and access to WIFI settings to active any WIFI 
 connection
 - updateReachability is executed and the [self sendPluginResult] call 
 originates and EXC_BAD_ACCESS exception on the _callbackId variable.



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Updated] (CB-5429) cordova-plugin-network-information fails on iOS when updateReachability is executed

2013-11-18 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-5429:
-

Fix Version/s: 3.3.0

 cordova-plugin-network-information fails on iOS when updateReachability is 
 executed
 ---

 Key: CB-5429
 URL: https://issues.apache.org/jira/browse/CB-5429
 Project: Apache Cordova
  Issue Type: Bug
  Components: iOS, Plugin Network Information
Affects Versions: 3.1.0
Reporter: Pepe Cano
 Fix For: 3.3.0


 The use case is:
 - app has not any active network connection
 - put the app in background and access to WIFI settings to active any WIFI 
 connection
 - updateReachability is executed and the [self sendPluginResult] call 
 originates and EXC_BAD_ACCESS exception on the _callbackId variable.



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Updated] (CB-5408) [ios] Add URL handlers for filesystem:// URLs in native code

2013-11-18 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-5408:
-

Component/s: iOS

 [ios] Add URL handlers for filesystem:// URLs in native code
 

 Key: CB-5408
 URL: https://issues.apache.org/jira/browse/CB-5408
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: iOS, Plugin File
Reporter: Ian Clelland
Assignee: Ian Clelland





--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Updated] (CB-5425) iOS: Inappbrowser sometimes does not open the page and event falls through to main webView

2013-11-18 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-5425:
-

Fix Version/s: 3.3.0

 iOS: Inappbrowser sometimes does not open the page and event falls through 
 to main webView
 

 Key: CB-5425
 URL: https://issues.apache.org/jira/browse/CB-5425
 Project: Apache Cordova
  Issue Type: Bug
  Components: iOS, Plugin InAppBrowser
Affects Versions: 3.1.0
 Environment: iOS7 Simulator (retina 4), iOS6 iPod
Reporter: Tomáš Fejfar
  Labels: cordova, inappbrowser, ios
 Fix For: 3.3.0


 There is a simple app illustrating the issue: 
 https://github.com/tomasfejfar/cordova-bug-01
 There is a div with ontouch event that will open google.com in inappbrowser - 
 there is a link inside - that will open seznam.cz 
 Steps to reproduce:
 * play with it long enough clicking on the link and closing inappbrowser 
 (appears irregularly)
 * wild inappbrowser appears (EMPTY)
 * seznam.cz is loaded in the main webview
 My guess is that on some occasions the window.open() call fails somehow and 
 the webview handles the tap event - opening the link. 



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Resolved] (CB-5336) Status Bar plugin white screens app when launched in iPad Landscape

2013-11-18 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah resolved CB-5336.
--

Resolution: Duplicate

 Status Bar plugin white screens app when launched in iPad Landscape
 ---

 Key: CB-5336
 URL: https://issues.apache.org/jira/browse/CB-5336
 Project: Apache Cordova
  Issue Type: Bug
  Components: Labs
Affects Versions: 3.1.0
 Environment: iOS 7, iPad Landscape only
Reporter: Kuan Yi Ming

 If launched from iPad Landscape mode, the Status Bar project renders a whole 
 white screen when the StatusBar.overlaysWebView function is called.
 The app works fine when launched in Portrait, then rotated to Landscape 
 though.



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Resolved] (CB-5303) DeviceMotion plugin Mobile-Spec Failures on AOSP Grouper build

2013-11-18 Thread Joe Bowser (JIRA)

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

Joe Bowser resolved CB-5303.


Resolution: Cannot Reproduce

Can't reproduce on the same Nexus 7 with an official build.

 DeviceMotion plugin Mobile-Spec Failures on AOSP Grouper build 
 ---

 Key: CB-5303
 URL: https://issues.apache.org/jira/browse/CB-5303
 Project: Apache Cordova
  Issue Type: Bug
  Components: Android, Plugin Device Motion
Reporter: Joe Bowser
Assignee: Joe Bowser
Priority: Minor
  Labels: Kitkat

 Testing on Android 4.4 AOSP build for the old Nexus 7 (Grouper).  Three of 
 the Accelerometer tests now fail.  This may be because of the new 
 Accelerometer support in the browser itself.  If this is the case, we should 
 use the accelerometer support in the browser, and not have our JS interfere.



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Resolved] (CB-5304) Compass does not work on AOSP Grouper (Android 4.4)

2013-11-18 Thread Joe Bowser (JIRA)

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

Joe Bowser resolved CB-5304.


Resolution: Cannot Reproduce

Can't reproduce on same Nexus 7 with Official Build of KitKat

 Compass does not work on AOSP Grouper (Android 4.4)
 ---

 Key: CB-5304
 URL: https://issues.apache.org/jira/browse/CB-5304
 Project: Apache Cordova
  Issue Type: Bug
Reporter: Joe Bowser
Assignee: Joe Bowser
  Labels: Kitkat

 The Compass is busted! Suspect that the browser now provides Compass support, 
 and we can deprecate this plugin.



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Commented] (CB-5398) Pick image from Library or Photo album on android 4.4

2013-11-18 Thread Joe Bowser (JIRA)

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

Joe Bowser commented on CB-5398:


I just tested this with the 2012 Nexus 7 running KitKat, and I get the new file 
picker, but I'm able to get an image regardless of where I pick it from.  This 
includes photos from Google Plus.  Perhaps there's an update between KitKat and 
KitKat MR1.

 Pick image from Library or Photo album on android 4.4
 -

 Key: CB-5398
 URL: https://issues.apache.org/jira/browse/CB-5398
 Project: Apache Cordova
  Issue Type: Bug
  Components: Android, Plugin Camera
Affects Versions: 2.9.0, 3.2.0
 Environment: android 4.4
Reporter: julio cesar
Assignee: Mike Billau

 An android 4.4 try to pick a photo using pictureSource.PHOTOLIBRARY or 
 pictureSource.SAVEDPHOTOALBUM and return type destinationType.FILE_URI.
 Now android 4.4, when you select the above options, it opens an open from 
 dialog that  let you choose from new places as Recent, Drive, Images 
 and Downloads (the names might not be the same as I use the device in 
 spanish and translated it).
 If you choose any of them, you get an error, AndroidProtocolHandler, unable 
 to open content URL: the url here with a content://com.android.providers 
 format.
 I've tested on phonegap 2.9 because this is the version I use, but I suppose 
 it affects all of them. (in fact I use 2.9.1)



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Commented] (CB-5427) InAppBrowser crashes without loadstop or loaderror on Android 4.4

2013-11-18 Thread Joe Bowser (JIRA)

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

Joe Bowser commented on CB-5427:


I'm getting duplicates of loadstart and loadstop in the dialog errors, but no 
nasty stack trace.  Are you actually running a final build of Android 4.4? My 
Nexus 7 doesn't seem to have these issues.

 InAppBrowser crashes without loadstop or loaderror on Android 4.4
 -

 Key: CB-5427
 URL: https://issues.apache.org/jira/browse/CB-5427
 Project: Apache Cordova
  Issue Type: Bug
  Components: Android, Plugin InAppBrowser
Affects Versions: 3.2.0
 Environment: Windows 7
 Android 4.x
Reporter: Mike Billau

 InAppBrowser on Android 4.4 sometimes fails when you click to open any page 
 on the CordovaWebView. An alert will pop up saying Unexpected: Browser 
 closed without a loadstop or loaderror.   Closing the dialog will force quit 
 the application. I can't detect a pattern to reproduce the issue; what I do 
 is just keep running through the first few buttons under Local URL and White 
 Listed URL headings on the mobile spec page. Other people seem to be having 
 this issue too: https://groups.google.com/forum/#!topic/phonegap/e5_5unC2fYs
 In logcat I'm seeing:
 {noformat}
 11-18 11:50:07.648: D/CordovaLog(6369): 
 file:///android_asset/www/inappbrowser/index.html: Line 79 : IAB 
 event={type:loadstop,url:http://www.google.com/}
 11-18 11:50:07.648: I/chromium(6369): [INFO:CONSOLE(79)] IAB 
 event={type:loadstop,url:http://www.google.com/};, source: 
 file:///android_asset/www/inappbrowser/index.html (79)
 11-18 11:50:07.928: W/UnimplementedWebViewApi(6369): Unimplemented WebView 
 method onKeyDown called from: 
 android.webkit.WebView.onKeyDown(WebView.java:2169)
 11-18 11:50:07.968: W/InputEventReceiver(6369): Attempted to finish an input 
 event but the input event receiver has already been disposed.
 11-18 11:50:07.998: D/CordovaLog(6369): 
 file:///android_asset/www/inappbrowser/index.html: Line 79 : IAB 
 event={type:exit}
 11-18 11:50:07.998: I/chromium(6369): [INFO:CONSOLE(79)] IAB 
 event={type:exit}, source: 
 file:///android_asset/www/inappbrowser/index.html (79)
 11-18 11:50:09.408: D/InAppBrowser(6369): target = _self
 11-18 11:50:09.418: D/InAppBrowser(6369): in self
 11-18 11:50:09.418: D/CordovaWebView(6369):  loadUrl(http://www.apple.com/)
 11-18 11:50:09.418: D/PluginManager(6369): init()
 11-18 11:50:09.428: D/CordovaWebView(6369):  loadUrlNow()
 11-18 11:50:09.428: W/CordovaPlugin(6369): Attempted to send a second 
 callback for ID: InAppBrowser921848427
 11-18 11:50:09.428: W/CordovaPlugin(6369): Result was: 
 11-18 11:50:09.488: D/CordovaLog(6369): 
 file:///android_asset/www/inappbrowser/index.html: Line 79 : IAB 
 event={type:exit}
 11-18 11:50:09.488: I/chromium(6369): [INFO:CONSOLE(79)] IAB 
 event={type:exit}, source: 
 file:///android_asset/www/inappbrowser/index.html (79)
 11-18 11:50:09.508: D/dalvikvm(6369): GC_FOR_ALLOC freed 50K, 3% free 
 18380K/18836K, paused 8ms, total 8ms
 11-18 11:50:09.508: I/dalvikvm-heap(6369): Grow heap (frag case) to 18.584MB 
 for 629776-byte allocation
 11-18 11:50:09.528: D/dalvikvm(6369): GC_FOR_ALLOC freed 7K, 3% free 
 18988K/19452K, paused 12ms, total 12ms
 11-18 11:50:09.578: D/dalvikvm(1108): GC_CONCURRENT freed 448K, 9% free 
 17309K/18816K, paused 2ms+1ms, total 23ms
 11-18 11:50:09.638: D/dalvikvm(744): GC_CONCURRENT freed 2582K, 29% free 
 27397K/38100K, paused 3ms+4ms, total 76ms
 11-18 11:50:29.428: E/CordovaWebView(6369): CordovaWebView: TIMEOUT ERROR!
 11-18 11:50:29.428: D/CordovaWebViewClient(6369): 
 CordovaWebViewClient.onReceivedError: Error code=-6 Description=The 
 connection to the server was unsuccessful. URL=http://www.apple.com/
 11-18 11:50:29.428: D/CordovaActivity(6369): 
 onMessage(onReceivedError,{errorCode:-6,url:http:\/\/www.apple.com\/,description:The
  connection to the server was unsuccessful.})
 11-18 11:50:29.458: D/SoftKeyboardDetect(6369): Ignore this event
 11-18 11:50:29.558: D/CordovaWebViewClient(6369): 
 onPageFinished(http://www.apple.com/)
 11-18 11:50:29.558: D/CordovaActivity(6369): 
 onMessage(onPageFinished,http://www.apple.com/)
 11-18 11:50:56.078: D/audio_hw_primary(184): select_devices: 
 out_snd_device(2: speaker) in_snd_device(0: )
 11-18 11:50:56.098: D/CordovaActivity(6369): Paused the application!
 11-18 11:50:56.128: W/IInputConnectionWrapper(6369): showStatusIcon on 
 inactive InputConnection
 11-18 11:50:56.598: D/CordovaActivity(6369): CordovaActivity.onDestroy()
 11-18 11:50:56.598: D/CordovaWebView(6369):  loadUrlNow()
 11-18 11:50:56.678: E/WindowManager(6369): android.view.WindowLeaked: 
 Activity org.apache.mobilespec.mobilespec has leaked window 
 

[jira] [Commented] (CB-5431) Status Bar Plugin blanks view on call overlaysWebView(false) in landscape orientation

2013-11-18 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah commented on CB-5431:
--

Bug in setting the frame in landscape mode:
```
2013-11-18 14:47:34.755 CB-5431[174:60b] MainScreen bounds: {{0, 0}, {768, 
1024}}
2013-11-18 14:47:34.757 CB-5431[174:60b] WebView Frame bounds set to: {{0, 
1024}, {768, 0}}
```

 Status Bar Plugin blanks view on call overlaysWebView(false) in landscape 
 orientation 
 --

 Key: CB-5431
 URL: https://issues.apache.org/jira/browse/CB-5431
 Project: Apache Cordova
  Issue Type: Bug
  Components: iOS
Affects Versions: 3.1.0
Reporter: Sepp Wijnands

 If you call StatusBar.overlaysWebView(false) in the deviceready() event and 
 the iPad Retina device is in Landscape mode, it blanks the screen and
 places a 20px black bar vertically on the screen.
 Code to reproduce problem (HelloCordova example project: www/js/index.js):
 {code}
 onDeviceReady: function() {
 StatusBar.overlaysWebView(false);
 app.receivedEvent('deviceready');
 },
 {code}
 iOS simulator environment: iPad Retina iOS 7.0, Orientated in *landscape* 
 mode.
 Screenshot: 
 https://www.dropbox.com/s/6o66wuf2f7gy9dx/iOS%20Simulator%20Screen%20shot%2018%20Nov%202013%2021.13.34.png
 Example project demonstrating the problem (based on HelloCordova): 
 https://www.dropbox.com/s/gb9wbz6jber6ovc/BugStatusBarLandscape.zip



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Comment Edited] (CB-5431) Status Bar Plugin blanks view on call overlaysWebView(false) in landscape orientation

2013-11-18 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah edited comment on CB-5431 at 11/18/13 10:51 PM:
-

Bug in setting the frame in landscape mode:
{code}
2013-11-18 14:47:34.755 CB-5431[174:60b] MainScreen bounds: {{0, 0}, {768, 
1024}}
2013-11-18 14:47:34.757 CB-5431[174:60b] WebView Frame bounds set to: {{0, 
1024}, {768, 0}}
{code}


was (Author: shazron):
Bug in setting the frame in landscape mode:
```
2013-11-18 14:47:34.755 CB-5431[174:60b] MainScreen bounds: {{0, 0}, {768, 
1024}}
2013-11-18 14:47:34.757 CB-5431[174:60b] WebView Frame bounds set to: {{0, 
1024}, {768, 0}}
```

 Status Bar Plugin blanks view on call overlaysWebView(false) in landscape 
 orientation 
 --

 Key: CB-5431
 URL: https://issues.apache.org/jira/browse/CB-5431
 Project: Apache Cordova
  Issue Type: Bug
  Components: iOS
Affects Versions: 3.1.0
Reporter: Sepp Wijnands

 If you call StatusBar.overlaysWebView(false) in the deviceready() event and 
 the iPad Retina device is in Landscape mode, it blanks the screen and
 places a 20px black bar vertically on the screen.
 Code to reproduce problem (HelloCordova example project: www/js/index.js):
 {code}
 onDeviceReady: function() {
 StatusBar.overlaysWebView(false);
 app.receivedEvent('deviceready');
 },
 {code}
 iOS simulator environment: iPad Retina iOS 7.0, Orientated in *landscape* 
 mode.
 Screenshot: 
 https://www.dropbox.com/s/6o66wuf2f7gy9dx/iOS%20Simulator%20Screen%20shot%2018%20Nov%202013%2021.13.34.png
 Example project demonstrating the problem (based on HelloCordova): 
 https://www.dropbox.com/s/gb9wbz6jber6ovc/BugStatusBarLandscape.zip



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Comment Edited] (CB-5431) Status Bar Plugin blanks view on call overlaysWebView(false) in landscape orientation

2013-11-18 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah edited comment on CB-5431 at 11/18/13 10:52 PM:
-

Bug in setting the frame in landscape mode:
{code}
CB-5431[174:60b] MainScreen bounds: {{0, 0}, {768, 1024}}
CB-5431[190:60b] StatusBar frame: {{748, 0}, {20, 1024}}
CB-5431[174:60b] WebView Frame bounds set to: {{0, 1024}, {768, 0}}
{code}


was (Author: shazron):
Bug in setting the frame in landscape mode:
{code}
2013-11-18 14:47:34.755 CB-5431[174:60b] MainScreen bounds: {{0, 0}, {768, 
1024}}
2013-11-18 14:47:34.757 CB-5431[174:60b] WebView Frame bounds set to: {{0, 
1024}, {768, 0}}
{code}

 Status Bar Plugin blanks view on call overlaysWebView(false) in landscape 
 orientation 
 --

 Key: CB-5431
 URL: https://issues.apache.org/jira/browse/CB-5431
 Project: Apache Cordova
  Issue Type: Bug
  Components: iOS
Affects Versions: 3.1.0
Reporter: Sepp Wijnands

 If you call StatusBar.overlaysWebView(false) in the deviceready() event and 
 the iPad Retina device is in Landscape mode, it blanks the screen and
 places a 20px black bar vertically on the screen.
 Code to reproduce problem (HelloCordova example project: www/js/index.js):
 {code}
 onDeviceReady: function() {
 StatusBar.overlaysWebView(false);
 app.receivedEvent('deviceready');
 },
 {code}
 iOS simulator environment: iPad Retina iOS 7.0, Orientated in *landscape* 
 mode.
 Screenshot: 
 https://www.dropbox.com/s/6o66wuf2f7gy9dx/iOS%20Simulator%20Screen%20shot%2018%20Nov%202013%2021.13.34.png
 Example project demonstrating the problem (based on HelloCordova): 
 https://www.dropbox.com/s/gb9wbz6jber6ovc/BugStatusBarLandscape.zip



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Resolved] (CB-5435) GetPreference for unknown key causes exception

2013-11-18 Thread Jesse MacFadyen (JIRA)

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

Jesse MacFadyen resolved CB-5435.
-

Resolution: Fixed

 GetPreference for unknown key causes exception
 --

 Key: CB-5435
 URL: https://issues.apache.org/jira/browse/CB-5435
 Project: Apache Cordova
  Issue Type: Bug
  Components: WP7, WP8
Affects Versions: 3.1.0
Reporter: Jesse MacFadyen
Assignee: Jesse MacFadyen
 Fix For: 3.3.0


 ConfigHelper blindly tries to fetch a key from the Dictionary, even if it is 
 not defined.



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Commented] (CB-5435) GetPreference for unknown key causes exception

2013-11-18 Thread ASF subversion and git services (JIRA)

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

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

Commit 25aa7897e38ef6a61f42524982ba61ae540b7c8b in branch refs/heads/master 
from [~purplecabbage]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-wp8.git;h=25aa789 ]

CB-5435 Handle missing preferences gracefully


 GetPreference for unknown key causes exception
 --

 Key: CB-5435
 URL: https://issues.apache.org/jira/browse/CB-5435
 Project: Apache Cordova
  Issue Type: Bug
  Components: WP7, WP8
Affects Versions: 3.1.0
Reporter: Jesse MacFadyen
Assignee: Jesse MacFadyen
 Fix For: 3.3.0


 ConfigHelper blindly tries to fetch a key from the Dictionary, even if it is 
 not defined.



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Commented] (CB-5431) Status Bar Plugin blanks view on call overlaysWebView(false) in landscape orientation

2013-11-18 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah commented on CB-5431:
--

The CGRects logged above are in the form:
{code}
{ {x, y}, {width, height} }
{code}

 Status Bar Plugin blanks view on call overlaysWebView(false) in landscape 
 orientation 
 --

 Key: CB-5431
 URL: https://issues.apache.org/jira/browse/CB-5431
 Project: Apache Cordova
  Issue Type: Bug
  Components: iOS
Affects Versions: 3.1.0
Reporter: Sepp Wijnands

 If you call StatusBar.overlaysWebView(false) in the deviceready() event and 
 the iPad Retina device is in Landscape mode, it blanks the screen and
 places a 20px black bar vertically on the screen.
 Code to reproduce problem (HelloCordova example project: www/js/index.js):
 {code}
 onDeviceReady: function() {
 StatusBar.overlaysWebView(false);
 app.receivedEvent('deviceready');
 },
 {code}
 iOS simulator environment: iPad Retina iOS 7.0, Orientated in *landscape* 
 mode.
 Screenshot: 
 https://www.dropbox.com/s/6o66wuf2f7gy9dx/iOS%20Simulator%20Screen%20shot%2018%20Nov%202013%2021.13.34.png
 Example project demonstrating the problem (based on HelloCordova): 
 https://www.dropbox.com/s/gb9wbz6jber6ovc/BugStatusBarLandscape.zip



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Created] (CB-5436) defaults.xml and config.xml reference docs.blackberry:15274

2013-11-18 Thread Josh Soref (JIRA)
Josh Soref created CB-5436:
--

 Summary: defaults.xml and config.xml reference 
docs.blackberry:15274
 Key: CB-5436
 URL: https://issues.apache.org/jira/browse/CB-5436
 Project: Apache Cordova
  Issue Type: Bug
  Components: BlackBerry
Reporter: Josh Soref
Priority: Minor


http://docs.blackberry.com/en/developers/deliverables/15274/ is in 
defaults.xml, but the web server won't offer such a file.

I have no idea what this file has/had, but it's not a very helpful link at this 
time...



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Assigned] (CB-5434) EXCEPTION_DEBUG_TOKEN_NOT_FOUND and EXCEPTION_DEBUG_TOKEN_NOT_FOUND errors are bad

2013-11-18 Thread Josh Soref (JIRA)

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

Josh Soref reassigned CB-5434:
--

Assignee: Josh Soref

 EXCEPTION_DEBUG_TOKEN_NOT_FOUND and EXCEPTION_DEBUG_TOKEN_NOT_FOUND errors 
 are bad
 --

 Key: CB-5434
 URL: https://issues.apache.org/jira/browse/CB-5434
 Project: Apache Cordova
  Issue Type: Bug
  Components: BlackBerry
Reporter: Josh Soref
Assignee: Josh Soref
Priority: Minor

 ./blackberry10/bin/templates/project/cordova/lib/localize.js:
 en: Failed to find debug token. If you have an existing debug token, 
 please copy it to %HOME%/.cordova/blackberry10debugtoken.bar. To generate a 
 new debug token, execute the 'run' command.
 ./blackberry10/bin/templates/project/cordova/lib/localize.js:
 en: No signing password provided, debug token cannot be generated. Please 
 enter a value for 'keystorepass' in %HOME%/.cordova/blackberry10.json or use 
 --keystorepass via command-line directly from the project cordova scripts.
 There is no %HOME% environment variable in general on Windows, the error 
 message should be passed the path that was checked by the tool



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Commented] (CB-5434) EXCEPTION_DEBUG_TOKEN_NOT_FOUND and EXCEPTION_DEBUG_TOKEN_NOT_FOUND errors are bad

2013-11-18 Thread Josh Soref (JIRA)

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

Josh Soref commented on CB-5434:


https://github.com/apache/cordova-blackberry/pull/125 is the beginnings of work 
on this...

 EXCEPTION_DEBUG_TOKEN_NOT_FOUND and EXCEPTION_DEBUG_TOKEN_NOT_FOUND errors 
 are bad
 --

 Key: CB-5434
 URL: https://issues.apache.org/jira/browse/CB-5434
 Project: Apache Cordova
  Issue Type: Bug
  Components: BlackBerry
Reporter: Josh Soref
Assignee: Josh Soref
Priority: Minor

 ./blackberry10/bin/templates/project/cordova/lib/localize.js:
 en: Failed to find debug token. If you have an existing debug token, 
 please copy it to %HOME%/.cordova/blackberry10debugtoken.bar. To generate a 
 new debug token, execute the 'run' command.
 ./blackberry10/bin/templates/project/cordova/lib/localize.js:
 en: No signing password provided, debug token cannot be generated. Please 
 enter a value for 'keystorepass' in %HOME%/.cordova/blackberry10.json or use 
 --keystorepass via command-line directly from the project cordova scripts.
 There is no %HOME% environment variable in general on Windows, the error 
 message should be passed the path that was checked by the tool



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Commented] (CB-5434) EXCEPTION_DEBUG_TOKEN_NOT_FOUND and EXCEPTION_DEBUG_TOKEN_NOT_FOUND errors are bad

2013-11-18 Thread Josh Soref (JIRA)

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

Josh Soref commented on CB-5434:


I think it now has all the pieces

[~jgee]: after the current round of testing work, could you test out this pull?

 EXCEPTION_DEBUG_TOKEN_NOT_FOUND and EXCEPTION_DEBUG_TOKEN_NOT_FOUND errors 
 are bad
 --

 Key: CB-5434
 URL: https://issues.apache.org/jira/browse/CB-5434
 Project: Apache Cordova
  Issue Type: Bug
  Components: BlackBerry
Reporter: Josh Soref
Assignee: Josh Soref
Priority: Minor

 ./blackberry10/bin/templates/project/cordova/lib/localize.js:
 en: Failed to find debug token. If you have an existing debug token, 
 please copy it to %HOME%/.cordova/blackberry10debugtoken.bar. To generate a 
 new debug token, execute the 'run' command.
 ./blackberry10/bin/templates/project/cordova/lib/localize.js:
 en: No signing password provided, debug token cannot be generated. Please 
 enter a value for 'keystorepass' in %HOME%/.cordova/blackberry10.json or use 
 --keystorepass via command-line directly from the project cordova scripts.
 There is no %HOME% environment variable in general on Windows, the error 
 message should be passed the path that was checked by the tool



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Created] (CB-5437) Inconsistent default new project names on WP7/8

2013-11-18 Thread Jesse MacFadyen (JIRA)
Jesse MacFadyen created CB-5437:
---

 Summary: Inconsistent default new project names on WP7/8
 Key: CB-5437
 URL: https://issues.apache.org/jira/browse/CB-5437
 Project: Apache Cordova
  Issue Type: Bug
  Components: WP7, WP8
Affects Versions: 3.1.0
Reporter: Jesse MacFadyen
Assignee: Jesse MacFadyen
 Fix For: 3.2.0


When you create a new project with visual studio from the packaged templates, 
the default names will be :
WP7:
  CordovaWP7_3_2_0
WP8:
  CordovaWP8_3_2_0_
Where 3_2_0 is the version.  These should be consistent.



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Commented] (CB-5437) Inconsistent default new project names on WP7/8

2013-11-18 Thread ASF subversion and git services (JIRA)

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

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

Commit e4c0f71cbe2b38a64a1adcfdc4b935524176c557 in branch refs/heads/3.2.x from 
[~purplecabbage]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-wp8.git;h=e4c0f71 ]

CB-5437 Inconsistent default new project names for wp7 and wp8 visual studio 
templates


 Inconsistent default new project names on WP7/8
 ---

 Key: CB-5437
 URL: https://issues.apache.org/jira/browse/CB-5437
 Project: Apache Cordova
  Issue Type: Bug
  Components: WP7, WP8
Affects Versions: 3.1.0
Reporter: Jesse MacFadyen
Assignee: Jesse MacFadyen
 Fix For: 3.2.0


 When you create a new project with visual studio from the packaged templates, 
 the default names will be :
 WP7:
   CordovaWP7_3_2_0
 WP8:
   CordovaWP8_3_2_0_
 Where 3_2_0 is the version.  These should be consistent.



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Commented] (CB-5418) BrowserMouseHelper fails on WP8 for WP7 apps

2013-11-18 Thread ASF subversion and git services (JIRA)

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

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

Commit 073240e430198c6b266ecaf6800b75ac6b7ba6ab in branch refs/heads/3.2.x from 
[~purplecabbage]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-wp8.git;h=073240e ]

CB-5418 BrowserMouseHelper fails on WP8 for WP7 apps


 BrowserMouseHelper fails on WP8 for WP7 apps
 

 Key: CB-5418
 URL: https://issues.apache.org/jira/browse/CB-5418
 Project: Apache Cordova
  Issue Type: Bug
  Components: WP7
Affects Versions: 3.1.0
Reporter: Jesse MacFadyen
Assignee: Jesse MacFadyen
  Labels: Mouse, WP7,
 Fix For: 3.3.0


 When apps targeting Windows Phone 7 are run on Windows Phone 8 devices the 
 mouse helper cannot access the Border component as the visual tree is 
 different.



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Resolved] (CB-5437) Inconsistent default new project names on WP7/8

2013-11-18 Thread Jesse MacFadyen (JIRA)

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

Jesse MacFadyen resolved CB-5437.
-

Resolution: Fixed

 Inconsistent default new project names on WP7/8
 ---

 Key: CB-5437
 URL: https://issues.apache.org/jira/browse/CB-5437
 Project: Apache Cordova
  Issue Type: Bug
  Components: WP7, WP8
Affects Versions: 3.1.0
Reporter: Jesse MacFadyen
Assignee: Jesse MacFadyen
 Fix For: 3.2.0


 When you create a new project with visual studio from the packaged templates, 
 the default names will be :
 WP7:
   CordovaWP7_3_2_0
 WP8:
   CordovaWP8_3_2_0_
 Where 3_2_0 is the version.  These should be consistent.



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Commented] (CB-5397) cordova prepare ios overwrites existing source code files/directories

2013-11-18 Thread Tom Ernhardt (JIRA)

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

Tom Ernhardt commented on CB-5397:
--

 Editing things in platforms/* by hand is not safe.

There's no warning in the documentation or the command line tool that running 
the tool is unsafe.

 There's no such thing as user-created source files in cordova-cli, 
 the supported way to add custom native code to a project is by creating a 
 plugin.

I'm not writing native code.  I just want to develop a cordova app using the 
Xcode IDE.

How is the xcode project that is generated by the command line interface 
supposed to be used then?  All the files that the generated .xcodeproj points 
to are in the platforms/ios subdirectories...  and therefore will be 
overwritten without warning the next time the user runs cordova prepare ios.

So is the developer supposed to move the .xcodeproj file out of the platforms 
directory before using it?


 cordova prepare ios overwrites existing source code files/directories
 ---

 Key: CB-5397
 URL: https://issues.apache.org/jira/browse/CB-5397
 Project: Apache Cordova
  Issue Type: Bug
  Components: CLI
Affects Versions: 3.1.0
 Environment: MacOS 10.8.5
 XCode 5.01
Reporter: Tom Ernhardt

 The cordova command line cordova prepare ios clobbers user-created source 
 code files/directories without warning
 Steps to reproduce:
 # create a test app
 cordova create test com.test test
 cd test
 cordova platform add ios
 # add a plugin
 cordova plugin add https://github.com/apache/cordova-plugin-device.git
 cordova prepare ios
 Then open the generated Xcode project in Xcode
 Add some source code files
 # Now add a different plugin
 cordova plugin add https://github.com/apache/cordova-plugin-console.git
 # WARNING THIS WILL DELETE YOUR APP'S SOURCE CODE FILES
 cordova prepare ios
 All the source code files and directories that you created in 
   /platforms/ios/www/
 have just been deleted by the cordova CLI without any warning!



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Resolved] (CB-5309) Plugins are not loading for the Windows Phone 8 Platform

2013-11-18 Thread Jesse MacFadyen (JIRA)

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

Jesse MacFadyen resolved CB-5309.
-

Resolution: Incomplete

Need more details in order to investigate further.
Could not recreate.

 Plugins are not loading for the Windows Phone 8 Platform
 

 Key: CB-5309
 URL: https://issues.apache.org/jira/browse/CB-5309
 Project: Apache Cordova
  Issue Type: Bug
  Components: WP8
Affects Versions: 3.1.0
 Environment: Windows 8; Visual Studio 2012; Windows Phone 8 SDK.
Reporter: Kelvin Dart
Assignee: Jesse MacFadyen
Priority: Blocker
  Labels: build, javascript, newbie

 Whenever I attempt to build a Windows Phone 8 project, all of the plugins 
 fail to load. They are 'undefined' in the source.
 I am hoping this is not a bug, as I'm sure something so critical would not 
 have been missed in the Cordova-CLI.
 I have noticed that the cordova_plugins.js are not loaded when I do a 
 'cordova build' command. I have seen this on Android and iOS so do not know 
 whether it is meant to for Windows Phone 8, nor is the 'plugins' directory 
 created - so I hope this indicates something. But I am not sure what is 
 causing it.
 Interestingly, 'deviceready' fired so I think cordova is loading fine.



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Resolved] (CB-5287) Upgrade from 2.9.7 to 3.1.0 platform add error

2013-11-18 Thread Jesse MacFadyen (JIRA)

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

Jesse MacFadyen resolved CB-5287.
-

Resolution: Invalid

The changes from 2.9.x to 3.1.0 are vast.  This is much more involved than a 
simple update script.

Also, there is no released version of 2.9.7, the latest in the 2.9.x branch is 
2.9.1, so I guess you are doing something weird. ;)

 Upgrade from 2.9.7 to 3.1.0 platform add error
 --

 Key: CB-5287
 URL: https://issues.apache.org/jira/browse/CB-5287
 Project: Apache Cordova
  Issue Type: Bug
  Components: CLI
Affects Versions: 3.0.0, 3.1.0
 Environment: uname -a
 Linux localhost.localdomain 2.6.32-358.11.1.el6.x86_64 #1 SMP Wed Jun 12 
 03:34:52 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
 CentOS
Reporter: Kevin Vilbig
Priority: Blocker
  Labels: 3.0.0, error, upgrade

 I'm working with a project that builds on Cordova 2.9.7, but when I updated 
 to the latest version via npm and the instructions provided[1], it breaks 
 like so.
 [1]http://cordova.apache.org/docs/en/3.1.0/guide_platforms_android_upgrading.md.html#Upgrading%20Android
 $cordova platform add android
 [Error: An error occured during creation of android sub-project. Creating 
 Cordova project for the Android platform:
   Path: platforms/android
   Package: com.my.project
   Name: myProject
   Android target: android-17
 Copying template files...
 shell.js: internal error
 Error: EROFS, read-only file system 
 'platforms/android/cordova/node_modules/.bin/shjs'
 at Object.fs.symlinkSync (fs.js:730:18)
 at cpdirSyncRecursive 
 (/home/kevin/.cordova/lib/android/cordova/3.1.0/bin/node_modules/shelljs/shell.js:1575:10)
 at cpdirSyncRecursive 
 (/home/kevin/.cordova/lib/android/cordova/3.1.0/bin/node_modules/shelljs/shell.js:1572:7)
 at 
 /home/kevin/.cordova/lib/android/cordova/3.1.0/bin/node_modules/shelljs/shell.js:325:9
 at Array.forEach (native)
 at Object._cp 
 (/home/kevin/.cordova/lib/android/cordova/3.1.0/bin/node_modules/shelljs/shell.js:302:11)
 at Object.cp 
 (/home/kevin/.cordova/lib/android/cordova/3.1.0/bin/node_modules/shelljs/shell.js:1491:23)
 at copyScripts 
 (/home/kevin/.cordova/lib/android/cordova/3.1.0/bin/lib/create.js:86:11)
 at /home/kevin/.cordova/lib/android/cordova/3.1.0/bin/lib/create.js:184:9
 at setShellFatal 
 (/home/kevin/.cordova/lib/android/cordova/3.1.0/bin/lib/create.js:48:5)
 I attempted the upgrade directions a couple times, so I don't think I missed 
 a step.



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Resolved] (CB-4030) Weinre: Invocation Exception

2013-11-18 Thread Jesse MacFadyen (JIRA)

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

Jesse MacFadyen resolved CB-4030.
-

Resolution: Not A Problem

This one has been around for awhile, I am assuming it is dead.  Re-open if not.

 Weinre: Invocation Exception
 

 Key: CB-4030
 URL: https://issues.apache.org/jira/browse/CB-4030
 Project: Apache Cordova
  Issue Type: Bug
  Components: weinre
Affects Versions: 2.6.0, 2.7.0, 2.8.0
 Environment: Node.js ver 0.10.5, Weinre 2.0.0 installed via npm with 
 no mods, JQ 1.10.1, JQM 1.3.1
Reporter: Anthony Trimble
Assignee: Patrick Mueller
Priority: Blocker
  Labels: weinre

 I start the server and it seems to work fine. 
 However, once I change the page, via a clicking on a link or 
 programmatically,  I get the below error in my SSH console:
 {code}
 weinre: client c-20: weinre: invocation exception on 
 Object.childNodeInserted(): TypeError: Cannot call method '_insertChild' of 
 undefined
 {code}
 The pages have IFRAMEs on them and I am assuming that is the issue. 
 Thanks!



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Updated] (CB-3324) InAppBrowser does not handle hardware back button

2013-11-18 Thread Jesse MacFadyen (JIRA)

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

Jesse MacFadyen updated CB-3324:


Priority: Major  (was: Blocker)

 InAppBrowser does not handle hardware back button
 -

 Key: CB-3324
 URL: https://issues.apache.org/jira/browse/CB-3324
 Project: Apache Cordova
  Issue Type: Bug
  Components: WP8
Affects Versions: 2.7.0, 3.1.0
Reporter: Martin Hujer
Assignee: Jesse MacFadyen

 When the link is opened in InAppBrowser on WP8 and I try to use hardware back 
 button to get back to app, it does not work. Actually, it backs in the 
 webpage under InAppBrowser.
 Steps to reproduce:
 1) Navigate throught the HTML app packaged with Cordova
 2) A wild link appears
 3) Taping opens InAppBrowser
 4) Using HW back button navigates in underlaying webpage and not in 
 InAppBrowser so it eventually closes the app after few clicks (it seems 
 nothing is happening in the InAppBrowser).
 Back hardware button works consistenty in all WP8 apps, so I think it should 
 also work here.



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Resolved] (CB-2590) 'jake btest' doesn't run any spec on Windows

2013-11-18 Thread Jesse MacFadyen (JIRA)

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

Jesse MacFadyen resolved CB-2590.
-

Resolution: Won't Fix

The jake tests have been abandoned in favor of gruntjs

 'jake btest' doesn't run any spec on Windows
 

 Key: CB-2590
 URL: https://issues.apache.org/jira/browse/CB-2590
 Project: Apache Cordova
  Issue Type: Bug
  Components: CordovaJS
Affects Versions: 2.4.0
 Environment: Windows
Reporter: Xavier Vergés
Assignee: Benn Mapes
Priority: Minor

 In Windows, the {{suite.html}} file generated by {{runner.js}} when executing 
 {{jake btest}} contains local file names that the browser won't load due to 
 security restrictions.
 {{runner.js}} converts from local file names to server file names using a 
 regular expression that fails due to the windows path separator.



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Resolved] (CB-2588) 'jake test' fails if git does not create symbolic links

2013-11-18 Thread Jesse MacFadyen (JIRA)

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

Jesse MacFadyen resolved CB-2588.
-

Resolution: Won't Fix

the jake tests have been abandoned in favor of gruntjs

 'jake test' fails if git does not create symbolic links
 ---

 Key: CB-2588
 URL: https://issues.apache.org/jira/browse/CB-2588
 Project: Apache Cordova
  Issue Type: Bug
  Components: CordovaJS
Affects Versions: 2.4.0
 Environment: Windows
Reporter: Xavier Vergés
Assignee: Benn Mapes
Priority: Minor

 Discussed initially in http://markmail.org/message/bcyb4c6w2ruwya64
 This happens on Windows versions that do not support symbolic links or when 
 git is not instructed to create symbolic links with its {{core.symlinks}} 
 configuration value set to true.
 # Clone the repository
 # {{npm install}}
 # {{jake test}}
 This results in 
 bq. {{SyntaxError: Unexpected token . SyntaxError: Unexpected token . at 
 module.exports.node [as action]}}
 because some files in {{lib/test/}} are broken symlinks



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Commented] (CB-5367) Create a org.apache.cordova whitelist for plugin package names

2013-11-18 Thread ASF subversion and git services (JIRA)

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

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

Commit 4414a4342ee34e19128583c2f1b51de2ba437b25 in branch refs/heads/master 
from [~anis]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-plugman.git;h=4414a43 ]

CB-5367 reject non-whitelisted org.apache.cordova plugins


 Create a org.apache.cordova whitelist for plugin package names
 --

 Key: CB-5367
 URL: https://issues.apache.org/jira/browse/CB-5367
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugman, Registry Web
Affects Versions: 3.1.0
Reporter: Anis Kadri
Assignee: Anis Kadri
 Fix For: 3.3.0


 People are submitting packages with names that start with 
 org.apache.cordova.*. We need to prevent that from happening.
 - First implement a simple whitelist in plugman
 - Second implement the same thing in the couchapp.



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Commented] (CB-5431) Status Bar Plugin blanks view on call overlaysWebView(false) in landscape orientation

2013-11-18 Thread ASF subversion and git services (JIRA)

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

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

Commit 3384f32c3208d5a6d0debc67e07de650fca7dec4 in branch refs/heads/master 
from [~shazron]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-plugins.git;h=3384f32 ]

CB-5431 - Status Bar Plugin blanks view on call overlaysWebView(false) in 
landscape orientation

Note that this has been tested and works on iPad only, and Universal. On iPhone 
only while on iPad, there is a black area where the status bar is (bug in 
statusBarBackgroundView positioning)


 Status Bar Plugin blanks view on call overlaysWebView(false) in landscape 
 orientation 
 --

 Key: CB-5431
 URL: https://issues.apache.org/jira/browse/CB-5431
 Project: Apache Cordova
  Issue Type: Bug
  Components: iOS
Affects Versions: 3.1.0
Reporter: Sepp Wijnands

 If you call StatusBar.overlaysWebView(false) in the deviceready() event and 
 the iPad Retina device is in Landscape mode, it blanks the screen and
 places a 20px black bar vertically on the screen.
 Code to reproduce problem (HelloCordova example project: www/js/index.js):
 {code}
 onDeviceReady: function() {
 StatusBar.overlaysWebView(false);
 app.receivedEvent('deviceready');
 },
 {code}
 iOS simulator environment: iPad Retina iOS 7.0, Orientated in *landscape* 
 mode.
 Screenshot: 
 https://www.dropbox.com/s/6o66wuf2f7gy9dx/iOS%20Simulator%20Screen%20shot%2018%20Nov%202013%2021.13.34.png
 Example project demonstrating the problem (based on HelloCordova): 
 https://www.dropbox.com/s/gb9wbz6jber6ovc/BugStatusBarLandscape.zip



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Commented] (CB-4918) [ios]status bar is overlapping with the view on iOS7

2013-11-18 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah commented on CB-4918:
--

[~tjduavis] and [~chrisl] please see CB-5431

 [ios]status bar is overlapping with the view on iOS7
 

 Key: CB-4918
 URL: https://issues.apache.org/jira/browse/CB-4918
 Project: Apache Cordova
  Issue Type: Bug
  Components: iOS, Plugins
Affects Versions: 3.0.0
 Environment: xcode 5.0 
 ios 7.0
Reporter: lmnbeyond
  Labels: statusbar-plugin
 Fix For: 3.2.0


 how to reproduce:
 don't hide status bar, and run mobile spec
 result:
 status bar is overlapping with the view on iOS7



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Commented] (CB-5389) Status Bar plugin issues with orientation

2013-11-18 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah commented on CB-5389:
--

I believe this is a duplicate of CB-5431. Verify?

 Status Bar plugin issues with orientation
 -

 Key: CB-5389
 URL: https://issues.apache.org/jira/browse/CB-5389
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugins
Affects Versions: 3.1.0
 Environment: Ios
Reporter: Mike Hartington
Assignee: Shazron Abdullah
  Labels: ios, javascript, objective-c, statusbar-plugin

 When I try to hide the Status Bar on iOS when my device is in landscape, the 
 entire app's width shrinks to what is about the devices width would be if 
 portrait. 
 So if my iPad is in landscape and I hide the status bar, the app will just 
 scale to about 768px. 
 I tried removing my apps javascript, ran the app again, and used Safaris Web 
 Inspect Console to see if I had an error in my javascript, but had the same 
 issue. 



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Resolved] (CB-4918) [ios]status bar is overlapping with the view on iOS7

2013-11-18 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah resolved CB-4918.
--

Resolution: Won't Fix

This issue can be fixed by the statusbar plugin, or adjusting the view as 
described in my earlier comment (in the github gist)

 [ios]status bar is overlapping with the view on iOS7
 

 Key: CB-4918
 URL: https://issues.apache.org/jira/browse/CB-4918
 Project: Apache Cordova
  Issue Type: Bug
  Components: iOS, Plugins
Affects Versions: 3.0.0
 Environment: xcode 5.0 
 ios 7.0
Reporter: lmnbeyond
  Labels: statusbar-plugin
 Fix For: 3.2.0


 how to reproduce:
 don't hide status bar, and run mobile spec
 result:
 status bar is overlapping with the view on iOS7



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Commented] (CB-5431) Status Bar Plugin blanks view on call overlaysWebView(false) in landscape orientation

2013-11-18 Thread Richard McMillan (JIRA)

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

Richard McMillan commented on CB-5431:
--

Lookin good :)

 Status Bar Plugin blanks view on call overlaysWebView(false) in landscape 
 orientation 
 --

 Key: CB-5431
 URL: https://issues.apache.org/jira/browse/CB-5431
 Project: Apache Cordova
  Issue Type: Bug
  Components: iOS
Affects Versions: 3.1.0
Reporter: Sepp Wijnands

 If you call StatusBar.overlaysWebView(false) in the deviceready() event and 
 the iPad Retina device is in Landscape mode, it blanks the screen and
 places a 20px black bar vertically on the screen.
 Code to reproduce problem (HelloCordova example project: www/js/index.js):
 {code}
 onDeviceReady: function() {
 StatusBar.overlaysWebView(false);
 app.receivedEvent('deviceready');
 },
 {code}
 iOS simulator environment: iPad Retina iOS 7.0, Orientated in *landscape* 
 mode.
 Screenshot: 
 https://www.dropbox.com/s/6o66wuf2f7gy9dx/iOS%20Simulator%20Screen%20shot%2018%20Nov%202013%2021.13.34.png
 Example project demonstrating the problem (based on HelloCordova): 
 https://www.dropbox.com/s/gb9wbz6jber6ovc/BugStatusBarLandscape.zip



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Commented] (CB-5398) Pick image from Library or Photo album on android 4.4

2013-11-18 Thread julio cesar (JIRA)

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

julio cesar commented on CB-5398:
-

Joe, but did you use the destinationType.FILE_URI?

If you use the return type destinationType.DATA_URL it works, but if you use 
return type destinationType.FILE_URI I get AndroidProtocolHandler, unable to 
open content URL: content://com.android.providers.media.documents

tested on nexus 5 and nexus 7 2013

 Pick image from Library or Photo album on android 4.4
 -

 Key: CB-5398
 URL: https://issues.apache.org/jira/browse/CB-5398
 Project: Apache Cordova
  Issue Type: Bug
  Components: Android, Plugin Camera
Affects Versions: 2.9.0, 3.2.0
 Environment: android 4.4
Reporter: julio cesar
Assignee: Mike Billau

 An android 4.4 try to pick a photo using pictureSource.PHOTOLIBRARY or 
 pictureSource.SAVEDPHOTOALBUM and return type destinationType.FILE_URI.
 Now android 4.4, when you select the above options, it opens an open from 
 dialog that  let you choose from new places as Recent, Drive, Images 
 and Downloads (the names might not be the same as I use the device in 
 spanish and translated it).
 If you choose any of them, you get an error, AndroidProtocolHandler, unable 
 to open content URL: the url here with a content://com.android.providers 
 format.
 I've tested on phonegap 2.9 because this is the version I use, but I suppose 
 it affects all of them. (in fact I use 2.9.1)



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Commented] (CB-5398) Pick image from Library or Photo album on android 4.4

2013-11-18 Thread julio cesar (JIRA)

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

julio cesar commented on CB-5398:
-

I've been doing more tests and Recent, Drive, Images and External 
Storage* fail
Downloads works.

*To show External Storage tap the upper right button - Settings - Show 
advanced devices

 Pick image from Library or Photo album on android 4.4
 -

 Key: CB-5398
 URL: https://issues.apache.org/jira/browse/CB-5398
 Project: Apache Cordova
  Issue Type: Bug
  Components: Android, Plugin Camera
Affects Versions: 2.9.0, 3.2.0
 Environment: android 4.4
Reporter: julio cesar
Assignee: Mike Billau

 An android 4.4 try to pick a photo using pictureSource.PHOTOLIBRARY or 
 pictureSource.SAVEDPHOTOALBUM and return type destinationType.FILE_URI.
 Now android 4.4, when you select the above options, it opens an open from 
 dialog that  let you choose from new places as Recent, Drive, Images 
 and Downloads (the names might not be the same as I use the device in 
 spanish and translated it).
 If you choose any of them, you get an error, AndroidProtocolHandler, unable 
 to open content URL: the url here with a content://com.android.providers 
 format.
 I've tested on phonegap 2.9 because this is the version I use, but I suppose 
 it affects all of them. (in fact I use 2.9.1)



--
This message was sent by Atlassian JIRA
(v6.1#6144)