[jira] [Commented] (CB-363) SQLite database does not grow on Android

2015-04-14 Thread Waqas Butt (JIRA)

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

Waqas Butt commented on CB-363:
---

I am facing the same issue and the error logs says there was not enough 
remaining storage space, or the storage quota was reached and the user declined 
to allow more space. Have you been able to find anything to sort this out ?

 SQLite database does not grow on Android
 

 Key: CB-363
 URL: https://issues.apache.org/jira/browse/CB-363
 Project: Apache Cordova
  Issue Type: Bug
  Components: Android
Affects Versions: 1.3.0, 1.4.0, 1.5.0
 Environment: Android Simulator, 
 Android 2.2+
 PhoneGap (any version)
Reporter: Urs Zimmermann
Assignee: Joe Bowser
Priority: Minor
  Labels: android, phonegap, sqldatabase
 Fix For: 1.7.0

 Attachments: dbgrow.zip


 Description
 --
 If I create a database with the PhoneGap API (1.3.0 or higher) I can set an 
 initial size. If I insert data, the size of the database file should grow if 
 there is not enough space for all the inserted data. This is not working 
 properly on Android, and I will get the following error:
 error.code: 4
 error.message: there was not enough remaining storage space, or the storage 
 quota was reached and the user declined to allow more space
 When I close the app (kill the process) and reopen it, the database file is 
 grown by ~1MB and I can insert data up to that size.
 I tried inserting all of the data in one single transaction, or with every 
 single insert being one transaction, the result is the same. Changing the 
 database size after creation has no effect.
 Steps to Reproduce
 --
 Create a Database with the phonegap API using
 var db = window.openDatabase(test, 1.0, Test DB, 20); 
 20 being the size of the database, as used in the (former) API examples. 
 Expected Results
 --
 The database is created and I can read from and write to.
 The size of the database file should grow, so all the data can get inserted.
 Actual Results
 --
 The database is created and I can read from and write to.
 When I insert data, the initial size seems to be the upper limit for the size 
 of the db (filesize of the .db file)
 When this size is reached and I try to insert data, phonegap aborts with the 
 error described above.
 This only happens on Android, device or simulator
 For iOS the database seems to grow on the fly



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

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



[jira] [Commented] (CB-8819) [WP8] FileReader readAsBinaryString doesn't read file correctly

2015-04-14 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-8819:


Github user vladimir-kotikov commented on the pull request:

https://github.com/apache/cordova-plugin-file/pull/108#issuecomment-92690268
  
Merged to master in 
https://github.com/apache/cordova-plugin-file/commit/6f20c19263df80b4bc5aebc1d75e7567d105b2bf
 @alsorokin, could you please close this


 [WP8] FileReader readAsBinaryString doesn't read file correctly
 ---

 Key: CB-8819
 URL: https://issues.apache.org/jira/browse/CB-8819
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugin File, WP8
Reporter: Alexander Sorokin
Assignee: Jesse MacFadyen

 This issue can be seen in file.spec.86 in mobilespec.



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

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



[jira] [Commented] (CB-8819) [WP8] FileReader readAsBinaryString doesn't read file correctly

2015-04-14 Thread ASF subversion and git services (JIRA)

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

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

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

CB-8819 Fixed FileReader's readAsBinaryString on wp8


 [WP8] FileReader readAsBinaryString doesn't read file correctly
 ---

 Key: CB-8819
 URL: https://issues.apache.org/jira/browse/CB-8819
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugin File, WP8
Reporter: Alexander Sorokin
Assignee: Jesse MacFadyen

 This issue can be seen in file.spec.86 in mobilespec.



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

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



[jira] [Commented] (CB-8849) File plugin test failures on WP8

2015-04-14 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-8849:


Github user asfgit closed the pull request at:

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


 File plugin test failures on WP8
 

 Key: CB-8849
 URL: https://issues.apache.org/jira/browse/CB-8849
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugin File, WP8
Affects Versions: Master
 Environment: WP8
Reporter: Dmitry Blotsky
Assignee: Jesse MacFadyen
  Labels: plugin-file, test-fail, wp8
   Original Estimate: 48h
  Remaining Estimate: 48h

 Test failures here: 
 [http://ci.apache.org/builders/cordova-wp8/builds/1071/steps/running-tests/logs/stdio]
 {noformat}
 cordova-plugin-file-tests.tests  File API Read method file.spec.86 should 
 read file properly, readAsBinaryString
 cordova-plugin-file-tests.tests  File API FileWriter file.spec.106 should 
 be able to write a File to a FileWriter
 cordova-plugin-file-tests.tests  File API FileWriter file.spec.107 should 
 be able to write a sliced File to a FileWriter
 cordova-plugin-file-tests.tests  File API FileWriter file.spec.108 should 
 be able to write binary data from a File
 {noformat}



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

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



[jira] [Commented] (CB-8849) File plugin test failures on WP8

2015-04-14 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-8849:


GitHub user alsorokin opened a pull request:

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

CB-8849 Fixed ReadAsArrayBuffer to return ArrayBuffer and not Array on WP8

https://issues.apache.org/jira/browse/CB-8849

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

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

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

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

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

This closes #111


commit 7a80dd1f32ea96d643146396669b84262962c713
Author: alsorokin alexander.soro...@akvelon.com
Date:   2015-04-13T10:51:17Z

CB-8849 Fixed ReadAsArrayBuffer to return ArrayBuffer and not Array on WP8




 File plugin test failures on WP8
 

 Key: CB-8849
 URL: https://issues.apache.org/jira/browse/CB-8849
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugin File, WP8
Affects Versions: Master
 Environment: WP8
Reporter: Dmitry Blotsky
Assignee: Jesse MacFadyen
  Labels: plugin-file, test-fail, wp8
   Original Estimate: 48h
  Remaining Estimate: 48h

 Test failures here: 
 [http://ci.apache.org/builders/cordova-wp8/builds/1071/steps/running-tests/logs/stdio]
 {noformat}
 cordova-plugin-file-tests.tests  File API Read method file.spec.86 should 
 read file properly, readAsBinaryString
 cordova-plugin-file-tests.tests  File API FileWriter file.spec.106 should 
 be able to write a File to a FileWriter
 cordova-plugin-file-tests.tests  File API FileWriter file.spec.107 should 
 be able to write a sliced File to a FileWriter
 cordova-plugin-file-tests.tests  File API FileWriter file.spec.108 should 
 be able to write binary data from a File
 {noformat}



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

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



[jira] [Commented] (CB-8849) File plugin test failures on WP8

2015-04-14 Thread ASF subversion and git services (JIRA)

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

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

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

CB-8849 Fixed ReadAsArrayBuffer to return ArrayBuffer and not Array on WP8


 File plugin test failures on WP8
 

 Key: CB-8849
 URL: https://issues.apache.org/jira/browse/CB-8849
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugin File, WP8
Affects Versions: Master
 Environment: WP8
Reporter: Dmitry Blotsky
Assignee: Jesse MacFadyen
  Labels: plugin-file, test-fail, wp8
   Original Estimate: 48h
  Remaining Estimate: 48h

 Test failures here: 
 [http://ci.apache.org/builders/cordova-wp8/builds/1071/steps/running-tests/logs/stdio]
 {noformat}
 cordova-plugin-file-tests.tests  File API Read method file.spec.86 should 
 read file properly, readAsBinaryString
 cordova-plugin-file-tests.tests  File API FileWriter file.spec.106 should 
 be able to write a File to a FileWriter
 cordova-plugin-file-tests.tests  File API FileWriter file.spec.107 should 
 be able to write a sliced File to a FileWriter
 cordova-plugin-file-tests.tests  File API FileWriter file.spec.108 should 
 be able to write binary data from a File
 {noformat}



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

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



[jira] [Commented] (CB-8819) [WP8] FileReader readAsBinaryString doesn't read file correctly

2015-04-14 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-8819:


Github user alsorokin closed the pull request at:

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


 [WP8] FileReader readAsBinaryString doesn't read file correctly
 ---

 Key: CB-8819
 URL: https://issues.apache.org/jira/browse/CB-8819
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugin File, WP8
Reporter: Alexander Sorokin
Assignee: Jesse MacFadyen

 This issue can be seen in file.spec.86 in mobilespec.



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

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



[jira] [Commented] (CB-7750) iOS app crashes on start after update

2015-04-14 Thread Jon Maim (JIRA)

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

Jon Maim commented on CB-7750:
--

[~shazron] just a quick question: is this bug related to UIWebView, and thus 
can we assume that it will not be there when switching to WKWebView?

Thanks!

Btw crashes are still present in iOS 8.3.

 iOS app crashes on start after update
 -

 Key: CB-7750
 URL: https://issues.apache.org/jira/browse/CB-7750
 Project: Apache Cordova
  Issue Type: Bug
  Components: iOS
Affects Versions: 3.6.3
 Environment: iOS 8
Reporter: Kuan Yi Ming
Assignee: Shazron Abdullah

 There is a possibility of a Cordova app crashing on launch after it has been 
 updated on iOS, possibly related to a memory deallocation issue. The logs for 
 the crashed thread is as below:
 {code}
 Thread 8 name:  WebThread
 Thread 8 Crashed:
 0   libobjc.A.dylib   0x35094f47 objc_msgSend + 7
 1   CoreFoundation0x27617269 CFRelease + 597
 2   QuartzCore0x2a5d2d21 
 CA::release_objects(X::Listvoid const**) + 13
 3   QuartzCore0x2a5d8083 -[CAAnimation dealloc] + 51
 4   libobjc.A.dylib   0x350a2d5b 
 objc_object::sidetable_release(bool) + 163
 5   libobjc.A.dylib   0x350a31a5 (anonymous 
 namespace)::AutoreleasePoolPage::pop(void*) + 401
 6   CoreFoundation0x276223a5 _CFAutoreleasePoolPop + 13
 7   Foundation0x2836092b -[NSAutoreleasePool drain] + 
 119
 8   CFNetwork 0x2723af1d 
 AutoAutoreleasePool::~AutoAutoreleasePool() + 21
 9   CFNetwork 0x2721effb 
 ___ZN27URLConnectionClient_Classic18_withDelegateAsyncEPKcU13block_pointerFvP16_CFURLConnectionPK33CFURLConnectionClientCurrent_VMaxE_block_invoke_2
  + 163
 10  CFNetwork 0x27173beb 
 RunloopBlockContext::_invoke_block(void const*, void*) + 59
 11  CoreFoundation0x2762208b CFArrayApplyFunction + 35
 12  CFNetwork 0x27173aa3 
 RunloopBlockContext::perform() + 179
 13  CFNetwork 0x2717396b MultiplexerSource::perform() 
 + 215
 14  CFNetwork 0x271737fd 
 MultiplexerSource::_perform(void*) + 45
 15  CoreFoundation0x276d658d 
 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 13
 16  CoreFoundation0x276d5a2d __CFRunLoopDoSources0 + 361
 17  CoreFoundation0x276d4001 __CFRunLoopRun + 769
 18  CoreFoundation0x2762261d CFRunLoopRunSpecific + 473
 19  CoreFoundation0x2762242f CFRunLoopRunInMode + 103
 20  WebCore   0x32b5d9b7 RunWebThread(void*) + 415
 21  libsystem_pthread.dylib   0x3574be91 _pthread_body + 137
 22  libsystem_pthread.dylib   0x3574be03 _pthread_start + 115
 23  libsystem_pthread.dylib   0x35749b8c thread_start + 4
 {code}



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

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



[jira] [Resolved] (CB-8818) Samsung Galaxy S3 - Intents to other apps

2015-04-14 Thread Joe Bowser (JIRA)

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

Joe Bowser resolved CB-8818.

Resolution: Won't Fix

I don't have these problems when I test the Camera on the S3, only on the 
Samsung Galaxy Camera where the images uncompressed are huge due to the 16 
Megapixel sensor.  That said, there's not much we can do since this is how 
intents work on this version of Android, and this appears to be fixed, or at 
least is handled better in KitKat and Lollipop.

 Samsung Galaxy S3 - Intents to other apps
 -

 Key: CB-8818
 URL: https://issues.apache.org/jira/browse/CB-8818
 Project: Apache Cordova
  Issue Type: Bug
  Components: Android
Reporter: Matthew Keable

 Device: Samsung Galaxy S3
 OS: Android 4.3
 In the Media Capture Plugin, after a successful video recording the user is 
 given the option to play the video back. Doing so opens the video player app. 
 On return to the Cordova app, the webview is restarted losing its state.
 In the Camera plugin, if you allow the user to edit the photo, the editing 
 takes place in a photo app. On return to the Cordova app, the webview is 
 restarted losing its state.
 This seems to be a pattern for the Galaxy S3. I'm currently unable to test on 
 other Samsung devices. They appear to have very aggressive memory management, 
 stopping the Cordova app as soon as the 3rd party app opens.
 While I can maintain state tracking in localStorage and reload the screen 
 that the user was last viewing there is a bigger problem. Because Cordova is 
 rebooting when the intent returns, there is nothing to receive the data and 
 the information is lost.
 I've tried multiple solutions including setting android:alwaysRetainTaskState 
 to true, but I am unable to overcome this.



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

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



[jira] [Resolved] (CB-8619) window.requestFileSystem callback hangs on Samsung S3 and S3 mini devices

2015-04-14 Thread Joe Bowser (JIRA)

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

Joe Bowser resolved CB-8619.

Resolution: Cannot Reproduce

I can't reproduce this issue on master.  It's very likely this issue has 
already been addressed in the next release of Cordova.

 window.requestFileSystem callback hangs on Samsung S3 and S3 mini devices
 -

 Key: CB-8619
 URL: https://issues.apache.org/jira/browse/CB-8619
 Project: Apache Cordova
  Issue Type: Bug
  Components: Android
 Environment: Cordova 4.3; Android 4.3; Samsung Galaxy SIII, SIII 
 mini; Developed on Windows 8.1 64-bit;
Reporter: Thomas England
  Labels: file

 The callback supplied to the window.requestFileSystem function (success or 
 failure) does not fire when using Samsung Galaxy S3s and S3 minis after 
 prolonged use of my app. I use window.requestFileSystem as part of a storage 
 read function to read saved referential JSONlite data. Initially, it will 
 function perfectly normally for calls, returning information as usual. Then 
 after several calls and moderately intensive read/write calls, it will hang 
 the application and not call the callbacks. Again, this only happens in one 
 particular part of the application which requires reading around 15 JSONlite 
 data files between a few bytes and 100kb in size. Subsequent functions which 
 access the directory files therefore also cannot run.
 Running the application and replicating the behaviour with Eclipse LogCat 
 Logging activated does not return any obvious errors that would indicate a 
 problem.
 As I said this happens only for Samsung S3 and S3 minis not on any iOS 
 devices or other Android devices (such as S4s, Notes and other devices with 
 superior performance).
 The application is running the latest version of Cordova (4.3).
 Sample snippets are below:
 function getFilesystem() {
 console.log(FS: Getting file system);
 window.requestFileSystem(LocalFileSystem.PERSISTENT, 0, 
 getWorkingDirectory, fail);
 }
 function getWorkingDirectory(fileSystem) {
 console.log(FS: Got the file system - getting the app directory);
 fileSystem.root.getDirectory(app, {create: true, exclusive: false}, 
 gotWorkingDirectorySuccess, fail);
 }
 function gotWorkingDirectorySuccess(dir) {
 console.log(FS: Got the directory:  + dir.name);
 console.log(FS: Assigning the received directory);
 directory = dir;
 console.log(FS: Global directory name:  + directory.name);
 console.log(FS: Getting the file);
 getFile();
 }
 function fail(error) {
 endLoad();
 appError('We had some trouble getting some required information. Please 
 restart the app and try again.');
 }



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

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



[jira] [Commented] (CB-6667) window.requestFileSystem - callbacks are not fired in a particular circumstance

2015-04-14 Thread Joe Bowser (JIRA)

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

Joe Bowser commented on CB-6667:


I can't reproduce this issue on master, and I will most likely close this issue 
once 4.0.x is released.

 window.requestFileSystem - callbacks are not fired in a particular 
 circumstance
 ---

 Key: CB-6667
 URL: https://issues.apache.org/jira/browse/CB-6667
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugin File
Affects Versions: 3.4.0
 Environment: Mac OS X 10.9.2
 Android SDK (latest) - API v19
 Eclipse 4.2.2
Reporter: Kelvin Dart
Priority: Critical
  Labels: Android4.4.x, Cordova, androidmanifest.xml, window

 Excuse the essay, but I have a very odd issue that I have singled down to 
 Cordova which happens in a very specific circumstance on Android.
 I have provided a project of the stock Cordova Android project which can be 
 found here: http://www.filedropper.com/windowfstest - with a minor 
 modification for the issue I am having.
 I have uploaded a compiled APK to install to your device here: 
 http://www.filedropper.com/windowfstest140509-1404
 Steps to replicate are:
 1) Download and install that APK onto your device (I was using the Samsung 
 Galaxy S4 with Android 4.4.2 running, no root, and stock TouchWiz ROM, I 
 *hope* this occurs on other Android devices but have not had an opportunity 
 to verify).
 2) Start the application and observe an alert appears stating 'dr', then 
 afterwards another alert appears, 'got FS' - if you check the code, you'll 
 see this is normal from my app.initialize().
 3) Once those two alerts have appeared, press the Android 'home' button, to 
 quit to the main Android home screen.
 4) Go into another app or two and just use your phone normally. What we are 
 trying to achieve here is for the Android memory management system to 
 'end'/kill the WindowFSTest app in the backend.
 5) Go into Apps  WindowFSTest (i.e. the app in question) and hopefully it 
 will have restarted - the app has to have restarted for the bug to occur, and 
 observe a few things here:
 a) Verify the app has restarted, this can be verified by the 'dr' popup 
 occuring when Cordova loads.
 b) Once you are confident the app has been restarted, observe the initial 
 'dr' popup, but *not* the 'got FS' popup - this is the bug, the 
 window.requestFileSystem does not fire the callbacks for some reason - and I 
 do not know why.
 N.b. there are a few things to note here which is why the bug is tricky to 
 replicate AND I imagine will be even more difficult to debug at a lower level 
 ;-)
 1) The Android system has to kill the app in the backend once you've pressed 
 the 'home' button - there's no way of determining when this has happened, 
 just use the phone like ordinary for half a minute or so - normally it kills 
 it after a short period.
 2) The way to restart the app is via Apps  WindowFSTest (not via the task 
 manager).
 3) ***IMPORTANT*** the above two steps seem to occur only when you run it 
 from a compiled APK, not directly from source/debug APK - so it's not as easy 
 to debug since you cannot put line breaks in the Java file(s).
 Although not perfect, one way to fix this is to use:
 android:launchMode=singleTop
 In AndroidManifest.xml - since it ensures the app is 'resumed' instead of 
 restarted.
 I can provide a video upon request illustrating the issue.



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

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



[jira] [Commented] (CB-8765) Error running an app in device with a name with a space char

2015-04-14 Thread Joe Bowser (JIRA)

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

Joe Bowser commented on CB-8765:


Lowering priority because I have no idea what a VALENCIA DG800 is.  Usually a 
device name is not human readable and doesn't have spaces, so this is an edge 
case.

 Error running an app in device with a name with a space char
 

 Key: CB-8765
 URL: https://issues.apache.org/jira/browse/CB-8765
 Project: Apache Cordova
  Issue Type: Bug
  Components: Android
Affects Versions: 4.0.0
Reporter: Hector Santos
Priority: Minor
  Labels: adb, easyfix, patch, run
 Fix For: Master


 When try to run a cordova run android --device, if the device name have a 
 space (like VALENCIA DG800), the ADB process give an error... This can be 
 solve adding a double quotes in the device name:
 adb -s ' + resolvedTarget.target + '
 More sequences with the adb process must be changed with doble quotes in the 
 device name.



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

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



[jira] [Commented] (CB-8825) navigator.geolocation.getCurrentPosition() callbacks not fired

2015-04-14 Thread Joe Bowser (JIRA)

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

Joe Bowser commented on CB-8825:


BTW: You still have to install the plugin, since that's how the permissions are 
turned on.

 navigator.geolocation.getCurrentPosition() callbacks not fired
 --

 Key: CB-8825
 URL: https://issues.apache.org/jira/browse/CB-8825
 Project: Apache Cordova
  Issue Type: Bug
  Components: Android, Plugin Geolocation
Reporter: Sean Hill

 The Android source code is gone from the repo. I know longer can use this 
 plugin at ALL.



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

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



[jira] [Closed] (CB-8819) [WP8] FileReader readAsBinaryString doesn't read file correctly

2015-04-14 Thread Alexander Sorokin (JIRA)

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

Alexander Sorokin closed CB-8819.
-
Resolution: Fixed

 [WP8] FileReader readAsBinaryString doesn't read file correctly
 ---

 Key: CB-8819
 URL: https://issues.apache.org/jira/browse/CB-8819
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugin File, WP8
Reporter: Alexander Sorokin
Assignee: Jesse MacFadyen

 This issue can be seen in file.spec.86 in mobilespec.



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

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



[jira] [Updated] (CB-8765) Error running an app in device with a name with a space char

2015-04-14 Thread Joe Bowser (JIRA)

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

Joe Bowser updated CB-8765:
---
Priority: Minor  (was: Major)

 Error running an app in device with a name with a space char
 

 Key: CB-8765
 URL: https://issues.apache.org/jira/browse/CB-8765
 Project: Apache Cordova
  Issue Type: Bug
  Components: Android
Affects Versions: 4.0.0
Reporter: Hector Santos
Priority: Minor
  Labels: adb, easyfix, patch, run
 Fix For: Master


 When try to run a cordova run android --device, if the device name have a 
 space (like VALENCIA DG800), the ADB process give an error... This can be 
 solve adding a double quotes in the device name:
 adb -s ' + resolvedTarget.target + '
 More sequences with the adb process must be changed with doble quotes in the 
 device name.



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

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



[jira] [Updated] (CB-8806) Build error, “Error: 404 Not Found: cordova-plugin-file”

2015-04-14 Thread Joe Bowser (JIRA)

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

Joe Bowser updated CB-8806:
---
Component/s: (was: Android)
 Plugin File
 CLI
   Priority: Critical  (was: Blocker)

 Build error, “Error: 404 Not Found: cordova-plugin-file”
 

 Key: CB-8806
 URL: https://issues.apache.org/jira/browse/CB-8806
 Project: Apache Cordova
  Issue Type: Bug
  Components: CLI, Plugin File
Reporter: Tony F.
Priority: Critical

 I'm tryng to build my cordova application, but from 2015, 3rd April, building 
 gave me this error:
 [...]
 Fetching plugin cordova-plugin-file via plugin registry
 npm http GET http://registry.cordova.io/cordova-plugin-file
 npm http 404 http://registry.cordova.io/cordova-plugin-file
 Failed to install 'cordova-plugin-media-capture':Error: 404 Not Found: 
 cordova-plugin-file
 [...]



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

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



[jira] [Comment Edited] (CB-8765) Error running an app in device with a name with a space char

2015-04-14 Thread Joe Bowser (JIRA)

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

Joe Bowser edited comment on CB-8765 at 4/14/15 4:58 PM:
-

Lowering priority because I have no idea what a VALENCIA DG800 is.  Usually a 
device id is not human readable, unique to the device and doesn't have spaces, 
so this is an edge case.


was (Author: bowserj):
Lowering priority because I have no idea what a VALENCIA DG800 is.  Usually a 
device name is not human readable and doesn't have spaces, so this is an edge 
case.

 Error running an app in device with a name with a space char
 

 Key: CB-8765
 URL: https://issues.apache.org/jira/browse/CB-8765
 Project: Apache Cordova
  Issue Type: Bug
  Components: Android
Affects Versions: 4.0.0
Reporter: Hector Santos
Priority: Minor
  Labels: adb, easyfix, patch, run
 Fix For: Master


 When try to run a cordova run android --device, if the device name have a 
 space (like VALENCIA DG800), the ADB process give an error... This can be 
 solve adding a double quotes in the device name:
 adb -s ' + resolvedTarget.target + '
 More sequences with the adb process must be changed with doble quotes in the 
 device name.



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

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



[jira] [Commented] (CB-7819) navigator.vibrate is not work

2015-04-14 Thread Filipe (JIRA)

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

Filipe commented on CB-7819:


How can I test it?

 navigator.vibrate is not work
 -

 Key: CB-7819
 URL: https://issues.apache.org/jira/browse/CB-7819
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugin Vibration
Affects Versions: 3.7.0, 3.6.3
 Environment: phonegap 3.6.3 with all latest plugin
 ios 8.0.2
 winphone 8.1
 Android 4.4.2
 all real machine
 org.apache.cordova.vibration =  0.3.11
Reporter: Colin Bau
  Labels: vibrate
   Original Estimate: 12h
  Remaining Estimate: 12h

 according to this
 https://github.com/apache/cordova-plugin-vibration/blob/5adf530d3663226ad6913de6cfc8493672334023/doc/index.md
 it said...
 [the recommended way]
 navigator.vibrate
 navigator.vibrateWithPattern
 navigator.cancelVibration
 [the deprecated way]
 navigator.notification.vibrate
 navigator.notification.vibrateWithPattern
 navigator.notification.cancelVibration
 but in fact,when I use it
 navigator.notification.[yourmethod] is work but navigator.[yourmethod] not !!



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

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



[jira] [Comment Edited] (CB-8856) Fix 'Id' attribute is invalid when creating Windows Store submission build

2015-04-14 Thread Sergey Grebnov (JIRA)

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

Sergey Grebnov edited comment on CB-8856 at 4/14/15 11:43 PM:
--

When I set widged.id (config.xml) to my production package identity (for 
example '32437wifrx.com.OctoPlayer') and do build, the following error is 
occurred:

{code}
λ cordova build windows --win --release
Running command: C:\temp\testApp\platforms\windows\cordova\build.bat --release
Applying Platform Config...
MSBuildToolsPath: C:\Program Files (x86)\MSBuild\14.0\bin\amd64\
Building project: C:\temp\testApp\platforms\windows\CordovaApp.Windows80.jsproj
Configuration : release
Platform  : anycpu
C:\temp\testApp\platforms\windows\build\windows80\release\anycpu\AppxManifest.xml(24,18):
 error APPX1404: File content does not conform to specified schema.
The 'Id' attribute is invalid - The value '32437wifrx.com.OctoPlayer' is 
invalid according to its datatype 
'http://schemas.microsoft.com/appx/2010/manifest:S T_ApplicationId' - The 
Pattern constraint failed. 
[C:\temp\testApp\platforms\windows\CordovaApp.Windows80.jsproj]
ERROR: Error code 1 for command: C:\Program Files 
(x86)\MSBuild\14.0\bin\amd64\msbuild with args: 
C:\temp\testApp\platforms\windows\CordovaApp.Windows80.jsproj,/clp:NoSummary;NoItemAndPropertyList;Verbosity=minimal,/nologo,/p:Configuration=release,/p:Platform=anycpu,/p:BuildFromCordovaTooling=true
ERROR building one of the platforms: Error: 
C:\temp\testApp\platforms\windows\cordova\build.bat: Command failed with exit 
code 2
You may not have the required environment or OS to build this project
Error: C:\temp\testApp\platforms\windows\cordova\build.bat: Command failed with 
exit code 2
at ChildProcess.whenDone 
(C:\Users\Sergei\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\src\cordova\superspawn.js:131:23)
at ChildProcess.emit (events.js:98:17)
at maybeClose (child_process.js:756:16)
at Process.ChildProcess._handle.onexit (child_process.js:823:5)
{code}

From what I see this happens due to we replace both Identity/Name (which is 
correct) and also Application/Id (which is not required at all and causes this 
issue) in .appxmanifest:

Identity/Name defines a globally unique identifier for a package. This is what 
we should change according to widget/id
https://msdn.microsoft.com/en-us/library/windows/apps/br211441.aspx

Application/id  is just the unique identifier of the application within the 
package. Which should be a constant since we don't support multiple 
applications per package. For example, default Windows Visual Studio template 
uses constant 'App' string as Application/Id.
https://msdn.microsoft.com/en-us/library/windows/desktop/br211415.aspx

If I don't change Application/Id during build everything works correct.


was (Author: sgrebnov):
When I set widged.id (config.xml) to my production package identity (for 
example '32437wifrx.com.OctoPlayer') and do build, the following error is 
occurred:

{code}
λ cordova build windows --win --release
Running command: C:\temp\testApp\platforms\windows\cordova\build.bat --release
Applying Platform Config...
MSBuildToolsPath: C:\Program Files (x86)\MSBuild\14.0\bin\amd64\
Building project: C:\temp\testApp\platforms\windows\CordovaApp.Windows80.jsproj
Configuration : release
Platform  : anycpu
C:\temp\testApp\platforms\windows\build\windows80\release\anycpu\AppxManifest.xml(24,18):
 error APPX1404: File content does not conform to specified schema.
The 'Id' attribute is invalid - The value '32437wifrx.com.OctoPlayer' is 
invalid according to its datatype 
'http://schemas.microsoft.com/appx/2010/manifest:S T_ApplicationId' - The 
Pattern constraint failed. 
[C:\temp\testApp\platforms\windows\CordovaApp.Windows80.jsproj]
ERROR: Error code 1 for command: C:\Program Files 
(x86)\MSBuild\14.0\bin\amd64\msbuild with args: 
C:\temp\testApp\platforms\windows\CordovaApp.Windows80.jsproj,/clp:NoSummary;NoItemAndPropertyList;Verbosity=minimal,/nologo,/p:Configuration=release,/p:Platform=anycpu,/p:BuildFromCordovaTooling=true
ERROR building one of the platforms: Error: 
C:\temp\testApp\platforms\windows\cordova\build.bat: Command failed with exit 
code 2
You may not have the required environment or OS to build this project
Error: C:\temp\testApp\platforms\windows\cordova\build.bat: Command failed with 
exit code 2
at ChildProcess.whenDone 
(C:\Users\Sergei\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\src\cordova\superspawn.js:131:23)
at ChildProcess.emit (events.js:98:17)
at maybeClose (child_process.js:756:16)
at Process.ChildProcess._handle.onexit (child_process.js:823:5)
{code}

From what I see this happens due to we replace both Identity/Name (which is 
correct) and also Application/Id (which is not required at all and causes this 
issue) in 

[jira] [Commented] (CB-8856) Fix 'Id' attribute is invalid when creating Windows Store submission build

2015-04-14 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-8856:


GitHub user sgrebnov opened a pull request:

https://github.com/apache/cordova-windows/pull/66

CB-8856 Fix 'Id' attr is invalid when creating Windows Store submission 
build

We should NOT change Application/Id in .appxmanifest as it does not make 
any sense, but could lead to build failures like in this particular case:

https://issues.apache.org/jira/browse/CB-8856

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

$ git pull https://github.com/MSOpenTech/cordova-windows CB-8856

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

https://github.com/apache/cordova-windows/pull/66.patch

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

This closes #66


commit 258a21dbf6ac4bd020e304de8544992e5e3cd9f2
Author: sgrebnov v-seg...@microsoft.com
Date:   2015-04-14T22:49:23Z

CB-8856 Fix 'Id' attribute is invalid when creating Windows Store 
submission build




 Fix 'Id' attribute is invalid when creating Windows Store submission build
 --

 Key: CB-8856
 URL: https://issues.apache.org/jira/browse/CB-8856
 Project: Apache Cordova
  Issue Type: Bug
  Components: Windows
Reporter: Sergey Grebnov
Assignee: Sergey Grebnov
  Labels: Release, Store, Windows





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

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



[jira] [Resolved] (CB-8806) Build error, “Error: 404 Not Found: cordova-plugin-file”

2015-04-14 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah resolved CB-8806.
--
Resolution: Not A Problem
  Assignee: Shazron Abdullah

 Build error, “Error: 404 Not Found: cordova-plugin-file”
 

 Key: CB-8806
 URL: https://issues.apache.org/jira/browse/CB-8806
 Project: Apache Cordova
  Issue Type: Bug
  Components: CLI, Plugin File
Reporter: Tony F.
Assignee: Shazron Abdullah
Priority: Critical

 I'm tryng to build my cordova application, but from 2015, 3rd April, building 
 gave me this error:
 [...]
 Fetching plugin cordova-plugin-file via plugin registry
 npm http GET http://registry.cordova.io/cordova-plugin-file
 npm http 404 http://registry.cordova.io/cordova-plugin-file
 Failed to install 'cordova-plugin-media-capture':Error: 404 Not Found: 
 cordova-plugin-file
 [...]



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

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



[jira] [Commented] (CB-8806) Build error, “Error: 404 Not Found: cordova-plugin-file”

2015-04-14 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah commented on CB-8806:
--

Use org.apache.cordova.file until further notice. That is still the id used in 
the plugin registry: http://plugins.cordova.io/#/package/org.apache.cordova.file

That new plugin id is on the dev branch and is unreleased. If you need to 
actually install the dev version right now, do a:
```
cordova plugin add https://github.com/apache/cordova-plugin-file.git
```


 Build error, “Error: 404 Not Found: cordova-plugin-file”
 

 Key: CB-8806
 URL: https://issues.apache.org/jira/browse/CB-8806
 Project: Apache Cordova
  Issue Type: Bug
  Components: CLI, Plugin File
Reporter: Tony F.
Priority: Critical

 I'm tryng to build my cordova application, but from 2015, 3rd April, building 
 gave me this error:
 [...]
 Fetching plugin cordova-plugin-file via plugin registry
 npm http GET http://registry.cordova.io/cordova-plugin-file
 npm http 404 http://registry.cordova.io/cordova-plugin-file
 Failed to install 'cordova-plugin-media-capture':Error: 404 Not Found: 
 cordova-plugin-file
 [...]



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

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



[jira] [Commented] (CB-8855) cordova run or emualte --list doesn't list devices

2015-04-14 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-8855:


Github user csantanapr commented on the pull request:

https://github.com/apache/cordova-ios/pull/137#issuecomment-93073139
  
:beer: 


 cordova run or emualte --list doesn't list devices
 --

 Key: CB-8855
 URL: https://issues.apache.org/jira/browse/CB-8855
 Project: Apache Cordova
  Issue Type: Bug
  Components: iOS
Affects Versions: Master, 3.8.0
 Environment: OSX
Reporter: Carlos Santana
Assignee: Carlos Santana
 Fix For: 4.0.0


 cordova cli never can print devices
 $ cordova run ios --list
 Available ios devices:
 $ cordova run ios --device --list
 Available ios devices:
 It should print the id and type (iPhone, iPod, iPad)
 Like:
 $ cordova run ios --list
 Available ios devices:
 133d93714ea585453646d64e2d24f4fbd5986ad0 iPhone



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

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



[jira] [Commented] (CB-8855) cordova run or emualte --list doesn't list devices

2015-04-14 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-8855:


Github user muratsu commented on the pull request:

https://github.com/apache/cordova-ios/pull/137#issuecomment-93073824
  
:+1: :smile:


 cordova run or emualte --list doesn't list devices
 --

 Key: CB-8855
 URL: https://issues.apache.org/jira/browse/CB-8855
 Project: Apache Cordova
  Issue Type: Bug
  Components: iOS
Affects Versions: Master, 3.8.0
 Environment: OSX
Reporter: Carlos Santana
Assignee: Carlos Santana
 Fix For: 4.0.0


 cordova cli never can print devices
 $ cordova run ios --list
 Available ios devices:
 $ cordova run ios --device --list
 Available ios devices:
 It should print the id and type (iPhone, iPod, iPad)
 Like:
 $ cordova run ios --list
 Available ios devices:
 133d93714ea585453646d64e2d24f4fbd5986ad0 iPhone



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

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



[jira] [Created] (CB-8856) Fix support of Windows Store submission builds

2015-04-14 Thread Sergey Grebnov (JIRA)
Sergey Grebnov created CB-8856:
--

 Summary: Fix support of Windows Store submission builds
 Key: CB-8856
 URL: https://issues.apache.org/jira/browse/CB-8856
 Project: Apache Cordova
  Issue Type: Bug
  Components: Windows
Reporter: Sergey Grebnov
Assignee: Sergey Grebnov






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

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



[jira] [Commented] (CB-8856) Fix support of Windows Store submission builds

2015-04-14 Thread Sergey Grebnov (JIRA)

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

Sergey Grebnov commented on CB-8856:


When I set widged.id (config.xml) to my production package identity (for 
example '32437wifrx.com.OctoPlayer') and do build, the following error is 
occurred:

{code}
λ cordova build windows --win --release
Running command: C:\temp\testApp\platforms\windows\cordova\build.bat --release
Applying Platform Config...
MSBuildToolsPath: C:\Program Files (x86)\MSBuild\14.0\bin\amd64\
Building project: C:\temp\testApp\platforms\windows\CordovaApp.Windows80.jsproj
Configuration : release
Platform  : anycpu
C:\temp\testApp\platforms\windows\build\windows80\release\anycpu\AppxManifest.xml(24,18):
 error APPX1404: File content does not conform to specified schema.
The 'Id' attribute is invalid - The value '32437wifrx.com.OctoPlayer' is 
invalid according to its datatype 
'http://schemas.microsoft.com/appx/2010/manifest:S T_ApplicationId' - The 
Pattern constraint failed. 
[C:\temp\testApp\platforms\windows\CordovaApp.Windows80.jsproj]
ERROR: Error code 1 for command: C:\Program Files 
(x86)\MSBuild\14.0\bin\amd64\msbuild with args: 
C:\temp\testApp\platforms\windows\CordovaApp.Windows80.jsproj,/clp:NoSummary;NoItemAndPropertyList;Verbosity=minimal,/nologo,/p:Configuration=release,/p:Platform=anycpu,/p:BuildFromCordovaTooling=true
ERROR building one of the platforms: Error: 
C:\temp\testApp\platforms\windows\cordova\build.bat: Command failed with exit 
code 2
You may not have the required environment or OS to build this project
Error: C:\temp\testApp\platforms\windows\cordova\build.bat: Command failed with 
exit code 2
at ChildProcess.whenDone 
(C:\Users\Sergei\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\src\cordova\superspawn.js:131:23)
at ChildProcess.emit (events.js:98:17)
at maybeClose (child_process.js:756:16)
at Process.ChildProcess._handle.onexit (child_process.js:823:5)
{code}

From what I see this happens due to we replace both Identity/Name (which is 
correct) and also Application/Id (which is not required at all and causes this 
issue) in .appxmanifest:

Identity/Name defines a globally unique identifier for a package. This is what 
we should change according to widget/id
https://msdn.microsoft.com/en-us/library/windows/apps/br211441.aspx

Application/id  is just the unique identifier of the application within the 
package. Which should be a constant since we don't support multiple 
applications per package. For example, default Window template uses 'App' 
string as Application/Id.
https://msdn.microsoft.com/en-us/library/windows/desktop/br211415.aspx

If I don't change Application/Id during build everything works correct.

 Fix support of Windows Store submission builds
 --

 Key: CB-8856
 URL: https://issues.apache.org/jira/browse/CB-8856
 Project: Apache Cordova
  Issue Type: Bug
  Components: Windows
Reporter: Sergey Grebnov
Assignee: Sergey Grebnov
  Labels: Release, Store, Windows





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

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



[jira] [Updated] (CB-8856) Fix 'Id' attribute is invalid when creating Windows Store submission build

2015-04-14 Thread Sergey Grebnov (JIRA)

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

Sergey Grebnov updated CB-8856:
---
Summary: Fix 'Id' attribute is invalid when creating Windows Store 
submission build  (was: Fix support of Windows Store submission builds)

 Fix 'Id' attribute is invalid when creating Windows Store submission build
 --

 Key: CB-8856
 URL: https://issues.apache.org/jira/browse/CB-8856
 Project: Apache Cordova
  Issue Type: Bug
  Components: Windows
Reporter: Sergey Grebnov
Assignee: Sergey Grebnov
  Labels: Release, Store, Windows





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

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



[jira] [Commented] (CB-8855) cordova run or emualte --list doesn't list devices

2015-04-14 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-8855:


GitHub user csantanapr opened a pull request:

https://github.com/apache/cordova-ios/pull/137

CB-8855 Fix display ios devices with --list



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

$ git pull https://github.com/csantanapr/cordova-ios CB-8855

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

https://github.com/apache/cordova-ios/pull/137.patch

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

This closes #137


commit 1e0ba9a8698a8ceba7c09d9873fcea6405ec8245
Author: Carlos Santana csantan...@carloss-mbp.raleigh.ibm.com
Date:   2015-04-14T21:08:06Z

CB-8855 Fix display ios devices with --list




 cordova run or emualte --list doesn't list devices
 --

 Key: CB-8855
 URL: https://issues.apache.org/jira/browse/CB-8855
 Project: Apache Cordova
  Issue Type: Bug
  Components: iOS
Affects Versions: Master, 3.8.0
 Environment: OSX
Reporter: Carlos Santana

 cordova cli never can print devices
 $ cordova run ios --list
 Available ios devices:
 $ cordova run ios --device --list
 Available ios devices:
 It should print the id and type (iPhone, iPod, iPad)
 Like:
 $ cordova run ios --list
 Available ios devices:
 133d93714ea585453646d64e2d24f4fbd5986ad0 iPhone



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

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



[jira] [Commented] (CB-8855) cordova run or emualte --list doesn't list devices

2015-04-14 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-8855:


Github user shazron commented on the pull request:

https://github.com/apache/cordova-ios/pull/137#issuecomment-93065250
  
Seems to work. Pulling in.


 cordova run or emualte --list doesn't list devices
 --

 Key: CB-8855
 URL: https://issues.apache.org/jira/browse/CB-8855
 Project: Apache Cordova
  Issue Type: Bug
  Components: iOS
Affects Versions: Master, 3.8.0
 Environment: OSX
Reporter: Carlos Santana

 cordova cli never can print devices
 $ cordova run ios --list
 Available ios devices:
 $ cordova run ios --device --list
 Available ios devices:
 It should print the id and type (iPhone, iPod, iPad)
 Like:
 $ cordova run ios --list
 Available ios devices:
 133d93714ea585453646d64e2d24f4fbd5986ad0 iPhone



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

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



[jira] [Updated] (CB-8855) cordova run or emualte --list doesn't list devices

2015-04-14 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-8855:
-
Fix Version/s: 4.0.0

 cordova run or emualte --list doesn't list devices
 --

 Key: CB-8855
 URL: https://issues.apache.org/jira/browse/CB-8855
 Project: Apache Cordova
  Issue Type: Bug
  Components: iOS
Affects Versions: Master, 3.8.0
 Environment: OSX
Reporter: Carlos Santana
Assignee: Carlos Santana
 Fix For: 4.0.0


 cordova cli never can print devices
 $ cordova run ios --list
 Available ios devices:
 $ cordova run ios --device --list
 Available ios devices:
 It should print the id and type (iPhone, iPod, iPad)
 Like:
 $ cordova run ios --list
 Available ios devices:
 133d93714ea585453646d64e2d24f4fbd5986ad0 iPhone



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

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



[jira] [Resolved] (CB-8855) cordova run or emualte --list doesn't list devices

2015-04-14 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah resolved CB-8855.
--
Resolution: Fixed
  Assignee: Carlos Santana

 cordova run or emualte --list doesn't list devices
 --

 Key: CB-8855
 URL: https://issues.apache.org/jira/browse/CB-8855
 Project: Apache Cordova
  Issue Type: Bug
  Components: iOS
Affects Versions: Master, 3.8.0
 Environment: OSX
Reporter: Carlos Santana
Assignee: Carlos Santana

 cordova cli never can print devices
 $ cordova run ios --list
 Available ios devices:
 $ cordova run ios --device --list
 Available ios devices:
 It should print the id and type (iPhone, iPod, iPad)
 Like:
 $ cordova run ios --list
 Available ios devices:
 133d93714ea585453646d64e2d24f4fbd5986ad0 iPhone



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

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



[jira] [Commented] (CB-8855) cordova run or emualte --list doesn't list devices

2015-04-14 Thread ASF subversion and git services (JIRA)

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

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

Commit 078a47f3fa250b46b370d43530c040bf4f0ed5cd in cordova-ios's branch 
refs/heads/master from [~csantana]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-ios.git;h=078a47f ]

CB-8855 Fix display ios devices with --list (closes #137)


 cordova run or emualte --list doesn't list devices
 --

 Key: CB-8855
 URL: https://issues.apache.org/jira/browse/CB-8855
 Project: Apache Cordova
  Issue Type: Bug
  Components: iOS
Affects Versions: Master, 3.8.0
 Environment: OSX
Reporter: Carlos Santana

 cordova cli never can print devices
 $ cordova run ios --list
 Available ios devices:
 $ cordova run ios --device --list
 Available ios devices:
 It should print the id and type (iPhone, iPod, iPad)
 Like:
 $ cordova run ios --list
 Available ios devices:
 133d93714ea585453646d64e2d24f4fbd5986ad0 iPhone



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

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



[jira] [Created] (CB-8855) cordova run or emualte --list doesn't list devices

2015-04-14 Thread Carlos Santana (JIRA)
Carlos Santana created CB-8855:
--

 Summary: cordova run or emualte --list doesn't list devices
 Key: CB-8855
 URL: https://issues.apache.org/jira/browse/CB-8855
 Project: Apache Cordova
  Issue Type: Bug
  Components: iOS
Affects Versions: Master, 3.8.0
 Environment: OSX
Reporter: Carlos Santana


cordova cli never can print devices

$ cordova run ios --list
Available ios devices:

$ cordova run ios --device --list
Available ios devices:

It should print the id and type (iPhone, iPod, iPad)
Like:
$ cordova run ios --list
Available ios devices:
133d93714ea585453646d64e2d24f4fbd5986ad0 iPhone




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

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



[jira] [Commented] (CB-8855) cordova run or emualte --list doesn't list devices

2015-04-14 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-8855:


Github user asfgit closed the pull request at:

https://github.com/apache/cordova-ios/pull/137


 cordova run or emualte --list doesn't list devices
 --

 Key: CB-8855
 URL: https://issues.apache.org/jira/browse/CB-8855
 Project: Apache Cordova
  Issue Type: Bug
  Components: iOS
Affects Versions: Master, 3.8.0
 Environment: OSX
Reporter: Carlos Santana

 cordova cli never can print devices
 $ cordova run ios --list
 Available ios devices:
 $ cordova run ios --device --list
 Available ios devices:
 It should print the id and type (iPhone, iPod, iPad)
 Like:
 $ cordova run ios --list
 Available ios devices:
 133d93714ea585453646d64e2d24f4fbd5986ad0 iPhone



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

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