[jira] [Commented] (CB-10284) Adding plugins seems to be totally broken on Cordova 5.4.0 and 5.4.1

2016-01-08 Thread Sebastien (JIRA)

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

Sebastien commented on CB-10284:


Yep, I think I'll be able to find some time maybe tomorrow or on sunday.

> Adding plugins seems to be totally broken on Cordova 5.4.0 and 5.4.1
> 
>
> Key: CB-10284
> URL: https://issues.apache.org/jira/browse/CB-10284
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CordovaLib
>Affects Versions: 5.4.0, 5.4.1
> Environment: Mac OS X 10.10.5
>Reporter: Sebastien
>Assignee: Vladimir Kotikov
>Priority: Minor
>  Labels: triaged
>
> Using Cordova CLI 5.3.3, try creating a new project and then adding the 
> Android platform and the whitelist plugin (using `$ cordova plugin add 
> cordova-plugin-whitelist@1.2.0`). Then open the _plugins/android.json_ file, 
> its content is:
> {code:javascript|title=plugins/android.json}
> {
> "prepare_queue": {
> "installed": [],
> "uninstalled": []
> },
> "config_munge": {
> "files": {
> "res/xml/config.xml": {
> "parents": {
> "/*": [
> {
> "xml": " name=\"android-package\" 
> value=\"org.apache.cordova.whitelist.WhitelistPlugin\" /> name=\"onload\" value=\"true\" />",
> "count": 1
> }
> ]
> }
> }
> }
> },
> "installed_plugins": {
> "cordova-plugin-whitelist": {
> "PACKAGE_NAME": "com.my-app.dev"
> }
> },
> "dependent_plugins": {}
> }
> {code}
> Now start another project using Cordova CLI 5.4.0 or 5.4.1 and do the same 
> exact thing. The file content is:
> {code:javascript|title=plugins/android.json}
> {
> "prepare_queue": {
> "installed": [],
> "uninstalled": []
> },
> "config_munge": {
> "files": {}
> },
> "installed_plugins": {
> "cordova-plugin-whitelist": {
> "PACKAGE_NAME": "com.my-app.dev"
> }
> },
> "dependent_plugins": {}
> }
> {code}
> Notice that `config_munge.files` is empty. This is a major regression as 
> plugins using this feature don't work at all sometimes even preventing the 
> `deviceready` event to be triggered.



--
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-10309) App crash when using camera plugin to access gallery on Android Moto E

2016-01-08 Thread Mikle (JIRA)
Mikle created CB-10309:
--

 Summary: App crash when using camera plugin to access gallery on 
Android Moto E
 Key: CB-10309
 URL: https://issues.apache.org/jira/browse/CB-10309
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugin Camera
Affects Versions: 5.1.1
 Environment: Using Cordova 5.1.1, cordova-plugin-camera 2.0.0 and 
CrossWalk
Reporter: Mikle
Priority: Critical


Currently i am using cordova-plugin-camera 2.0.0 and trying to add some photos 
from gallery. On almost all android and iOS devices it works great but on 
Motorola Moto E it crashes app. I am also using crosswalk for higher 
performance. I searched for this problem using logs i got and found this branch 
of plugin 
https://github.com/apache/cordova-plugin-camera/compare/CB-8438cordova-plugin-camera.
 It seems that this fixes are already implemented to plugin but it still 
crashes my app on that specific device. 


Here are logs 

ERROR:  AndroidRuntime : FATAL EXCEPTION: pool-4-thread-2
undefined   ERROR:  AndroidRuntime : Process: 
com.ionicframework.withionic734372, PID: 22807
undefined   ERROR:  AndroidRuntime : java.lang.NullPointerException: 
Attempt to invoke virtual method 'void 
org.apache.cordova.CallbackContext.error(java.lang.String)' on a null object 
reference
undefined   ERROR:  AndroidRuntime : at 
org.apache.cordova.camera.CameraLauncher.failPicture(CameraLauncher.java:1165)
undefined   ERROR:  AndroidRuntime : at 
org.apache.cordova.camera.CameraLauncher.processPicture(CameraLauncher.java:1154)
undefined   ERROR:  AndroidRuntime : at 
org.apache.cordova.camera.CameraLauncher.processResultFromGallery(CameraLauncher.java:681)
undefined   ERROR:  AndroidRuntime : at 
org.apache.cordova.camera.CameraLauncher.access$000(CameraLauncher.java:66)
undefined   ERROR:  AndroidRuntime : at 
org.apache.cordova.camera.CameraLauncher$1.run(CameraLauncher.java:787)
undefined   ERROR:  AndroidRuntime : at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
undefined   ERROR:  AndroidRuntime : at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
undefined   ERROR:  AndroidRuntime : at 
java.lang.Thread.run(Thread.java:818)
undefined   WARN:   ActivityManager : Force finishing activity 1 
com.ionicframework.withionic734372/.MainActivity
undefined   INFO:   OpenGLRenderer : Initialized EGL, version 1.4

Here is my code 

navigator.camera.getPicture(cameraSuccess, cameraError, {
quality: 50,
encodingType: 0,
targetWidth: 800,
targetHeight: 600,
destinationType: Camera.DestinationType.DATA_URL,
sourceType: Camera.PictureSourceType.SAVEDPHOTOALBUM
});




--
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-10212) wp8 upload file without cookie

2016-01-08 Thread martatw (JIRA)

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

martatw edited comment on CB-10212 at 1/8/16 8:42 AM:
--

Hi,

Unfortunately, I wasn't able to resolve this issue. I have found out that on 
iOS and android You can get cookie for specific url while such method doesn't 
exist on wp8. I had to upload imgages on wp8 by ajax. It works fine and I hope 
not to get out of memory exception.




was (Author: martatw):
Hi,

Unfortunately, I wasn't able to resolve this issue. I have found out that on 
iOS and android You can get cookie for specific url while such method doesn't 
exist in wp8. I had to upload imgages on wp8 by ajax. It works fine and I hope 
not to get out of memory exception.



> wp8 upload file without cookie
> --
>
> Key: CB-10212
> URL: https://issues.apache.org/jira/browse/CB-10212
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin File Transfer, WP8
>Affects Versions: 1.4.0
>Reporter: martatw
>Assignee: Jesse MacFadyen
>Priority: Minor
>  Labels: triaged, wfc
>
> Hi,
> I am uploading img through plugin file transfer and the method: 
> CopyCookiesFromWebBrowser in FileTransfer.cs doesn't find any cookie. It 
> works perfectly in iOS and Android. Do You know any fast fix or work around 
> for that? 
> Thank You in andvance for Your help
> Marta



--
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-10212) wp8 upload file without cookie

2016-01-08 Thread martatw (JIRA)

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

martatw commented on CB-10212:
--

Hi,

Unfortunately, I wasn't able to resolve this issue. I have found out that on 
iOS and android You can get cookie for specific url while such method doesn't 
exist in wp8. I had to upload imgages on wp8 by ajax. It works fine and I hope 
not to get out of memory exception.



> wp8 upload file without cookie
> --
>
> Key: CB-10212
> URL: https://issues.apache.org/jira/browse/CB-10212
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin File Transfer, WP8
>Affects Versions: 1.4.0
>Reporter: martatw
>Assignee: Jesse MacFadyen
>Priority: Minor
>  Labels: triaged, wfc
>
> Hi,
> I am uploading img through plugin file transfer and the method: 
> CopyCookiesFromWebBrowser in FileTransfer.cs doesn't find any cookie. It 
> works perfectly in iOS and Android. Do You know any fast fix or work around 
> for that? 
> Thank You in andvance for Your help
> Marta



--
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-10234) Globalization Plugin Breaks Windows10 (Universal Windows) Build

2016-01-08 Thread Roberto De Simone (JIRA)

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

Roberto De Simone commented on CB-10234:


Specifying the processor architecture in configuration manager allows the 
building - I tried ARM.

> Globalization Plugin Breaks Windows10 (Universal Windows) Build
> ---
>
> Key: CB-10234
> URL: https://issues.apache.org/jira/browse/CB-10234
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Windows
>Affects Versions: 5.4.1
> Environment: Windows 10, Visual Studio 2015 Update 1 SDK 10.0.10240, 
> CLI 5.4.1, cordova-windows@4.2.0, Plugin globalization@1.0.2
>Reporter: Roberto De Simone
>Assignee: Raghav
>Priority: Critical
>  Labels: Windows, triaged, wfc
>
> 1. Create a new Cordova project
> 2. cordova add windows@4.2
> 3. Add to config.xml Windows10 support
> 
> 
> 4. cordova plugin add cordova-plugin-globalization (1.0.2)
> 5. cordova prepare windows
> 6. Open the project in Visual Studio 2015
> 7. Build the Windows10 (Universal Windows)
> Build Error:
> Error Your project.json doesn't list 'win10' as a targeted runtime. 
> You should add '"win10": { }' inside your "runtimes" section in your 
> project.json, and then re-run NuGet restore.
> Trying different plugins (also in combination) like splashscreen, dialogs, 
> statusbar, vibration, inappbrowser, network-information do not cause the 
> error.
> Removing the Globalization Plugin allows building without error.



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

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



[jira] [Assigned] (CB-10227) Camera crashes on doubletap

2016-01-08 Thread Raghav (JIRA)

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

Raghav reassigned CB-10227:
---

Assignee: Raghav  (was: Jesse MacFadyen)

> Camera crashes on doubletap
> ---
>
> Key: CB-10227
> URL: https://issues.apache.org/jira/browse/CB-10227
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Camera
>Affects Versions: 5.1.1, 5.4.0, 5.4.1
> Environment: Cordova Camera, Cordova, Windows Phone 8.1
>Reporter: Davide
>Assignee: Raghav
>  Labels: triaged, windows
>
> With the new plugin version 2.0.0, they introduced a "Take Photo"  button. 
> Spam tapping there seems to work fine. However, spam tapping on the camera 
> video will result in an exception:
> Unhandled exception at line 387, column 21 in 
> ms-appx://hop.test1/www/plugins/cordova-plugin-camera/src/windows/CameraProxy.js
> 0x80070149 - JavaScript runtime error: An operation is currently in progress 
> with the device.



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

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



[jira] [Resolved] (CB-10310) iOS Build fails after upgrade to cordova-ios@4.0.1

2016-01-08 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah resolved CB-10310.
---
Resolution: Not A Problem

For core plugin camera, see the "Update" section of:
http://cordova.apache.org/news/2015/11/24/plugins-release.html

The other 3rd party plugins, you'll have to ask the authors to update them. 
Tell them to read: 
http://cordova.apache.org/announcements/2015/12/08/cordova-ios-4.0.0.html (the 
1st link in that post points to an API change doc that gives them instructions 
on how to update)

> iOS Build fails after upgrade to cordova-ios@4.0.1
> --
>
> Key: CB-10310
> URL: https://issues.apache.org/jira/browse/CB-10310
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS
> Environment: Cordova CLI: 5.4.1
> Ionic Version: 1.2.1-nightly-1867
> Ionic CLI Version: 1.7.12
> Ionic App Lib Version: 0.6.5
> ios-deploy version: 1.8.4
> ios-sim version: 5.0.6
> OS: Mac OS X El Capitan
> Node Version: v5.4.0
> Xcode version: Xcode 7.2 Build version 7C68
> npm -v : 3.5.3
> bower -v : 1.7.2
> cordova platform :
> Installed platforms: android 5.0.0, ios 4.0.1
> Android tools and Platform-tools :
> Pkg.Revision=24.4.1
> Pkg.Revision=23.1
> brew config :
> HOMEBREW_VERSION: 0.9.5
> CPU: quad-core 64-bit ivybridge
> OS X: 10.11.2-x86_64
> Xcode: 7.2
> CLT: 7.2.0.0.1.1447826929
> Clang: 7.0 build 700
> X11: N/A
> System Ruby: 2.0.0-p645
> Perl: /usr/bin/perl
> Python: /usr/local/bin/python => 
> /usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/bin/python2.7
> Ruby: /Users/jagdish/.rbenv/shims/ruby => 
> /Users/jagdish/.rbenv/versions/2.3.0/bin/ruby
> Java: 1.8.0_66
> psql --version: psql (PostgreSQL) 9.4.5
>Reporter: Jagdish Adusumalli
>  Labels: build-failure, build-problem, cordova-ios-4.0.1, ios
> Attachments: build error cordova-plugin-diagnostic.png, build error 
> with cordova-plugin-camera.png, build error with cordova-plugin-sms.png
>
>
> I'm working on an ionic app and just upgrade the ios platform to 4.0.1.
> i am unable to build the ios app now using the command
> "ionic build ios" or "cordova build ios"
> i observed the error is arising from the various plugins which are failing 
> now.
> i removed the plugins one after another to see how many plugins are 
> incompatible 
> and not working and found the below 5 plugins are raising the same error
> cordova-plugin-camera 1.2.0 "Camera"
> cordova.plugins.diagnostic 2.3.5 "Diagnostic"
> com.cordova.plugins.sms 0.1.6 "Cordova SMS Plugin"
> com.dbaq.cordova.contactsPhoneNumbers 0.0.5 "Contacts Phone Numbers"
> cordova-plugin-sms 1.0.5 "SMS"
> Error sample raised for sms plugin looks as below
> ** BUILD FAILED **
> The following build commands failed:
>   CompileC 
> build/qiddlestage.build/Debug-iphonesimulator/qiddlestage.build/Objects-normal/i386/Sms.o
>  qiddlestage/Plugins/com.cordova.plugins.sms/Sms.m normal i386 objective-c 
> com.apple.compilers.llvm.clang.1_0.compiler
> (1 failure)
> ERROR building one of the platforms: Error code 65 for command: xcodebuild 
> with args: 
> -xcconfig,/Users/jagdish/work/ywt-moms/platforms/ios/cordova/build-debug.xcconfig,-project,qiddlestage.xcodeproj,ARCHS=i386,-target,qiddlestage,-configuration,Debug,-sdk,iphonesimulator,build,VALID_ARCHS=i386,CONFIGURATION_BUILD_DIR=/Users/jagdish/work/ywt-moms/platforms/ios/build/emulator,SHARED_PRECOMPS_DIR=/Users/jagdish/work/ywt-moms/platforms/ios/build/sharedpch
> You may not have the required environment or OS to build this project
> Error: Error code 65 for command: xcodebuild with args: 
> -xcconfig,/Users/jagdish/work/ywt-moms/platforms/ios/cordova/build-debug.xcconfig,-project,qiddlestage.xcodeproj,ARCHS=i386,-target,qiddlestage,-configuration,Debug,-sdk,iphonesimulator,build,VALID_ARCHS=i386,CONFIGURATION_BUILD_DIR=/Users/jagdish/work/ywt-moms/platforms/ios/build/emulator,SHARED_PRECOMPS_DIR=/Users/jagdish/work/ywt-moms/platforms/ios/build/sharedpch
> also attaching error screenshots with various plugins.



--
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-10234) Globalization Plugin Breaks Windows10 (Universal Windows) Build

2016-01-08 Thread Roberto De Simone (JIRA)

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

Roberto De Simone commented on CB-10234:


I think this issue can be marked as solved. The plugins which need .NET and/or 
the cordova-windows platform need some kind of documentation about this topic.

> Globalization Plugin Breaks Windows10 (Universal Windows) Build
> ---
>
> Key: CB-10234
> URL: https://issues.apache.org/jira/browse/CB-10234
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Windows
>Affects Versions: 5.4.1
> Environment: Windows 10, Visual Studio 2015 Update 1 SDK 10.0.10240, 
> CLI 5.4.1, cordova-windows@4.2.0, Plugin globalization@1.0.2
>Reporter: Roberto De Simone
>Assignee: Raghav
>Priority: Critical
>  Labels: Windows, triaged, wfc
>
> 1. Create a new Cordova project
> 2. cordova add windows@4.2
> 3. Add to config.xml Windows10 support
> 
> 
> 4. cordova plugin add cordova-plugin-globalization (1.0.2)
> 5. cordova prepare windows
> 6. Open the project in Visual Studio 2015
> 7. Build the Windows10 (Universal Windows)
> Build Error:
> Error Your project.json doesn't list 'win10' as a targeted runtime. 
> You should add '"win10": { }' inside your "runtimes" section in your 
> project.json, and then re-run NuGet restore.
> Trying different plugins (also in combination) like splashscreen, dialogs, 
> statusbar, vibration, inappbrowser, network-information do not cause the 
> error.
> Removing the Globalization Plugin allows building without error.



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

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



[jira] [Created] (CB-10312) [browser] Through plugin-file-transfer translated cdvfile:// URL not accepted by plugin-file

2016-01-08 Thread Harm van Tilborg (JIRA)
Harm van Tilborg created CB-10312:
-

 Summary: [browser] Through plugin-file-transfer translated 
cdvfile:// URL not accepted by plugin-file
 Key: CB-10312
 URL: https://issues.apache.org/jira/browse/CB-10312
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugin File, Plugin File Transfer
Affects Versions: 3.0.0
 Environment: browser
Reporter: Harm van Tilborg


When using this cordova-plugin-file-transfer snippet in the browser platform 
(using Chrome), the cdvfile path that is translated by the plugin, is not 
accepted by the cordova-plugin-file.

{code:javascript}var ft = new FileTransfer();
ft.download(
encodeURI('http://some.place/some.file'),
'cdvfile://localhost/persistent/some/path',
function (entry) {
// do something
},
function (error) {
// dummy
},
false
);
{code}

The file-transfer plugin rewrites the {{cdvfile}} URL to 
{{filesystem:http://localhost:8000/persistent/some/path}}. When this translated 
path is fed to {{cordova-plugin-file/www/browser/Preparing.js}} (the 
{{resolveLocalFileSystemURL}} function) it is not accepted by the 'are there 
two colons in the path'-check.

So I guess there is something wrong with cordova-plugin-file-transfer accepting 
the {{localhost:8000}} path, and cordova-plugin-file denying it. Not exactly 
sure what the fix would be.



--
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-10308) Unable to parse multi dimensional arrays with more than 2 levels

2016-01-08 Thread ASF subversion and git services (JIRA)

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

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

Commit 6370c1e13b98f0a7d91e3b8ba6fed3bb72f334c6 in cordova-osx's branch 
refs/heads/master from [~tripod]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-osx.git;h=6370c1e ]

CB-10308 Unable to parse multi dimensional arrays with more than 2 levels

- adding tests


> Unable to parse multi dimensional arrays with more than 2 levels
> 
>
> Key: CB-10308
> URL: https://issues.apache.org/jira/browse/CB-10308
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: OSX
>Affects Versions: Master
>Reporter: Sahil Bhardwaj
>Assignee: Tobias Bocanegra
>  Labels: OSX, easyfix
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> This bug entry corresponds to pull request 
> https://github.com/apache/cordova-osx/pull/29
> *Detail:*
> As we send arguments with commands to objc from javascript, current 
> implementation "convertWebScriptObjectToNSArray" and 
> "convertWebScriptObjectToNSDictionary" converts Javascript objects to 
> NSArray/NSDictionary but it doesn't parse the children at 2nd level and show 
> zero elements in there.
> *Input:*
> x = { a : { b: { c : "Hi" } } };
> *Output:*
> x = { a : { b :  { } } };
> *Solution:*
> Replace the current method with "[[webScriptObject JSValue] toArray]" which a 
> native method of apple webkit solves the problem.
> Please give a look at pull request
> https://github.com/apache/cordova-osx/pull/29



--
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-10234) Globalization Plugin Breaks Windows10 (Universal Windows) Build

2016-01-08 Thread Roberto De Simone (JIRA)

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

Roberto De Simone edited comment on CB-10234 at 1/8/16 7:50 PM:


I think this issue can be marked as solved. The plugins which require .NET 
and/or the cordova-windows platform need some kind of documentation about this 
topic.


was (Author: rdesimone):
I think this issue can be marked as solved. The plugins which need .NET and/or 
the cordova-windows platform need some kind of documentation about this topic.

> Globalization Plugin Breaks Windows10 (Universal Windows) Build
> ---
>
> Key: CB-10234
> URL: https://issues.apache.org/jira/browse/CB-10234
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Windows
>Affects Versions: 5.4.1
> Environment: Windows 10, Visual Studio 2015 Update 1 SDK 10.0.10240, 
> CLI 5.4.1, cordova-windows@4.2.0, Plugin globalization@1.0.2
>Reporter: Roberto De Simone
>Assignee: Raghav
>Priority: Critical
>  Labels: Windows, triaged, wfc
>
> 1. Create a new Cordova project
> 2. cordova add windows@4.2
> 3. Add to config.xml Windows10 support
> 
> 
> 4. cordova plugin add cordova-plugin-globalization (1.0.2)
> 5. cordova prepare windows
> 6. Open the project in Visual Studio 2015
> 7. Build the Windows10 (Universal Windows)
> Build Error:
> Error Your project.json doesn't list 'win10' as a targeted runtime. 
> You should add '"win10": { }' inside your "runtimes" section in your 
> project.json, and then re-run NuGet restore.
> Trying different plugins (also in combination) like splashscreen, dialogs, 
> statusbar, vibration, inappbrowser, network-information do not cause the 
> error.
> Removing the Globalization Plugin allows building without error.



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

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



[jira] [Commented] (CB-10192) Native Android Contacts app crashed after creating new contact in Cordova app

2016-01-08 Thread Sumama Waheed (JIRA)

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

Sumama Waheed commented on CB-10192:


sorry for the late response. I got off that project. I have tested it with the 
2.0.0 plugin and Android 5.0.0, and the problem is resolved. Thank you

> Native Android Contacts app crashed after creating new contact in Cordova app
> -
>
> Key: CB-10192
> URL: https://issues.apache.org/jira/browse/CB-10192
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Contacts
>Affects Versions: 1.1.0
> Environment: Google Nexus 6 Marshmallow
> Cordova : 5.4.0
> Contacts Plugin: 1.1.0
>Reporter: Sumama Waheed
>Assignee: Vladimir Kotikov
>  Labels: Android, contact.save, triaged
>
> I successfully create a new contact with minimal fields like First Name and 
> Given Name. 
> The contact is created successfully and you can see it in the native Android 
> contacts app if you scroll to the correct place.
> However, if you search for the new contact by name, it crashes the Contacts 
> app every time until you delete that contact !!.
> Cordova : 5.4.0
> Contacts Plugin: 1.1.0
> This is how I am creating the contact:
> {code:javascript}
> var contact = navigator.contacts.create();
> contact.displayName = firstName + " " + lastName;
> contact.nickname = firstName; 
> var name = new ContactName();
> name.givenName = firstName;
> name.familyName = lastName;
> contact.name = name;
> var phoneNumbers = [];
> phoneNumbers.push(new ContactField('work', workPhone, false));
> phoneNumbers.push(new ContactField('mobile', mobilePhone, true)); // 
> preferred number 
> contact.phoneNumbers = phoneNumbers;
> var organizations = [];
> organizations.push(new ContactOrganization(true, "work", "Company", 
> "Company", "Supervisor"));
> contact.organizations = organizations;
> contact.save(onSuccess,onError);
> {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-10308) Unable to parse multi dimensional arrays with more than 2 levels

2016-01-08 Thread Tobias Bocanegra (JIRA)

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

Tobias Bocanegra resolved CB-10308.
---
   Resolution: Fixed
Fix Version/s: Master

> Unable to parse multi dimensional arrays with more than 2 levels
> 
>
> Key: CB-10308
> URL: https://issues.apache.org/jira/browse/CB-10308
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: OSX
>Affects Versions: Master
>Reporter: Sahil Bhardwaj
>Assignee: Tobias Bocanegra
>  Labels: OSX, easyfix
> Fix For: Master
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> This bug entry corresponds to pull request 
> https://github.com/apache/cordova-osx/pull/29
> *Detail:*
> As we send arguments with commands to objc from javascript, current 
> implementation "convertWebScriptObjectToNSArray" and 
> "convertWebScriptObjectToNSDictionary" converts Javascript objects to 
> NSArray/NSDictionary but it doesn't parse the children at 2nd level and show 
> zero elements in there.
> *Input:*
> x = { a : { b: { c : "Hi" } } };
> *Output:*
> x = { a : { b :  { } } };
> *Solution:*
> Replace the current method with "[[webScriptObject JSValue] toArray]" which a 
> native method of apple webkit solves the problem.
> Please give a look at pull request
> https://github.com/apache/cordova-osx/pull/29



--
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-9994) Do not create .appxupload packages for Windows builds

2016-01-08 Thread Nikhil Khandelwal (JIRA)

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

Nikhil Khandelwal updated CB-9994:
--
Component/s: (was: CLI)
 (was: Windows 8)

> Do not create .appxupload packages for Windows builds
> -
>
> Key: CB-9994
> URL: https://issues.apache.org/jira/browse/CB-9994
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: Windows
> Environment: Windows Store Apps
>Reporter: Philipp Kursawe
>Assignee: Jesse MacFadyen
>  Labels: build, features, windows
>
> The CLI currently generates Windows Store Apps in a different way than 
> VisualStudio would do it.
> In Visual Studio no appx/appxupload packages are built in the normal build. 
> Instead VS copies/compiles all the files to a bld folder and deploys the app 
> from that folder. No signing cert required, dev cert is enough for that. It's 
> also a much faster build that way. If you only change one js files, the build 
> is basically instant, as well as the deployment because Windows does a binary 
> diff package update in the system. This is much faster than the current way 
> CLI builds Windows targets.
> There should be a CLI task "publish" to create the .appxupload package, they 
> should not be created on every build.



--
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-8841) add platform fails

2016-01-08 Thread Nikhil Khandelwal (JIRA)

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

Nikhil Khandelwal resolved CB-8841.
---
Resolution: Not A Problem

This issue looks stale. Feel free to re-activate if it's still an issue

> add platform fails
> --
>
> Key: CB-8841
> URL: https://issues.apache.org/jira/browse/CB-8841
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CLI
>Affects Versions: 3.8.0
> Environment: Windows
>Reporter: syed Khader
>
> i am trying to create a cordova project with android on windows. adding 
> android platform doesn't work. tried reinstalling cordova also. Below is the 
> log.
> C:\Users\103013488>npm install -g cordova
> npm WARN engine npm@1.3.4: wanted: {"node":">=0.6","npm":"1"} (current: 
> {"node":"0.12.2","npm":"2.7.4"})
> npm WARN engine cordova-js@3.8.0: wanted: {"node":"~0.10.x"} (current: 
> {"node":"0.12.2","npm":"2.7.4"})
> npm WARN engine xmlbuilder@2.2.1: wanted: {"node":"0.8.x || 0.10.x"} 
> (current: {"node":"0.12.2","npm":"2.7.4"})
> npm WARN installMany normalize-package-data was bundled with npm@1.3.4, but 
> bundled package wasn't found in unpacked tree
> C:\Users\103013488\AppData\Roaming\npm\cordova -> 
> C:\Users\103013488\AppData\Roaming\npm\node_modules\cordova\bin\cordova
> cordova@4.3.0 C:\Users\103013488\AppData\Roaming\npm\node_modules\cordova
> ├── underscore@1.7.0
> ├── q@1.0.1
> ├── nopt@3.0.1 (abbrev@1.0.5)
> └── cordova-lib@4.3.0 (valid-identifier@0.0.1, osenv@0.1.0, 
> properties-parser@0.2.3, bplist-parser@0.0.6, mime@1.2.11, unorm@1.3.3, 
> semver@2.0.11, shelljs@0.3.0, dep-graph@1.1.0, rc@0.5.2, npmconf@0.1.16, 
> through2@0.6.3, xcode@0.6.7, d8@0.4.4, elementtree@0.1.5, 
> init-package-json@1.4.0, glob@4.0.6, request@2.47.0, tar@1.0.2, plist@1.1.0, 
> cordova-js@3.8.0, npm@1.3.4)
> c:\Work\Temp>cordova create GTBAT com.ge.gtbat
> Creating a new cordova project with name "HelloCordova" and id "com.ge.gtbat" 
> at location "c:\Work\Temp\GTBAT"
> c:\Work\Temp>cd GTBAT
> c:\Work\Temp\GTBAT>cordova platform add android
> npm http GET 
> https://registry.npmjs.org/cordova-android/-/cordova-android-3.7.1.tgz
> npm http 200 
> https://registry.npmjs.org/cordova-android/-/cordova-android-3.7.1.tgz
> Unable to fetch platform android: Error: ENOENT, scandir 
> 'C:\Users\103013488\.cordova\lib\npm_cache\cordova-android\3.7.1\package.tgz'



--
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-8461) Help Cordova app detect a plugin's support for a platform

2016-01-08 Thread Nikhil Khandelwal (JIRA)

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

Nikhil Khandelwal updated CB-8461:
--
Component/s: (was: Plugman)
 (was: CLI)
 lib

> Help Cordova app detect a plugin's support for a platform
> -
>
> Key: CB-8461
> URL: https://issues.apache.org/jira/browse/CB-8461
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: lib
>Reporter: Axel Nennker
>
> As per this email exchange implement Andrew Grieve's strawman:
> http://mail-archives.apache.org/mod_mbox/cordova-dev/201502.mbox/%3CCAHcDwFxL%3DoxntHXET4m5RZi62J1J9K6oayg_BL9pgJ-%2BK-BKFw%40mail.gmail.com%3E
> Strawman:
> If plugin.xml has *any* s, then only apply global tags to those
> platforms.
> If plugin.xml has *no* s, then apply global tags to all platforms.



--
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-10234) Globalization Plugin Needs 'arch' flag to build on Windows10 (Universal Windows) Build

2016-01-08 Thread Nikhil Khandelwal (JIRA)

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

Nikhil Khandelwal commented on CB-10234:


I agree we should have better error messages here.

> Globalization Plugin Needs 'arch' flag to build on Windows10 (Universal 
> Windows) Build
> --
>
> Key: CB-10234
> URL: https://issues.apache.org/jira/browse/CB-10234
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Windows
>Affects Versions: 5.4.1
> Environment: Windows 10, Visual Studio 2015 Update 1 SDK 10.0.10240, 
> CLI 5.4.1, cordova-windows@4.2.0, Plugin globalization@1.0.2
>Reporter: Roberto De Simone
>Assignee: Raghav
>Priority: Minor
>  Labels: Windows, triaged, wfc
>
> 1. Create a new Cordova project
> 2. cordova add windows@4.2
> 3. Add to config.xml Windows10 support
> 
> 
> 4. cordova plugin add cordova-plugin-globalization (1.0.2)
> 5. cordova prepare windows
> 6. Open the project in Visual Studio 2015
> 7. Build the Windows10 (Universal Windows)
> Build Error:
> Error Your project.json doesn't list 'win10' as a targeted runtime. 
> You should add '"win10": { }' inside your "runtimes" section in your 
> project.json, and then re-run NuGet restore.
> Trying different plugins (also in combination) like splashscreen, dialogs, 
> statusbar, vibration, inappbrowser, network-information do not cause the 
> error.
> Removing the Globalization Plugin allows building without error.



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

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



[jira] [Updated] (CB-9615) getsettings API removed from Android CordovaWebView which disables renderpriority and WebView tweaks for devices below Android 5

2016-01-08 Thread Nikhil Khandelwal (JIRA)

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

Nikhil Khandelwal updated CB-9615:
--
Component/s: (was: CordovaCommon)
 Android

> getsettings API removed from Android CordovaWebView which disables 
> renderpriority and WebView tweaks for devices below Android 5
> 
>
> Key: CB-9615
> URL: https://issues.apache.org/jira/browse/CB-9615
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Android
>Affects Versions: 4.1.0, 4.3.0, 4.0.1, 4.1.1
> Environment: Windows 8.1 and Android SDK with Eclipse or Android 
> Studio
>Reporter: Chris Murdaugh
>Priority: Critical
>
> getsettings API removed from CordovaWebView ex: 
> appView.getSettings().setRenderPriority in the java MainActivity no longer 
> works in Cordova Android 3.7.2 and above (to test you will need to set 
> hardwareacceleration to false in AndroidManifest and use the above java in 
> the mainactivity) -  an undefined method is thrown in the compiler. This is a 
> deal-breaker as we cannot use Crosswalk because it adds 18mb to APK size (we 
> really need to stay below the 50MB cellular APK size limit for market reach). 
> We need our CSS3 transforms to be above 1-10fps for stability and the above 
> tweak has allowed us to maintain compatibility and performance for Android 
> 4.x and above (this issue affects all supported Android versions since CSS3 
> transforms are slow without Crosswalk). Having the getsettings API removed 
> from Cordova 3.72 and above (and no replacement API exists) means that we 
> cannot upgrade our Cordova until this issue is resolved and will have to go 
> without patch for CVE-2015-1835.



--
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-9615) getsettings API removed from Android CordovaWebView which disables renderpriority and WebView tweaks for devices below Android 5

2016-01-08 Thread Nikhil Khandelwal (JIRA)

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

Nikhil Khandelwal updated CB-9615:
--
Priority: Minor  (was: Critical)

> getsettings API removed from Android CordovaWebView which disables 
> renderpriority and WebView tweaks for devices below Android 5
> 
>
> Key: CB-9615
> URL: https://issues.apache.org/jira/browse/CB-9615
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Android
>Affects Versions: 4.1.0, 4.3.0, 4.0.1, 4.1.1
> Environment: Windows 8.1 and Android SDK with Eclipse or Android 
> Studio
>Reporter: Chris Murdaugh
>Priority: Minor
>
> getsettings API removed from CordovaWebView ex: 
> appView.getSettings().setRenderPriority in the java MainActivity no longer 
> works in Cordova Android 3.7.2 and above (to test you will need to set 
> hardwareacceleration to false in AndroidManifest and use the above java in 
> the mainactivity) -  an undefined method is thrown in the compiler. This is a 
> deal-breaker as we cannot use Crosswalk because it adds 18mb to APK size (we 
> really need to stay below the 50MB cellular APK size limit for market reach). 
> We need our CSS3 transforms to be above 1-10fps for stability and the above 
> tweak has allowed us to maintain compatibility and performance for Android 
> 4.x and above (this issue affects all supported Android versions since CSS3 
> transforms are slow without Crosswalk). Having the getsettings API removed 
> from Cordova 3.72 and above (and no replacement API exists) means that we 
> cannot upgrade our Cordova until this issue is resolved and will have to go 
> without patch for CVE-2015-1835.



--
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-9615) getsettings API removed from Android CordovaWebView which disables renderpriority and WebView tweaks for devices below Android 5

2016-01-08 Thread Nikhil Khandelwal (JIRA)

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

Nikhil Khandelwal commented on CB-9615:
---

Can you provide why you need this API? It's unlikely we will resurrect this API.

> getsettings API removed from Android CordovaWebView which disables 
> renderpriority and WebView tweaks for devices below Android 5
> 
>
> Key: CB-9615
> URL: https://issues.apache.org/jira/browse/CB-9615
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Android
>Affects Versions: 4.1.0, 4.3.0, 4.0.1, 4.1.1
> Environment: Windows 8.1 and Android SDK with Eclipse or Android 
> Studio
>Reporter: Chris Murdaugh
>Priority: Minor
>
> getsettings API removed from CordovaWebView ex: 
> appView.getSettings().setRenderPriority in the java MainActivity no longer 
> works in Cordova Android 3.7.2 and above (to test you will need to set 
> hardwareacceleration to false in AndroidManifest and use the above java in 
> the mainactivity) -  an undefined method is thrown in the compiler. This is a 
> deal-breaker as we cannot use Crosswalk because it adds 18mb to APK size (we 
> really need to stay below the 50MB cellular APK size limit for market reach). 
> We need our CSS3 transforms to be above 1-10fps for stability and the above 
> tweak has allowed us to maintain compatibility and performance for Android 
> 4.x and above (this issue affects all supported Android versions since CSS3 
> transforms are slow without Crosswalk). Having the getsettings API removed 
> from Cordova 3.72 and above (and no replacement API exists) means that we 
> cannot upgrade our Cordova until this issue is resolved and will have to go 
> without patch for CVE-2015-1835.



--
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-9007) main run loop for cordova-cli can hit error handler with empty error, which isn't logged

2016-01-08 Thread Nikhil Khandelwal (JIRA)

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

Nikhil Khandelwal commented on CB-9007:
---

Please try the latest cordova-ios 4.0.1 as this issue has likely been fixed as 
this code has been re-written.

> main run loop for cordova-cli can hit error handler with empty error, which 
> isn't logged
> 
>
> Key: CB-9007
> URL: https://issues.apache.org/jira/browse/CB-9007
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CordovaLib
>Affects Versions: 5.0.0
> Environment: OS X 10.10, cordova-ios added to project, ios-deploy 
> version 1.3.2
>Reporter: Jenny Gee
>Priority: Minor
> Attachments: ios-deploy
>
>
> iPhone 5 running iOS 8.3 connected via lightning cable to MBP
> {quote}
> $ /Users/jgee/REPOS/SCW/web-app/platforms/ios/cordova/run --device
> {quote}
> actual results:
> no output.
> with debugging, we see:
> {{get_ios_deploy_version}}'s ({{versions.js}}) child process error callback 
> is called with:
> {code}
> error = { [Error: Command failed: ] killed: false, code: 253, signal: null }
> stderr = ""
> stdout = "1.3.2"
> {code}
> The root cause for this is:
> {quote}
> $ ios-deploy --version ; echo $?
> 1.3.2
> 253
> {quote}
> expected results:
> 1. when the main run path in cordova-cli runs:
> {code}
> if (['--help', '/?', '-h', 'help', '-help', '/help'].indexOf(args[2]) > -1) {
> run.help();
> } else {
> run.run(args).done(function() {
> console.log('** RUN SUCCEEDED **');
> }, function (err) {
> var errorMessage = (err && err.stack) ? err.stack : err;
> console.error(errorMessage);
> process.exit(2);
> });
> }
> {code}
> the err handler case needs to complain loudly and clearly if it manages to be 
> called with an empty error, as here.
> 2. {{versions.js}} {{get_ios_deploy_version}} exec handler should perhaps 
> handle the case where it gets stdout of a nice version number but for 
> whatever reason the app exits with code {{253}} instead of {{0}}.
> 3. {{ios-deploy}} should really not return exit code {{253}} when it's able 
> to spit out a version number.



--
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-9007) main run loop for cordova-cli can hit error handler with empty error, which isn't logged

2016-01-08 Thread Nikhil Khandelwal (JIRA)

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

Nikhil Khandelwal updated CB-9007:
--
Priority: Minor  (was: Critical)

> main run loop for cordova-cli can hit error handler with empty error, which 
> isn't logged
> 
>
> Key: CB-9007
> URL: https://issues.apache.org/jira/browse/CB-9007
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CordovaLib
>Affects Versions: 5.0.0
> Environment: OS X 10.10, cordova-ios added to project, ios-deploy 
> version 1.3.2
>Reporter: Jenny Gee
>Priority: Minor
> Attachments: ios-deploy
>
>
> iPhone 5 running iOS 8.3 connected via lightning cable to MBP
> {quote}
> $ /Users/jgee/REPOS/SCW/web-app/platforms/ios/cordova/run --device
> {quote}
> actual results:
> no output.
> with debugging, we see:
> {{get_ios_deploy_version}}'s ({{versions.js}}) child process error callback 
> is called with:
> {code}
> error = { [Error: Command failed: ] killed: false, code: 253, signal: null }
> stderr = ""
> stdout = "1.3.2"
> {code}
> The root cause for this is:
> {quote}
> $ ios-deploy --version ; echo $?
> 1.3.2
> 253
> {quote}
> expected results:
> 1. when the main run path in cordova-cli runs:
> {code}
> if (['--help', '/?', '-h', 'help', '-help', '/help'].indexOf(args[2]) > -1) {
> run.help();
> } else {
> run.run(args).done(function() {
> console.log('** RUN SUCCEEDED **');
> }, function (err) {
> var errorMessage = (err && err.stack) ? err.stack : err;
> console.error(errorMessage);
> process.exit(2);
> });
> }
> {code}
> the err handler case needs to complain loudly and clearly if it manages to be 
> called with an empty error, as here.
> 2. {{versions.js}} {{get_ios_deploy_version}} exec handler should perhaps 
> handle the case where it gets stdout of a nice version number but for 
> whatever reason the app exits with code {{253}} instead of {{0}}.
> 3. {{ios-deploy}} should really not return exit code {{253}} when it's able 
> to spit out a version number.



--
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-9132) Bad copy using tag.

2016-01-08 Thread Nikhil Khandelwal (JIRA)

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

Nikhil Khandelwal commented on CB-9132:
---

Is this still an issue?

> Bad copy using  tag.
> ---
>
> Key: CB-9132
> URL: https://issues.apache.org/jira/browse/CB-9132
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CordovaLib
>Affects Versions: 5.0.0
> Environment: Windows 7, git-scm.
>Reporter: Michael Romanovsky
>  Labels: triaged, wfc
>
> (I have been reading that Intel has a bug report ready, but I can't wait and 
> I don't know if they forgot about it or possibly died.)
> My plugin uses the Google downloader_library and play_licensing_library. The 
> project.properties file links to the downloader_library, which itself links 
> to the play_licensing library. So here's the deal -- Cordova 5 blew up my 
> plugin in some way: 
> https://github.com/agamemnus/cordova-plugin-xapkreader/issues/22
> The purported fix suggested by Intel was to use Gradle -- add a 
> build-extras.gradle file to one spot, and add two framework tags (for the two 
> libraries I am using) to plugin.xml:
>src="android-sdk/extras/google/play_apk_expansion/downloader_library" 
> custom="false"/>
>custom="false" />
> ... then in play_apk_expansion/downloader_library, I have a file like this:
> dependencies {
>  debugCompile project(path: '..:..:play_licensing:library',configuration: 
> "debug")
>  releaseCompile project(path: '..:..:play_licensing:library',configuration: 
> "release")
> }
> Okay, cool, but there are two problems, one of which is DEFINITELY a Cordova 
> bug:
> 1) Using custom="false" gives me lots of problems. I get errors that say that 
> the project isn't a gradle library and none of the linking works. How do I 
> fix this? I don't want to use custom="true".
> 2) Using custom="true" doesn't give me those problems, but the files are 
> incorrectly copied to my /platforms/android directory.
> They are copied to:
> /platforms/android/com.flyingsoftgames.xapkreader/free-downloader_library
> /platforms/android/com.flyingsoftgames.xapkreader/free-library
> There seem to be two bugs here:
> A) Only the last directory is added. ("downloader_library" and "library").
> B) The last part of my PROJECTNAME is prefixed. This is NON-IDEAL (to put it 
> lightly) for a plugin!!! (my project name has spaces, so the code decided to 
> use the last word following a space... otherwise it uses the whole project 
> name).
> Finally, I'm unable to do relative pathing. I had to do this in 
> build-extras.gradle:
> ':com.flyingsoftgames.xapkreader:play_licensing:library'
> ...instead of this:
> '..:..:play_licensing:library'



--
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-9132) Bad copy using tag.

2016-01-08 Thread Nikhil Khandelwal (JIRA)

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

Nikhil Khandelwal updated CB-9132:
--
Labels: triaged wfc  (was: )

> Bad copy using  tag.
> ---
>
> Key: CB-9132
> URL: https://issues.apache.org/jira/browse/CB-9132
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CordovaLib
>Affects Versions: 5.0.0
> Environment: Windows 7, git-scm.
>Reporter: Michael Romanovsky
>  Labels: triaged, wfc
>
> (I have been reading that Intel has a bug report ready, but I can't wait and 
> I don't know if they forgot about it or possibly died.)
> My plugin uses the Google downloader_library and play_licensing_library. The 
> project.properties file links to the downloader_library, which itself links 
> to the play_licensing library. So here's the deal -- Cordova 5 blew up my 
> plugin in some way: 
> https://github.com/agamemnus/cordova-plugin-xapkreader/issues/22
> The purported fix suggested by Intel was to use Gradle -- add a 
> build-extras.gradle file to one spot, and add two framework tags (for the two 
> libraries I am using) to plugin.xml:
>src="android-sdk/extras/google/play_apk_expansion/downloader_library" 
> custom="false"/>
>custom="false" />
> ... then in play_apk_expansion/downloader_library, I have a file like this:
> dependencies {
>  debugCompile project(path: '..:..:play_licensing:library',configuration: 
> "debug")
>  releaseCompile project(path: '..:..:play_licensing:library',configuration: 
> "release")
> }
> Okay, cool, but there are two problems, one of which is DEFINITELY a Cordova 
> bug:
> 1) Using custom="false" gives me lots of problems. I get errors that say that 
> the project isn't a gradle library and none of the linking works. How do I 
> fix this? I don't want to use custom="true".
> 2) Using custom="true" doesn't give me those problems, but the files are 
> incorrectly copied to my /platforms/android directory.
> They are copied to:
> /platforms/android/com.flyingsoftgames.xapkreader/free-downloader_library
> /platforms/android/com.flyingsoftgames.xapkreader/free-library
> There seem to be two bugs here:
> A) Only the last directory is added. ("downloader_library" and "library").
> B) The last part of my PROJECTNAME is prefixed. This is NON-IDEAL (to put it 
> lightly) for a plugin!!! (my project name has spaces, so the code decided to 
> use the last word following a space... otherwise it uses the whole project 
> name).
> Finally, I'm unable to do relative pathing. I had to do this in 
> build-extras.gradle:
> ':com.flyingsoftgames.xapkreader:play_licensing:library'
> ...instead of this:
> '..:..:play_licensing:library'



--
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-9007) main run loop for cordova-cli can hit error handler with empty error, which isn't logged

2016-01-08 Thread Nikhil Khandelwal (JIRA)

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

Nikhil Khandelwal resolved CB-9007.
---
Resolution: Not A Problem

> main run loop for cordova-cli can hit error handler with empty error, which 
> isn't logged
> 
>
> Key: CB-9007
> URL: https://issues.apache.org/jira/browse/CB-9007
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CordovaLib
>Affects Versions: 5.0.0
> Environment: OS X 10.10, cordova-ios added to project, ios-deploy 
> version 1.3.2
>Reporter: Jenny Gee
>Priority: Minor
> Attachments: ios-deploy
>
>
> iPhone 5 running iOS 8.3 connected via lightning cable to MBP
> {quote}
> $ /Users/jgee/REPOS/SCW/web-app/platforms/ios/cordova/run --device
> {quote}
> actual results:
> no output.
> with debugging, we see:
> {{get_ios_deploy_version}}'s ({{versions.js}}) child process error callback 
> is called with:
> {code}
> error = { [Error: Command failed: ] killed: false, code: 253, signal: null }
> stderr = ""
> stdout = "1.3.2"
> {code}
> The root cause for this is:
> {quote}
> $ ios-deploy --version ; echo $?
> 1.3.2
> 253
> {quote}
> expected results:
> 1. when the main run path in cordova-cli runs:
> {code}
> if (['--help', '/?', '-h', 'help', '-help', '/help'].indexOf(args[2]) > -1) {
> run.help();
> } else {
> run.run(args).done(function() {
> console.log('** RUN SUCCEEDED **');
> }, function (err) {
> var errorMessage = (err && err.stack) ? err.stack : err;
> console.error(errorMessage);
> process.exit(2);
> });
> }
> {code}
> the err handler case needs to complain loudly and clearly if it manages to be 
> called with an empty error, as here.
> 2. {{versions.js}} {{get_ios_deploy_version}} exec handler should perhaps 
> handle the case where it gets stdout of a nice version number but for 
> whatever reason the app exits with code {{253}} instead of {{0}}.
> 3. {{ios-deploy}} should really not return exit code {{253}} when it's able 
> to spit out a version number.



--
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-2301) EXC_BAD_ACCESS on resume/wake on iOS device

2016-01-08 Thread Nikhil Khandelwal (JIRA)

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

Nikhil Khandelwal resolved CB-2301.
---
Resolution: Won't Fix

Old issue resolving as won't fix.

> EXC_BAD_ACCESS on resume/wake on iOS device
> ---
>
> Key: CB-2301
> URL: https://issues.apache.org/jira/browse/CB-2301
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS
>Affects Versions: 2.2.0
> Environment: iPhone 5 running iOS 6.0.2 and Phonegap 2.2.0. (Xcode 
> 4.5.2 on Mountain Lion)
>Reporter: Ross Holdway
>Priority: Critical
>  Labels: cordova, ios, phonegap
> Fix For: 2.5.0
>
> Attachments: Sample.zip, Screenshot.png
>
>
> I have implemented a websocket connection (using socket.io) within my app 
> which it uses to communicate with the server. On locking and waking the 
> device, it disconnects and reconnects correctly, but on leaving the device 
> locked for 1 minute or longer when unlocking, the application will crash 
> sometimes instantly, or sometimes after reconnecting with the server.
> If I do the same, but run my app within mobile Safari, it does not crash, 
> leading me to believe this is an issue with Phonegap/Cordova. 
> On app crash, within Xcode I get within WebThread - 
> WebCore::ThreadTImers::sharedTimerFiredInternal() an EXC_BAD_ACCESS (code=1) 
> error
> Screenshot of crash state in Xcode 
> -http://pictat.com/i/2013/1/28/24904screenshot.jpg
> Hopefully someone will have an idea as to what could be causing this, or 
> recommend some tests for me to run etc because I'm really clueless on how to 
> proceed with fixing this!
> Many Thanks,
> Ross



--
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-8344) Cannot run plugin cordova command with Node.js@0.11.15

2016-01-08 Thread Nikhil Khandelwal (JIRA)

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

Nikhil Khandelwal resolved CB-8344.
---
Resolution: Not A Problem

> Cannot run plugin cordova command with Node.js@0.11.15
> --
>
> Key: CB-8344
> URL: https://issues.apache.org/jira/browse/CB-8344
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CordovaLib
> Environment: OS: Ubuntu Linux 14.04 LTS/x64
> Node.js: 0.11.15
> npm: 2.1.6
>Reporter: Tomo Masakura
>Priority: Critical
>
> Cannot run plugin search cordova comand with Node.js 0.11.15.
> {quote}
> $ node --version
> v0.11.15
> $ cordova --version
> 4.2.0
> $ cordova create project1
> $ cd project1
> $ cordova platform add android
> $ cordova build
> $  ls platforms/android/ant-build/*.apk
> platforms/android/ant-build/CordovaApp-debug-unaligned.apk
> platforms/android/ant-build/CordovaApp-debug.apk
> {quote}
> Up to this point was operating normally.
> {quote}
> $ cordova plugin search camera
> Error: not_found missing: -/-/all
> at RegClient. 
> (/home/masakura/.nvm/v0.11.15/lib/node_modules/cordova/node_modules/cordova-lib/node_modules/npm/node_modules/npm-registry-client/lib/request.js:308:14)
> at Request._callback 
> (/home/masakura/.nvm/v0.11.15/lib/node_modules/cordova/node_modules/cordova-lib/node_modules/npm/node_modules/npm-registry-client/lib/request.js:246:65)
> at Request.self.callback 
> (/home/masakura/.nvm/v0.11.15/lib/node_modules/cordova/node_modules/cordova-lib/node_modules/npm/node_modules/request/request.js:236:22)
> at Request.emit (events.js:110:17)
> at Request. 
> (/home/masakura/.nvm/v0.11.15/lib/node_modules/cordova/node_modules/cordova-lib/node_modules/npm/node_modules/request/request.js:1142:14)
> at Request.emit (events.js:129:20)
> at IncomingMessage. 
> (/home/masakura/.nvm/v0.11.15/lib/node_modules/cordova/node_modules/cordova-lib/node_modules/npm/node_modules/request/request.js:1096:12)
> at IncomingMessage.emit (events.js:129:20)
> at _stream_readable.js:908:16
> at process._tickCallback (node.js:355:11)
> {quote}
> Because that cordova-lib is using npm@1.4.28.
> Try, if I rewrite the package.json of cordova-lib to use the npm@2, was 
> resolved.



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

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



[jira] [Updated] (CB-10309) App crash when using camera plugin to access gallery on Android Moto E

2016-01-08 Thread Nikhil Khandelwal (JIRA)

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

Nikhil Khandelwal updated CB-10309:
---
Priority: Major  (was: Critical)

> App crash when using camera plugin to access gallery on Android Moto E
> --
>
> Key: CB-10309
> URL: https://issues.apache.org/jira/browse/CB-10309
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Camera
>Affects Versions: 5.1.1
> Environment: Using Cordova 5.1.1, cordova-plugin-camera 2.0.0 and 
> CrossWalk
>Reporter: Mikle
>Assignee: Richard B Knoll
>
> Currently i am using cordova-plugin-camera 2.0.0 and trying to add some 
> photos from gallery. On almost all android and iOS devices it works great but 
> on Motorola Moto E it crashes app. I am also using crosswalk for higher 
> performance. I searched for this problem using logs i have found this branch 
> of plugin 
> https://github.com/apache/cordova-plugin-camera/compare/CB-8438cordova-plugin-camera.
>  It seems that this fixes are already merged to plugin but it still crashes 
> my app on that specific device. 
> Here are logs 
> ERROR:AndroidRuntime : FATAL EXCEPTION: pool-4-thread-2
> undefined ERROR:  AndroidRuntime : Process: 
> com.ionicframework.withionic734372, PID: 22807
> undefined ERROR:  AndroidRuntime : java.lang.NullPointerException: 
> Attempt to invoke virtual method 'void 
> org.apache.cordova.CallbackContext.error(java.lang.String)' on a null object 
> reference
> undefined ERROR:  AndroidRuntime : at 
> org.apache.cordova.camera.CameraLauncher.failPicture(CameraLauncher.java:1165)
> undefined ERROR:  AndroidRuntime : at 
> org.apache.cordova.camera.CameraLauncher.processPicture(CameraLauncher.java:1154)
> undefined ERROR:  AndroidRuntime : at 
> org.apache.cordova.camera.CameraLauncher.processResultFromGallery(CameraLauncher.java:681)
> undefined ERROR:  AndroidRuntime : at 
> org.apache.cordova.camera.CameraLauncher.access$000(CameraLauncher.java:66)
> undefined ERROR:  AndroidRuntime : at 
> org.apache.cordova.camera.CameraLauncher$1.run(CameraLauncher.java:787)
> undefined ERROR:  AndroidRuntime : at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
> undefined ERROR:  AndroidRuntime : at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
> undefined ERROR:  AndroidRuntime : at 
> java.lang.Thread.run(Thread.java:818)
> undefined WARN:   ActivityManager : Force finishing activity 1 
> com.ionicframework.withionic734372/.MainActivity
> undefined INFO:   OpenGLRenderer : Initialized EGL, version 1.4
> Here is my code 
> navigator.camera.getPicture(cameraSuccess, cameraError, {
> quality: 50,
> encodingType: 0,
> targetWidth: 800,
> targetHeight: 600,
> destinationType: Camera.DestinationType.DATA_URL,
> sourceType: Camera.PictureSourceType.SAVEDPHOTOALBUM
> });



--
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-9472) Camera Plugin crashes on iOS if CameraUsesGeolocation is set to true.

2016-01-08 Thread Nikhil Khandelwal (JIRA)

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

Nikhil Khandelwal updated CB-9472:
--
Priority: Major  (was: Critical)

> Camera Plugin crashes on iOS if CameraUsesGeolocation is set to true.
> -
>
> Key: CB-9472
> URL: https://issues.apache.org/jira/browse/CB-9472
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Camera
>Reporter: Cesidio DiBenedetto
>  Labels: Triaged, ios
>
> cordova - 5.1.1
> camera-plugin - 1.2.0
> cordova-ios - 3.8.0
> if you add:
> 
> to the config.xml, the app crashes after taking a picture.



--
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-8281) Phonegap Upgrade version problem

2016-01-08 Thread Nikhil Khandelwal (JIRA)

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

Nikhil Khandelwal resolved CB-8281.
---
Resolution: Not A Problem

> Phonegap Upgrade version problem
> 
>
> Key: CB-8281
> URL: https://issues.apache.org/jira/browse/CB-8281
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CLI
>Affects Versions: 3.5.0, 4.1.3
> Environment: MacBook Pro, Maverik 10.9.5
>Reporter: meth
>Priority: Critical
>
> hi guys. I write here because i have a big problem with phonegap. I have 
> upgrade phonegap on my MacBook (Maverik 10.9.5) from 3.5 to 4.1.2-0.22.10, 
> but when i create a new project the version is always 3.5.
> $ phonegap --version
> 4.1.2-0.22.10
> $ cordova --version
> 4.1.2
> $ node --version
> v0.10.35
> Some one can help me please to solve this problem? Tnx



--
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-8281) Phonegap Upgrade version problem

2016-01-08 Thread Nikhil Khandelwal (JIRA)

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

Nikhil Khandelwal commented on CB-8281:
---

This problem is related to phonegap not Cordova

> Phonegap Upgrade version problem
> 
>
> Key: CB-8281
> URL: https://issues.apache.org/jira/browse/CB-8281
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CLI
>Affects Versions: 3.5.0, 4.1.3
> Environment: MacBook Pro, Maverik 10.9.5
>Reporter: meth
>Priority: Critical
>
> hi guys. I write here because i have a big problem with phonegap. I have 
> upgrade phonegap on my MacBook (Maverik 10.9.5) from 3.5 to 4.1.2-0.22.10, 
> but when i create a new project the version is always 3.5.
> $ phonegap --version
> 4.1.2-0.22.10
> $ cordova --version
> 4.1.2
> $ node --version
> v0.10.35
> Some one can help me please to solve this problem? Tnx



--
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-10069) Using either file:/// or cdvfile:// as the causes errors

2016-01-08 Thread Nikhil Khandelwal (JIRA)

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

Nikhil Khandelwal updated CB-10069:
---
Priority: Minor  (was: Blocker)

> Using either file:/// or cdvfile:// as the  causes errors
> -
>
> Key: CB-10069
> URL: https://issues.apache.org/jira/browse/CB-10069
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin File
>Affects Versions: 5.4.0
> Environment: Windows, Cordova Whitelist, Cordova File, Cordova File 
> Transfer
>Reporter: Katie Egervari
>Priority: Minor
>  Labels: Windows10, triaged, wfc
>
> Trying to load an image from the local filesystem using fileEntry.toURL() 
> does not work (I have tried toInternalURL() and toNativeURL() as well). In 
> Chrome, it says:
>  Not allowed to load local resource: 
> file:///persistent/spotlight5/image_8a8a8a4c45698eba01456b127db5015b
> When trying to use the cdvfile:// address instead results in this error:
>  
> cdvfile://localhost/persistent/spotlight5/image_8a8a8a4c45698eba01456b127db5015b:1
>  GET 
> cdvfile://localhost/persistent/spotlight5/image_8a8a8a4c45698eba01456b127db5015b
>  net::ERR_UNKNOWN_URL_SCHEME
> I have tried countless configurations of whitelist and/or the content 
> security policy. My current configurations (but this is NOT limited to what I 
> have actually tried) are:
> http://*/*"/>
> 
> 
> http://*/*; />
> https://*/*; />
> 
> 
> http://*/*; />
> https://*/*; />
> 
> 
> And
>content="default-src * 'unsafe-inline' 'unsafe-eval'">
> I really need help with this one, as this is blocking me finishing my 
> project. This application has to run standalone, and we have to download 
> images dynamically, put them on the local file system of the device, and then 
> show them in image tags when disconnected from the network.
> Thank you.
> Katie



--
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-10276) cordova-ios@4 is unstable

2016-01-08 Thread Nikhil Khandelwal (JIRA)

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

Nikhil Khandelwal updated CB-10276:
---
Priority: Major  (was: Blocker)

> cordova-ios@4 is unstable
> -
>
> Key: CB-10276
> URL: https://issues.apache.org/jira/browse/CB-10276
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS
> Environment: cordova@5.4.1 cordova-ios@4.0.1
>Reporter: Kirill Anoshin
>Assignee: Omar Mefire
>  Labels: cordova-ios-4.1.0
>
> Here is a demo project to reproduce unstable behavior - 
> https://github.com/kanoshin/cordova-bug-reproduction. You can try to run this 
> app ~20 times and I'm sure that you will be able to reproduce huge memory 
> leak and 100% cpu usage (both on real device and emulator). This app shows 
> current state on the screen - "Done!" means that everything is fine, any 
> other state is most likely a marker of 100% cpu usage.
> This app is using 3rd party plugin that works stable on previous versions of 
> cordova-ios. After some research I noticed that unstable behavior disappears 
> if I wrap all plugin calls in:
> {code}
> [self.commandDelegate runInBackground:^{
> ...
> }];
> {code}
> block. Otherwise WebThread sometimes goes crazy and device becomes 
> unresponsive. I believe that this is a bug because previously it was ok to 
> run plugin calls that takes small amount of time in the main thread. Also it 
> seems that a lot of existing plugins don't care about running in background 
> thread and it makes update to cordova-ios@4 impossible.



--
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-6683) WP8 Contact Proxy loaded on BB10

2016-01-08 Thread Nikhil Khandelwal (JIRA)

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

Nikhil Khandelwal resolved CB-6683.
---
Resolution: Not A Problem

Please re-open if this is still a problem.

> WP8 Contact Proxy loaded on BB10
> 
>
> Key: CB-6683
> URL: https://issues.apache.org/jira/browse/CB-6683
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Contacts
>Reporter: Bryan Higgins
>Priority: Blocker
>  Labels: BlackBerry10
>
> Contacts tests are failing on BB10 due to WP8 proxy being loaded



--
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-8766) Camera Plug-in Crashes on iOS 8 when opened in Landscape

2016-01-08 Thread Nikhil Khandelwal (JIRA)

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

Nikhil Khandelwal updated CB-8766:
--
Labels: ios triaged wfc  (was: ios triaged)

> Camera Plug-in Crashes on iOS 8 when opened in Landscape
> 
>
> Key: CB-8766
> URL: https://issues.apache.org/jira/browse/CB-8766
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Camera
>Affects Versions: 3.5.0
> Environment: iOS 8 on iPhone 6.  Can't reproduce on iPad with iOS 8.  
> Have not tried on other iPhones or iPods with iOS 8.
>Reporter: Tim Neil
>  Labels: ios, triaged, wfc
>
> On iPhone 6 when using the latest iOS 8 if you have the device in landscape 
> and then invoke the camera API it will crash the app.
> If you have the device in portrait and invoke the camera API it opens fine.  
> It is also fine if you invoke the camera this way and then switch to landscape
> Only seems to happen when you start in landscape.  



--
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-10309) App crash when using camera plugin to access gallery on Android Moto E

2016-01-08 Thread Nikhil Khandelwal (JIRA)

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

Nikhil Khandelwal commented on CB-10309:


I believe this has been fixed and you need both the latest 
cordova-plugin-camera & cordova-android master branch from GitHub for this to 
be resolved. [~riknoll] to confirm

> App crash when using camera plugin to access gallery on Android Moto E
> --
>
> Key: CB-10309
> URL: https://issues.apache.org/jira/browse/CB-10309
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Camera
>Affects Versions: 5.1.1
> Environment: Using Cordova 5.1.1, cordova-plugin-camera 2.0.0 and 
> CrossWalk
>Reporter: Mikle
>Priority: Critical
>
> Currently i am using cordova-plugin-camera 2.0.0 and trying to add some 
> photos from gallery. On almost all android and iOS devices it works great but 
> on Motorola Moto E it crashes app. I am also using crosswalk for higher 
> performance. I searched for this problem using logs i have found this branch 
> of plugin 
> https://github.com/apache/cordova-plugin-camera/compare/CB-8438cordova-plugin-camera.
>  It seems that this fixes are already merged to plugin but it still crashes 
> my app on that specific device. 
> Here are logs 
> ERROR:AndroidRuntime : FATAL EXCEPTION: pool-4-thread-2
> undefined ERROR:  AndroidRuntime : Process: 
> com.ionicframework.withionic734372, PID: 22807
> undefined ERROR:  AndroidRuntime : java.lang.NullPointerException: 
> Attempt to invoke virtual method 'void 
> org.apache.cordova.CallbackContext.error(java.lang.String)' on a null object 
> reference
> undefined ERROR:  AndroidRuntime : at 
> org.apache.cordova.camera.CameraLauncher.failPicture(CameraLauncher.java:1165)
> undefined ERROR:  AndroidRuntime : at 
> org.apache.cordova.camera.CameraLauncher.processPicture(CameraLauncher.java:1154)
> undefined ERROR:  AndroidRuntime : at 
> org.apache.cordova.camera.CameraLauncher.processResultFromGallery(CameraLauncher.java:681)
> undefined ERROR:  AndroidRuntime : at 
> org.apache.cordova.camera.CameraLauncher.access$000(CameraLauncher.java:66)
> undefined ERROR:  AndroidRuntime : at 
> org.apache.cordova.camera.CameraLauncher$1.run(CameraLauncher.java:787)
> undefined ERROR:  AndroidRuntime : at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
> undefined ERROR:  AndroidRuntime : at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
> undefined ERROR:  AndroidRuntime : at 
> java.lang.Thread.run(Thread.java:818)
> undefined WARN:   ActivityManager : Force finishing activity 1 
> com.ionicframework.withionic734372/.MainActivity
> undefined INFO:   OpenGLRenderer : Initialized EGL, version 1.4
> Here is my code 
> navigator.camera.getPicture(cameraSuccess, cameraError, {
> quality: 50,
> encodingType: 0,
> targetWidth: 800,
> targetHeight: 600,
> destinationType: Camera.DestinationType.DATA_URL,
> sourceType: Camera.PictureSourceType.SAVEDPHOTOALBUM
> });



--
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-10309) App crash when using camera plugin to access gallery on Android Moto E

2016-01-08 Thread Nikhil Khandelwal (JIRA)

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

Nikhil Khandelwal updated CB-10309:
---
Assignee: Richard B Knoll

> App crash when using camera plugin to access gallery on Android Moto E
> --
>
> Key: CB-10309
> URL: https://issues.apache.org/jira/browse/CB-10309
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Camera
>Affects Versions: 5.1.1
> Environment: Using Cordova 5.1.1, cordova-plugin-camera 2.0.0 and 
> CrossWalk
>Reporter: Mikle
>Assignee: Richard B Knoll
>Priority: Critical
>
> Currently i am using cordova-plugin-camera 2.0.0 and trying to add some 
> photos from gallery. On almost all android and iOS devices it works great but 
> on Motorola Moto E it crashes app. I am also using crosswalk for higher 
> performance. I searched for this problem using logs i have found this branch 
> of plugin 
> https://github.com/apache/cordova-plugin-camera/compare/CB-8438cordova-plugin-camera.
>  It seems that this fixes are already merged to plugin but it still crashes 
> my app on that specific device. 
> Here are logs 
> ERROR:AndroidRuntime : FATAL EXCEPTION: pool-4-thread-2
> undefined ERROR:  AndroidRuntime : Process: 
> com.ionicframework.withionic734372, PID: 22807
> undefined ERROR:  AndroidRuntime : java.lang.NullPointerException: 
> Attempt to invoke virtual method 'void 
> org.apache.cordova.CallbackContext.error(java.lang.String)' on a null object 
> reference
> undefined ERROR:  AndroidRuntime : at 
> org.apache.cordova.camera.CameraLauncher.failPicture(CameraLauncher.java:1165)
> undefined ERROR:  AndroidRuntime : at 
> org.apache.cordova.camera.CameraLauncher.processPicture(CameraLauncher.java:1154)
> undefined ERROR:  AndroidRuntime : at 
> org.apache.cordova.camera.CameraLauncher.processResultFromGallery(CameraLauncher.java:681)
> undefined ERROR:  AndroidRuntime : at 
> org.apache.cordova.camera.CameraLauncher.access$000(CameraLauncher.java:66)
> undefined ERROR:  AndroidRuntime : at 
> org.apache.cordova.camera.CameraLauncher$1.run(CameraLauncher.java:787)
> undefined ERROR:  AndroidRuntime : at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
> undefined ERROR:  AndroidRuntime : at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
> undefined ERROR:  AndroidRuntime : at 
> java.lang.Thread.run(Thread.java:818)
> undefined WARN:   ActivityManager : Force finishing activity 1 
> com.ionicframework.withionic734372/.MainActivity
> undefined INFO:   OpenGLRenderer : Initialized EGL, version 1.4
> Here is my code 
> navigator.camera.getPicture(cameraSuccess, cameraError, {
> quality: 50,
> encodingType: 0,
> targetWidth: 800,
> targetHeight: 600,
> destinationType: Camera.DestinationType.DATA_URL,
> sourceType: Camera.PictureSourceType.SAVEDPHOTOALBUM
> });



--
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-10269) [iOS 8] cordova-plugin-wkwebview-engine breaks Cordova iOS 4.0.0 under iOS 8

2016-01-08 Thread Nikhil Khandelwal (JIRA)

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

Nikhil Khandelwal commented on CB-10269:


Is there a PR for this issue?

> [iOS 8] cordova-plugin-wkwebview-engine breaks Cordova iOS 4.0.0 under iOS 8
> 
>
> Key: CB-10269
> URL: https://issues.apache.org/jira/browse/CB-10269
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin WKWebViewEngine
>Affects Versions: 4.0.0
> Environment: Cordova tools 5.4.1
> Cordova iOS platform 4.0.1
> iOS Simulator 8.4
> cordova-plugin-wkwebview-engine plugin
>Reporter: Ivan Karpan
>Priority: Critical
>  Labels: cordova-ios-4.1.0, triaged
> Attachments: ios-wkwebview-exec.js
>
>
> When launching on iOS 8.4 simulator the following error breaks JS execution 
> early on:
> ios-wkwebview-exec.js:127 TypeError: undefined is not an object (evaluating 
> 'window.webkit.messageHandlers')
> So inclusion of 'cordova-plugin-wkwebview-engine' plugin breaks support of 
> iOS versions previous to 9.0. I assume ios-wkwebview-exec.js should have 
> environment checks before using WKWebView bridge...
> Exclusion of the same plugin breaks the project at all. Are there any 
> fallback mechanics in place?



--
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-10234) Globalization Plugin Needs 'arch' flag to build on Windows10 (Universal Windows) Build

2016-01-08 Thread Nikhil Khandelwal (JIRA)

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

Nikhil Khandelwal updated CB-10234:
---
Summary: Globalization Plugin Needs 'arch' flag to build on Windows10 
(Universal Windows) Build  (was: Globalization Plugin Breaks Windows10 
(Universal Windows) Build)

> Globalization Plugin Needs 'arch' flag to build on Windows10 (Universal 
> Windows) Build
> --
>
> Key: CB-10234
> URL: https://issues.apache.org/jira/browse/CB-10234
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Windows
>Affects Versions: 5.4.1
> Environment: Windows 10, Visual Studio 2015 Update 1 SDK 10.0.10240, 
> CLI 5.4.1, cordova-windows@4.2.0, Plugin globalization@1.0.2
>Reporter: Roberto De Simone
>Assignee: Raghav
>Priority: Minor
>  Labels: Windows, triaged, wfc
>
> 1. Create a new Cordova project
> 2. cordova add windows@4.2
> 3. Add to config.xml Windows10 support
> 
> 
> 4. cordova plugin add cordova-plugin-globalization (1.0.2)
> 5. cordova prepare windows
> 6. Open the project in Visual Studio 2015
> 7. Build the Windows10 (Universal Windows)
> Build Error:
> Error Your project.json doesn't list 'win10' as a targeted runtime. 
> You should add '"win10": { }' inside your "runtimes" section in your 
> project.json, and then re-run NuGet restore.
> Trying different plugins (also in combination) like splashscreen, dialogs, 
> statusbar, vibration, inappbrowser, network-information do not cause the 
> error.
> Removing the Globalization Plugin allows building without error.



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

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



[jira] [Updated] (CB-10234) Globalization Plugin Breaks Windows10 (Universal Windows) Build

2016-01-08 Thread Nikhil Khandelwal (JIRA)

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

Nikhil Khandelwal updated CB-10234:
---
Priority: Minor  (was: Critical)

> Globalization Plugin Breaks Windows10 (Universal Windows) Build
> ---
>
> Key: CB-10234
> URL: https://issues.apache.org/jira/browse/CB-10234
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Windows
>Affects Versions: 5.4.1
> Environment: Windows 10, Visual Studio 2015 Update 1 SDK 10.0.10240, 
> CLI 5.4.1, cordova-windows@4.2.0, Plugin globalization@1.0.2
>Reporter: Roberto De Simone
>Assignee: Raghav
>Priority: Minor
>  Labels: Windows, triaged, wfc
>
> 1. Create a new Cordova project
> 2. cordova add windows@4.2
> 3. Add to config.xml Windows10 support
> 
> 
> 4. cordova plugin add cordova-plugin-globalization (1.0.2)
> 5. cordova prepare windows
> 6. Open the project in Visual Studio 2015
> 7. Build the Windows10 (Universal Windows)
> Build Error:
> Error Your project.json doesn't list 'win10' as a targeted runtime. 
> You should add '"win10": { }' inside your "runtimes" section in your 
> project.json, and then re-run NuGet restore.
> Trying different plugins (also in combination) like splashscreen, dialogs, 
> statusbar, vibration, inappbrowser, network-information do not cause the 
> error.
> Removing the Globalization Plugin allows building without error.



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

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



[jira] [Updated] (CB-10032) Camera Plugin crashes on Android if png encoding type is set

2016-01-08 Thread Nikhil Khandelwal (JIRA)

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

Nikhil Khandelwal updated CB-10032:
---
Priority: Major  (was: Critical)

> Camera Plugin crashes on Android if png encoding type is set
> 
>
> Key: CB-10032
> URL: https://issues.apache.org/jira/browse/CB-10032
> Project: Apache Cordova
>  Issue Type: Bug
>Reporter: Pedro Henrique Marinho Durek
>
> When I take the second picture with png enconding the app simply crashes, but 
> when i set to jpg enconding it works normally. Someone know what could it be?



--
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-9521) "after_platform_rm" event fires with wrong parameter

2016-01-08 Thread Nikhil Khandelwal (JIRA)

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

Nikhil Khandelwal resolved CB-9521.
---
Resolution: Fixed

> "after_platform_rm" event fires with wrong parameter
> 
>
> Key: CB-9521
> URL: https://issues.apache.org/jira/browse/CB-9521
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CLI
>Affects Versions: 5.2.0
> Environment: windows
>Reporter: junshan liu
>Priority: Critical
>
> I add a listener to listen to "after_platform_rm" event. when the event is 
> fired, the parameter passed into the listener function is not correct.
> The property "cordova.platforms" contains the platform I just removed. For 
> example, I removed "android" platform, but "cordova.platforms" still contains 
> "android".



--
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-9132) Bad copy using tag.

2016-01-08 Thread Nikhil Khandelwal (JIRA)

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

Nikhil Khandelwal updated CB-9132:
--
Priority: Major  (was: Critical)

> Bad copy using  tag.
> ---
>
> Key: CB-9132
> URL: https://issues.apache.org/jira/browse/CB-9132
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CordovaLib
>Affects Versions: 5.0.0
> Environment: Windows 7, git-scm.
>Reporter: Michael Romanovsky
>
> (I have been reading that Intel has a bug report ready, but I can't wait and 
> I don't know if they forgot about it or possibly died.)
> My plugin uses the Google downloader_library and play_licensing_library. The 
> project.properties file links to the downloader_library, which itself links 
> to the play_licensing library. So here's the deal -- Cordova 5 blew up my 
> plugin in some way: 
> https://github.com/agamemnus/cordova-plugin-xapkreader/issues/22
> The purported fix suggested by Intel was to use Gradle -- add a 
> build-extras.gradle file to one spot, and add two framework tags (for the two 
> libraries I am using) to plugin.xml:
>src="android-sdk/extras/google/play_apk_expansion/downloader_library" 
> custom="false"/>
>custom="false" />
> ... then in play_apk_expansion/downloader_library, I have a file like this:
> dependencies {
>  debugCompile project(path: '..:..:play_licensing:library',configuration: 
> "debug")
>  releaseCompile project(path: '..:..:play_licensing:library',configuration: 
> "release")
> }
> Okay, cool, but there are two problems, one of which is DEFINITELY a Cordova 
> bug:
> 1) Using custom="false" gives me lots of problems. I get errors that say that 
> the project isn't a gradle library and none of the linking works. How do I 
> fix this? I don't want to use custom="true".
> 2) Using custom="true" doesn't give me those problems, but the files are 
> incorrectly copied to my /platforms/android directory.
> They are copied to:
> /platforms/android/com.flyingsoftgames.xapkreader/free-downloader_library
> /platforms/android/com.flyingsoftgames.xapkreader/free-library
> There seem to be two bugs here:
> A) Only the last directory is added. ("downloader_library" and "library").
> B) The last part of my PROJECTNAME is prefixed. This is NON-IDEAL (to put it 
> lightly) for a plugin!!! (my project name has spaces, so the code decided to 
> use the last word following a space... otherwise it uses the whole project 
> name).
> Finally, I'm unable to do relative pathing. I had to do this in 
> build-extras.gradle:
> ':com.flyingsoftgames.xapkreader:play_licensing:library'
> ...instead of this:
> '..:..:play_licensing:library'



--
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-8501) cordova run ios always causes lldb to run interactively.

2016-01-08 Thread Nikhil Khandelwal (JIRA)

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

Nikhil Khandelwal resolved CB-8501.
---
   Resolution: Fixed
Fix Version/s: 4.0.1

> cordova run ios always causes lldb to run interactively.
> 
>
> Key: CB-8501
> URL: https://issues.apache.org/jira/browse/CB-8501
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS
>Affects Versions: 4.0.0
> Environment: actually, it's 4.2.0 --> not available in the "affects 
> versions" drop down above.
> mac osx, ios8 device
>Reporter:  Ron Pfeifle
> Fix For: 4.0.1
>
>
> cordova run ios always causes lldb to run interactively.
> (because platforms/ios/cordova/run invokes "ios-deploy" with those flags in a 
> hard-coded way).
> This gets in the way of automated tools that don't want this behaviour (and 
> which isn't the default behaviour for other devices).
> Staying in in the debugger should be optional (ie, the normal case should be 
> invoking "ios-deploy" with the "-L" option).  lldb should be available, but 
> not as the default.



--
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-8501) cordova run ios always causes lldb to run interactively.

2016-01-08 Thread Nikhil Khandelwal (JIRA)

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

Nikhil Khandelwal commented on CB-8501:
---

Please use cordova-ios 4.0.1 to get this issue resolved. Thanks, Shaz!

> cordova run ios always causes lldb to run interactively.
> 
>
> Key: CB-8501
> URL: https://issues.apache.org/jira/browse/CB-8501
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS
>Affects Versions: 4.0.0
> Environment: actually, it's 4.2.0 --> not available in the "affects 
> versions" drop down above.
> mac osx, ios8 device
>Reporter:  Ron Pfeifle
> Fix For: 4.0.1
>
>
> cordova run ios always causes lldb to run interactively.
> (because platforms/ios/cordova/run invokes "ios-deploy" with those flags in a 
> hard-coded way).
> This gets in the way of automated tools that don't want this behaviour (and 
> which isn't the default behaviour for other devices).
> Staying in in the debugger should be optional (ie, the normal case should be 
> invoking "ios-deploy" with the "-L" option).  lldb should be available, but 
> not as the default.



--
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-8947) alert() crashes when passing a JSON object on iOS

2016-01-08 Thread Nikhil Khandelwal (JIRA)

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

Nikhil Khandelwal updated CB-8947:
--
Priority: Minor  (was: Critical)

> alert() crashes when passing a JSON object on iOS
> -
>
> Key: CB-8947
> URL: https://issues.apache.org/jira/browse/CB-8947
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Dialogs
>Affects Versions: 4.0.0
> Environment: Notifications Plugin version 0.3.0
>Reporter: Dennis Patzer
>Priority: Minor
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> In the error handler of a geolocation retrieval I had alert(error); which 
> crashes, because I passed an object into the function call. This shouldn't 
> happen.



--
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-8766) Camera Plug-in Crashes on iOS 8 when opened in Landscape

2016-01-08 Thread Nikhil Khandelwal (JIRA)

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

Nikhil Khandelwal updated CB-8766:
--
Labels: ios triaged  (was: ios)

> Camera Plug-in Crashes on iOS 8 when opened in Landscape
> 
>
> Key: CB-8766
> URL: https://issues.apache.org/jira/browse/CB-8766
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Camera
>Affects Versions: 3.5.0
> Environment: iOS 8 on iPhone 6.  Can't reproduce on iPad with iOS 8.  
> Have not tried on other iPhones or iPods with iOS 8.
>Reporter: Tim Neil
>  Labels: ios, triaged
>
> On iPhone 6 when using the latest iOS 8 if you have the device in landscape 
> and then invoke the camera API it will crash the app.
> If you have the device in portrait and invoke the camera API it opens fine.  
> It is also fine if you invoke the camera this way and then switch to landscape
> Only seems to happen when you start in landscape.  



--
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-8766) Camera Plug-in Crashes on iOS 8 when opened in Landscape

2016-01-08 Thread Nikhil Khandelwal (JIRA)

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

Nikhil Khandelwal updated CB-8766:
--
Priority: Major  (was: Blocker)

> Camera Plug-in Crashes on iOS 8 when opened in Landscape
> 
>
> Key: CB-8766
> URL: https://issues.apache.org/jira/browse/CB-8766
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Camera
>Affects Versions: 3.5.0
> Environment: iOS 8 on iPhone 6.  Can't reproduce on iPad with iOS 8.  
> Have not tried on other iPhones or iPods with iOS 8.
>Reporter: Tim Neil
>  Labels: ios, triaged
>
> On iPhone 6 when using the latest iOS 8 if you have the device in landscape 
> and then invoke the camera API it will crash the app.
> If you have the device in portrait and invoke the camera API it opens fine.  
> It is also fine if you invoke the camera this way and then switch to landscape
> Only seems to happen when you start in landscape.  



--
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-10069) Using either file:/// or cdvfile:// as the causes errors

2016-01-08 Thread Nikhil Khandelwal (JIRA)

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

Nikhil Khandelwal commented on CB-10069:


Can you please respond if this is still an issue? Otherwise, I will resolve 
this bug as having incomplete info.

> Using either file:/// or cdvfile:// as the  causes errors
> -
>
> Key: CB-10069
> URL: https://issues.apache.org/jira/browse/CB-10069
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin File
>Affects Versions: 5.4.0
> Environment: Windows, Cordova Whitelist, Cordova File, Cordova File 
> Transfer
>Reporter: Katie Egervari
>Priority: Minor
>  Labels: Windows10, triaged, wfc
>
> Trying to load an image from the local filesystem using fileEntry.toURL() 
> does not work (I have tried toInternalURL() and toNativeURL() as well). In 
> Chrome, it says:
>  Not allowed to load local resource: 
> file:///persistent/spotlight5/image_8a8a8a4c45698eba01456b127db5015b
> When trying to use the cdvfile:// address instead results in this error:
>  
> cdvfile://localhost/persistent/spotlight5/image_8a8a8a4c45698eba01456b127db5015b:1
>  GET 
> cdvfile://localhost/persistent/spotlight5/image_8a8a8a4c45698eba01456b127db5015b
>  net::ERR_UNKNOWN_URL_SCHEME
> I have tried countless configurations of whitelist and/or the content 
> security policy. My current configurations (but this is NOT limited to what I 
> have actually tried) are:
> http://*/*"/>
> 
> 
> http://*/*; />
> https://*/*; />
> 
> 
> http://*/*; />
> https://*/*; />
> 
> 
> And
>content="default-src * 'unsafe-inline' 'unsafe-eval'">
> I really need help with this one, as this is blocking me finishing my 
> project. This application has to run standalone, and we have to download 
> images dynamically, put them on the local file system of the device, and then 
> show them in image tags when disconnected from the network.
> Thank you.
> Katie



--
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-10069) Using either file:/// or cdvfile:// as the causes errors

2016-01-08 Thread Nikhil Khandelwal (JIRA)

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

Nikhil Khandelwal updated CB-10069:
---
Labels: Windows10 triaged wfc  (was: Windows10)

> Using either file:/// or cdvfile:// as the  causes errors
> -
>
> Key: CB-10069
> URL: https://issues.apache.org/jira/browse/CB-10069
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin File
>Affects Versions: 5.4.0
> Environment: Windows, Cordova Whitelist, Cordova File, Cordova File 
> Transfer
>Reporter: Katie Egervari
>Priority: Minor
>  Labels: Windows10, triaged, wfc
>
> Trying to load an image from the local filesystem using fileEntry.toURL() 
> does not work (I have tried toInternalURL() and toNativeURL() as well). In 
> Chrome, it says:
>  Not allowed to load local resource: 
> file:///persistent/spotlight5/image_8a8a8a4c45698eba01456b127db5015b
> When trying to use the cdvfile:// address instead results in this error:
>  
> cdvfile://localhost/persistent/spotlight5/image_8a8a8a4c45698eba01456b127db5015b:1
>  GET 
> cdvfile://localhost/persistent/spotlight5/image_8a8a8a4c45698eba01456b127db5015b
>  net::ERR_UNKNOWN_URL_SCHEME
> I have tried countless configurations of whitelist and/or the content 
> security policy. My current configurations (but this is NOT limited to what I 
> have actually tried) are:
> http://*/*"/>
> 
> 
> http://*/*; />
> https://*/*; />
> 
> 
> http://*/*; />
> https://*/*; />
> 
> 
> And
>content="default-src * 'unsafe-inline' 'unsafe-eval'">
> I really need help with this one, as this is blocking me finishing my 
> project. This application has to run standalone, and we have to download 
> images dynamically, put them on the local file system of the device, and then 
> show them in image tags when disconnected from the network.
> Thank you.
> Katie



--
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-10066) Windows 8 ZIP - UNZIP plugin

2016-01-08 Thread Nikhil Khandelwal (JIRA)

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

Nikhil Khandelwal commented on CB-10066:


This is not something the Cordova project can help with. Please 
http://plugins.cordova.io to search for an appropriate plugin.

> Windows 8 ZIP - UNZIP plugin
> 
>
> Key: CB-10066
> URL: https://issues.apache.org/jira/browse/CB-10066
> Project: Apache Cordova
>  Issue Type: Task
>  Components: Windows 8
>Reporter: Yen Dutt Jain
>Assignee: Jesse MacFadyen
>
> I am creating an application, where I have to zip and unzip (HTML 5) app. I 
> found plugin and it works nicely on Apple and Android. But plugin is not 
> supported for Windows Platform. Please help.



--
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-10066) Windows 8 ZIP - UNZIP plugin

2016-01-08 Thread Nikhil Khandelwal (JIRA)

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

Nikhil Khandelwal resolved CB-10066.

Resolution: Not A Problem

> Windows 8 ZIP - UNZIP plugin
> 
>
> Key: CB-10066
> URL: https://issues.apache.org/jira/browse/CB-10066
> Project: Apache Cordova
>  Issue Type: Task
>  Components: Windows 8
>Reporter: Yen Dutt Jain
>Assignee: Jesse MacFadyen
>
> I am creating an application, where I have to zip and unzip (HTML 5) app. I 
> found plugin and it works nicely on Apple and Android. But plugin is not 
> supported for Windows Platform. Please help.



--
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-10009) Improve InAppBrowser toolbar look and feel on Windows

2016-01-08 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-10009:
-

Github user nikhilkh commented on the pull request:


https://github.com/apache/cordova-plugin-inappbrowser/pull/129#issuecomment-170176424
  
Looks like a good one to merge!


> Improve InAppBrowser toolbar look and feel on Windows
> -
>
> Key: CB-10009
> URL: https://issues.apache.org/jira/browse/CB-10009
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: Plugin InAppBrowser
>Reporter: Sergey Grebnov
>Assignee: Sergey Grebnov
>  Labels: Triaged, Windows
>
> http://res.cloudinary.com/sgrebnov/image/upload/v1447685273/undefined_ssyb63.png



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

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



[jira] [Resolved] (CB-10192) Native Android Contacts app crashed after creating new contact in Cordova app

2016-01-08 Thread Nikhil Khandelwal (JIRA)

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

Nikhil Khandelwal resolved CB-10192.

Resolution: Fixed

> Native Android Contacts app crashed after creating new contact in Cordova app
> -
>
> Key: CB-10192
> URL: https://issues.apache.org/jira/browse/CB-10192
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Contacts
>Affects Versions: 1.1.0
> Environment: Google Nexus 6 Marshmallow
> Cordova : 5.4.0
> Contacts Plugin: 1.1.0
>Reporter: Sumama Waheed
>Assignee: Vladimir Kotikov
>  Labels: Android, contact.save, triaged
>
> I successfully create a new contact with minimal fields like First Name and 
> Given Name. 
> The contact is created successfully and you can see it in the native Android 
> contacts app if you scroll to the correct place.
> However, if you search for the new contact by name, it crashes the Contacts 
> app every time until you delete that contact !!.
> Cordova : 5.4.0
> Contacts Plugin: 1.1.0
> This is how I am creating the contact:
> {code:javascript}
> var contact = navigator.contacts.create();
> contact.displayName = firstName + " " + lastName;
> contact.nickname = firstName; 
> var name = new ContactName();
> name.givenName = firstName;
> name.familyName = lastName;
> contact.name = name;
> var phoneNumbers = [];
> phoneNumbers.push(new ContactField('work', workPhone, false));
> phoneNumbers.push(new ContactField('mobile', mobilePhone, true)); // 
> preferred number 
> contact.phoneNumbers = phoneNumbers;
> var organizations = [];
> organizations.push(new ContactOrganization(true, "work", "Company", 
> "Company", "Supervisor"));
> contact.organizations = organizations;
> contact.save(onSuccess,onError);
> {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] [Commented] (CB-10308) Unable to parse multi dimensional arrays with more than 2 levels

2016-01-08 Thread ASF subversion and git services (JIRA)

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

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

Commit 4b1b68e3644d7c4786f77ae83b5f17e16479567a in cordova-osx's branch 
refs/heads/master from [~tripod]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-osx.git;h=4b1b68e ]

CB-10308 Unable to parse multi dimensional arrays with more than 2 levels

- enabling tests
- remove unused code


> Unable to parse multi dimensional arrays with more than 2 levels
> 
>
> Key: CB-10308
> URL: https://issues.apache.org/jira/browse/CB-10308
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: OSX
>Affects Versions: Master
>Reporter: Sahil Bhardwaj
>Assignee: Tobias Bocanegra
>  Labels: OSX, easyfix
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> This bug entry corresponds to pull request 
> https://github.com/apache/cordova-osx/pull/29
> *Detail:*
> As we send arguments with commands to objc from javascript, current 
> implementation "convertWebScriptObjectToNSArray" and 
> "convertWebScriptObjectToNSDictionary" converts Javascript objects to 
> NSArray/NSDictionary but it doesn't parse the children at 2nd level and show 
> zero elements in there.
> *Input:*
> x = { a : { b: { c : "Hi" } } };
> *Output:*
> x = { a : { b :  { } } };
> *Solution:*
> Replace the current method with "[[webScriptObject JSValue] toArray]" which a 
> native method of apple webkit solves the problem.
> Please give a look at pull request
> https://github.com/apache/cordova-osx/pull/29



--
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-10267) Add cell types to iOS7+

2016-01-08 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-10267:
-

Github user asfgit closed the pull request at:

https://github.com/apache/cordova-plugin-network-information/pull/36


> Add cell types to iOS7+
> ---
>
> Key: CB-10267
> URL: https://issues.apache.org/jira/browse/CB-10267
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: Plugin Network Information
>Reporter: Edward Parsons
>  Labels: newbie, patch, triaged
>
> Since iOS7 CoreTelephony has access to the cell radio type. This pull request 
> #36 adds code to enable that so the developers can us the same code for 
> Android and iOS and not have to code around the special "celluar" case in iOS
> (https://github.com/apache/cordova-plugin-network-information/pull/36)
> This is my first contribution to Apache, so if there is information or 
> details I've missed out please be patience and let me know so I can fix them.



--
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-8501) cordova run ios always causes lldb to run interactively.

2016-01-08 Thread Nikhil Khandelwal (JIRA)

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

Nikhil Khandelwal updated CB-8501:
--
Component/s: (was: CLI)
 iOS

> cordova run ios always causes lldb to run interactively.
> 
>
> Key: CB-8501
> URL: https://issues.apache.org/jira/browse/CB-8501
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS
>Affects Versions: 4.0.0
> Environment: actually, it's 4.2.0 --> not available in the "affects 
> versions" drop down above.
> mac osx, ios8 device
>Reporter:  Ron Pfeifle
>
> cordova run ios always causes lldb to run interactively.
> (because platforms/ios/cordova/run invokes "ios-deploy" with those flags in a 
> hard-coded way).
> This gets in the way of automated tools that don't want this behaviour (and 
> which isn't the default behaviour for other devices).
> Staying in in the debugger should be optional (ie, the normal case should be 
> invoking "ios-deploy" with the "-L" option).  lldb should be available, but 
> not as the default.



--
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-8627) 'cordova plugin add git_url' erroneously updates fetch.json even when the 'add operation fails'

2016-01-08 Thread Nikhil Khandelwal (JIRA)

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

Nikhil Khandelwal commented on CB-8627:
---

[~omefire] What's the status and priority of this issue?

> 'cordova plugin add git_url' erroneously updates fetch.json even when the 
> 'add operation fails'
> ---
>
> Key: CB-8627
> URL: https://issues.apache.org/jira/browse/CB-8627
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CLI
>Reporter: Omar Mefire
>Assignee: Omar Mefire
>
> - cordova plugin add https://github.com/Wizcorp/phonegap-facebook-plugin.git
> This results in fetch.json being updated with the plugin info even though 
> the plugin installation failed. It should not be the case.



--
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-8672) "Create cordova" command generates an error

2016-01-08 Thread Nikhil Khandelwal (JIRA)

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

Nikhil Khandelwal resolved CB-8672.
---
Resolution: Fixed

> "Create cordova" command generates an error
> ---
>
> Key: CB-8672
> URL: https://issues.apache.org/jira/browse/CB-8672
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CLI
> Environment: cordova-lib@4.3.0
> Plugman@0.22.12
> Node v0.10.30
>Reporter: Kasun Weerakoon
>
> C:\Android\CordovaWorkplace>cordova create test com.example.test Test
> Creating a new cordova project with name "Test" and id "com.example.test" at 
> location 
> "C:\Android\CordovaWorkplace\test"
> Downloading cordova library for www...
> Error: tunneling socket could not be established, cause=connect ETIMEDOUT
> at ClientRequest.onError (C:\Users\Dell 
> PC\AppData\Roaming\npm\node_modules\
> cordova\node_modules\cordova-lib\node_modules\request\node_modules\tunnel-agent\
> index.js:168:17)
> at ClientRequest.g (events.js:180:16)
> at ClientRequest.emit (events.js:95:17)
> at Socket.socketErrorListener (http.js:1547:9)
> at Socket.emit (events.js:95:17)
> at net.js:440:14
> at process._tickCallback (node.js:419:13)



--
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-8976) platforms/android/build.gradle modifies android versionCode

2016-01-08 Thread Markus Stein (JIRA)

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

Markus Stein commented on CB-8976:
--


Ich bin derzeit nicht im Hause.
Ich werde Ihre E-Mail nach meiner Rückkehr am 11.01.2016 lesen.

Mit freundlichen Grüßen
Markus Stein


> platforms/android/build.gradle modifies android versionCode
> ---
>
> Key: CB-8976
> URL: https://issues.apache.org/jira/browse/CB-8976
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Android
> Environment: Android
>Reporter: zack dykes
>
> cordova 5.0.0
> platforms/android/build.gradle modifies android versionCode at ln 178
> as I understand it max size for versionCode is (2^31)-1 
> http://stackoverflow.com/a/24246191/126600
> in my config.xml: 
> {code}
> android-versionCode="1385039613"
> {code}
> when I run {{cordova build android}}, I get:
> {code}
> FAILURE: Build failed with an exception.
> * Where:
> Build file 
> '/Users/zackd/dev/code/cordova/cordova-ansr-fat-client/ondeviceresearch/platforms/android/build.gradle'
>  line: 178
> * What went wrong:
> A problem occurred evaluating root project 'android'.
> > For input string: "13850396130"
> {code}
> and build.gradle, ln 178
> {code}
> versionCode cdvVersionCode ?: Integer.parseInt("" + 
> privateHelpers.extractIntFromManifest("versionCode") + "0")
> {code}
> looks like this is appending "0" to my versionCode, producing 13850396130 
> which is larger than max size for android versionCode
> if I mod ln 178 as follows, build succeeds
> {code}
> versionCode cdvVersionCode ?: Integer.parseInt("" + 
> privateHelpers.extractIntFromManifest("versionCode"))
> {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] [Commented] (CB-8672) "Create cordova" command generates an error

2016-01-08 Thread Nikhil Khandelwal (JIRA)

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

Nikhil Khandelwal commented on CB-8672:
---

I believe this issue has been resolved in the latest version of cordova CLI. 
Feel free to activate if you still have a problem

> "Create cordova" command generates an error
> ---
>
> Key: CB-8672
> URL: https://issues.apache.org/jira/browse/CB-8672
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CLI
> Environment: cordova-lib@4.3.0
> Plugman@0.22.12
> Node v0.10.30
>Reporter: Kasun Weerakoon
>
> C:\Android\CordovaWorkplace>cordova create test com.example.test Test
> Creating a new cordova project with name "Test" and id "com.example.test" at 
> location 
> "C:\Android\CordovaWorkplace\test"
> Downloading cordova library for www...
> Error: tunneling socket could not be established, cause=connect ETIMEDOUT
> at ClientRequest.onError (C:\Users\Dell 
> PC\AppData\Roaming\npm\node_modules\
> cordova\node_modules\cordova-lib\node_modules\request\node_modules\tunnel-agent\
> index.js:168:17)
> at ClientRequest.g (events.js:180:16)
> at ClientRequest.emit (events.js:95:17)
> at Socket.socketErrorListener (http.js:1547:9)
> at Socket.emit (events.js:95:17)
> at net.js:440:14
> at process._tickCallback (node.js:419:13)



--
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-8501) cordova run ios always causes lldb to run interactively.

2016-01-08 Thread Nikhil Khandelwal (JIRA)

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

Nikhil Khandelwal commented on CB-8501:
---

[~shazron] Any thoughts on this one?

> cordova run ios always causes lldb to run interactively.
> 
>
> Key: CB-8501
> URL: https://issues.apache.org/jira/browse/CB-8501
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS
>Affects Versions: 4.0.0
> Environment: actually, it's 4.2.0 --> not available in the "affects 
> versions" drop down above.
> mac osx, ios8 device
>Reporter:  Ron Pfeifle
>
> cordova run ios always causes lldb to run interactively.
> (because platforms/ios/cordova/run invokes "ios-deploy" with those flags in a 
> hard-coded way).
> This gets in the way of automated tools that don't want this behaviour (and 
> which isn't the default behaviour for other devices).
> Staying in in the debugger should be optional (ie, the normal case should be 
> invoking "ios-deploy" with the "-L" option).  lldb should be available, but 
> not as the default.



--
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-8501) cordova run ios always causes lldb to run interactively.

2016-01-08 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah edited comment on CB-8501 at 1/8/16 11:37 PM:
---

This issue is old -- cordova-ios-4.x does not do this anymore by default.


was (Author: shazron):
This issue is old -- cordova-ios-4.x does not do this anymore.

> cordova run ios always causes lldb to run interactively.
> 
>
> Key: CB-8501
> URL: https://issues.apache.org/jira/browse/CB-8501
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS
>Affects Versions: 4.0.0
> Environment: actually, it's 4.2.0 --> not available in the "affects 
> versions" drop down above.
> mac osx, ios8 device
>Reporter:  Ron Pfeifle
>
> cordova run ios always causes lldb to run interactively.
> (because platforms/ios/cordova/run invokes "ios-deploy" with those flags in a 
> hard-coded way).
> This gets in the way of automated tools that don't want this behaviour (and 
> which isn't the default behaviour for other devices).
> Staying in in the debugger should be optional (ie, the normal case should be 
> invoking "ios-deploy" with the "-L" option).  lldb should be available, but 
> not as the default.



--
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-10268) "cordova build android" copies icons from iOS folder

2016-01-08 Thread Sebastian Futschikato (JIRA)

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

Sebastian Futschikato commented on CB-10268:


I just created a new project and adapted the config.xml:
https://office.mailbox.org/ajax/share/072b37b40af3d74373412e6af3d7457d9c9d9dc4ab6f7eab/1/8/MzQ/MzQvMg
(the download icon is in the upper right corner - second icon from the right)

If you run "cordova build android --verbose" you should see that icons from the 
ios folder are copied.

> "cordova build android" copies icons from iOS folder
> 
>
> Key: CB-10268
> URL: https://issues.apache.org/jira/browse/CB-10268
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Android
>Affects Versions: 5.4.1
> Environment: Arch Linux, PhoneGap 5.3.9
>Reporter: Sebastian Futschikato
>  Labels: triaged, wfc
>
> Hi,
> I'm building my app for android. I detected that cordova/phonegap copies some 
> wrong icons - it takes some icons from the iOS folder. Here is the 
> corresponding output of "phonegap/cordova build android --verbose":
> {quote}
> copying image from /Project/www/res/icon/ios/icon-72.png to 
> /Project/platforms/android/res/drawable-hdpi/icon.png
> copying image from /Project/www/res/icon/ios/icon-72-2x.png to 
> /Project/platforms/android/res/drawable-xxhdpi/icon.png
> {quote}
> The other icons are copied correctly. However, I specified all android icons 
> as needed in the config.xml and double checked the filenames and the 
> existence of the files:
> {quote}
> 
>   
>   
>   
>   
> 
> {quote}



--
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-10268) "cordova build android" copies icons from iOS folder

2016-01-08 Thread Sebastian Futschikato (JIRA)

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

Sebastian Futschikato edited comment on CB-10268 at 1/8/16 10:57 AM:
-

I just created a new project and adapted the config.xml:
https://office.mailbox.org/ajax/share/072b37b40af3d74373412e6af3d7457d9c9d9dc4ab6f7eab/1/8/MzQ/MzQvMg
(the download icon is in the upper right corner - second icon from the right)

If you run "cordova build android --verbose" you should see that two icons from 
the ios folder are copied.


was (Author: futschikato):
I just created a new project and adapted the config.xml:
https://office.mailbox.org/ajax/share/072b37b40af3d74373412e6af3d7457d9c9d9dc4ab6f7eab/1/8/MzQ/MzQvMg
(the download icon is in the upper right corner - second icon from the right)

If you run "cordova build android --verbose" you should see that icons from the 
ios folder are copied.

> "cordova build android" copies icons from iOS folder
> 
>
> Key: CB-10268
> URL: https://issues.apache.org/jira/browse/CB-10268
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Android
>Affects Versions: 5.4.1
> Environment: Arch Linux, PhoneGap 5.3.9
>Reporter: Sebastian Futschikato
>  Labels: triaged, wfc
>
> Hi,
> I'm building my app for android. I detected that cordova/phonegap copies some 
> wrong icons - it takes some icons from the iOS folder. Here is the 
> corresponding output of "phonegap/cordova build android --verbose":
> {quote}
> copying image from /Project/www/res/icon/ios/icon-72.png to 
> /Project/platforms/android/res/drawable-hdpi/icon.png
> copying image from /Project/www/res/icon/ios/icon-72-2x.png to 
> /Project/platforms/android/res/drawable-xxhdpi/icon.png
> {quote}
> The other icons are copied correctly. However, I specified all android icons 
> as needed in the config.xml and double checked the filenames and the 
> existence of the files:
> {quote}
> 
>   
>   
>   
>   
> 
> {quote}



--
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-9472) Camera Plugin crashes on iOS if CameraUsesGeolocation is set to true.

2016-01-08 Thread Omar Mefire (JIRA)

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

Omar Mefire commented on CB-9472:
-

I haven't been able to repro this issue, I do not experience a crash.

I'm using the following options:
  - cordova - 5.1.1
  - camera-plugin - 1.2.0
  - cordova-ios - 3.8.0
  - iOS 8.1.2

I tried setting the destinationType to both Camera.DestinationType.FILE_URI and 
Camera.DestinationType.DATA_URL, still no repro.


> Camera Plugin crashes on iOS if CameraUsesGeolocation is set to true.
> -
>
> Key: CB-9472
> URL: https://issues.apache.org/jira/browse/CB-9472
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Camera
>Reporter: Cesidio DiBenedetto
>  Labels: Triaged, ios
>
> cordova - 5.1.1
> camera-plugin - 1.2.0
> cordova-ios - 3.8.0
> if you add:
> 
> to the config.xml, the app crashes after taking a picture.



--
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-9472) Camera Plugin crashes on iOS if CameraUsesGeolocation is set to true.

2016-01-08 Thread Omar Mefire (JIRA)

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

Omar Mefire edited comment on CB-9472 at 1/9/16 7:13 AM:
-

I haven't been able to repro this issue, I do not experience a crash.

I'm using the following versions:
  - cordova - 5.1.1
  - camera-plugin - 1.2.0
  - cordova-ios - 3.8.0
  - iOS 8.1.2

I tried setting the destinationType to both Camera.DestinationType.FILE_URI and 
Camera.DestinationType.DATA_URL, still no repro.



was (Author: omefire):
I haven't been able to repro this issue, I do not experience a crash.

I'm using the following options:
  - cordova - 5.1.1
  - camera-plugin - 1.2.0
  - cordova-ios - 3.8.0
  - iOS 8.1.2

I tried setting the destinationType to both Camera.DestinationType.FILE_URI and 
Camera.DestinationType.DATA_URL, still no repro.


> Camera Plugin crashes on iOS if CameraUsesGeolocation is set to true.
> -
>
> Key: CB-9472
> URL: https://issues.apache.org/jira/browse/CB-9472
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Camera
>Reporter: Cesidio DiBenedetto
>  Labels: Triaged, ios
>
> cordova - 5.1.1
> camera-plugin - 1.2.0
> cordova-ios - 3.8.0
> if you add:
> 
> to the config.xml, the app crashes after taking a picture.



--
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-10062) Error: EACCES: permission denied - update-notifier-cordova.json

2016-01-08 Thread Nikhil Khandelwal (JIRA)

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

Nikhil Khandelwal commented on CB-10062:


[~daserge] Can you please help resolve this one?

> Error: EACCES: permission denied - update-notifier-cordova.json
> ---
>
> Key: CB-10062
> URL: https://issues.apache.org/jira/browse/CB-10062
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CLI
> Environment: OSX El Capitan
> Jims-MBP:myApp jtryon$ cordova -v
> 5.4.0
> Jims-MBP:myApp jtryon$ node -v
> v4.2.2
> Jims-MBP:myApp jtryon$ npm -v
> 2.14.7
>Reporter: Sergey Shakhnazarov
>Assignee: Sergey Shakhnazarov
>
> ims-MBP:~ jtryon$ cordova -h
> /usr/local/lib/node_modules/cordova/node_modules/update-notifier/node_modules/configstore/index.js:53
> throw err;
> ^Error: EACCES: permission denied, open 
> '/Users/jtryon/.config/configstore/update-notifier-cordova.json'
> You don't have access to this file.at Error (native)
>at Object.fs.openSync (fs.js:549:18)
>at Object.fs.readFileSync (fs.js:397:15)
>at Object.create.all.get 
> (/usr/local/lib/node_modules/cordova/node_modules/update-notifier/node_modules/configstore/index.js:34:26)
>at Object.Configstore 
> (/usr/local/lib/node_modules/cordova/node_modules/update-notifier/node_modules/configstore/index.js:27:44)
>at new UpdateNotifier 
> (/usr/local/lib/node_modules/cordova/node_modules/update-notifier/index.js:34:17)
>at module.exports 
> (/usr/local/lib/node_modules/cordova/node_modules/update-notifier/index.js:123:23)
>at checkForUpdates (/usr/local/lib/node_modules/cordova/src/cli.js:64:20)
>at cli (/usr/local/lib/node_modules/cordova/src/cli.js:114:5)
>at Object. 
> (/usr/local/lib/node_modules/cordova/bin/cordova:41:1)



--
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-9198) plugman info returns "404 Not Found" with new style plugin names

2016-01-08 Thread Nikhil Khandelwal (JIRA)

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

Nikhil Khandelwal updated CB-9198:
--
Component/s: (was: CLI)
 Plugman

> plugman info returns "404 Not Found" with new style plugin names
> 
>
> Key: CB-9198
> URL: https://issues.apache.org/jira/browse/CB-9198
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugman
>Affects Versions: 5.0.1
>Reporter: George Hamilton
>Priority: Minor
>  Labels: plugman
>
> e.g.:
> $ plugman -version
> 0.23.3
> $ plugman info cordova-plugin-camera
> 404 Not Found: cordova-plugin-camera
> $ plugman info org.apache.cordova.camera
> name: org.apache.cordova.camera
> version: 0.3.6



--
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-8976) platforms/android/build.gradle modifies android versionCode

2016-01-08 Thread Nikhil Khandelwal (JIRA)

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

Nikhil Khandelwal updated CB-8976:
--
Component/s: (was: CLI)
 Android

> platforms/android/build.gradle modifies android versionCode
> ---
>
> Key: CB-8976
> URL: https://issues.apache.org/jira/browse/CB-8976
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Android
> Environment: Android
>Reporter: zack dykes
>
> cordova 5.0.0
> platforms/android/build.gradle modifies android versionCode at ln 178
> as I understand it max size for versionCode is (2^31)-1 
> http://stackoverflow.com/a/24246191/126600
> in my config.xml: 
> {code}
> android-versionCode="1385039613"
> {code}
> when I run {{cordova build android}}, I get:
> {code}
> FAILURE: Build failed with an exception.
> * Where:
> Build file 
> '/Users/zackd/dev/code/cordova/cordova-ansr-fat-client/ondeviceresearch/platforms/android/build.gradle'
>  line: 178
> * What went wrong:
> A problem occurred evaluating root project 'android'.
> > For input string: "13850396130"
> {code}
> and build.gradle, ln 178
> {code}
> versionCode cdvVersionCode ?: Integer.parseInt("" + 
> privateHelpers.extractIntFromManifest("versionCode") + "0")
> {code}
> looks like this is appending "0" to my versionCode, producing 13850396130 
> which is larger than max size for android versionCode
> if I mod ln 178 as follows, build succeeds
> {code}
> versionCode cdvVersionCode ?: Integer.parseInt("" + 
> privateHelpers.extractIntFromManifest("versionCode"))
> {code}



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

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



[jira] [Updated] (CB-9198) plugman info returns "404 Not Found" with new style plugin names

2016-01-08 Thread Nikhil Khandelwal (JIRA)

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

Nikhil Khandelwal updated CB-9198:
--
Priority: Minor  (was: Major)

> plugman info returns "404 Not Found" with new style plugin names
> 
>
> Key: CB-9198
> URL: https://issues.apache.org/jira/browse/CB-9198
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugman
>Affects Versions: 5.0.1
>Reporter: George Hamilton
>Priority: Minor
>  Labels: plugman
>
> e.g.:
> $ plugman -version
> 0.23.3
> $ plugman info cordova-plugin-camera
> 404 Not Found: cordova-plugin-camera
> $ plugman info org.apache.cordova.camera
> name: org.apache.cordova.camera
> version: 0.3.6



--
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-8501) cordova run ios always causes lldb to run interactively.

2016-01-08 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah commented on CB-8501:
--

This issue is old -- cordova-ios-4.x does not do this anymore.

> cordova run ios always causes lldb to run interactively.
> 
>
> Key: CB-8501
> URL: https://issues.apache.org/jira/browse/CB-8501
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS
>Affects Versions: 4.0.0
> Environment: actually, it's 4.2.0 --> not available in the "affects 
> versions" drop down above.
> mac osx, ios8 device
>Reporter:  Ron Pfeifle
>
> cordova run ios always causes lldb to run interactively.
> (because platforms/ios/cordova/run invokes "ios-deploy" with those flags in a 
> hard-coded way).
> This gets in the way of automated tools that don't want this behaviour (and 
> which isn't the default behaviour for other devices).
> Staying in in the debugger should be optional (ie, the normal case should be 
> invoking "ios-deploy" with the "-L" option).  lldb should be available, but 
> not as the default.



--
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-8631) Memory leak in navigator.geolocation.getCurrentPosition on iOS

2016-01-08 Thread Sergey Grebnov (JIRA)

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

Sergey Grebnov resolved CB-8631.

Resolution: Cannot Reproduce

No repro on iPhone 5 iOS 8.1 device. Looks like this is fixed in the latest 
version.

> Memory leak in navigator.geolocation.getCurrentPosition on iOS
> --
>
> Key: CB-8631
> URL: https://issues.apache.org/jira/browse/CB-8631
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Geolocation
>Affects Versions: 4.0.0
> Environment: Mac - Mavericks 10.9.5, Version 6.1.1 (6A2008a), Cordova 
> 4.1.2. Also same behaviour on Mac Yosemite 10.10.2 , iOS Simulator 8.1, 7.1 
> and iOS phone 8.1
>Reporter: Robert Willett
>  Labels: geolocation, ios, memory-leak, triaged
> Attachments: screenshot-memory-usage(no-repro).png
>
>
> Calling navigator.geolocation.getCurrentPosition appears to leak memory, 
> A simple test case with all steps:
> 1. cordova create geolocationtest com.example.geolocation GeoLocation 
> 2. cordova plugins add org.apache.cordova.console
> 3. cordova plugin add org.apache.cordova.geolocation
> 4. cordova platform add iOS
> 5. Replace the www/js/index.js with the below below. This is basically the 
> starter code and only two functions have been added, onSuccess and onFailure 
> along with a timer call to navigator.geolocation.getCurrentPosition()
> function onSuccess(position) {
> console.log("Success...");
> }
> function onFailure(error) {
> console.log("Failed...");
> }
> var app = {
> // Application Constructor
>   
>   
> initialize: function() {
> this.bindEvents();
> },
> bindEvents: function() {
> document.addEventListener('deviceready', this.onDeviceReady, false);
> },
> onDeviceReady: function() {
> app.receivedEvent('deviceready');
> setInterval(function () {
> navigator.geolocation.getCurrentPosition(onSuccess , 
> onFailure);
> } , 1000);
> },
> receivedEvent: function(id) {
> var parentElement = document.getElementById(id);
> var listeningElement = parentElement.querySelector('.listening');
> var receivedElement = parentElement.querySelector('.received');
> listeningElement.setAttribute('style', 'display:none;');
> receivedElement.setAttribute('style', 'display:block;');
> console.log('Received Event: ' + id);
> }
> };
> app.initialize();
> 6. cordova build ios
> 7. Run the code in Xcode. The memory footprint keeps climbing as memory from 
> the getCurrentPosition call does not appear to be released. 
> 8. Commenting out the console.log entries stills shows the memory footprint 
> climbing around 200K per call to navigator.geolocation.getCurrentPosition().
> The navigator.geolocation.getCurrentPosition call appears to work correctly 
> and reports the correct position.



--
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-10309) App crash when using camera plugin to access gallery on Android Moto E

2016-01-08 Thread Mikle (JIRA)

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

Mikle updated CB-10309:
---
Description: 
Currently i am using cordova-plugin-camera 2.0.0 and trying to add some photos 
from gallery. On almost all android and iOS devices it works great but on 
Motorola Moto E it crashes app. I am also using crosswalk for higher 
performance. I searched for this problem using logs i have found this branch of 
plugin 
https://github.com/apache/cordova-plugin-camera/compare/CB-8438cordova-plugin-camera.
 It seems that this fixes are already merged to plugin but it still crashes my 
app on that specific device. 


Here are logs 

ERROR:  AndroidRuntime : FATAL EXCEPTION: pool-4-thread-2
undefined   ERROR:  AndroidRuntime : Process: 
com.ionicframework.withionic734372, PID: 22807
undefined   ERROR:  AndroidRuntime : java.lang.NullPointerException: 
Attempt to invoke virtual method 'void 
org.apache.cordova.CallbackContext.error(java.lang.String)' on a null object 
reference
undefined   ERROR:  AndroidRuntime : at 
org.apache.cordova.camera.CameraLauncher.failPicture(CameraLauncher.java:1165)
undefined   ERROR:  AndroidRuntime : at 
org.apache.cordova.camera.CameraLauncher.processPicture(CameraLauncher.java:1154)
undefined   ERROR:  AndroidRuntime : at 
org.apache.cordova.camera.CameraLauncher.processResultFromGallery(CameraLauncher.java:681)
undefined   ERROR:  AndroidRuntime : at 
org.apache.cordova.camera.CameraLauncher.access$000(CameraLauncher.java:66)
undefined   ERROR:  AndroidRuntime : at 
org.apache.cordova.camera.CameraLauncher$1.run(CameraLauncher.java:787)
undefined   ERROR:  AndroidRuntime : at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
undefined   ERROR:  AndroidRuntime : at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
undefined   ERROR:  AndroidRuntime : at 
java.lang.Thread.run(Thread.java:818)
undefined   WARN:   ActivityManager : Force finishing activity 1 
com.ionicframework.withionic734372/.MainActivity
undefined   INFO:   OpenGLRenderer : Initialized EGL, version 1.4

Here is my code 

navigator.camera.getPicture(cameraSuccess, cameraError, {
quality: 50,
encodingType: 0,
targetWidth: 800,
targetHeight: 600,
destinationType: Camera.DestinationType.DATA_URL,
sourceType: Camera.PictureSourceType.SAVEDPHOTOALBUM
});


  was:
Currently i am using cordova-plugin-camera 2.0.0 and trying to add some photos 
from gallery. On almost all android and iOS devices it works great but on 
Motorola Moto E it crashes app. I am also using crosswalk for higher 
performance. I searched for this problem using logs i got and found this branch 
of plugin 
https://github.com/apache/cordova-plugin-camera/compare/CB-8438cordova-plugin-camera.
 It seems that this fixes are already implemented to plugin but it still 
crashes my app on that specific device. 


Here are logs 

ERROR:  AndroidRuntime : FATAL EXCEPTION: pool-4-thread-2
undefined   ERROR:  AndroidRuntime : Process: 
com.ionicframework.withionic734372, PID: 22807
undefined   ERROR:  AndroidRuntime : java.lang.NullPointerException: 
Attempt to invoke virtual method 'void 
org.apache.cordova.CallbackContext.error(java.lang.String)' on a null object 
reference
undefined   ERROR:  AndroidRuntime : at 
org.apache.cordova.camera.CameraLauncher.failPicture(CameraLauncher.java:1165)
undefined   ERROR:  AndroidRuntime : at 
org.apache.cordova.camera.CameraLauncher.processPicture(CameraLauncher.java:1154)
undefined   ERROR:  AndroidRuntime : at 
org.apache.cordova.camera.CameraLauncher.processResultFromGallery(CameraLauncher.java:681)
undefined   ERROR:  AndroidRuntime : at 
org.apache.cordova.camera.CameraLauncher.access$000(CameraLauncher.java:66)
undefined   ERROR:  AndroidRuntime : at 
org.apache.cordova.camera.CameraLauncher$1.run(CameraLauncher.java:787)
undefined   ERROR:  AndroidRuntime : at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
undefined   ERROR:  AndroidRuntime : at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
undefined   ERROR:  AndroidRuntime : at 
java.lang.Thread.run(Thread.java:818)
undefined   WARN:   ActivityManager : Force finishing activity 1 
com.ionicframework.withionic734372/.MainActivity
undefined   INFO:   OpenGLRenderer : Initialized EGL, version 1.4

Here is my code 

navigator.camera.getPicture(cameraSuccess, cameraError, {
quality: 50,
encodingType: 0,
targetWidth: 800,
targetHeight: 600,
destinationType: Camera.DestinationType.DATA_URL,
sourceType: Camera.PictureSourceType.SAVEDPHOTOALBUM
});



> App crash when using camera plugin to access gallery on Android Moto E
> --
>
> Key: 

[jira] [Commented] (CB-10160) Android - ConnectionType always returning Connection.UNKNOWN

2016-01-08 Thread Volkan G. (JIRA)

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

Volkan G. commented on CB-10160:


This ticket is marked as resolved. Will you push it to github soon?

> Android - ConnectionType always returning Connection.UNKNOWN
> 
>
> Key: CB-10160
> URL: https://issues.apache.org/jira/browse/CB-10160
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Network Information
>Affects Versions: 1.1.0
> Environment: Apache Cordova project utilizing the Ionic Framework on 
> Mac OSX. Building and deploying using Android Studio 1.5. 
>Reporter: Binh Robles
>Assignee: Joe Bowser
>  Labels: Android
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> In src/android/NetworkManager.java, all the static final String constants are 
> written in all lowercase. When checking the type in GetType(), the code 
> already makes this adjustment: 
> {quote}private String getType(NetworkInfo info) {
> if (info != null) {
> String type = 
> info.getTypeName().{color:red}toLowerCase{color}(Locale.US);{quote}
> However, if type == MOBILE or CELLULAR, the subType is not converted to all 
> lowercase:
> {quote} 
> else if (type.equals(MOBILE) || type.equals(CELLULAR)) {
> type = {color:red}info.getSubtypeName();{color}
> if (type.equals(GSM) ||
> type.equals(GPRS) ||
> {quote}
> For me, running on the Android emulator and pushing to a device, this was 
> causing the app to always fail every subType comparison, and always return 
> Connection.UNKNOWN, resulting in an app that was always 'offline'. 
> After debugging the plugin, it looked like subTypes were coming in as 'GSM' 
> and 'UMTS' in all-caps, and being compared to 'gsm' and 'umts', the 
> lower-case pre-defined strings. I added a .toLowerCase() to the subType get, 
> and everything seems to be working fine for me:
> else if (type.equals(MOBILE) || type.equals(CELLULAR)) {
> {color:green}type = 
> info.getSubtypeName().toLowerCase();{color}
> if (type.equals(GSM) ||
> I'm not sure why this was an issue for me, but hasn't been in the past for 
> other users. I can submit whatever environment info you might want if you let 
> me know. Thanks!



--
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-10310) iOS Build fails after upgrade to cordova-ios@4.0.1

2016-01-08 Thread Jagdish Adusumalli (JIRA)

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

Jagdish Adusumalli updated CB-10310:

Attachment: build error with cordova-plugin-camera.png

> iOS Build fails after upgrade to cordova-ios@4.0.1
> --
>
> Key: CB-10310
> URL: https://issues.apache.org/jira/browse/CB-10310
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS
> Environment: Cordova CLI: 5.4.1
> Ionic Version: 1.2.1-nightly-1867
> Ionic CLI Version: 1.7.12
> Ionic App Lib Version: 0.6.5
> ios-deploy version: 1.8.4
> ios-sim version: 5.0.6
> OS: Mac OS X El Capitan
> Node Version: v5.4.0
> Xcode version: Xcode 7.2 Build version 7C68
> npm -v : 3.5.3
> bower -v : 1.7.2
> cordova platform :
> Installed platforms: android 5.0.0, ios 4.0.1
> Android tools and Platform-tools :
> Pkg.Revision=24.4.1
> Pkg.Revision=23.1
> brew config :
> HOMEBREW_VERSION: 0.9.5
> CPU: quad-core 64-bit ivybridge
> OS X: 10.11.2-x86_64
> Xcode: 7.2
> CLT: 7.2.0.0.1.1447826929
> Clang: 7.0 build 700
> X11: N/A
> System Ruby: 2.0.0-p645
> Perl: /usr/bin/perl
> Python: /usr/local/bin/python => 
> /usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/bin/python2.7
> Ruby: /Users/jagdish/.rbenv/shims/ruby => 
> /Users/jagdish/.rbenv/versions/2.3.0/bin/ruby
> Java: 1.8.0_66
> psql --version: psql (PostgreSQL) 9.4.5
>Reporter: Jagdish Adusumalli
> Attachments: build error with cordova-plugin-camera.png
>
>
> I'm working on an ionic app and just upgrade the ios platform to 4.0.1.
> i am unable to build the ios app now using the command
> "ionic build ios"
> i observed the error is arising from the various plugins which are failing 
> now.
> i removed the plugins one after another to see how many plugins are 
> incompatible and not working and found the below 5 plugins are raising the 
> same error
> cordova-plugin-camera 1.2.0 "Camera"
> cordova.plugins.diagnostic 2.3.5 "Diagnostic"
> com.cordova.plugins.sms 0.1.6 "Cordova SMS Plugin"
> com.dbaq.cordova.contactsPhoneNumbers 0.0.5 "Contacts Phone Numbers"
> cordova-plugin-sms 1.0.5 "SMS"
> Error sample raised for sms plugin looks as below
> ** BUILD FAILED **
> The following build commands failed:
>   CompileC 
> build/qiddlestage.build/Debug-iphonesimulator/qiddlestage.build/Objects-normal/i386/Sms.o
>  qiddlestage/Plugins/com.cordova.plugins.sms/Sms.m normal i386 objective-c 
> com.apple.compilers.llvm.clang.1_0.compiler
> (1 failure)
> ERROR building one of the platforms: Error code 65 for command: xcodebuild 
> with args: 
> -xcconfig,/Users/jagdish/work/ywt-moms/platforms/ios/cordova/build-debug.xcconfig,-project,qiddlestage.xcodeproj,ARCHS=i386,-target,qiddlestage,-configuration,Debug,-sdk,iphonesimulator,build,VALID_ARCHS=i386,CONFIGURATION_BUILD_DIR=/Users/jagdish/work/ywt-moms/platforms/ios/build/emulator,SHARED_PRECOMPS_DIR=/Users/jagdish/work/ywt-moms/platforms/ios/build/sharedpch
> You may not have the required environment or OS to build this project
> Error: Error code 65 for command: xcodebuild with args: 
> -xcconfig,/Users/jagdish/work/ywt-moms/platforms/ios/cordova/build-debug.xcconfig,-project,qiddlestage.xcodeproj,ARCHS=i386,-target,qiddlestage,-configuration,Debug,-sdk,iphonesimulator,build,VALID_ARCHS=i386,CONFIGURATION_BUILD_DIR=/Users/jagdish/work/ywt-moms/platforms/ios/build/emulator,SHARED_PRECOMPS_DIR=/Users/jagdish/work/ywt-moms/platforms/ios/build/sharedpch
> also attaching error screenshots with various plugins.



--
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-10310) iOS Build fails after upgrade to cordova-ios@4.0.1

2016-01-08 Thread Jagdish Adusumalli (JIRA)

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

Jagdish Adusumalli updated CB-10310:

Description: 
I'm working on an ionic app and just upgrade the ios platform to 4.0.1.

i am unable to build the ios app now using the command
"ionic build ios" or "cordova build ios"

i observed the error is arising from the various plugins which are failing now.
i removed the plugins one after another to see how many plugins are 
incompatible 
and not working and found the below 5 plugins are raising the same error

cordova-plugin-camera 1.2.0 "Camera"
cordova.plugins.diagnostic 2.3.5 "Diagnostic"
com.cordova.plugins.sms 0.1.6 "Cordova SMS Plugin"
com.dbaq.cordova.contactsPhoneNumbers 0.0.5 "Contacts Phone Numbers"
cordova-plugin-sms 1.0.5 "SMS"

Error sample raised for sms plugin looks as below
** BUILD FAILED **


The following build commands failed:
CompileC 
build/qiddlestage.build/Debug-iphonesimulator/qiddlestage.build/Objects-normal/i386/Sms.o
 qiddlestage/Plugins/com.cordova.plugins.sms/Sms.m normal i386 objective-c 
com.apple.compilers.llvm.clang.1_0.compiler
(1 failure)
ERROR building one of the platforms: Error code 65 for command: xcodebuild with 
args: 
-xcconfig,/Users/jagdish/work/ywt-moms/platforms/ios/cordova/build-debug.xcconfig,-project,qiddlestage.xcodeproj,ARCHS=i386,-target,qiddlestage,-configuration,Debug,-sdk,iphonesimulator,build,VALID_ARCHS=i386,CONFIGURATION_BUILD_DIR=/Users/jagdish/work/ywt-moms/platforms/ios/build/emulator,SHARED_PRECOMPS_DIR=/Users/jagdish/work/ywt-moms/platforms/ios/build/sharedpch
You may not have the required environment or OS to build this project
Error: Error code 65 for command: xcodebuild with args: 
-xcconfig,/Users/jagdish/work/ywt-moms/platforms/ios/cordova/build-debug.xcconfig,-project,qiddlestage.xcodeproj,ARCHS=i386,-target,qiddlestage,-configuration,Debug,-sdk,iphonesimulator,build,VALID_ARCHS=i386,CONFIGURATION_BUILD_DIR=/Users/jagdish/work/ywt-moms/platforms/ios/build/emulator,SHARED_PRECOMPS_DIR=/Users/jagdish/work/ywt-moms/platforms/ios/build/sharedpch

also attaching error screenshots with various plugins.



  was:
I'm working on an ionic app and just upgrade the ios platform to 4.0.1.

i am unable to build the ios app now using the command
"ionic build ios"

i observed the error is arising from the various plugins which are failing now.
i removed the plugins one after another to see how many plugins are 
incompatible and not working and found the below 5 plugins are raising the same 
error

cordova-plugin-camera 1.2.0 "Camera"
cordova.plugins.diagnostic 2.3.5 "Diagnostic"
com.cordova.plugins.sms 0.1.6 "Cordova SMS Plugin"
com.dbaq.cordova.contactsPhoneNumbers 0.0.5 "Contacts Phone Numbers"
cordova-plugin-sms 1.0.5 "SMS"

Error sample raised for sms plugin looks as below
** BUILD FAILED **


The following build commands failed:
CompileC 
build/qiddlestage.build/Debug-iphonesimulator/qiddlestage.build/Objects-normal/i386/Sms.o
 qiddlestage/Plugins/com.cordova.plugins.sms/Sms.m normal i386 objective-c 
com.apple.compilers.llvm.clang.1_0.compiler
(1 failure)
ERROR building one of the platforms: Error code 65 for command: xcodebuild with 
args: 
-xcconfig,/Users/jagdish/work/ywt-moms/platforms/ios/cordova/build-debug.xcconfig,-project,qiddlestage.xcodeproj,ARCHS=i386,-target,qiddlestage,-configuration,Debug,-sdk,iphonesimulator,build,VALID_ARCHS=i386,CONFIGURATION_BUILD_DIR=/Users/jagdish/work/ywt-moms/platforms/ios/build/emulator,SHARED_PRECOMPS_DIR=/Users/jagdish/work/ywt-moms/platforms/ios/build/sharedpch
You may not have the required environment or OS to build this project
Error: Error code 65 for command: xcodebuild with args: 
-xcconfig,/Users/jagdish/work/ywt-moms/platforms/ios/cordova/build-debug.xcconfig,-project,qiddlestage.xcodeproj,ARCHS=i386,-target,qiddlestage,-configuration,Debug,-sdk,iphonesimulator,build,VALID_ARCHS=i386,CONFIGURATION_BUILD_DIR=/Users/jagdish/work/ywt-moms/platforms/ios/build/emulator,SHARED_PRECOMPS_DIR=/Users/jagdish/work/ywt-moms/platforms/ios/build/sharedpch

also attaching error screenshots with various plugins.




> iOS Build fails after upgrade to cordova-ios@4.0.1
> --
>
> Key: CB-10310
> URL: https://issues.apache.org/jira/browse/CB-10310
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS
> Environment: Cordova CLI: 5.4.1
> Ionic Version: 1.2.1-nightly-1867
> Ionic CLI Version: 1.7.12
> Ionic App Lib Version: 0.6.5
> ios-deploy version: 1.8.4
> ios-sim version: 5.0.6
> OS: Mac OS X El Capitan
> Node Version: v5.4.0
> Xcode version: Xcode 7.2 Build version 7C68
> npm -v : 3.5.3
> bower -v : 1.7.2
> cordova platform :
> Installed platforms: android 5.0.0, ios 4.0.1
> Android tools and Platform-tools :
> Pkg.Revision=24.4.1
> Pkg.Revision=23.1
> brew config :

[jira] [Updated] (CB-10310) iOS Build fails after upgrade to cordova-ios@4.0.1

2016-01-08 Thread Jagdish Adusumalli (JIRA)

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

Jagdish Adusumalli updated CB-10310:

Attachment: build error with cordova-plugin-sms.png

> iOS Build fails after upgrade to cordova-ios@4.0.1
> --
>
> Key: CB-10310
> URL: https://issues.apache.org/jira/browse/CB-10310
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS
> Environment: Cordova CLI: 5.4.1
> Ionic Version: 1.2.1-nightly-1867
> Ionic CLI Version: 1.7.12
> Ionic App Lib Version: 0.6.5
> ios-deploy version: 1.8.4
> ios-sim version: 5.0.6
> OS: Mac OS X El Capitan
> Node Version: v5.4.0
> Xcode version: Xcode 7.2 Build version 7C68
> npm -v : 3.5.3
> bower -v : 1.7.2
> cordova platform :
> Installed platforms: android 5.0.0, ios 4.0.1
> Android tools and Platform-tools :
> Pkg.Revision=24.4.1
> Pkg.Revision=23.1
> brew config :
> HOMEBREW_VERSION: 0.9.5
> CPU: quad-core 64-bit ivybridge
> OS X: 10.11.2-x86_64
> Xcode: 7.2
> CLT: 7.2.0.0.1.1447826929
> Clang: 7.0 build 700
> X11: N/A
> System Ruby: 2.0.0-p645
> Perl: /usr/bin/perl
> Python: /usr/local/bin/python => 
> /usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/bin/python2.7
> Ruby: /Users/jagdish/.rbenv/shims/ruby => 
> /Users/jagdish/.rbenv/versions/2.3.0/bin/ruby
> Java: 1.8.0_66
> psql --version: psql (PostgreSQL) 9.4.5
>Reporter: Jagdish Adusumalli
> Attachments: build error cordova-plugin-diagnostic.png, build error 
> with cordova-plugin-camera.png, build error with cordova-plugin-sms.png
>
>
> I'm working on an ionic app and just upgrade the ios platform to 4.0.1.
> i am unable to build the ios app now using the command
> "ionic build ios"
> i observed the error is arising from the various plugins which are failing 
> now.
> i removed the plugins one after another to see how many plugins are 
> incompatible and not working and found the below 5 plugins are raising the 
> same error
> cordova-plugin-camera 1.2.0 "Camera"
> cordova.plugins.diagnostic 2.3.5 "Diagnostic"
> com.cordova.plugins.sms 0.1.6 "Cordova SMS Plugin"
> com.dbaq.cordova.contactsPhoneNumbers 0.0.5 "Contacts Phone Numbers"
> cordova-plugin-sms 1.0.5 "SMS"
> Error sample raised for sms plugin looks as below
> ** BUILD FAILED **
> The following build commands failed:
>   CompileC 
> build/qiddlestage.build/Debug-iphonesimulator/qiddlestage.build/Objects-normal/i386/Sms.o
>  qiddlestage/Plugins/com.cordova.plugins.sms/Sms.m normal i386 objective-c 
> com.apple.compilers.llvm.clang.1_0.compiler
> (1 failure)
> ERROR building one of the platforms: Error code 65 for command: xcodebuild 
> with args: 
> -xcconfig,/Users/jagdish/work/ywt-moms/platforms/ios/cordova/build-debug.xcconfig,-project,qiddlestage.xcodeproj,ARCHS=i386,-target,qiddlestage,-configuration,Debug,-sdk,iphonesimulator,build,VALID_ARCHS=i386,CONFIGURATION_BUILD_DIR=/Users/jagdish/work/ywt-moms/platforms/ios/build/emulator,SHARED_PRECOMPS_DIR=/Users/jagdish/work/ywt-moms/platforms/ios/build/sharedpch
> You may not have the required environment or OS to build this project
> Error: Error code 65 for command: xcodebuild with args: 
> -xcconfig,/Users/jagdish/work/ywt-moms/platforms/ios/cordova/build-debug.xcconfig,-project,qiddlestage.xcodeproj,ARCHS=i386,-target,qiddlestage,-configuration,Debug,-sdk,iphonesimulator,build,VALID_ARCHS=i386,CONFIGURATION_BUILD_DIR=/Users/jagdish/work/ywt-moms/platforms/ios/build/emulator,SHARED_PRECOMPS_DIR=/Users/jagdish/work/ywt-moms/platforms/ios/build/sharedpch
> also attaching error screenshots with various plugins.



--
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-10310) iOS Build fails after upgrade to cordova-ios@4.0.1

2016-01-08 Thread Jagdish Adusumalli (JIRA)

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

Jagdish Adusumalli updated CB-10310:

Labels: build-failure build-problem cordova-ios-4.0.1 ios  (was: )

> iOS Build fails after upgrade to cordova-ios@4.0.1
> --
>
> Key: CB-10310
> URL: https://issues.apache.org/jira/browse/CB-10310
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS
> Environment: Cordova CLI: 5.4.1
> Ionic Version: 1.2.1-nightly-1867
> Ionic CLI Version: 1.7.12
> Ionic App Lib Version: 0.6.5
> ios-deploy version: 1.8.4
> ios-sim version: 5.0.6
> OS: Mac OS X El Capitan
> Node Version: v5.4.0
> Xcode version: Xcode 7.2 Build version 7C68
> npm -v : 3.5.3
> bower -v : 1.7.2
> cordova platform :
> Installed platforms: android 5.0.0, ios 4.0.1
> Android tools and Platform-tools :
> Pkg.Revision=24.4.1
> Pkg.Revision=23.1
> brew config :
> HOMEBREW_VERSION: 0.9.5
> CPU: quad-core 64-bit ivybridge
> OS X: 10.11.2-x86_64
> Xcode: 7.2
> CLT: 7.2.0.0.1.1447826929
> Clang: 7.0 build 700
> X11: N/A
> System Ruby: 2.0.0-p645
> Perl: /usr/bin/perl
> Python: /usr/local/bin/python => 
> /usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/bin/python2.7
> Ruby: /Users/jagdish/.rbenv/shims/ruby => 
> /Users/jagdish/.rbenv/versions/2.3.0/bin/ruby
> Java: 1.8.0_66
> psql --version: psql (PostgreSQL) 9.4.5
>Reporter: Jagdish Adusumalli
>  Labels: build-failure, build-problem, cordova-ios-4.0.1, ios
> Attachments: build error cordova-plugin-diagnostic.png, build error 
> with cordova-plugin-camera.png, build error with cordova-plugin-sms.png
>
>
> I'm working on an ionic app and just upgrade the ios platform to 4.0.1.
> i am unable to build the ios app now using the command
> "ionic build ios" or "cordova build ios"
> i observed the error is arising from the various plugins which are failing 
> now.
> i removed the plugins one after another to see how many plugins are 
> incompatible 
> and not working and found the below 5 plugins are raising the same error
> cordova-plugin-camera 1.2.0 "Camera"
> cordova.plugins.diagnostic 2.3.5 "Diagnostic"
> com.cordova.plugins.sms 0.1.6 "Cordova SMS Plugin"
> com.dbaq.cordova.contactsPhoneNumbers 0.0.5 "Contacts Phone Numbers"
> cordova-plugin-sms 1.0.5 "SMS"
> Error sample raised for sms plugin looks as below
> ** BUILD FAILED **
> The following build commands failed:
>   CompileC 
> build/qiddlestage.build/Debug-iphonesimulator/qiddlestage.build/Objects-normal/i386/Sms.o
>  qiddlestage/Plugins/com.cordova.plugins.sms/Sms.m normal i386 objective-c 
> com.apple.compilers.llvm.clang.1_0.compiler
> (1 failure)
> ERROR building one of the platforms: Error code 65 for command: xcodebuild 
> with args: 
> -xcconfig,/Users/jagdish/work/ywt-moms/platforms/ios/cordova/build-debug.xcconfig,-project,qiddlestage.xcodeproj,ARCHS=i386,-target,qiddlestage,-configuration,Debug,-sdk,iphonesimulator,build,VALID_ARCHS=i386,CONFIGURATION_BUILD_DIR=/Users/jagdish/work/ywt-moms/platforms/ios/build/emulator,SHARED_PRECOMPS_DIR=/Users/jagdish/work/ywt-moms/platforms/ios/build/sharedpch
> You may not have the required environment or OS to build this project
> Error: Error code 65 for command: xcodebuild with args: 
> -xcconfig,/Users/jagdish/work/ywt-moms/platforms/ios/cordova/build-debug.xcconfig,-project,qiddlestage.xcodeproj,ARCHS=i386,-target,qiddlestage,-configuration,Debug,-sdk,iphonesimulator,build,VALID_ARCHS=i386,CONFIGURATION_BUILD_DIR=/Users/jagdish/work/ywt-moms/platforms/ios/build/emulator,SHARED_PRECOMPS_DIR=/Users/jagdish/work/ywt-moms/platforms/ios/build/sharedpch
> also attaching error screenshots with various plugins.



--
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-10261) splashscreen will not show up again after use "navigator.app.exitApp();"

2016-01-08 Thread Sergey Shakhnazarov (JIRA)

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

Sergey Shakhnazarov resolved CB-10261.
--
Resolution: Fixed

Fixed in CB-9374, merged in 
https://github.com/apache/cordova-plugin-splashscreen/pull/70

> splashscreen will not show up again after use "navigator.app.exitApp();"
> 
>
> Key: CB-10261
> URL: https://issues.apache.org/jira/browse/CB-10261
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin SplashScreen
> Environment: Android 4.4.2
>Reporter: Colin Bau
>  Labels: Android, triaged, wfc
>
> very simple
> I create an app and use splashscreen plugin
> https://www.npmjs.com/package/cordova-plugin-splashscreen
> first,I launch my app and the splashscreen show up
> second,I use  "navigator.app.exitApp();" to close my app
> third,I launch my app again but this time the splashscreen will not show
> this situation only happen in Android,but ios or winphone 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-10261) splashscreen will not show up again after use "navigator.app.exitApp();"

2016-01-08 Thread Sergey Shakhnazarov (JIRA)

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

Sergey Shakhnazarov edited comment on CB-10261 at 1/8/16 1:51 PM:
--

Fixed in CB-9374, merged in 
https://github.com/apache/cordova-plugin-splashscreen/pull/70.

Install via `cordova plugin add 
https://github.com/apache/cordova-plugin-splashscreen` to use the latest 
version from Github (the plugin updates are not yet published).


was (Author: daserge):
Fixed in CB-9374, merged in 
https://github.com/apache/cordova-plugin-splashscreen/pull/70

> splashscreen will not show up again after use "navigator.app.exitApp();"
> 
>
> Key: CB-10261
> URL: https://issues.apache.org/jira/browse/CB-10261
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin SplashScreen
> Environment: Android 4.4.2
>Reporter: Colin Bau
>  Labels: Android, triaged, wfc
>
> very simple
> I create an app and use splashscreen plugin
> https://www.npmjs.com/package/cordova-plugin-splashscreen
> first,I launch my app and the splashscreen show up
> second,I use  "navigator.app.exitApp();" to close my app
> third,I launch my app again but this time the splashscreen will not show
> this situation only happen in Android,but ios or winphone 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] [Commented] (CB-10160) Android - ConnectionType always returning Connection.UNKNOWN

2016-01-08 Thread Mestre Muten (JIRA)

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

Mestre Muten commented on CB-10160:
---

It's already at github repo, master branch. What is missing is a tag for 
version 1.1.1 so it appears at "Releases" tab.

> Android - ConnectionType always returning Connection.UNKNOWN
> 
>
> Key: CB-10160
> URL: https://issues.apache.org/jira/browse/CB-10160
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Network Information
>Affects Versions: 1.1.0
> Environment: Apache Cordova project utilizing the Ionic Framework on 
> Mac OSX. Building and deploying using Android Studio 1.5. 
>Reporter: Binh Robles
>Assignee: Joe Bowser
>  Labels: Android
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> In src/android/NetworkManager.java, all the static final String constants are 
> written in all lowercase. When checking the type in GetType(), the code 
> already makes this adjustment: 
> {quote}private String getType(NetworkInfo info) {
> if (info != null) {
> String type = 
> info.getTypeName().{color:red}toLowerCase{color}(Locale.US);{quote}
> However, if type == MOBILE or CELLULAR, the subType is not converted to all 
> lowercase:
> {quote} 
> else if (type.equals(MOBILE) || type.equals(CELLULAR)) {
> type = {color:red}info.getSubtypeName();{color}
> if (type.equals(GSM) ||
> type.equals(GPRS) ||
> {quote}
> For me, running on the Android emulator and pushing to a device, this was 
> causing the app to always fail every subType comparison, and always return 
> Connection.UNKNOWN, resulting in an app that was always 'offline'. 
> After debugging the plugin, it looked like subTypes were coming in as 'GSM' 
> and 'UMTS' in all-caps, and being compared to 'gsm' and 'umts', the 
> lower-case pre-defined strings. I added a .toLowerCase() to the subType get, 
> and everything seems to be working fine for me:
> else if (type.equals(MOBILE) || type.equals(CELLULAR)) {
> {color:green}type = 
> info.getSubtypeName().toLowerCase();{color}
> if (type.equals(GSM) ||
> I'm not sure why this was an issue for me, but hasn't been in the past for 
> other users. I can submit whatever environment info you might want if you let 
> me know. Thanks!



--
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-10310) iOS Build fails after upgrade to cordova-ios@4.0.1

2016-01-08 Thread Jagdish Adusumalli (JIRA)

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

Jagdish Adusumalli updated CB-10310:

Attachment: build error cordova-plugin-diagnostic.png

> iOS Build fails after upgrade to cordova-ios@4.0.1
> --
>
> Key: CB-10310
> URL: https://issues.apache.org/jira/browse/CB-10310
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS
> Environment: Cordova CLI: 5.4.1
> Ionic Version: 1.2.1-nightly-1867
> Ionic CLI Version: 1.7.12
> Ionic App Lib Version: 0.6.5
> ios-deploy version: 1.8.4
> ios-sim version: 5.0.6
> OS: Mac OS X El Capitan
> Node Version: v5.4.0
> Xcode version: Xcode 7.2 Build version 7C68
> npm -v : 3.5.3
> bower -v : 1.7.2
> cordova platform :
> Installed platforms: android 5.0.0, ios 4.0.1
> Android tools and Platform-tools :
> Pkg.Revision=24.4.1
> Pkg.Revision=23.1
> brew config :
> HOMEBREW_VERSION: 0.9.5
> CPU: quad-core 64-bit ivybridge
> OS X: 10.11.2-x86_64
> Xcode: 7.2
> CLT: 7.2.0.0.1.1447826929
> Clang: 7.0 build 700
> X11: N/A
> System Ruby: 2.0.0-p645
> Perl: /usr/bin/perl
> Python: /usr/local/bin/python => 
> /usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/bin/python2.7
> Ruby: /Users/jagdish/.rbenv/shims/ruby => 
> /Users/jagdish/.rbenv/versions/2.3.0/bin/ruby
> Java: 1.8.0_66
> psql --version: psql (PostgreSQL) 9.4.5
>Reporter: Jagdish Adusumalli
> Attachments: build error cordova-plugin-diagnostic.png, build error 
> with cordova-plugin-camera.png
>
>
> I'm working on an ionic app and just upgrade the ios platform to 4.0.1.
> i am unable to build the ios app now using the command
> "ionic build ios"
> i observed the error is arising from the various plugins which are failing 
> now.
> i removed the plugins one after another to see how many plugins are 
> incompatible and not working and found the below 5 plugins are raising the 
> same error
> cordova-plugin-camera 1.2.0 "Camera"
> cordova.plugins.diagnostic 2.3.5 "Diagnostic"
> com.cordova.plugins.sms 0.1.6 "Cordova SMS Plugin"
> com.dbaq.cordova.contactsPhoneNumbers 0.0.5 "Contacts Phone Numbers"
> cordova-plugin-sms 1.0.5 "SMS"
> Error sample raised for sms plugin looks as below
> ** BUILD FAILED **
> The following build commands failed:
>   CompileC 
> build/qiddlestage.build/Debug-iphonesimulator/qiddlestage.build/Objects-normal/i386/Sms.o
>  qiddlestage/Plugins/com.cordova.plugins.sms/Sms.m normal i386 objective-c 
> com.apple.compilers.llvm.clang.1_0.compiler
> (1 failure)
> ERROR building one of the platforms: Error code 65 for command: xcodebuild 
> with args: 
> -xcconfig,/Users/jagdish/work/ywt-moms/platforms/ios/cordova/build-debug.xcconfig,-project,qiddlestage.xcodeproj,ARCHS=i386,-target,qiddlestage,-configuration,Debug,-sdk,iphonesimulator,build,VALID_ARCHS=i386,CONFIGURATION_BUILD_DIR=/Users/jagdish/work/ywt-moms/platforms/ios/build/emulator,SHARED_PRECOMPS_DIR=/Users/jagdish/work/ywt-moms/platforms/ios/build/sharedpch
> You may not have the required environment or OS to build this project
> Error: Error code 65 for command: xcodebuild with args: 
> -xcconfig,/Users/jagdish/work/ywt-moms/platforms/ios/cordova/build-debug.xcconfig,-project,qiddlestage.xcodeproj,ARCHS=i386,-target,qiddlestage,-configuration,Debug,-sdk,iphonesimulator,build,VALID_ARCHS=i386,CONFIGURATION_BUILD_DIR=/Users/jagdish/work/ywt-moms/platforms/ios/build/emulator,SHARED_PRECOMPS_DIR=/Users/jagdish/work/ywt-moms/platforms/ios/build/sharedpch
> also attaching error screenshots with various plugins.



--
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-10310) iOS Build fails after upgrade to cordova-ios@4.0.1

2016-01-08 Thread Jagdish Adusumalli (JIRA)
Jagdish Adusumalli created CB-10310:
---

 Summary: iOS Build fails after upgrade to cordova-ios@4.0.1
 Key: CB-10310
 URL: https://issues.apache.org/jira/browse/CB-10310
 Project: Apache Cordova
  Issue Type: Bug
  Components: iOS
 Environment: Cordova CLI: 5.4.1
Ionic Version: 1.2.1-nightly-1867
Ionic CLI Version: 1.7.12
Ionic App Lib Version: 0.6.5
ios-deploy version: 1.8.4
ios-sim version: 5.0.6
OS: Mac OS X El Capitan
Node Version: v5.4.0
Xcode version: Xcode 7.2 Build version 7C68

npm -v : 3.5.3
bower -v : 1.7.2
cordova platform :
Installed platforms: android 5.0.0, ios 4.0.1
Android tools and Platform-tools :
Pkg.Revision=24.4.1
Pkg.Revision=23.1
brew config :
HOMEBREW_VERSION: 0.9.5
CPU: quad-core 64-bit ivybridge
OS X: 10.11.2-x86_64
Xcode: 7.2
CLT: 7.2.0.0.1.1447826929
Clang: 7.0 build 700
X11: N/A
System Ruby: 2.0.0-p645
Perl: /usr/bin/perl
Python: /usr/local/bin/python => 
/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/bin/python2.7
Ruby: /Users/jagdish/.rbenv/shims/ruby => 
/Users/jagdish/.rbenv/versions/2.3.0/bin/ruby
Java: 1.8.0_66
psql --version: psql (PostgreSQL) 9.4.5
Reporter: Jagdish Adusumalli


I'm working on an ionic app and just upgrade the ios platform to 4.0.1.

i am unable to build the ios app now using the command
"ionic build ios"

i observed the error is arising from the various plugins which are failing now.
i removed the plugins one after another to see how many plugins are 
incompatible and not working and found the below 5 plugins are raising the same 
error

cordova-plugin-camera 1.2.0 "Camera"
cordova.plugins.diagnostic 2.3.5 "Diagnostic"
com.cordova.plugins.sms 0.1.6 "Cordova SMS Plugin"
com.dbaq.cordova.contactsPhoneNumbers 0.0.5 "Contacts Phone Numbers"
cordova-plugin-sms 1.0.5 "SMS"

Error sample raised for sms plugin looks as below
** BUILD FAILED **


The following build commands failed:
CompileC 
build/qiddlestage.build/Debug-iphonesimulator/qiddlestage.build/Objects-normal/i386/Sms.o
 qiddlestage/Plugins/com.cordova.plugins.sms/Sms.m normal i386 objective-c 
com.apple.compilers.llvm.clang.1_0.compiler
(1 failure)
ERROR building one of the platforms: Error code 65 for command: xcodebuild with 
args: 
-xcconfig,/Users/jagdish/work/ywt-moms/platforms/ios/cordova/build-debug.xcconfig,-project,qiddlestage.xcodeproj,ARCHS=i386,-target,qiddlestage,-configuration,Debug,-sdk,iphonesimulator,build,VALID_ARCHS=i386,CONFIGURATION_BUILD_DIR=/Users/jagdish/work/ywt-moms/platforms/ios/build/emulator,SHARED_PRECOMPS_DIR=/Users/jagdish/work/ywt-moms/platforms/ios/build/sharedpch
You may not have the required environment or OS to build this project
Error: Error code 65 for command: xcodebuild with args: 
-xcconfig,/Users/jagdish/work/ywt-moms/platforms/ios/cordova/build-debug.xcconfig,-project,qiddlestage.xcodeproj,ARCHS=i386,-target,qiddlestage,-configuration,Debug,-sdk,iphonesimulator,build,VALID_ARCHS=i386,CONFIGURATION_BUILD_DIR=/Users/jagdish/work/ywt-moms/platforms/ios/build/emulator,SHARED_PRECOMPS_DIR=/Users/jagdish/work/ywt-moms/platforms/ios/build/sharedpch

also attaching error screenshots with various plugins.





--
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-10252) iOS app update/redeployment makes files unaccessable

2016-01-08 Thread Mac Stuewe (JIRA)

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

Mac Stuewe resolved CB-10252.
-
Resolution: Fixed

The files can be accessed by their native paths, but no longer if the app was 
updated/redeployed. 
Using the cdvfile protocol cdvfile-path instead of the native path, the files 
can be accessed by the html-src attribute after an update/redeployment.

The link to the tutorial 'HTML5 Rocks' ' should be removed from the file-plugin 
api (
https://github.com/apache/cordova-plugin-file). It is outdated and doesn't 
point to this important problem.

> iOS app update/redeployment makes files unaccessable
> 
>
> Key: CB-10252
> URL: https://issues.apache.org/jira/browse/CB-10252
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin File
>Affects Versions: 5.4.0
> Environment: iOS
>Reporter: Mac Stuewe
>Priority: Minor
>  Labels: triaged
> Attachments: Bildschirmfoto 2015-12-22 um 14.44.19.png
>
>
> I store files into the library-nosync directory:
> window.resolveLocalFileSystemURL(cordova.file.dataDirectory, 
> requestFileSystemSuccess);
> after the app redeployment by xCode or app store update, these files cannot 
> be accessed, although they exist at this path.



--
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-8443) Android: nothing happens if GPS is turned off

2016-01-08 Thread Stelios Charmpalis (JIRA)

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

Stelios Charmpalis commented on CB-8443:


[~clembo590] does the issue [CB-8443] solved you problem? Can you please check 
if resolved with the latest version of the master, because I had some issues 
like yours and after the mentioned issue resolved.

> Android: nothing happens if GPS is turned off
> -
>
> Key: CB-8443
> URL: https://issues.apache.org/jira/browse/CB-8443
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Geolocation
>Affects Versions: 3.5.0
> Environment: moto G android 4.4.4
>Reporter: clement bidon
>  Labels: android, triaged
>
> to goe the error:  disable "ALL LOCATION SERVICE" on the phone.
> call "getCurrentPosition" or "watchPosition" functions without any timout.
> The "onError" function should be called with 
> "PositionError.PERMISSION_DENIED" or with 
> "PositionError.POSITION_UNAVAILABLE", BUT IT S NOT THE CASE: --> nothing 
> happens.



--
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-10210) Cordova-Ubuntu Platform Release 4.3.2

2016-01-08 Thread David Barth (JIRA)

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

David Barth resolved CB-10210.
--
Resolution: Fixed

> Cordova-Ubuntu Platform Release 4.3.2
> -
>
> Key: CB-10210
> URL: https://issues.apache.org/jira/browse/CB-10210
> Project: Apache Cordova
>  Issue Type: Task
>  Components: Ubuntu
>Reporter: David Barth
>Assignee: David Barth
>
> Following steps at 
> https://github.com/apache/cordova-coho/blob/master/docs/platforms-release-process.md



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

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



[jira] [Assigned] (CB-9618) icon parameter should not be relative to the www directory on Ubuntu

2016-01-08 Thread David Barth (JIRA)

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

David Barth reassigned CB-9618:
---

Assignee: David Barth  (was: Maxim Ermilov)

> icon parameter should not be relative to the www directory on Ubuntu
> 
>
> Key: CB-9618
> URL: https://issues.apache.org/jira/browse/CB-9618
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CordovaLib, Ubuntu
>Reporter: David Barth
>Assignee: David Barth
>
> On Ubuntu, the icon parameter is supposed to be relative to the project 
> directory, not the www directory.
> This is documented for example on 
> https://developer.ubuntu.com/en/apps/html-5/tutorials/cordova-camera-app-tutorial/



--
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-9618) icon parameter should not be relative to the www directory on Ubuntu

2016-01-08 Thread David Barth (JIRA)

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

David Barth closed CB-9618.
---

> icon parameter should not be relative to the www directory on Ubuntu
> 
>
> Key: CB-9618
> URL: https://issues.apache.org/jira/browse/CB-9618
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CordovaLib, Ubuntu
>Reporter: David Barth
>Assignee: David Barth
>
> On Ubuntu, the icon parameter is supposed to be relative to the project 
> directory, not the www directory.
> This is documented for example on 
> https://developer.ubuntu.com/en/apps/html-5/tutorials/cordova-camera-app-tutorial/



--
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-9618) icon parameter should not be relative to the www directory on Ubuntu

2016-01-08 Thread David Barth (JIRA)

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

David Barth resolved CB-9618.
-
Resolution: Fixed

This was fixed in 4.3.1

> icon parameter should not be relative to the www directory on Ubuntu
> 
>
> Key: CB-9618
> URL: https://issues.apache.org/jira/browse/CB-9618
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CordovaLib, Ubuntu
>Reporter: David Barth
>Assignee: David Barth
>
> On Ubuntu, the icon parameter is supposed to be relative to the project 
> directory, not the www directory.
> This is documented for example on 
> https://developer.ubuntu.com/en/apps/html-5/tutorials/cordova-camera-app-tutorial/



--
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-10210) Cordova-Ubuntu Platform Release 4.3.2

2016-01-08 Thread David Barth (JIRA)

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

David Barth closed CB-10210.


> Cordova-Ubuntu Platform Release 4.3.2
> -
>
> Key: CB-10210
> URL: https://issues.apache.org/jira/browse/CB-10210
> Project: Apache Cordova
>  Issue Type: Task
>  Components: Ubuntu
>Reporter: David Barth
>Assignee: David Barth
>
> Following steps at 
> https://github.com/apache/cordova-coho/blob/master/docs/platforms-release-process.md



--
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-9528) create new core plugin to control screen orientation

2016-01-08 Thread Tony Homer (JIRA)

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

Tony Homer commented on CB-9528:


I am planning on taking it up, but don't expect to have time to do so until 
February.  If someone else would like to take it and is ready to start just 
keep me in the loop so that I can help with feedback and testing.

> create new core plugin to control screen orientation
> 
>
> Key: CB-9528
> URL: https://issues.apache.org/jira/browse/CB-9528
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: Plugins
>Reporter: Tony Homer
>Assignee: Tony Homer
>
> Create a new core Cordova plugin that enables the user to dynamically control 
> the orientation of their app.
> Tentatively base interface on [the screen-orientation spec| 
> http://www.w3.org/TR/screen-orientation/].
> There is a precedent for this behavior being supported as part of Cordova.
> Previously iOS supported a non-standard approach to controlling the 
> orientation dynamically (see last entry in [this section of the 5.1.1 
> docs|http://cordova.apache.org/docs/en/5.1.1/config_ref_index.md.html#The%20config.xml%20File_multi_platform_preferences]).
> Recent platform changes made the iOS-specific approach untenable, but it's 
> removal prompted a discussion about enabling this as a cross-platform feature 
> via a new core plugin.
> See related discussion in CB-8047.



--
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-10290) 'cordova run ubuntu' command creates frozen window in ubuntu 15.10

2016-01-08 Thread David Barth (JIRA)

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

David Barth commented on CB-10290:
--

Can you run the same launch command but use cordova -d to generate some debug 
logs.
The white screen problem feels familiar but I can't remember if that's a 
cordova/lib version mismatch or something else.

Alternatively, you can try to use the PPA version of cordova-cli and pull the 
latest 4.3.2 cordova-ubuntu (this will now be the default) to see if that helps.

> 'cordova run ubuntu' command creates frozen window in ubuntu 15.10
> --
>
> Key: CB-10290
> URL: https://issues.apache.org/jira/browse/CB-10290
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Ubuntu
>Affects Versions: 5.4.0
> Environment: Ubuntu 15.10 and Cordova 5.4.0 - on a lamp server in 
> ubuntu
>Reporter: Tumiso
>Assignee: David Barth
>Priority: Blocker
>  Labels: triaged
> Fix For: 5.4.0
>
>
> I've followed the installation guide for cordova on ubuntu:
>  - https://developer.ubuntu.com/en/apps/html-5/guides/cordova-guide/
>  - https://cordova.apache.org/docs/en/5.4.0/guide/platforms/ubuntu/index.html
> The installation and addition, and building of the platform worked just fine 
> - But when I try to run the application on my desktop using : 'cordova run 
> ubuntu'
>  the application starts to run; a white window opens and then it 
> darkens(ubuntu freezing) - it remains frozen and nothing ahppens after that
> Please could someone help with this - 
> Thank you for your audience
> Tumi



--
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-10212) wp8 upload file without cookie

2016-01-08 Thread Nikhil Khandelwal (JIRA)

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

Nikhil Khandelwal updated CB-10212:
---
Labels: triaged  (was: triaged wfc)

> wp8 upload file without cookie
> --
>
> Key: CB-10212
> URL: https://issues.apache.org/jira/browse/CB-10212
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin File Transfer, WP8
>Affects Versions: 1.4.0
>Reporter: martatw
>Assignee: Jesse MacFadyen
>Priority: Minor
>  Labels: triaged
>
> Hi,
> I am uploading img through plugin file transfer and the method: 
> CopyCookiesFromWebBrowser in FileTransfer.cs doesn't find any cookie. It 
> works perfectly in iOS and Android. Do You know any fast fix or work around 
> for that? 
> Thank You in andvance for Your help
> Marta



--
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-10212) wp8 upload file without cookie

2016-01-08 Thread Nikhil Khandelwal (JIRA)

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

Nikhil Khandelwal commented on CB-10212:


Looks like you have a workaround and there is no evident solution for WP8. I 
will resolve this as "Won't Fix". Feel free to re-activate if I misunderstood.

FYI, WP8 platform is going to be soon deprecated. Have you considered moving to 
"Windows" platform instead? It supports WP8.1 and Windows 10 Universal.

> wp8 upload file without cookie
> --
>
> Key: CB-10212
> URL: https://issues.apache.org/jira/browse/CB-10212
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin File Transfer, WP8
>Affects Versions: 1.4.0
>Reporter: martatw
>Assignee: Jesse MacFadyen
>Priority: Minor
>  Labels: triaged, wfc
>
> Hi,
> I am uploading img through plugin file transfer and the method: 
> CopyCookiesFromWebBrowser in FileTransfer.cs doesn't find any cookie. It 
> works perfectly in iOS and Android. Do You know any fast fix or work around 
> for that? 
> Thank You in andvance for Your help
> Marta



--
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-10204) Fix getCurrentPosition options on Android

2016-01-08 Thread Stelios Charmpalis (JIRA)

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

Stelios Charmpalis commented on CB-10204:
-

Hello guys,

When this update will be merged to a stable release?

> Fix getCurrentPosition options on Android
> -
>
> Key: CB-10204
> URL: https://issues.apache.org/jira/browse/CB-10204
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Geolocation
> Environment: Cordova 3.5.0, Plugin Geolocation 2.0.0
>Reporter: Timo Salola
>  Labels: Android, Triaged
>
> In the latest release there was created separate JS file for android. In 
> getCurrentPosition it does not verify that options are given resulting 
> javascript error when trying to access undefined as an array at 
> www/android/geolocation.js lines 33 and 34:
> {code:javascript}
> getCurrentPosition: function(success, error, args) {
> var win = function() {
>   var geo = 
> cordova.require('cordova/modulemapper').getOriginalSymbol(window, 
> 'navigator.geolocation');
>   geo.getCurrentPosition(success, error, {
> enableHighAccuracy: args[0],
> maximumAge: args[1]
>   });
> };
> exec(win, error, "Geolocation", "getPermission", []);
> }
> {code}
> Workaround this is to give empty array to getCurrentPosition as options:
> {code:javascript}
> navigator.geolocation.getCurrentPosition(onSuccess, onError, []);
> {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] [Assigned] (CB-10290) 'cordova run ubuntu' command creates frozen window in ubuntu 15.10

2016-01-08 Thread David Barth (JIRA)

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

David Barth reassigned CB-10290:


Assignee: David Barth

> 'cordova run ubuntu' command creates frozen window in ubuntu 15.10
> --
>
> Key: CB-10290
> URL: https://issues.apache.org/jira/browse/CB-10290
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Ubuntu
>Affects Versions: 5.4.0
> Environment: Ubuntu 15.10 and Cordova 5.4.0 - on a lamp server in 
> ubuntu
>Reporter: Tumiso
>Assignee: David Barth
>Priority: Blocker
>  Labels: triaged
> Fix For: 5.4.0
>
>
> I've followed the installation guide for cordova on ubuntu:
>  - https://developer.ubuntu.com/en/apps/html-5/guides/cordova-guide/
>  - https://cordova.apache.org/docs/en/5.4.0/guide/platforms/ubuntu/index.html
> The installation and addition, and building of the platform worked just fine 
> - But when I try to run the application on my desktop using : 'cordova run 
> ubuntu'
>  the application starts to run; a white window opens and then it 
> darkens(ubuntu freezing) - it remains frozen and nothing ahppens after that
> Please could someone help with this - 
> Thank you for your audience
> Tumi



--
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-10212) wp8 upload file without cookie

2016-01-08 Thread Nikhil Khandelwal (JIRA)

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

Nikhil Khandelwal resolved CB-10212.

Resolution: Won't Fix

> wp8 upload file without cookie
> --
>
> Key: CB-10212
> URL: https://issues.apache.org/jira/browse/CB-10212
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin File Transfer, WP8
>Affects Versions: 1.4.0
>Reporter: martatw
>Assignee: Jesse MacFadyen
>Priority: Minor
>  Labels: triaged
>
> Hi,
> I am uploading img through plugin file transfer and the method: 
> CopyCookiesFromWebBrowser in FileTransfer.cs doesn't find any cookie. It 
> works perfectly in iOS and Android. Do You know any fast fix or work around 
> for that? 
> Thank You in andvance for Your help
> Marta



--
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-10311) cordova-plugin-camera seems to be using deprecated MediaStream.stop() in browser

2016-01-08 Thread Sven van de Scheur (JIRA)
Sven van de Scheur created CB-10311:
---

 Summary: cordova-plugin-camera seems to be using deprecated 
MediaStream.stop() in browser
 Key: CB-10311
 URL: https://issues.apache.org/jira/browse/CB-10311
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugin Camera
Affects Versions: 3.5.0
 Environment: Chrome 47
Reporter: Sven van de Scheur
Priority: Minor


The cordova-plugin-camera camera proxy for utilizes a deprecated 
MediaStream.stop(). On Chrome 47 this throws an exception:

"Uncaught TypeError: localMediaStream.stop is not a function" thrown from 
CameraProxy.js:69:
 
// stop video stream, remove video and button
localMediaStream.stop();

According to 
https://developers.google.com/web/updates/2015/07/mediastream-deprecations?hl=en
 MediaStream.stop() has been deprecated in favor of MediaStreamTrack.stop(). 
And the code should be changed accordingly.

I think this should be changed roughly to:

// stop video stream, remove video and button
var tracks = localMediaStream.getTracks();
tracks.forEach(function(track) {
track.stop();
})



--
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-10030) Cordova-Ubuntu Platform Release

2016-01-08 Thread David Barth (JIRA)

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

David Barth closed CB-10030.

Resolution: Fixed

> Cordova-Ubuntu Platform Release
> ---
>
> Key: CB-10030
> URL: https://issues.apache.org/jira/browse/CB-10030
> Project: Apache Cordova
>  Issue Type: Task
>  Components: Ubuntu
>Reporter: David Barth
>Assignee: Steve Gill
>
> Following steps at 
> https://github.com/apache/cordova-coho/blob/master/docs/platforms-release-process.md



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

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



  1   2   >