[jira] [Commented] (CB-11206) Contacts plugin causes app crash

2016-06-06 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-11206:
-

Github user cordova-qa commented on the issue:

https://github.com/apache/cordova-plugin-contacts/pull/128
  
Cordova CI Build has completed successfully. 

**Commit** - 
[Link](https://github.com/apache/cordova-plugin-contacts/pull/128/commits/master)
**Dashboard** - 
[Link](http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-contacts-pr/15/)

| Builder Name  | Console Output | Test Report | Device Logs  |
| :---: | :---:  |   :---: | :---:|
| [Windows 8.1 Store]( 
http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-contacts-pr/15//label=windows-slave,platformName=windows-8.1-store/)
 | [Link]( 
http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-contacts-pr/15//label=windows-slave,platformName=windows-8.1-store/console)
 | [Link]( 
http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-contacts-pr/15//label=windows-slave,platformName=windows-8.1-store/testReport/)
 | [Link]( 
http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-contacts-pr/15//label=windows-slave,platformName=windows-8.1-store/artifact/)
 |
| [Windows 10  Store]( 
http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-contacts-pr/15//label=windows-slave,platformName=windows-10-store/)
 | [Link]( 
http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-contacts-pr/15//label=windows-slave,platformName=windows-10-store/console)
 | [Link]( 
http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-contacts-pr/15//label=windows-slave,platformName=windows-10-store/testReport/)
 | [Link]( 
http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-contacts-pr/15//label=windows-slave,platformName=windows-10-store/artifact/)
 |
| [Windows 8.1 Phone]( 
http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-contacts-pr/15//label=windows-slave,platformName=windows-8.1-phone/)
 | [Link]( 
http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-contacts-pr/15//label=windows-slave,platformName=windows-8.1-phone/console)
 | [Link]( 
http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-contacts-pr/15//label=windows-slave,platformName=windows-8.1-phone/testReport/)
 | [Link]( 
http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-contacts-pr/15//label=windows-slave,platformName=windows-8.1-phone/artifact/)
 |
| [iOS]( 
http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-contacts-pr/15//label=mac-slave,platformName=ios/)
 | [Link]( 
http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-contacts-pr/15//label=mac-slave,platformName=ios/console)
 | [Link]( 
http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-contacts-pr/15//label=mac-slave,platformName=ios/testReport/)
 | [Link]( 
http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-contacts-pr/15//label=mac-slave,platformName=ios/artifact/)
 |
| [Android Mac]( 
http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-contacts-pr/15//label=mac-slave,platformName=android/)
 | [Link]( 
http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-contacts-pr/15//label=mac-slave,platformName=android/console)
 | [Link]( 
http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-contacts-pr/15//label=mac-slave,platformName=android/testReport/)
 | [Link]( 
http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-contacts-pr/15//label=mac-slave,platformName=android/artifact/)
 |
 



> Contacts plugin causes app crash
> 
>
> Key: CB-11206
> URL: https://issues.apache.org/jira/browse/CB-11206
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Contacts
>Reporter: Petr Odut
>
> On Samsung phone app crashes instantly with a stack trace:
> {noformat}
> java.lang.NumberFormatException
> java.lang.Integer.invalidInt(Integer.java:138)
> java.lang.Integer.parseInt(Integer.java:358)
> java.lang.Integer.parseInt(Integer.java:334)
> org.apache.cordova.contacts.ContactAccessorSdk5.imQuery(ContactAccessorSdk5.java:907)
> org.apache.cordova.contacts.ContactAccessorSdk5.populateContactArray(ContactAccessorSdk5.java:435)
> org.apache.cordova.contacts.ContactAccessorSdk5.search(ContactAccessorSdk5.java:282)
> org.apache.cordova.contacts.ContactManager$3.run(ContactManager.java:209)
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
> java.lang.Thread.run(Thread.java:818)
> {noformat}
> JS code to retrieve contacts, on Sony phone the same code works properly:
> {code:javascript}
> if(navigator.contacts) {
>   var options = new ContactFindOptions();
>   options.multiple = true;
>   options.hasPhoneNumber = true;
>   

[jira] [Commented] (CB-11206) Contacts plugin causes app crash

2016-06-06 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-11206:
-

GitHub user proverbface opened a pull request:

https://github.com/apache/cordova-plugin-contacts/pull/128

Resolved crash in Samsung S6 and S7. See CB-11206.

### Platforms affected
Android

### What does this PR do?
Fixes crash on Samsung S6, S7 possible on other Samsung models.  See [JIRA 
issue here](https://issues.apache.org/jira/browse/CB-11206)

### What testing has been done on this change?
Samsung S5, S6, S7, Nexus 5, 9, Samsung GT-S630T, Vodafone VF695 and at 
least 5 other relevant emulators.

We are looking forward to this pull request being merged back to develop. 
It's working pretty well on a couple of apps where we use this Cordova plugin.



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

$ git pull https://github.com/proverbface/cordova-plugin-contacts 
CB-11206cordova-plugin-contacts

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

https://github.com/apache/cordova-plugin-contacts/pull/128.patch

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

This closes #128


commit 324385a92568f4e3bd5fce5f5982742560bac7c3
Author: Juan Pablo Proverbio 
Date:   2016-06-07T03:01:10Z

Resolved crash in Samsung S6 and S7. See CB-11206.




> Contacts plugin causes app crash
> 
>
> Key: CB-11206
> URL: https://issues.apache.org/jira/browse/CB-11206
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Contacts
>Reporter: Petr Odut
>
> On Samsung phone app crashes instantly with a stack trace:
> {noformat}
> java.lang.NumberFormatException
> java.lang.Integer.invalidInt(Integer.java:138)
> java.lang.Integer.parseInt(Integer.java:358)
> java.lang.Integer.parseInt(Integer.java:334)
> org.apache.cordova.contacts.ContactAccessorSdk5.imQuery(ContactAccessorSdk5.java:907)
> org.apache.cordova.contacts.ContactAccessorSdk5.populateContactArray(ContactAccessorSdk5.java:435)
> org.apache.cordova.contacts.ContactAccessorSdk5.search(ContactAccessorSdk5.java:282)
> org.apache.cordova.contacts.ContactManager$3.run(ContactManager.java:209)
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
> java.lang.Thread.run(Thread.java:818)
> {noformat}
> JS code to retrieve contacts, on Sony phone the same code works properly:
> {code:javascript}
> if(navigator.contacts) {
>   var options = new ContactFindOptions();
>   options.multiple = true;
>   options.hasPhoneNumber = true;
>   navigator.contacts.find([navigator.contacts.fieldType.phoneNumbers], 
> contacts => {
>   this.phoneContacts = contacts;
>   d.resolve(contacts);
>   }, e => d.reject(e), options);
> }
> {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-11326) use navigator.app.loadUrl got uncaught exception with allow-navigation

2016-06-06 Thread zhuisui (JIRA)

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

zhuisui commented on CB-11326:
--

Why it is splashscreen plugin? I didn't find something related to it.

> use navigator.app.loadUrl got uncaught exception with allow-navigation 
> ---
>
> Key: CB-11326
> URL: https://issues.apache.org/jira/browse/CB-11326
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin SplashScreen
> Environment: Cordova 6.2.0
>Reporter: zhuisui
>Assignee: Vladimir Kotikov
>  Labels: triaged
>
> I get this stack when {{navigator.app.loadUrl(myurl)}} with 
> {{}}, which occurs after 
> {{pluginManager.shouldAllowNavigation(myurl)}} returns true
> {code}
> Uncaught exception from plugin
>  
> android.view.ViewRootImpl$CalledFromWrongThreadException: Only the original 
> thread that created a view hierarchy can touch its views.
>  at 
> android.view.ViewRootImpl.checkThread(ViewRootImpl.java:6556)
>  at 
> android.view.ViewRootImpl.clearChildFocus(ViewRootImpl.java:3023)
>  at 
> android.view.ViewGroup.clearChildFocus(ViewGroup.java:964)
>  at 
> android.view.ViewGroup.clearChildFocus(ViewGroup.java:964)
>  at 
> android.view.ViewGroup.clearChildFocus(ViewGroup.java:964)
>  at 
> android.view.View.clearFocusInternal(View.java:5602)
>  at 
> android.view.View.clearFocus(View.java:5585)
>  at 
> android.view.ViewGroup.clearFocus(ViewGroup.java:977)
>  at 
> android.view.View.setFlags(View.java:10622)
>  at 
> android.view.View.setVisibility(View.java:7431)
>  at 
> org.apache.cordova.splashscreen.SplashScreen.pluginInitialize(SplashScreen.java:85)
>  at 
> org.apache.cordova.CordovaPlugin.privateInitialize(CordovaPlugin.java:58)
>  at 
> org.apache.cordova.PluginManager.getPlugin(PluginManager.java:172)
>  at 
> org.apache.cordova.PluginManager.startupPlugins(PluginManager.java:98)
>  at 
> org.apache.cordova.PluginManager.init(PluginManager.java:87)
>  at 
> org.apache.cordova.CordovaWebViewImpl.loadUrlIntoView(CordovaWebViewImpl.java:138)
>  at 
> org.apache.cordova.CordovaWebViewImpl.showWebPage(CordovaWebViewImpl.java:216)
>  at 
> org.apache.cordova.CoreAndroid.loadUrl(CoreAndroid.java:203)
>  at 
> org.apache.cordova.CoreAndroid.execute(CoreAndroid.java:92)
>  at 
> org.apache.cordova.CordovaPlugin.execute(CordovaPlugin.java:98)
>  at 
> org.apache.cordova.PluginManager.exec(PluginManager.java:133)
>  at 
> org.apache.cordova.CordovaBridge.jsExec(CordovaBridge.java:59)
>  at 
> org.apache.cordova.engine.SystemExposedJsApi.exec(SystemExposedJsApi.java:41)
>  at 
> org.chromium.base.SystemMessageHandler.nativeDoRunLoopOnce(Native Method)
>  at 
> org.chromium.base.SystemMessageHandler.handleMessage(SystemMessageHandler.java:53)
>  at 
> android.os.Handler.dispatchMessage(Handler.java:102)
>  at 
> android.os.Looper.loop(Looper.java:148)
>  at 
> android.os.HandlerThread.run(HandlerThread.java:61)
> {code}
> Then, app cannot accept any command and doesn't response.



--
This message was sent by Atlassian JIRA

[jira] [Created] (CB-11388) Expose icecast/shoutcast metadata

2016-06-06 Thread 165537 (JIRA)
165537 created CB-11388:
---

 Summary: Expose icecast/shoutcast metadata
 Key: CB-11388
 URL: https://issues.apache.org/jira/browse/CB-11388
 Project: Apache Cordova
  Issue Type: Improvement
  Components: Plugin Media
Reporter: 165537


iOS and Android can correctly play icecast and shoutcast streams, but the 
plugin doesn't provide a way to get the metadata like "now playing".

We'd need to send some headers for the icecast/shoutcast server to send those 
metadata back: http://www.smackfu.com/stuff/programming/shoutcast.html



--
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-11387) Relative plugin resolution does not work when cordova is executed as sub process

2016-06-06 Thread Tobias Bocanegra (JIRA)

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

Tobias Bocanegra updated CB-11387:
--
Attachment: CB-11387-Example.zip

> Relative plugin resolution does not work when cordova is executed as sub 
> process
> 
>
> Key: CB-11387
> URL: https://issues.apache.org/jira/browse/CB-11387
> Project: Apache Cordova
>  Issue Type: Bug
>Affects Versions: 6.2.0
>Reporter: Tobias Bocanegra
> Attachments: CB-11387-Example.zip
>
>
> (this used to work in 6.1.1)
> if {{cordova platform add}} is invoked as subprocess (for example in an 
> ant-script), the plugin spec resolution for relative plugins doesn't work.
> for example:
> {noformat}
>   
> {noformat}
> See the attached script. when running with ant it shows:
> {noformat}
> $ ant test
> Buildfile: /Users/tripod/tmp/testfail/foo/build.xml
> test:
>  [exec] /Users/tripod/tmp/testfail/foo/testdir
>[delete] Deleting directory 
> /Users/tripod/tmp/testfail/foo/testdir/platforms
>[delete] Deleting directory /Users/tripod/tmp/testfail/foo/testdir/plugins
>  [exec] Adding ios project...
>  [exec] iOS project created with cordova-ios@4.1.1
>  [exec] Discovered plugin "cordova-plugin-whitelist" in config.xml. 
> Adding it to the project
>  [exec] Fetching plugin "cordova-plugin-whitelist@1" via npm
>  [exec] Installing "cordova-plugin-whitelist" for ios
>  [exec] Discovered plugin "cordova-testplugin" in config.xml. Adding it 
> to the project
>  [exec] Failed to restore plugin "cordova-testplugin" from config.xml. 
> You might need to try adding it again. Error: Error: Invalid package.json
> {noformat}
> please note, that ant sets the pwd correctly.
> when running from command line:
> {noformat}
> $ cd testdir; cordova platform add ios
> Adding ios project...
> iOS project created with cordova-ios@4.1.1
> Discovered plugin "cordova-plugin-whitelist" in config.xml. Adding it to the 
> project
> Fetching plugin "cordova-plugin-whitelist@1" via npm
> Installing "cordova-plugin-whitelist" for ios
> Discovered plugin "cordova-testplugin" in config.xml. Adding it to the project
> Installing "cordova-testplugin" for ios
> {noformat}



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

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



[jira] [Created] (CB-11387) Relative plugin resolution does not work when cordova is executed as sub process

2016-06-06 Thread Tobias Bocanegra (JIRA)
Tobias Bocanegra created CB-11387:
-

 Summary: Relative plugin resolution does not work when cordova is 
executed as sub process
 Key: CB-11387
 URL: https://issues.apache.org/jira/browse/CB-11387
 Project: Apache Cordova
  Issue Type: Bug
Affects Versions: 6.2.0
Reporter: Tobias Bocanegra


(this used to work in 6.1.1)

if {{cordova platform add}} is invoked as subprocess (for example in an 
ant-script), the plugin spec resolution for relative plugins doesn't work.

for example:

{noformat}
  
{noformat}

See the attached script. when running with ant it shows:

{noformat}
$ ant test
Buildfile: /Users/tripod/tmp/testfail/foo/build.xml

test:
 [exec] /Users/tripod/tmp/testfail/foo/testdir
   [delete] Deleting directory /Users/tripod/tmp/testfail/foo/testdir/platforms
   [delete] Deleting directory /Users/tripod/tmp/testfail/foo/testdir/plugins
 [exec] Adding ios project...
 [exec] iOS project created with cordova-ios@4.1.1
 [exec] Discovered plugin "cordova-plugin-whitelist" in config.xml. Adding 
it to the project
 [exec] Fetching plugin "cordova-plugin-whitelist@1" via npm
 [exec] Installing "cordova-plugin-whitelist" for ios
 [exec] Discovered plugin "cordova-testplugin" in config.xml. Adding it to 
the project
 [exec] Failed to restore plugin "cordova-testplugin" from config.xml. You 
might need to try adding it again. Error: Error: Invalid package.json
{noformat}

please note, that ant sets the pwd correctly.

when running from command line:

{noformat}
$ cd testdir; cordova platform add ios
Adding ios project...
iOS project created with cordova-ios@4.1.1
Discovered plugin "cordova-plugin-whitelist" in config.xml. Adding it to the 
project
Fetching plugin "cordova-plugin-whitelist@1" via npm
Installing "cordova-plugin-whitelist" for ios
Discovered plugin "cordova-testplugin" in config.xml. Adding it to the project
Installing "cordova-testplugin" for ios
{noformat}






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

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



[jira] [Commented] (CB-11313) Can't start media streaming on Android 6.0

2016-06-06 Thread Tommy-Carlos Williams (JIRA)

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

Tommy-Carlos Williams commented on CB-11313:


One thing I might suggest, perhaps the media plugin tests need to include tests 
against an infinite stream like a radio station shoutcast.

> Can't start media streaming on Android 6.0
> --
>
> Key: CB-11313
> URL: https://issues.apache.org/jira/browse/CB-11313
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Media
>Reporter: Mark Veenstra
>
> We are trying to play online radio stations with Cordova, for example these 
> stations:
> http://www.hendrikjansen.nl/henk/streaming.html
> But when we try the current released version {{2.3.0}} or the current dev 
> {{2.3.1-dev}}, both give the same {{adb logcat}} output:
> {code}
> 05-24 15:22:08.936 27095 27176 E MediaPlayer-JNI: JNIMediaPlayerFactory: 
> bIsQCMediaPlayerPresent 0
> 05-24 15:22:08.936 27095 27176 E MediaPlayer-JNI: JNIMediaPlayerFactory: 
> bIsQCMediaPlayerPresent 0
> 05-24 15:22:08.940   798  3345 I MediaFocusControl:  AudioFocus  
> requestAudioFocus() from 
> android.media.AudioManager@fd128bforg.apache.cordova.media.AudioHandler$1@932bb8c
>  req=1flags=0x0
> 05-24 15:22:08.953 27095 27415 D MediaHTTPConnection: 
> filterOutInternalHeaders: key=User-Agent, val= stagefright/1.2 (Linux;Android 
> 6.0.1)
> 05-24 15:22:08.954 27095 27810 D MediaHTTPConnection: proxy null port 0
> 05-24 15:22:13.341   258 30530 I FFmpegExtractor: android-source:0xb5f4f8c0
> 05-24 15:22:13.343   258 30530 E FFMPEG  : FFSource getSize failed
> 05-24 15:22:13.343   258 30530 E FFMPEG  : FFSource getSize failed
> 05-24 15:22:13.343   258 30530 E FFMPEG  : FFSource getSize failed
> 05-24 15:22:13.343   258 30530 I FFMPEG  : [mp3 @ 0xae696e00] Skipping 0 
> bytes of junk at 0.
> 05-24 15:22:13.343   258 30530 D FFmpegExtractor: suppoted codec(mp3) by 
> official Stagefright
> 05-24 15:22:13.343   258 30530 D FFmpegExtractor: ffmpeg detected media 
> content as 'audio/mpeg' with confidence 0.08
> 05-24 15:22:13.344   258 30529 D NuPlayerDriver: 
> notifyListener_l(0xae76c0e0), (1, 0, 0)
> 05-24 15:22:13.345 27095 27176 D MediaPlayer: setSubtitleAnchor in MediaPlayer
> 05-24 15:22:13.347   258  2659 E MediaPlayerService: getDuration returned 
> -2147483648
> 05-24 15:22:13.347 27095 27176 W MediaPlayer: Stream has no duration and is 
> therefore not seekable.
> 05-24 15:22:13.347 27095 27176 E MediaPlayer: error (-2147483648, 0)
> 05-24 15:22:13.347 27095 27176 D AudioPlayer: Send a onStatus update for the 
> new seek
> 05-24 15:22:13.348 27095 27176 E MediaPlayer: start called in state 0
> 05-24 15:22:13.348 27095 27176 E MediaPlayer: error (-38, 0)
> 05-24 15:22:13.348 27095 27176 E MediaPlayer: Attempt to call getDuration 
> without a valid mediaplayer
> 05-24 15:22:13.348 27095 27176 E MediaPlayer: error (-38, 0)
> 05-24 15:22:13.348 27095 27176 E MediaPlayer: Error (-2147483648,0)
> 05-24 15:22:13.348 27095 27176 D AudioPlayer: on completion is calling stopped
> 05-24 15:22:13.349 27095 27176 E MediaPlayer: Error (-38,0)
> 05-24 15:22:13.349 27095 27176 D AudioPlayer: on completion is calling stopped
> 05-24 15:22:13.349 27095 27176 E MediaPlayer: Error (-38,0)
> 05-24 15:22:13.349 27095 27176 D AudioPlayer: on completion is calling stopped
> {code}
> If I comment out the lines 
> https://github.com/apache/cordova-plugin-media/blob/master/src/android/AudioPlayer.java#L435
>  ({{this.seekToPlaying(this.seekOnPrepared);}}) and 
> https://github.com/apache/cordova-plugin-media/blob/master/src/android/AudioPlayer.java#L445
>  ({{this.duration = getDurationInSeconds();}}). It does start the stream, but 
> as soon as I receive a notification from a different app (for example a new 
> WhatApp message) the MediaPlayer crashes.



--
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-11349) Add cordova fetch to cordova create

2016-06-06 Thread ASF subversion and git services (JIRA)

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

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

Commit 486bdab5c0a5f21de48ec989e76984663f561de9 in cordova-cli's branch 
refs/heads/master from [~carynbear]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-cli.git;h=486bdab ]

CB-11349 passing --fetch to create

 This closes #256


> Add cordova fetch to cordova create
> ---
>
> Key: CB-11349
> URL: https://issues.apache.org/jira/browse/CB-11349
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: CordovaLib
>Reporter: Caryn Tran
>Assignee: Caryn Tran
>Priority: Minor
>  Labels: fetch
>




--
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-11349) Add cordova fetch to cordova create

2016-06-06 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-11349:
-

Github user asfgit closed the pull request at:

https://github.com/apache/cordova-cli/pull/256


> Add cordova fetch to cordova create
> ---
>
> Key: CB-11349
> URL: https://issues.apache.org/jira/browse/CB-11349
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: CordovaLib
>Reporter: Caryn Tran
>Assignee: Caryn Tran
>Priority: Minor
>  Labels: fetch
>




--
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-11373) config.xml options not documented: android-packageName, android-activityName, ios-CFBundleIdentifier

2016-06-06 Thread JIRA

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

Frederico Costa Galvão commented on CB-11373:
-

Unfortunately I don't think I can. First I haven't signed the CLA, although I 
think that could be easily fixed. However I also don't think I'm the one with 
the knowledge as to how those settings work precisely. I'd prefer to have those 
documented by who implemented them in the first place.

 However, if unfinished work is accepted so that we could discuss and work over 
it after an initial PR, I'll make room and time to sign the CLA and get that PR 
going. I'll be happy to *finally* start contributing code to cordova if so.

> config.xml options not documented: android-packageName, android-activityName, 
> ios-CFBundleIdentifier
> 
>
> Key: CB-11373
> URL: https://issues.apache.org/jira/browse/CB-11373
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Docs
>Affects Versions: 6.2.0
>Reporter: Frederico Costa Galvão
>Priority: Minor
>  Labels: Android, documentation, iOS, triaged
>
> None of these options \[1\] are currently documented \[2\].
> I wonder how many of those hidden settings are there.
> \[1\] 
> https://github.com/apache/cordova-lib/blob/9f630271d9c02824c0031ea4cdc0e4955b53d9e2/cordova-common/src/ConfigParser/ConfigParser.js#L99-L107
> \[2\] https://cordova.apache.org/docs/en/latest/config_ref/index.html 
> (visited @ 03/06/2016 23:00:00 UTC)



--
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-11252) Cordova-fetch fails to restore scoped plugins on prepare

2016-06-06 Thread ASF subversion and git services (JIRA)

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

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

Commit a0d46057566d454b110016af75f112ee190d9b57 in cordova-lib's branch 
refs/heads/master from [~dpogue]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-lib.git;h=a0d4605 ]

[CB-11252] Fix cordova-fetch tests

It's only a scoped package if the @ is the first character.


> Cordova-fetch fails to restore scoped plugins on prepare
> 
>
> Key: CB-11252
> URL: https://issues.apache.org/jira/browse/CB-11252
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-fetch
>Reporter: Darryl Pogue
>Assignee: Caryn Tran
>  Labels: cordova-fetch
>
> With {code} spec="~1.0.1" />{code} in my config.xml, I get the following when running 
> {{cordova prepare --fetch --verbose}}:
> {code}
> Executing "after_prepare"  hook for all plugins.
> Discovered plugin "@dpogue/cordova-plugin-wkwebview-engine" in config.xml. 
> Installing to the project
> Executing "before_plugin_add"  hook for all plugins.
> Calling plugman.fetch on plugin 
> "@dpogue/cordova-plugin-wkwebview-engine@~1.0.1"
> Failed to restore plugin @dpogue/cordova-plugin-wkwebview-engine from 
> config.xml. You might want to reinstall it again. Error: Cannot find 
> plugin.xml for plugin 'node_modules'. Please try adding it again.
> Discovered plugin "@dpogue/cordova-plugin-crosswalk-webview" in config.xml. 
> Installing to the project
> Executing "before_plugin_add"  hook for all plugins.
> {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-11375) onReset method of CDVPlugin is never called

2016-06-06 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah resolved CB-11375.
---
Resolution: Fixed

> onReset method of CDVPlugin is never called
> ---
>
> Key: CB-11375
> URL: https://issues.apache.org/jira/browse/CB-11375
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS
>Affects Versions: 6.1.1, 6.2.0
>Reporter: Dale Beermann
>Assignee: Shazron Abdullah
>  Labels: triaged
>
> {{CDVUIWebViewNavigationDelegate.webViewDidStartLoad}} gets called as it 
> should. The line in that method:
> {code}
> [[NSNotificationCenter defaultCenter] postNotification:[NSNotification 
> notificationWithName:CDVPluginResetNotification 
> object:self.enginePlugin.webView]];
> {code}
> seems to be an issue. The {{self.enginePlugin.webView}} reference calls into 
> the {{webView}} method in {{CDVPlugin.m}}. There, the lines:
> {code}
> if (self.webViewEngine != nil) {
> return self.webViewEngine.engineWebView;
> }
> {code}
> should return the {{engineWebView}}, but instead it returns nil. I think that 
> the issue is that {{CDVUIWebViewEngine}} extends {{CDVPlugin}}, but doesn't 
> override the {{webView}} method. If I do override that getter in 
> {{CDVUIWebViewEngine.m}}, with:
> {code}
> - (UIView*)webView
> {
> if (self.engineWebView != nil) {
> return self.engineWebView;
> }
> 
> return nil;
> }
> {code}
> everything actually seems to get called correctly. I'm running Cordova 6.1.1 
> with Cordova iOS 4.1.1. It does not look like there are any changes since 
> then that would affect this.



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

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



[jira] [Commented] (CB-11375) onReset method of CDVPlugin is never called

2016-06-06 Thread ASF subversion and git services (JIRA)

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

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

Commit 639c6cbbc1c280f036e38cadab211394cc376728 in 
cordova-plugin-wkwebview-engine's branch refs/heads/master from [~shazron]
[ 
https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-wkwebview-engine.git;h=639c6cb
 ]

CB-11375 - onReset method of CDVPlugin is never called


> onReset method of CDVPlugin is never called
> ---
>
> Key: CB-11375
> URL: https://issues.apache.org/jira/browse/CB-11375
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS
>Affects Versions: 6.1.1, 6.2.0
>Reporter: Dale Beermann
>Assignee: Shazron Abdullah
>  Labels: triaged
>
> {{CDVUIWebViewNavigationDelegate.webViewDidStartLoad}} gets called as it 
> should. The line in that method:
> {code}
> [[NSNotificationCenter defaultCenter] postNotification:[NSNotification 
> notificationWithName:CDVPluginResetNotification 
> object:self.enginePlugin.webView]];
> {code}
> seems to be an issue. The {{self.enginePlugin.webView}} reference calls into 
> the {{webView}} method in {{CDVPlugin.m}}. There, the lines:
> {code}
> if (self.webViewEngine != nil) {
> return self.webViewEngine.engineWebView;
> }
> {code}
> should return the {{engineWebView}}, but instead it returns nil. I think that 
> the issue is that {{CDVUIWebViewEngine}} extends {{CDVPlugin}}, but doesn't 
> override the {{webView}} method. If I do override that getter in 
> {{CDVUIWebViewEngine.m}}, with:
> {code}
> - (UIView*)webView
> {
> if (self.engineWebView != nil) {
> return self.engineWebView;
> }
> 
> return nil;
> }
> {code}
> everything actually seems to get called correctly. I'm running Cordova 6.1.1 
> with Cordova iOS 4.1.1. It does not look like there are any changes since 
> then that would affect this.



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

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



[jira] [Commented] (CB-11375) onReset method of CDVPlugin is never called

2016-06-06 Thread ASF subversion and git services (JIRA)

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

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

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

CB-11375 - onReset method of CDVPlugin is never called


> onReset method of CDVPlugin is never called
> ---
>
> Key: CB-11375
> URL: https://issues.apache.org/jira/browse/CB-11375
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS
>Affects Versions: 6.1.1, 6.2.0
>Reporter: Dale Beermann
>Assignee: Shazron Abdullah
>  Labels: triaged
>
> {{CDVUIWebViewNavigationDelegate.webViewDidStartLoad}} gets called as it 
> should. The line in that method:
> {code}
> [[NSNotificationCenter defaultCenter] postNotification:[NSNotification 
> notificationWithName:CDVPluginResetNotification 
> object:self.enginePlugin.webView]];
> {code}
> seems to be an issue. The {{self.enginePlugin.webView}} reference calls into 
> the {{webView}} method in {{CDVPlugin.m}}. There, the lines:
> {code}
> if (self.webViewEngine != nil) {
> return self.webViewEngine.engineWebView;
> }
> {code}
> should return the {{engineWebView}}, but instead it returns nil. I think that 
> the issue is that {{CDVUIWebViewEngine}} extends {{CDVPlugin}}, but doesn't 
> override the {{webView}} method. If I do override that getter in 
> {{CDVUIWebViewEngine.m}}, with:
> {code}
> - (UIView*)webView
> {
> if (self.engineWebView != nil) {
> return self.engineWebView;
> }
> 
> return nil;
> }
> {code}
> everything actually seems to get called correctly. I'm running Cordova 6.1.1 
> with Cordova iOS 4.1.1. It does not look like there are any changes since 
> then that would affect this.



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

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



[jira] [Commented] (CB-11372) 403 Forbidden Link on main home page

2016-06-06 Thread Nikhil Khandelwal (JIRA)

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

Nikhil Khandelwal commented on CB-11372:


Thanks, Shaz for checking. My git push failed earlier - now I got it to push 
correctly. This should stay resolved!

> 403 Forbidden Link on main home page
> 
>
> Key: CB-11372
> URL: https://issues.apache.org/jira/browse/CB-11372
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Docs
>Reporter: Shazron Abdullah
>  Labels: triaged
> Attachments: 403.png
>
>
> 1. Go to http://cordova.apache.org
> 2. Go to the "Installing Cordova" section
> 3. Click on the link "platform specific guides" 
> (http://cordova.apache.org/docs/en/latest/guide/platforms/)
> 4. You get a "403 Forbidden - You don't have permission to access 
> /docs/en/6.x/guide/platforms/ on this server." error
> See screenshot.



--
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-11386) framwork tag on Android replaces a module's build.gradle with something unusable

2016-06-06 Thread Joe Bowser (JIRA)

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

Joe Bowser updated CB-11386:

Description: If you have a directory that's a module, and you use the 
Framework tag to try and use it, it replaces the gradle with some old gradle 
that doesn't have the correct dependencies.  This is obviously wrong.  (was: 
This is an old gradle file from who knows where.  This is obviously wrong.)

> framwork tag on Android replaces a module's build.gradle with something 
> unusable
> 
>
> Key: CB-11386
> URL: https://issues.apache.org/jira/browse/CB-11386
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Android
>Reporter: Joe Bowser
>Assignee: Joe Bowser
>  Labels: Android
>
> If you have a directory that's a module, and you use the Framework tag to try 
> and use it, it replaces the gradle with some old gradle that doesn't have the 
> correct dependencies.  This is obviously wrong.



--
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-11386) framwork tag on Android replaces a module's build.gradle with something unusable

2016-06-06 Thread Joe Bowser (JIRA)

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

Joe Bowser updated CB-11386:

 Labels: Android  (was: )
Component/s: Android

> framwork tag on Android replaces a module's build.gradle with something 
> unusable
> 
>
> Key: CB-11386
> URL: https://issues.apache.org/jira/browse/CB-11386
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Android
>Reporter: Joe Bowser
>Assignee: Joe Bowser
>  Labels: Android
>
> This is an old gradle file from who knows where.  This is obviously wrong.



--
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-11386) framwork tag on Android replaces a module's build.gradle with something unusable

2016-06-06 Thread Joe Bowser (JIRA)
Joe Bowser created CB-11386:
---

 Summary: framwork tag on Android replaces a module's build.gradle 
with something unusable
 Key: CB-11386
 URL: https://issues.apache.org/jira/browse/CB-11386
 Project: Apache Cordova
  Issue Type: Bug
Reporter: Joe Bowser
Assignee: Joe Bowser


This is an old gradle file from who knows where.  This is obviously wrong.



--
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-11375) onReset method of CDVPlugin is never called

2016-06-06 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-11375:
--
Component/s: (was: Plugins)

> onReset method of CDVPlugin is never called
> ---
>
> Key: CB-11375
> URL: https://issues.apache.org/jira/browse/CB-11375
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS
>Affects Versions: 6.1.1, 6.2.0
>Reporter: Dale Beermann
>Assignee: Shazron Abdullah
>  Labels: triaged
>
> {{CDVUIWebViewNavigationDelegate.webViewDidStartLoad}} gets called as it 
> should. The line in that method:
> {code}
> [[NSNotificationCenter defaultCenter] postNotification:[NSNotification 
> notificationWithName:CDVPluginResetNotification 
> object:self.enginePlugin.webView]];
> {code}
> seems to be an issue. The {{self.enginePlugin.webView}} reference calls into 
> the {{webView}} method in {{CDVPlugin.m}}. There, the lines:
> {code}
> if (self.webViewEngine != nil) {
> return self.webViewEngine.engineWebView;
> }
> {code}
> should return the {{engineWebView}}, but instead it returns nil. I think that 
> the issue is that {{CDVUIWebViewEngine}} extends {{CDVPlugin}}, but doesn't 
> override the {{webView}} method. If I do override that getter in 
> {{CDVUIWebViewEngine.m}}, with:
> {code}
> - (UIView*)webView
> {
> if (self.engineWebView != nil) {
> return self.engineWebView;
> }
> 
> return nil;
> }
> {code}
> everything actually seems to get called correctly. I'm running Cordova 6.1.1 
> with Cordova iOS 4.1.1. It does not look like there are any changes since 
> then that would affect this.



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

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



[jira] [Commented] (CB-11383) Gradle needs to be updated with modern plugin name and JCenter

2016-06-06 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-11383:
-

Github user macdonst commented on the issue:

https://github.com/apache/cordova-android/pull/309
  
@infil00p should we leave `mavenCentral` in just in case?


> Gradle needs to be updated with modern plugin name and JCenter
> --
>
> Key: CB-11383
> URL: https://issues.apache.org/jira/browse/CB-11383
> Project: Apache Cordova
>  Issue Type: Bug
>Reporter: Joe Bowser
>Assignee: Joe Bowser
>  Labels: Android
>
> Setting all repositories by default to JCenter



--
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-11385) cordova-plugin-file Android does not pass sonarqube scan

2016-06-06 Thread Rob Close (JIRA)

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

Rob Close updated CB-11385:
---
Description: 
The Android file plugin does not pass sonarqube (http://www.sonarqube.org/) 
scan.

The problem are "Empty Catch Block", which sonarqube considers a blocker, and 
the following, which sonarqube considers major:
Preserve stack trace,



  was:
The Android file plugin does not pass sonarqube (http://www.sonarqube.org/) 
scan.

The problem is "Empty Catch Block", which sonarqube considers a blocker.



> cordova-plugin-file Android does not pass sonarqube scan
> 
>
> Key: CB-11385
> URL: https://issues.apache.org/jira/browse/CB-11385
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin File
>Affects Versions: Master
> Environment: Android
>Reporter: Rob Close
>Priority: Minor
> Fix For: Master
>
>
> The Android file plugin does not pass sonarqube (http://www.sonarqube.org/) 
> scan.
> The problem are "Empty Catch Block", which sonarqube considers a blocker, and 
> the following, which sonarqube considers major:
> Preserve stack trace,



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

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



[jira] [Reopened] (CB-11327) App force closes after launch

2016-06-06 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah reopened CB-11327:
---

Will need your help on this one to repro and resolve. 
Can you try commenting out all the plugins in config.xml and re-adding them one 
by one until you see the crash?

Either that, if the plugins are public, attach your config.xml with all the 
plugins listed. When you add a plugin using "cordova plugin add PLUGIN", add 
the "--save" flag to save it in config.xml

> App force closes after launch
> -
>
> Key: CB-11327
> URL: https://issues.apache.org/jira/browse/CB-11327
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CordovaCommon, CordovaLib, iOS
>Affects Versions: 6.2.0
> Environment: iOS
>Reporter: Volkan G.
>Assignee: Shazron Abdullah
>Priority: Blocker
>
> Hey,
> I just updated to 6.2.0 using npm.
> The iOS app build with 6.2.0. crashes instantly after launch with the 
> following error:
> {code}
> 2016-05-27 11:16:57.989 MyApp[3242:3612449] -[NSTaggedPointerString 
> objectForKey:]: unrecognized selector sent to instance 0xa301
> 2016-05-27 11:16:57.991 MyApp[3242:3612449] *** Terminating app due to 
> uncaught exception 'NSInvalidArgumentException', reason: 
> '-[NSTaggedPointerString objectForKey:]: unrecognized selector sent to 
> instance 0xa301'
> *** First throw call stack:
> (0x181bf2e38 0x181257f80 0x181bf9ccc 0x181bf6c74 0x181af4d1c 0x1000afe2c 
> 0x100545a3c 0x1005468b4 0x1000afcf8 0x1000be788 0x1000bd884 0x1000be688 
> 0x100545a7c 0x100545a3c 0x10054b4e4 0x181ba8dd8 0x181ba6c40 0x181ad0d10 
> 0x1833b8088 0x186da5f70 0x164f8 0x18166e8b8)
> libc++abi.dylib: terminating with uncaught exception of type NSException
> {code}
> Works with 6.1.0.



--
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-11385) cordova-plugin-file Android does not pass sonarqube scan

2016-06-06 Thread Rob Close (JIRA)
Rob Close created CB-11385:
--

 Summary: cordova-plugin-file Android does not pass sonarqube scan
 Key: CB-11385
 URL: https://issues.apache.org/jira/browse/CB-11385
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugin File
Affects Versions: Master
 Environment: Android
Reporter: Rob Close
Priority: Minor
 Fix For: Master


The Android file plugin does not pass sonarqube (http://www.sonarqube.org/) 
scan.

The problem is "Empty Catch Block", which sonarqube considers a blocker.




--
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-9161) Support iPad multitasking in iOS 9

2016-06-06 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah reassigned CB-9161:


Assignee: Shazron Abdullah

> Support iPad multitasking in iOS 9
> --
>
> Key: CB-9161
> URL: https://issues.apache.org/jira/browse/CB-9161
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS
>Affects Versions: 4.0.0
> Environment: iOS 9
>Reporter: Shazron Abdullah
>Assignee: Shazron Abdullah
>  Labels: cordova-ios-5.0.x
> Attachments: screenshot-1.png
>
>
> This is to support SlideOver and SplitView. Note that SplitView is only 
> supported on iPad Air 2.
> The three rules are:
> 1. Build your apps with the iOS 9 SDK
> 2. Support all orientations
> 3. Use Launch Storyboards
> We have 1 and 2 covered, but not 3.



--
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-11384) cordova-plugin-network-information Android does not pass sonarqube scan

2016-06-06 Thread Rob Close (JIRA)
Rob Close created CB-11384:
--

 Summary: cordova-plugin-network-information Android does not pass 
sonarqube scan
 Key: CB-11384
 URL: https://issues.apache.org/jira/browse/CB-11384
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugin Network Information
Affects Versions: Master
 Environment: Android
Reporter: Rob Close
Priority: Minor
 Fix For: Master




The Android network information plugin does not pass sonarqube 
(http://www.sonarqube.org/) scan.

The problem is "Empty Catch Block", which sonarqube considers a blocker.




--
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-11381) cordova-plugin-inappbrowser Android does not pass sonarqube scan

2016-06-06 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-11381:
-

Github user jcesarmobile commented on the issue:

https://github.com/apache/cordova-plugin-inappbrowser/pull/169
  
LGTM


> cordova-plugin-inappbrowser Android does not pass sonarqube scan
> 
>
> Key: CB-11381
> URL: https://issues.apache.org/jira/browse/CB-11381
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin InAppBrowser
>Affects Versions: Master
> Environment: Android
>Reporter: Rob Close
>Priority: Minor
> Fix For: Master
>
>
> The Android inappbrowser plugin does not pass sonarqube 
> (http://www.sonarqube.org/) scan.
> The problem is "Empty Catch Block", which sonarqube considers a blocker.



--
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-11372) 403 Forbidden Link on main home page

2016-06-06 Thread ASF subversion and git services (JIRA)

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

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

Commit 3bbe76a06eca92cc61283c21982a4159d9bd9d42 in cordova-docs's branch 
refs/heads/master from [~nikhilkh]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-docs.git;h=3bbe76a ]

CB-11372 Fix platform guide link on homepage


> 403 Forbidden Link on main home page
> 
>
> Key: CB-11372
> URL: https://issues.apache.org/jira/browse/CB-11372
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Docs
>Reporter: Shazron Abdullah
>  Labels: triaged
> Attachments: 403.png
>
>
> 1. Go to http://cordova.apache.org
> 2. Go to the "Installing Cordova" section
> 3. Click on the link "platform specific guides" 
> (http://cordova.apache.org/docs/en/latest/guide/platforms/)
> 4. You get a "403 Forbidden - You don't have permission to access 
> /docs/en/6.x/guide/platforms/ on this server." error
> See screenshot.



--
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-11383) Gradle needs to be updated with modern plugin name and JCenter

2016-06-06 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-11383:
-

GitHub user infil00p opened a pull request:

https://github.com/apache/cordova-android/pull/309

CB-11383: Update to gradle for using jcenter and use app plugin

This is a housekeeping pull request so we can use gradle more easily.

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

$ git pull https://github.com/infil00p/cordova-android master

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

https://github.com/apache/cordova-android/pull/309.patch

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

This closes #309


commit db4d1f57682224476e270d42f654321b82990dd0
Author: Joe Bowser 
Date:   2016-06-06T18:21:30Z

CB-11383: Update to gradle for using jcenter and correct Application plugin




> Gradle needs to be updated with modern plugin name and JCenter
> --
>
> Key: CB-11383
> URL: https://issues.apache.org/jira/browse/CB-11383
> Project: Apache Cordova
>  Issue Type: Bug
>Reporter: Joe Bowser
>Assignee: Joe Bowser
>  Labels: Android
>
> Setting all repositories by default to JCenter



--
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-11381) cordova-plugin-inappbrowser Android does not pass sonarqube scan

2016-06-06 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-11381:
-

Github user cordova-qa commented on the issue:

https://github.com/apache/cordova-plugin-inappbrowser/pull/169
  
Cordova CI Build has completed successfully. 

**Commit** - 
[Link](https://github.com/apache/cordova-plugin-inappbrowser/pull/169/commits/master)
**Dashboard** - 
[Link](http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-inappbrowser-pr/13/)

| Builder Name  | Console Output | Test Report | Device Logs  |
| :---: | :---:  |   :---: | :---:|
| [Windows 8.1 Store]( 
http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-inappbrowser-pr/13//label=windows-slave,platformName=windows-8.1-store/)
 | [Link]( 
http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-inappbrowser-pr/13//label=windows-slave,platformName=windows-8.1-store/console)
 | [Link]( 
http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-inappbrowser-pr/13//label=windows-slave,platformName=windows-8.1-store/testReport/)
 | [Link]( 
http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-inappbrowser-pr/13//label=windows-slave,platformName=windows-8.1-store/artifact/)
 |
| [Windows 10  Store]( 
http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-inappbrowser-pr/13//label=windows-slave,platformName=windows-10-store/)
 | [Link]( 
http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-inappbrowser-pr/13//label=windows-slave,platformName=windows-10-store/console)
 | [Link]( 
http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-inappbrowser-pr/13//label=windows-slave,platformName=windows-10-store/testReport/)
 | [Link]( 
http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-inappbrowser-pr/13//label=windows-slave,platformName=windows-10-store/artifact/)
 |
| [Windows 8.1 Phone]( 
http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-inappbrowser-pr/13//label=windows-slave,platformName=windows-8.1-phone/)
 | [Link]( 
http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-inappbrowser-pr/13//label=windows-slave,platformName=windows-8.1-phone/console)
 | [Link]( 
http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-inappbrowser-pr/13//label=windows-slave,platformName=windows-8.1-phone/testReport/)
 | [Link]( 
http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-inappbrowser-pr/13//label=windows-slave,platformName=windows-8.1-phone/artifact/)
 |
| [iOS]( 
http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-inappbrowser-pr/13//label=mac-slave,platformName=ios/)
 | [Link]( 
http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-inappbrowser-pr/13//label=mac-slave,platformName=ios/console)
 | [Link]( 
http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-inappbrowser-pr/13//label=mac-slave,platformName=ios/testReport/)
 | [Link]( 
http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-inappbrowser-pr/13//label=mac-slave,platformName=ios/artifact/)
 |
| [Android Mac]( 
http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-inappbrowser-pr/13//label=mac-slave,platformName=android/)
 | [Link]( 
http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-inappbrowser-pr/13//label=mac-slave,platformName=android/console)
 | [Link]( 
http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-inappbrowser-pr/13//label=mac-slave,platformName=android/testReport/)
 | [Link]( 
http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-inappbrowser-pr/13//label=mac-slave,platformName=android/artifact/)
 |
 



> cordova-plugin-inappbrowser Android does not pass sonarqube scan
> 
>
> Key: CB-11381
> URL: https://issues.apache.org/jira/browse/CB-11381
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin InAppBrowser
>Affects Versions: Master
> Environment: Android
>Reporter: Rob Close
>Priority: Minor
> Fix For: Master
>
>
> The Android inappbrowser plugin does not pass sonarqube 
> (http://www.sonarqube.org/) scan.
> The problem is "Empty Catch Block", which sonarqube considers a blocker.



--
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-11372) 403 Forbidden Link on main home page

2016-06-06 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah commented on CB-11372:
---

[~nikhilkh] I don't see that the bug is fixed on cordova.apache.org (it still 
occurs) nor do I see the fix commit? Was this resolved in error?

> 403 Forbidden Link on main home page
> 
>
> Key: CB-11372
> URL: https://issues.apache.org/jira/browse/CB-11372
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Docs
>Reporter: Shazron Abdullah
>  Labels: triaged
> Attachments: 403.png
>
>
> 1. Go to http://cordova.apache.org
> 2. Go to the "Installing Cordova" section
> 3. Click on the link "platform specific guides" 
> (http://cordova.apache.org/docs/en/latest/guide/platforms/)
> 4. You get a "403 Forbidden - You don't have permission to access 
> /docs/en/6.x/guide/platforms/ on this server." error
> See screenshot.



--
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-11381) cordova-plugin-inappbrowser Android does not pass sonarqube scan

2016-06-06 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-11381:
-

GitHub user rob-close opened a pull request:

https://github.com/apache/cordova-plugin-inappbrowser/pull/169

CB-11381 android: Does not pass sonarqube scan

The problem is "Empty Catch Block", which sonarqube considers a blocker.  
Added
a log message to the empty block.

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

$ git pull https://github.com/rob-close/cordova-plugin-inappbrowser master

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

https://github.com/apache/cordova-plugin-inappbrowser/pull/169.patch

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

This closes #169


commit 808f3d061a1138669116634d9fb7ae0d4d09fbac
Author: Rob Close 
Date:   2016-06-06T18:13:21Z

CB-11381 android: Does not pass sonarqube scan

The problem is "Empty Catch Block", which sonarqube considers a blocker.  
Added
a log message to the empty block.




> cordova-plugin-inappbrowser Android does not pass sonarqube scan
> 
>
> Key: CB-11381
> URL: https://issues.apache.org/jira/browse/CB-11381
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin InAppBrowser
>Affects Versions: Master
> Environment: Android
>Reporter: Rob Close
>Priority: Minor
> Fix For: Master
>
>
> The Android inappbrowser plugin does not pass sonarqube 
> (http://www.sonarqube.org/) scan.
> The problem is "Empty Catch Block", which sonarqube considers a blocker.



--
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-11383) Gradle needs to be updated with modern plugin name and JCenter

2016-06-06 Thread Joe Bowser (JIRA)

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

Joe Bowser updated CB-11383:

Assignee: Joe Bowser
  Labels: Android  (was: )
 Summary: Gradle needs to be updated with modern plugin name and JCenter  
(was: JIRA needs to be updated with modern plugin name and JCenter)

> Gradle needs to be updated with modern plugin name and JCenter
> --
>
> Key: CB-11383
> URL: https://issues.apache.org/jira/browse/CB-11383
> Project: Apache Cordova
>  Issue Type: Bug
>Reporter: Joe Bowser
>Assignee: Joe Bowser
>  Labels: Android
>
> Setting all repositories by default to JCenter



--
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-11383) JIRA needs to be updated with modern plugin name and JCenter

2016-06-06 Thread Joe Bowser (JIRA)
Joe Bowser created CB-11383:
---

 Summary: JIRA needs to be updated with modern plugin name and 
JCenter
 Key: CB-11383
 URL: https://issues.apache.org/jira/browse/CB-11383
 Project: Apache Cordova
  Issue Type: Bug
Reporter: Joe Bowser


Setting all repositories by default to JCenter



--
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-10438) Plugin dependency version/spec is not used/ignored

2016-06-06 Thread Steve Gill (JIRA)

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

Steve Gill updated CB-10438:

Assignee: Caryn Tran  (was: Steve Gill)

> Plugin dependency version/spec is not used/ignored
> --
>
> Key: CB-10438
> URL: https://issues.apache.org/jira/browse/CB-10438
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CordovaLib
>Affects Versions: 6.0.0, 5.4.1
>Reporter: Steve Gill
>Assignee: Caryn Tran
>  Labels: as-designed, cordova-fetch, triaged
>
> Quite the bug! 
> {code:javascript}
> 
> or
> 
> {code}
> The above line will ignore spec or version and will always grab the latest. I 
> went back and tried the previous version of cordova and this seems to be 
> ignoring it as well. Seems like this was never working.



--
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-11382) Camera will not open

2016-06-06 Thread Ivan (JIRA)
Ivan created CB-11382:
-

 Summary: Camera will not open
 Key: CB-11382
 URL: https://issues.apache.org/jira/browse/CB-11382
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugin Camera
Reporter: Ivan


I'm using Cordova Camera Plugin 
(https://www.npmjs.com/package/cordova-plugin-camera) and starting with this 
line
navigator.camera.getPicture(onSuccessPhoto, onFailPhoto, { quality: 50, 
destinationType: Camera.DestinationType.FILE_URI });

on android 6.0.1. camera will not open. On lower android version it works fine.



--
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-11381) cordova-plugin-inappbrowser Android does not pass sonarqube scan

2016-06-06 Thread Rob Close (JIRA)

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

Rob Close updated CB-11381:
---
Description: 
The Android inappbrowser plugin does not pass sonarqube 
(http://www.sonarqube.org/) scan.

The problem is "Empty Catch Block", which sonarqube considers a blocker.

  was:The Android inappbrowser plugin does not pass sonarqube 
(http://www.sonarqube.org/) scan


> cordova-plugin-inappbrowser Android does not pass sonarqube scan
> 
>
> Key: CB-11381
> URL: https://issues.apache.org/jira/browse/CB-11381
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin InAppBrowser
>Affects Versions: Master
> Environment: Android
>Reporter: Rob Close
>Priority: Minor
> Fix For: Master
>
>
> The Android inappbrowser plugin does not pass sonarqube 
> (http://www.sonarqube.org/) scan.
> The problem is "Empty Catch Block", which sonarqube considers a blocker.



--
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-11364) Ajax call with cordova whitelist plugin error

2016-06-06 Thread Nikhil Khandelwal (JIRA)

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

Nikhil Khandelwal commented on CB-11364:


It's best to post on stack overflow with more details.

> Ajax call with cordova whitelist plugin error
> -
>
> Key: CB-11364
> URL: https://issues.apache.org/jira/browse/CB-11364
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Whitelist
>Reporter: Riccardo Amadi
>
> I've implemented the cordova whitelist plugin on my phonegap build 
> application but after a full week i still didn't manage to make a correct 
> ajax call.
> More info here: 
> http://stackoverflow.com/questions/37589890/ajax-call-with-cordova-whitelist-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-11316) Content-Type not set for multi-part file

2016-06-06 Thread Nikhil Khandelwal (JIRA)

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

Nikhil Khandelwal updated CB-11316:
---
Labels: Windows Windows10 triaged  (was: Windows Windows10)

> Content-Type not set for multi-part file
> 
>
> Key: CB-11316
> URL: https://issues.apache.org/jira/browse/CB-11316
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin File Transfer
>Affects Versions: 3.5.0
> Environment: OS: Windows 10 
> Cordova CLI: 6.1.1
> cordova-plugin-file-transfer: 1.5.1
>Reporter: Ben Marshall
>  Labels: Windows, Windows10, triaged
>
> When uploading a file as a muti-part file on windows 10 the "Content-Type" 
> header for the file is not set.
> This results in a request that has no content-type that reflects the type of 
> the file.
> This can be resolved by setting a multi-part header after creating the 
> *BackgroundTransferContentPart*  
> [Link to GitHub file | 
> https://github.com/apache/cordova-plugin-file-transfer/blob/master/src/windows/FileTransferProxy.js#L369-#L371]
> by changing the following code:
> {code:JavaScript}
> var fileToUploadPart = new 
> Windows.Networking.BackgroundTransfer.BackgroundTransferContentPart(fileKey, 
> fileName);
> fileToUploadPart.setFile(storageFile);
> transferParts.push(fileToUploadPart);
> {code}
> *To:*
> {code:JavaScript}
> var fileToUploadPart = new 
> Windows.Networking.BackgroundTransfer.BackgroundTransferContentPart(fileKey, 
> fileName);
> // added the file mime type
> fileToUploadPart.setHeader("Content-Type", mimeType);
> fileToUploadPart.setFile(storageFile);
> transferParts.push(fileToUploadPart);
> {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-11316) Content-Type not set for multi-part file

2016-06-06 Thread Nikhil Khandelwal (JIRA)

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

Nikhil Khandelwal updated CB-11316:
---
Labels: Windows Windows10  (was: Windows10)

> Content-Type not set for multi-part file
> 
>
> Key: CB-11316
> URL: https://issues.apache.org/jira/browse/CB-11316
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin File Transfer
>Affects Versions: 3.5.0
> Environment: OS: Windows 10 
> Cordova CLI: 6.1.1
> cordova-plugin-file-transfer: 1.5.1
>Reporter: Ben Marshall
>  Labels: Windows, Windows10
>
> When uploading a file as a muti-part file on windows 10 the "Content-Type" 
> header for the file is not set.
> This results in a request that has no content-type that reflects the type of 
> the file.
> This can be resolved by setting a multi-part header after creating the 
> *BackgroundTransferContentPart*  
> [Link to GitHub file | 
> https://github.com/apache/cordova-plugin-file-transfer/blob/master/src/windows/FileTransferProxy.js#L369-#L371]
> by changing the following code:
> {code:JavaScript}
> var fileToUploadPart = new 
> Windows.Networking.BackgroundTransfer.BackgroundTransferContentPart(fileKey, 
> fileName);
> fileToUploadPart.setFile(storageFile);
> transferParts.push(fileToUploadPart);
> {code}
> *To:*
> {code:JavaScript}
> var fileToUploadPart = new 
> Windows.Networking.BackgroundTransfer.BackgroundTransferContentPart(fileKey, 
> fileName);
> // added the file mime type
> fileToUploadPart.setHeader("Content-Type", mimeType);
> fileToUploadPart.setFile(storageFile);
> transferParts.push(fileToUploadPart);
> {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-11316) Content-Type not set for multi-part file

2016-06-06 Thread Nikhil Khandelwal (JIRA)

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

Nikhil Khandelwal commented on CB-11316:


Could you please submit a pull request for this issue?

> Content-Type not set for multi-part file
> 
>
> Key: CB-11316
> URL: https://issues.apache.org/jira/browse/CB-11316
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin File Transfer
>Affects Versions: 3.5.0
> Environment: OS: Windows 10 
> Cordova CLI: 6.1.1
> cordova-plugin-file-transfer: 1.5.1
>Reporter: Ben Marshall
>  Labels: Windows, Windows10
>
> When uploading a file as a muti-part file on windows 10 the "Content-Type" 
> header for the file is not set.
> This results in a request that has no content-type that reflects the type of 
> the file.
> This can be resolved by setting a multi-part header after creating the 
> *BackgroundTransferContentPart*  
> [Link to GitHub file | 
> https://github.com/apache/cordova-plugin-file-transfer/blob/master/src/windows/FileTransferProxy.js#L369-#L371]
> by changing the following code:
> {code:JavaScript}
> var fileToUploadPart = new 
> Windows.Networking.BackgroundTransfer.BackgroundTransferContentPart(fileKey, 
> fileName);
> fileToUploadPart.setFile(storageFile);
> transferParts.push(fileToUploadPart);
> {code}
> *To:*
> {code:JavaScript}
> var fileToUploadPart = new 
> Windows.Networking.BackgroundTransfer.BackgroundTransferContentPart(fileKey, 
> fileName);
> // added the file mime type
> fileToUploadPart.setHeader("Content-Type", mimeType);
> fileToUploadPart.setFile(storageFile);
> transferParts.push(fileToUploadPart);
> {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-11321) Plugin install error: Cannot call method 'indexOf' of undefined - splashScreen plugin

2016-06-06 Thread Nikhil Khandelwal (JIRA)

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

Nikhil Khandelwal updated CB-11321:
---
Assignee: Sergey Shakhnazarov

> Plugin install error: Cannot call method 'indexOf' of undefined - 
> splashScreen plugin
> -
>
> Key: CB-11321
> URL: https://issues.apache.org/jira/browse/CB-11321
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin SplashScreen
>Affects Versions: 3.5.0
> Environment: IOS
>Reporter: Atif Gulzar
>Assignee: Sergey Shakhnazarov
>  Labels: github-import
>
> AtifMacPro:cordova wison$ cordova plugin add 
> https://github.com/apache/cordova-plugin-splashscreen.git
> Fetching plugin "https://github.com/apache/cordova-plugin-splashscreen.git; 
> via git clone
> Installing "cordova-plugin-splashscreen" for ios
> TypeError: Cannot call method 'indexOf' of undefined
> at 
> /usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/install.js:232:55
> at Array.forEach (native)
> at getEngines 
> (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/install.js:211:13)
> at runInstall 
> (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/install.js:281:22)
> at 
> /usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/install.js:81:16
> at _fulfilled 
> (/usr/local/lib/node_modules/cordova/node_modules/q/q.js:787:54)
> at self.promiseDispatch.done 
> (/usr/local/lib/node_modules/cordova/node_modules/q/q.js:816:30)
> at Promise.promise.promiseDispatch 
> (/usr/local/lib/node_modules/cordova/node_modules/q/q.js:749:13)
> at /usr/local/lib/node_modules/cordova/node_modules/q/q.js:810:14
> at flush (/usr/local/lib/node_modules/cordova/node_modules/q/q.js:108:17)



--
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-11321) Plugin install error: Cannot call method 'indexOf' of undefined - splashScreen plugin

2016-06-06 Thread Nikhil Khandelwal (JIRA)

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

Nikhil Khandelwal commented on CB-11321:


[~daserge] Could this be a regression because of adding some engine constraints?

> Plugin install error: Cannot call method 'indexOf' of undefined - 
> splashScreen plugin
> -
>
> Key: CB-11321
> URL: https://issues.apache.org/jira/browse/CB-11321
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin SplashScreen
>Affects Versions: 3.5.0
> Environment: IOS
>Reporter: Atif Gulzar
>Assignee: Sergey Shakhnazarov
>  Labels: github-import
>
> AtifMacPro:cordova wison$ cordova plugin add 
> https://github.com/apache/cordova-plugin-splashscreen.git
> Fetching plugin "https://github.com/apache/cordova-plugin-splashscreen.git; 
> via git clone
> Installing "cordova-plugin-splashscreen" for ios
> TypeError: Cannot call method 'indexOf' of undefined
> at 
> /usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/install.js:232:55
> at Array.forEach (native)
> at getEngines 
> (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/install.js:211:13)
> at runInstall 
> (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/install.js:281:22)
> at 
> /usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/install.js:81:16
> at _fulfilled 
> (/usr/local/lib/node_modules/cordova/node_modules/q/q.js:787:54)
> at self.promiseDispatch.done 
> (/usr/local/lib/node_modules/cordova/node_modules/q/q.js:816:30)
> at Promise.promise.promiseDispatch 
> (/usr/local/lib/node_modules/cordova/node_modules/q/q.js:749:13)
> at /usr/local/lib/node_modules/cordova/node_modules/q/q.js:810:14
> at flush (/usr/local/lib/node_modules/cordova/node_modules/q/q.js:108:17)



--
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-11364) Ajax call with cordova whitelist plugin error

2016-06-06 Thread Riccardo Amadi (JIRA)

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

Riccardo Amadi commented on CB-11364:
-

where should i post to investigate with the community ?

> Ajax call with cordova whitelist plugin error
> -
>
> Key: CB-11364
> URL: https://issues.apache.org/jira/browse/CB-11364
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Whitelist
>Reporter: Riccardo Amadi
>
> I've implemented the cordova whitelist plugin on my phonegap build 
> application but after a full week i still didn't manage to make a correct 
> ajax call.
> More info here: 
> http://stackoverflow.com/questions/37589890/ajax-call-with-cordova-whitelist-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-11321) Plugin install error: Cannot call method 'indexOf' of undefined - splashScreen plugin

2016-06-06 Thread Nikhil Khandelwal (JIRA)

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

Nikhil Khandelwal updated CB-11321:
---
Summary: Plugin install error: Cannot call method 'indexOf' of undefined - 
splashScreen plugin  (was: Plugin install error: Cannot call method 'indexOf' 
of undefined)

> Plugin install error: Cannot call method 'indexOf' of undefined - 
> splashScreen plugin
> -
>
> Key: CB-11321
> URL: https://issues.apache.org/jira/browse/CB-11321
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin SplashScreen
>Affects Versions: 3.5.0
> Environment: IOS
>Reporter: Atif Gulzar
>  Labels: github-import
>
> AtifMacPro:cordova wison$ cordova plugin add 
> https://github.com/apache/cordova-plugin-splashscreen.git
> Fetching plugin "https://github.com/apache/cordova-plugin-splashscreen.git; 
> via git clone
> Installing "cordova-plugin-splashscreen" for ios
> TypeError: Cannot call method 'indexOf' of undefined
> at 
> /usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/install.js:232:55
> at Array.forEach (native)
> at getEngines 
> (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/install.js:211:13)
> at runInstall 
> (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/install.js:281:22)
> at 
> /usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/install.js:81:16
> at _fulfilled 
> (/usr/local/lib/node_modules/cordova/node_modules/q/q.js:787:54)
> at self.promiseDispatch.done 
> (/usr/local/lib/node_modules/cordova/node_modules/q/q.js:816:30)
> at Promise.promise.promiseDispatch 
> (/usr/local/lib/node_modules/cordova/node_modules/q/q.js:749:13)
> at /usr/local/lib/node_modules/cordova/node_modules/q/q.js:810:14
> at flush (/usr/local/lib/node_modules/cordova/node_modules/q/q.js:108:17)



--
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-11321) Plugin install error: Cannot call method 'indexOf' of undefined

2016-06-06 Thread Nikhil Khandelwal (JIRA)

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

Nikhil Khandelwal updated CB-11321:
---
Summary: Plugin install error: Cannot call method 'indexOf' of undefined  
(was: Plugin install error )

> Plugin install error: Cannot call method 'indexOf' of undefined
> ---
>
> Key: CB-11321
> URL: https://issues.apache.org/jira/browse/CB-11321
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin SplashScreen
>Affects Versions: 3.5.0
> Environment: IOS
>Reporter: Atif Gulzar
>  Labels: github-import
>
> AtifMacPro:cordova wison$ cordova plugin add 
> https://github.com/apache/cordova-plugin-splashscreen.git
> Fetching plugin "https://github.com/apache/cordova-plugin-splashscreen.git; 
> via git clone
> Installing "cordova-plugin-splashscreen" for ios
> TypeError: Cannot call method 'indexOf' of undefined
> at 
> /usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/install.js:232:55
> at Array.forEach (native)
> at getEngines 
> (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/install.js:211:13)
> at runInstall 
> (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/install.js:281:22)
> at 
> /usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/install.js:81:16
> at _fulfilled 
> (/usr/local/lib/node_modules/cordova/node_modules/q/q.js:787:54)
> at self.promiseDispatch.done 
> (/usr/local/lib/node_modules/cordova/node_modules/q/q.js:816:30)
> at Promise.promise.promiseDispatch 
> (/usr/local/lib/node_modules/cordova/node_modules/q/q.js:749:13)
> at /usr/local/lib/node_modules/cordova/node_modules/q/q.js:810:14
> at flush (/usr/local/lib/node_modules/cordova/node_modules/q/q.js:108:17)



--
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-11321) Plugin install error

2016-06-06 Thread Nikhil Khandelwal (JIRA)

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

Nikhil Khandelwal updated CB-11321:
---
Summary: Plugin install error   (was: Cordova Splashscreen Plugin)

> Plugin install error 
> -
>
> Key: CB-11321
> URL: https://issues.apache.org/jira/browse/CB-11321
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin SplashScreen
>Affects Versions: 3.5.0
> Environment: IOS
>Reporter: Atif Gulzar
>  Labels: github-import
>
> AtifMacPro:cordova wison$ cordova plugin add 
> https://github.com/apache/cordova-plugin-splashscreen.git
> Fetching plugin "https://github.com/apache/cordova-plugin-splashscreen.git; 
> via git clone
> Installing "cordova-plugin-splashscreen" for ios
> TypeError: Cannot call method 'indexOf' of undefined
> at 
> /usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/install.js:232:55
> at Array.forEach (native)
> at getEngines 
> (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/install.js:211:13)
> at runInstall 
> (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/install.js:281:22)
> at 
> /usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/install.js:81:16
> at _fulfilled 
> (/usr/local/lib/node_modules/cordova/node_modules/q/q.js:787:54)
> at self.promiseDispatch.done 
> (/usr/local/lib/node_modules/cordova/node_modules/q/q.js:816:30)
> at Promise.promise.promiseDispatch 
> (/usr/local/lib/node_modules/cordova/node_modules/q/q.js:749:13)
> at /usr/local/lib/node_modules/cordova/node_modules/q/q.js:810:14
> at flush (/usr/local/lib/node_modules/cordova/node_modules/q/q.js:108:17)



--
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-11319) Orientation preference is ignored on iOS

2016-06-06 Thread Nikhil Khandelwal (JIRA)

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

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

> Orientation preference is ignored on iOS
> 
>
> Key: CB-11319
> URL: https://issues.apache.org/jira/browse/CB-11319
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS
>Reporter: Roman Kisilenko
>Priority: Minor
>  Labels: triaged
>
> This issue is similar to CB-6026
> [Docs|http://cordova.apache.org/docs/en/edge/config_ref_index.md.html] say 
> that this should work:
> {quote}
>  
> {quote}
> But it doesn't.
> -- Cordova CLI: 6.1.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-11319) Orientation preference is ignored on iOS

2016-06-06 Thread Nikhil Khandelwal (JIRA)

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

Nikhil Khandelwal updated CB-11319:
---
Labels: triaged  (was: )

> Orientation preference is ignored on iOS
> 
>
> Key: CB-11319
> URL: https://issues.apache.org/jira/browse/CB-11319
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS
>Reporter: Roman Kisilenko
>Priority: Minor
>  Labels: triaged
>
> This issue is similar to CB-6026
> [Docs|http://cordova.apache.org/docs/en/edge/config_ref_index.md.html] say 
> that this should work:
> {quote}
>  
> {quote}
> But it doesn't.
> -- Cordova CLI: 6.1.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-11293) Cordova Paramedic failing on iPhone-6-Plus Simulator

2016-06-06 Thread Nikhil Khandelwal (JIRA)

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

Nikhil Khandelwal updated CB-11293:
---
Labels: triaged  (was: )

> Cordova Paramedic failing on iPhone-6-Plus Simulator
> 
>
> Key: CB-11293
> URL: https://issues.apache.org/jira/browse/CB-11293
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Paramedic
>Reporter: Sarangan Rajamanickam
>  Labels: triaged
>
> I have found that there are atleast 3 plugins
> 1. Globalization
> 2. Media Capture
> 3. Geolocation
> fail crashes when tested with paramedic. This gives the error 
> "com.apple.idssimualtorsupport.errors"  & "NSUnderlyingError=0x7f96faf01c30 
> {Error Domain=NSMachErrorDomain Code=268435459 "(ipc/send) invalid 
> destination port"
> Note: I do not have logs at this moment. I will try testing once again and 
> attach the logs.



--
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-11326) use navigator.app.loadUrl got uncaught exception with allow-navigation

2016-06-06 Thread Nikhil Khandelwal (JIRA)

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

Nikhil Khandelwal updated CB-11326:
---
Labels: triaged  (was: )

> use navigator.app.loadUrl got uncaught exception with allow-navigation 
> ---
>
> Key: CB-11326
> URL: https://issues.apache.org/jira/browse/CB-11326
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin SplashScreen
> Environment: Cordova 6.2.0
>Reporter: zhuisui
>  Labels: triaged
>
> I get this stack when {{navigator.app.loadUrl(myurl)}} with 
> {{}}, which occurs after 
> {{pluginManager.shouldAllowNavigation(myurl)}} returns true
> {code}
> Uncaught exception from plugin
>  
> android.view.ViewRootImpl$CalledFromWrongThreadException: Only the original 
> thread that created a view hierarchy can touch its views.
>  at 
> android.view.ViewRootImpl.checkThread(ViewRootImpl.java:6556)
>  at 
> android.view.ViewRootImpl.clearChildFocus(ViewRootImpl.java:3023)
>  at 
> android.view.ViewGroup.clearChildFocus(ViewGroup.java:964)
>  at 
> android.view.ViewGroup.clearChildFocus(ViewGroup.java:964)
>  at 
> android.view.ViewGroup.clearChildFocus(ViewGroup.java:964)
>  at 
> android.view.View.clearFocusInternal(View.java:5602)
>  at 
> android.view.View.clearFocus(View.java:5585)
>  at 
> android.view.ViewGroup.clearFocus(ViewGroup.java:977)
>  at 
> android.view.View.setFlags(View.java:10622)
>  at 
> android.view.View.setVisibility(View.java:7431)
>  at 
> org.apache.cordova.splashscreen.SplashScreen.pluginInitialize(SplashScreen.java:85)
>  at 
> org.apache.cordova.CordovaPlugin.privateInitialize(CordovaPlugin.java:58)
>  at 
> org.apache.cordova.PluginManager.getPlugin(PluginManager.java:172)
>  at 
> org.apache.cordova.PluginManager.startupPlugins(PluginManager.java:98)
>  at 
> org.apache.cordova.PluginManager.init(PluginManager.java:87)
>  at 
> org.apache.cordova.CordovaWebViewImpl.loadUrlIntoView(CordovaWebViewImpl.java:138)
>  at 
> org.apache.cordova.CordovaWebViewImpl.showWebPage(CordovaWebViewImpl.java:216)
>  at 
> org.apache.cordova.CoreAndroid.loadUrl(CoreAndroid.java:203)
>  at 
> org.apache.cordova.CoreAndroid.execute(CoreAndroid.java:92)
>  at 
> org.apache.cordova.CordovaPlugin.execute(CordovaPlugin.java:98)
>  at 
> org.apache.cordova.PluginManager.exec(PluginManager.java:133)
>  at 
> org.apache.cordova.CordovaBridge.jsExec(CordovaBridge.java:59)
>  at 
> org.apache.cordova.engine.SystemExposedJsApi.exec(SystemExposedJsApi.java:41)
>  at 
> org.chromium.base.SystemMessageHandler.nativeDoRunLoopOnce(Native Method)
>  at 
> org.chromium.base.SystemMessageHandler.handleMessage(SystemMessageHandler.java:53)
>  at 
> android.os.Handler.dispatchMessage(Handler.java:102)
>  at 
> android.os.Looper.loop(Looper.java:148)
>  at 
> android.os.HandlerThread.run(HandlerThread.java:61)
> {code}
> Then, app cannot accept any command and doesn't response.



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

-
To unsubscribe, e-mail: 

[jira] [Updated] (CB-11326) use navigator.app.loadUrl got uncaught exception with allow-navigation

2016-06-06 Thread Nikhil Khandelwal (JIRA)

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

Nikhil Khandelwal updated CB-11326:
---
Component/s: (was: Plugin Whitelist)

> use navigator.app.loadUrl got uncaught exception with allow-navigation 
> ---
>
> Key: CB-11326
> URL: https://issues.apache.org/jira/browse/CB-11326
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin SplashScreen
> Environment: Cordova 6.2.0
>Reporter: zhuisui
>  Labels: triaged
>
> I get this stack when {{navigator.app.loadUrl(myurl)}} with 
> {{}}, which occurs after 
> {{pluginManager.shouldAllowNavigation(myurl)}} returns true
> {code}
> Uncaught exception from plugin
>  
> android.view.ViewRootImpl$CalledFromWrongThreadException: Only the original 
> thread that created a view hierarchy can touch its views.
>  at 
> android.view.ViewRootImpl.checkThread(ViewRootImpl.java:6556)
>  at 
> android.view.ViewRootImpl.clearChildFocus(ViewRootImpl.java:3023)
>  at 
> android.view.ViewGroup.clearChildFocus(ViewGroup.java:964)
>  at 
> android.view.ViewGroup.clearChildFocus(ViewGroup.java:964)
>  at 
> android.view.ViewGroup.clearChildFocus(ViewGroup.java:964)
>  at 
> android.view.View.clearFocusInternal(View.java:5602)
>  at 
> android.view.View.clearFocus(View.java:5585)
>  at 
> android.view.ViewGroup.clearFocus(ViewGroup.java:977)
>  at 
> android.view.View.setFlags(View.java:10622)
>  at 
> android.view.View.setVisibility(View.java:7431)
>  at 
> org.apache.cordova.splashscreen.SplashScreen.pluginInitialize(SplashScreen.java:85)
>  at 
> org.apache.cordova.CordovaPlugin.privateInitialize(CordovaPlugin.java:58)
>  at 
> org.apache.cordova.PluginManager.getPlugin(PluginManager.java:172)
>  at 
> org.apache.cordova.PluginManager.startupPlugins(PluginManager.java:98)
>  at 
> org.apache.cordova.PluginManager.init(PluginManager.java:87)
>  at 
> org.apache.cordova.CordovaWebViewImpl.loadUrlIntoView(CordovaWebViewImpl.java:138)
>  at 
> org.apache.cordova.CordovaWebViewImpl.showWebPage(CordovaWebViewImpl.java:216)
>  at 
> org.apache.cordova.CoreAndroid.loadUrl(CoreAndroid.java:203)
>  at 
> org.apache.cordova.CoreAndroid.execute(CoreAndroid.java:92)
>  at 
> org.apache.cordova.CordovaPlugin.execute(CordovaPlugin.java:98)
>  at 
> org.apache.cordova.PluginManager.exec(PluginManager.java:133)
>  at 
> org.apache.cordova.CordovaBridge.jsExec(CordovaBridge.java:59)
>  at 
> org.apache.cordova.engine.SystemExposedJsApi.exec(SystemExposedJsApi.java:41)
>  at 
> org.chromium.base.SystemMessageHandler.nativeDoRunLoopOnce(Native Method)
>  at 
> org.chromium.base.SystemMessageHandler.handleMessage(SystemMessageHandler.java:53)
>  at 
> android.os.Handler.dispatchMessage(Handler.java:102)
>  at 
> android.os.Looper.loop(Looper.java:148)
>  at 
> android.os.HandlerThread.run(HandlerThread.java:61)
> {code}
> Then, app cannot accept any command and doesn't response.



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

-
To 

[jira] [Updated] (CB-11326) use navigator.app.loadUrl got uncaught exception with allow-navigation

2016-06-06 Thread Nikhil Khandelwal (JIRA)

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

Nikhil Khandelwal updated CB-11326:
---
Component/s: Plugin SplashScreen

> use navigator.app.loadUrl got uncaught exception with allow-navigation 
> ---
>
> Key: CB-11326
> URL: https://issues.apache.org/jira/browse/CB-11326
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin SplashScreen
> Environment: Cordova 6.2.0
>Reporter: zhuisui
>  Labels: triaged
>
> I get this stack when {{navigator.app.loadUrl(myurl)}} with 
> {{}}, which occurs after 
> {{pluginManager.shouldAllowNavigation(myurl)}} returns true
> {code}
> Uncaught exception from plugin
>  
> android.view.ViewRootImpl$CalledFromWrongThreadException: Only the original 
> thread that created a view hierarchy can touch its views.
>  at 
> android.view.ViewRootImpl.checkThread(ViewRootImpl.java:6556)
>  at 
> android.view.ViewRootImpl.clearChildFocus(ViewRootImpl.java:3023)
>  at 
> android.view.ViewGroup.clearChildFocus(ViewGroup.java:964)
>  at 
> android.view.ViewGroup.clearChildFocus(ViewGroup.java:964)
>  at 
> android.view.ViewGroup.clearChildFocus(ViewGroup.java:964)
>  at 
> android.view.View.clearFocusInternal(View.java:5602)
>  at 
> android.view.View.clearFocus(View.java:5585)
>  at 
> android.view.ViewGroup.clearFocus(ViewGroup.java:977)
>  at 
> android.view.View.setFlags(View.java:10622)
>  at 
> android.view.View.setVisibility(View.java:7431)
>  at 
> org.apache.cordova.splashscreen.SplashScreen.pluginInitialize(SplashScreen.java:85)
>  at 
> org.apache.cordova.CordovaPlugin.privateInitialize(CordovaPlugin.java:58)
>  at 
> org.apache.cordova.PluginManager.getPlugin(PluginManager.java:172)
>  at 
> org.apache.cordova.PluginManager.startupPlugins(PluginManager.java:98)
>  at 
> org.apache.cordova.PluginManager.init(PluginManager.java:87)
>  at 
> org.apache.cordova.CordovaWebViewImpl.loadUrlIntoView(CordovaWebViewImpl.java:138)
>  at 
> org.apache.cordova.CordovaWebViewImpl.showWebPage(CordovaWebViewImpl.java:216)
>  at 
> org.apache.cordova.CoreAndroid.loadUrl(CoreAndroid.java:203)
>  at 
> org.apache.cordova.CoreAndroid.execute(CoreAndroid.java:92)
>  at 
> org.apache.cordova.CordovaPlugin.execute(CordovaPlugin.java:98)
>  at 
> org.apache.cordova.PluginManager.exec(PluginManager.java:133)
>  at 
> org.apache.cordova.CordovaBridge.jsExec(CordovaBridge.java:59)
>  at 
> org.apache.cordova.engine.SystemExposedJsApi.exec(SystemExposedJsApi.java:41)
>  at 
> org.chromium.base.SystemMessageHandler.nativeDoRunLoopOnce(Native Method)
>  at 
> org.chromium.base.SystemMessageHandler.handleMessage(SystemMessageHandler.java:53)
>  at 
> android.os.Handler.dispatchMessage(Handler.java:102)
>  at 
> android.os.Looper.loop(Looper.java:148)
>  at 
> android.os.HandlerThread.run(HandlerThread.java:61)
> {code}
> Then, app cannot accept any command and doesn't response.



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

-
To unsubscribe, 

[jira] [Commented] (CB-11326) use navigator.app.loadUrl got uncaught exception with allow-navigation

2016-06-06 Thread Nikhil Khandelwal (JIRA)

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

Nikhil Khandelwal commented on CB-11326:


What version of the splashscreen plugin are you using?

> use navigator.app.loadUrl got uncaught exception with allow-navigation 
> ---
>
> Key: CB-11326
> URL: https://issues.apache.org/jira/browse/CB-11326
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin SplashScreen
> Environment: Cordova 6.2.0
>Reporter: zhuisui
>  Labels: triaged
>
> I get this stack when {{navigator.app.loadUrl(myurl)}} with 
> {{}}, which occurs after 
> {{pluginManager.shouldAllowNavigation(myurl)}} returns true
> {code}
> Uncaught exception from plugin
>  
> android.view.ViewRootImpl$CalledFromWrongThreadException: Only the original 
> thread that created a view hierarchy can touch its views.
>  at 
> android.view.ViewRootImpl.checkThread(ViewRootImpl.java:6556)
>  at 
> android.view.ViewRootImpl.clearChildFocus(ViewRootImpl.java:3023)
>  at 
> android.view.ViewGroup.clearChildFocus(ViewGroup.java:964)
>  at 
> android.view.ViewGroup.clearChildFocus(ViewGroup.java:964)
>  at 
> android.view.ViewGroup.clearChildFocus(ViewGroup.java:964)
>  at 
> android.view.View.clearFocusInternal(View.java:5602)
>  at 
> android.view.View.clearFocus(View.java:5585)
>  at 
> android.view.ViewGroup.clearFocus(ViewGroup.java:977)
>  at 
> android.view.View.setFlags(View.java:10622)
>  at 
> android.view.View.setVisibility(View.java:7431)
>  at 
> org.apache.cordova.splashscreen.SplashScreen.pluginInitialize(SplashScreen.java:85)
>  at 
> org.apache.cordova.CordovaPlugin.privateInitialize(CordovaPlugin.java:58)
>  at 
> org.apache.cordova.PluginManager.getPlugin(PluginManager.java:172)
>  at 
> org.apache.cordova.PluginManager.startupPlugins(PluginManager.java:98)
>  at 
> org.apache.cordova.PluginManager.init(PluginManager.java:87)
>  at 
> org.apache.cordova.CordovaWebViewImpl.loadUrlIntoView(CordovaWebViewImpl.java:138)
>  at 
> org.apache.cordova.CordovaWebViewImpl.showWebPage(CordovaWebViewImpl.java:216)
>  at 
> org.apache.cordova.CoreAndroid.loadUrl(CoreAndroid.java:203)
>  at 
> org.apache.cordova.CoreAndroid.execute(CoreAndroid.java:92)
>  at 
> org.apache.cordova.CordovaPlugin.execute(CordovaPlugin.java:98)
>  at 
> org.apache.cordova.PluginManager.exec(PluginManager.java:133)
>  at 
> org.apache.cordova.CordovaBridge.jsExec(CordovaBridge.java:59)
>  at 
> org.apache.cordova.engine.SystemExposedJsApi.exec(SystemExposedJsApi.java:41)
>  at 
> org.chromium.base.SystemMessageHandler.nativeDoRunLoopOnce(Native Method)
>  at 
> org.chromium.base.SystemMessageHandler.handleMessage(SystemMessageHandler.java:53)
>  at 
> android.os.Handler.dispatchMessage(Handler.java:102)
>  at 
> android.os.Looper.loop(Looper.java:148)
>  at 
> android.os.HandlerThread.run(HandlerThread.java:61)
> {code}
> Then, app cannot accept any command and doesn't response.



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


[jira] [Updated] (CB-11326) use navigator.app.loadUrl got uncaught exception with allow-navigation

2016-06-06 Thread Nikhil Khandelwal (JIRA)

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

Nikhil Khandelwal updated CB-11326:
---
Assignee: Vladimir Kotikov

> use navigator.app.loadUrl got uncaught exception with allow-navigation 
> ---
>
> Key: CB-11326
> URL: https://issues.apache.org/jira/browse/CB-11326
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin SplashScreen
> Environment: Cordova 6.2.0
>Reporter: zhuisui
>Assignee: Vladimir Kotikov
>  Labels: triaged
>
> I get this stack when {{navigator.app.loadUrl(myurl)}} with 
> {{}}, which occurs after 
> {{pluginManager.shouldAllowNavigation(myurl)}} returns true
> {code}
> Uncaught exception from plugin
>  
> android.view.ViewRootImpl$CalledFromWrongThreadException: Only the original 
> thread that created a view hierarchy can touch its views.
>  at 
> android.view.ViewRootImpl.checkThread(ViewRootImpl.java:6556)
>  at 
> android.view.ViewRootImpl.clearChildFocus(ViewRootImpl.java:3023)
>  at 
> android.view.ViewGroup.clearChildFocus(ViewGroup.java:964)
>  at 
> android.view.ViewGroup.clearChildFocus(ViewGroup.java:964)
>  at 
> android.view.ViewGroup.clearChildFocus(ViewGroup.java:964)
>  at 
> android.view.View.clearFocusInternal(View.java:5602)
>  at 
> android.view.View.clearFocus(View.java:5585)
>  at 
> android.view.ViewGroup.clearFocus(ViewGroup.java:977)
>  at 
> android.view.View.setFlags(View.java:10622)
>  at 
> android.view.View.setVisibility(View.java:7431)
>  at 
> org.apache.cordova.splashscreen.SplashScreen.pluginInitialize(SplashScreen.java:85)
>  at 
> org.apache.cordova.CordovaPlugin.privateInitialize(CordovaPlugin.java:58)
>  at 
> org.apache.cordova.PluginManager.getPlugin(PluginManager.java:172)
>  at 
> org.apache.cordova.PluginManager.startupPlugins(PluginManager.java:98)
>  at 
> org.apache.cordova.PluginManager.init(PluginManager.java:87)
>  at 
> org.apache.cordova.CordovaWebViewImpl.loadUrlIntoView(CordovaWebViewImpl.java:138)
>  at 
> org.apache.cordova.CordovaWebViewImpl.showWebPage(CordovaWebViewImpl.java:216)
>  at 
> org.apache.cordova.CoreAndroid.loadUrl(CoreAndroid.java:203)
>  at 
> org.apache.cordova.CoreAndroid.execute(CoreAndroid.java:92)
>  at 
> org.apache.cordova.CordovaPlugin.execute(CordovaPlugin.java:98)
>  at 
> org.apache.cordova.PluginManager.exec(PluginManager.java:133)
>  at 
> org.apache.cordova.CordovaBridge.jsExec(CordovaBridge.java:59)
>  at 
> org.apache.cordova.engine.SystemExposedJsApi.exec(SystemExposedJsApi.java:41)
>  at 
> org.chromium.base.SystemMessageHandler.nativeDoRunLoopOnce(Native Method)
>  at 
> org.chromium.base.SystemMessageHandler.handleMessage(SystemMessageHandler.java:53)
>  at 
> android.os.Handler.dispatchMessage(Handler.java:102)
>  at 
> android.os.Looper.loop(Looper.java:148)
>  at 
> android.os.HandlerThread.run(HandlerThread.java:61)
> {code}
> Then, app cannot accept any command and doesn't response.



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


[jira] [Updated] (CB-11333) `cordova build` missing packages are not installed when you are prompted to install for it

2016-06-06 Thread Nikhil Khandelwal (JIRA)

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

Nikhil Khandelwal updated CB-11333:
---
Labels: triaged  (was: )

> `cordova build` missing packages are not installed when you are prompted to 
> install for it
> --
>
> Key: CB-11333
> URL: https://issues.apache.org/jira/browse/CB-11333
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Ubuntu
> Environment: Ubuntu 16.04, cordova-cli 6.2.0, nodejs 6.2.0
>Reporter: Shazron Abdullah
>Assignee: Maxim Ermilov
>  Labels: triaged
> Attachments: error-missing-packages.png
>
>
> When I do a `cordova build`, it says:
> {code}
> Error: missing packages click cmake libicu-dev pkg-config devscripts 
> qtbase5-dev qtchooser qtdeclarative5-dev qtlocation5-dev qtmultimedia5-dev 
> qtpim5-dev libqt5sensors5-dev qtsystems5-dev
> Install missing packages? (Yn)>
> {code}
> When I press "Enter" (defaults to Y) or enter "Y", it doesn't install the 
> missing packages, I had to manually install them using apt-get.



--
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-11335) This application is modifying the autolayout engine from a background thread, which can lead to engine corruption and weird crashes. This will cause an exception in a futu

2016-06-06 Thread Nikhil Khandelwal (JIRA)

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

Nikhil Khandelwal updated CB-11335:
---
Labels: triaged  (was: )

> This application is modifying the autolayout engine from a background thread, 
> which can lead to engine corruption and weird crashes.  This will cause an 
> exception in a future release
> --
>
> Key: CB-11335
> URL: https://issues.apache.org/jira/browse/CB-11335
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS
>Reporter: Gauri Shankar
>  Labels: triaged
>
> This application is modifying the autolayout engine from a background thread, 
> which can lead to engine corruption and weird crashes.  This will cause an 
> exception in a future release.
> {code}
>  Stack:(
>   0   CoreFoundation  0x00010d9b9d85 
> __exceptionPreprocess + 165
>   1   libobjc.A.dylib 0x00010d42ddeb 
> objc_exception_throw + 48
>   2   CoreFoundation  0x00010d9b9cbd 
> +[NSException raise:format:] + 205
>   3   Foundation  0x00010cad9b6b 
> _AssertAutolayoutOnMainThreadOnly + 79
>   4   Foundation  0x00010c939357 -[NSISEngine 
> withBehaviors:performModifications:] + 31
>   5   UIKit   0x00010bc6cadb 
> -[UIView(AdditionalLayoutSupport) 
> _withAutomaticEngineOptimizationDisabledIfEngineExists:] + 58
>   6   UIKit   0x00010bc6d61e 
> -[UIView(AdditionalLayoutSupport) updateConstraintsIfNeeded] + 254
>   7   UIKit   0x00010bc6e333 
> -[UIView(AdditionalLayoutSupport) _updateConstraintsAtEngineLevelIfNeeded] + 
> 272
>   8   UIKit   0x00010b422a96 
> -[UIView(Hierarchy) _updateConstraintsAsNecessaryAndApplyLayoutFromEngine] + 
> 159
>   9   UIKit   0x00010b432980 
> -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 703
>   10  QuartzCore  0x00010a593c00 -[CALayer 
> layoutSublayers] + 146
>   11  QuartzCore  0x00010a58808e 
> _ZN2CA5Layer16layout_if_neededEPNS_11TransactionE + 366
>   12  QuartzCore  0x00010a587f0c 
> _ZN2CA5Layer28layout_and_display_if_neededEPNS_11TransactionE + 24
>   13  QuartzCore  0x00010a57c3c9 
> _ZN2CA7Context18commit_transactionEPNS_11TransactionE + 277
>   14  QuartzCore  0x00010a5aa086 
> _ZN2CA11Transaction6commitEv + 486
>   15  QuartzCore  0x00010a5aa378 
> _ZN2CA11Transaction14release_threadEPv + 224
>   16  libsystem_pthread.dylib 0x00010e45a387 
> _pthread_tsd_cleanup + 470
>   17  libsystem_pthread.dylib 0x00010e459f63 
> _pthread_exit + 117
>   18  libsystem_pthread.dylib 0x00010e45ac0e pthread_exit 
> + 30
>   19  Foundation  0x00010c96df1e 
> __NSFinalizeThreadData + 0
>   20  Foundation  0x00010c9ee13f 
> __NSThread__start__ + 1218
>   21  libsystem_pthread.dylib 0x00010e45899d 
> _pthread_body + 131
>   22  libsystem_pthread.dylib 0x00010e45891a 
> _pthread_body + 0
>   23  libsystem_pthread.dylib 0x00010e456351 thread_start 
> + 13
> )
> {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-11338) Plugin javascript resources not copied over to platform for ubuntu

2016-06-06 Thread Nikhil Khandelwal (JIRA)

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

Nikhil Khandelwal updated CB-11338:
---
Labels: copy javascript plugins triaged ubuntu  (was: copy javascript 
plugins ubuntu)

> Plugin javascript resources not copied over to platform for ubuntu
> --
>
> Key: CB-11338
> URL: https://issues.apache.org/jira/browse/CB-11338
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CLI, Ubuntu
> Environment: Ubuntu 15.10
> Current env (though only recently updated in hopes of resolving issue, which 
> was present with prior versions of cordova/nodejs):
> $ cordova -v
> 6.1.1
> $ nodejs -v
> v6.2.0
>Reporter: Pat Deegan
>  Labels: copy, javascript, plugins, triaged, ubuntu
>
> Plugin javascript files, including cordova_plugins.js and contents of 
> plugins/ directory, fail to be included in builds for ubuntu.  The issue has 
> been found using a host of different plugins (with notional ubuntu support), 
> and will be demonstrated here using the cordova-plugin-device.
> Note: the same plugins do work without issue in Android builds, and the 
> problem may be solved with a simple manual copy, as demonstrated below.
> To replicate failure:
> =
> cordova create plugintest com.example.plugintest plugintest
> cd plugintest/
> cordova plugins add cordova-plugin-device   --save
> cordova platform add ubuntu
> cordova prepare ubuntu
> cordova run ubuntu --verbose --debug 
> =
> Using chromium to inspect console output and variables (entries preceded by 
> ">" are my input to the console):
> =
> Failed to load resource: net::ERR_FILE_NOT_FOUND  
> file:///tmp/plugintest/platforms/ubuntu/native/prefix/www/cordova_plugins.js 
> Received Event: deviceready
> > device
> VM67:1 Uncaught ReferenceError: device is not defined(...)
> =
> To fix:
> =
> cp ./platforms/ubuntu/platform_www/cordova_plugins.js 
> ./platforms/ubuntu/native/prefix/www/
> cp -R ./platforms/ubuntu/platform_www/plugins/ 
> ./platforms/ubuntu/native/prefix/www/
> cordova run ubuntu --verbose --debug --nobuild
> =
> (The --nobuild option is important, otherwise the copied files are 
> destroyed).  At this stage, connecting to the console shows no 
> net::ERR_FILE_NOT_FOUND and the "device" from the plugin is present
> =
> adding proxy for Device
> Received Event: deviceready
> > device
> Device {available: true, platform: "Linux", version: "15.10", uuid: 
> "{95eabc1234-d601-7563-d35b-abc1234}", ...}
> > device.cordova
> "4.3.2"
> =
> I'm not certain whether the fix would allow building of deb packages, but is 
> sufficient for "cordova run" commands to work correctly.
> I'd appreciate any info concerning anything I may be missing/doing wrong 
> and/or more permanent/automated fixes.
> Thanks,
> PatD



--
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-11340) Documentation wrong log message in fileTransfer.download function

2016-06-06 Thread Nikhil Khandelwal (JIRA)

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

Nikhil Khandelwal resolved CB-11340.

Resolution: Fixed

> Documentation wrong log message in fileTransfer.download function
> -
>
> Key: CB-11340
> URL: https://issues.apache.org/jira/browse/CB-11340
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin File Transfer
>Reporter: Conrado Correa da Costa
>Priority: Trivial
>  Labels: documentation
>   Original Estimate: 5m
>  Remaining Estimate: 5m
>
> cordova-plugin-file-transfer README.md have a wrong log message in 
> fileTransfer.download function. Should log "download error code" instead of 
> "upload error 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-11340) Documentation wrong log message in fileTransfer.download function

2016-06-06 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-11340:
-

Github user asfgit closed the pull request at:

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


> Documentation wrong log message in fileTransfer.download function
> -
>
> Key: CB-11340
> URL: https://issues.apache.org/jira/browse/CB-11340
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin File Transfer
>Reporter: Conrado Correa da Costa
>Priority: Trivial
>  Labels: documentation
>   Original Estimate: 5m
>  Remaining Estimate: 5m
>
> cordova-plugin-file-transfer README.md have a wrong log message in 
> fileTransfer.download function. Should log "download error code" instead of 
> "upload error 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-11342) Online/Offline event not fired under VPN Connection

2016-06-06 Thread Nikhil Khandelwal (JIRA)

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

Nikhil Khandelwal updated CB-11342:
---
Component/s: (was: Windows)

> Online/Offline event not fired under VPN Connection
> ---
>
> Key: CB-11342
> URL: https://issues.apache.org/jira/browse/CB-11342
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Network Information
>Affects Versions: 4.0.0
> Environment: Windows 8.1
>Reporter: Chirag Chauhan
>  Labels: Windows
>
> Hi,
> I am working with Cordova Application targeted to Windows 8.1 platform. I am 
> registering the online/offline events using following code:
> document.addEventListener("offline", jQuery.proxy(this.onOffline, this), 
> false);
> document.addEventListener("online", jQuery.proxy(this.onOnline, 
> this), false);
> I am not able to get the online/offline events when my device is connected to 
> VPN. If the VPN is not enabled then, I am able to see the events getting 
> fired correctly.



--
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-11342) Online/Offline event not fired under VPN Connection

2016-06-06 Thread Nikhil Khandelwal (JIRA)

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

Nikhil Khandelwal commented on CB-11342:


This is likely a limitation of the Windows platform. Not sure we can do  much 
in Cordova plugin to resolve this.

> Online/Offline event not fired under VPN Connection
> ---
>
> Key: CB-11342
> URL: https://issues.apache.org/jira/browse/CB-11342
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Network Information
>Affects Versions: 4.0.0
> Environment: Windows 8.1
>Reporter: Chirag Chauhan
>  Labels: Windows
>
> Hi,
> I am working with Cordova Application targeted to Windows 8.1 platform. I am 
> registering the online/offline events using following code:
> document.addEventListener("offline", jQuery.proxy(this.onOffline, this), 
> false);
> document.addEventListener("online", jQuery.proxy(this.onOnline, 
> this), false);
> I am not able to get the online/offline events when my device is connected to 
> VPN. If the VPN is not enabled then, I am able to see the events getting 
> fired correctly.



--
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-11342) Online/Offline event not fired under VPN Connection

2016-06-06 Thread Nikhil Khandelwal (JIRA)

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

Nikhil Khandelwal updated CB-11342:
---
Labels: Windows  (was: )

> Online/Offline event not fired under VPN Connection
> ---
>
> Key: CB-11342
> URL: https://issues.apache.org/jira/browse/CB-11342
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Network Information
>Affects Versions: 4.0.0
> Environment: Windows 8.1
>Reporter: Chirag Chauhan
>  Labels: Windows
>
> Hi,
> I am working with Cordova Application targeted to Windows 8.1 platform. I am 
> registering the online/offline events using following code:
> document.addEventListener("offline", jQuery.proxy(this.onOffline, this), 
> false);
> document.addEventListener("online", jQuery.proxy(this.onOnline, 
> this), false);
> I am not able to get the online/offline events when my device is connected to 
> VPN. If the VPN is not enabled then, I am able to see the events getting 
> fired correctly.



--
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-11350) Find with 'desiredFields' returns a field as null

2016-06-06 Thread Nikhil Khandelwal (JIRA)

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

Nikhil Khandelwal updated CB-11350:
---
Labels: triaged  (was: )

> Find with 'desiredFields' returns a field as null
> -
>
> Key: CB-11350
> URL: https://issues.apache.org/jira/browse/CB-11350
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Contacts
> Environment: LG G4, Android 6
>Reporter: Maria Ines Parnisari
>Priority: Minor
>  Labels: triaged
>
> Full repro here: https://github.com/miparnisari/ionic-demo
> When you run navigator.contacts.find() with the option 'desiredFields' set 
> including 'displayName', this particular field returns as null for all 
> contacts. However, if you do not set this option, the field is populated 
> properly for each contact.
> Also, it is unclear to me why when you use 'desiredFields' a full-blown 
> object is returned for each contact with almost every field set as null. 
> Wouldn't it make more sense to just return objects with those fields?



--
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-11347) Document Platform API

2016-06-06 Thread Nikhil Khandelwal (JIRA)

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

Nikhil Khandelwal updated CB-11347:
---
Labels: triaged  (was: )

> Document Platform API
> -
>
> Key: CB-11347
> URL: https://issues.apache.org/jira/browse/CB-11347
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: AllPlatforms, Docs
>Reporter: Shazron Abdullah
>  Labels: triaged
>
> Right now the Platform API is undocumented. Emerging platforms need to read 
> the source to find out how it all works.



--
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-11346) Remove known platforms check for Platform API

2016-06-06 Thread Nikhil Khandelwal (JIRA)

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

Nikhil Khandelwal updated CB-11346:
---
Issue Type: Improvement  (was: Bug)

> Remove known platforms check for Platform API
> -
>
> Key: CB-11346
> URL: https://issues.apache.org/jira/browse/CB-11346
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: CordovaLib
>Reporter: Shazron Abdullah
>
> https://github.com/apache/cordova-lib/blob/61f584de5891c52431e40a2dd534ac24cc081fcb/cordova-lib/src/platforms/PlatformApiPoly.js#L58-L59
> So that users can install any "platform".



--
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-11346) Remove known platforms check for Platform API

2016-06-06 Thread Nikhil Khandelwal (JIRA)

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

Nikhil Khandelwal commented on CB-11346:


+1

> Remove known platforms check for Platform API
> -
>
> Key: CB-11346
> URL: https://issues.apache.org/jira/browse/CB-11346
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CordovaLib
>Reporter: Shazron Abdullah
>
> https://github.com/apache/cordova-lib/blob/61f584de5891c52431e40a2dd534ac24cc081fcb/cordova-lib/src/platforms/PlatformApiPoly.js#L58-L59
> So that users can install any "platform".



--
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-11348) git requirements check for cordova-cli (add plugin/platform by git url)

2016-06-06 Thread Nikhil Khandelwal (JIRA)

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

Nikhil Khandelwal updated CB-11348:
---
Labels: triaged  (was: )

> git requirements check for cordova-cli (add plugin/platform by git url)
> ---
>
> Key: CB-11348
> URL: https://issues.apache.org/jira/browse/CB-11348
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CLI
>Reporter: Shazron Abdullah
>  Labels: triaged
>
> On a new cordova-cli install, if you try to add a platform/plugin by git url, 
> it will fail without giving you a clue that you don't have git installed.
> There should be a requirements check that git is missing, and you need to 
> install it.



--
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-11347) Document Platform API

2016-06-06 Thread Nikhil Khandelwal (JIRA)

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

Nikhil Khandelwal updated CB-11347:
---
Issue Type: Improvement  (was: Bug)

> Document Platform API
> -
>
> Key: CB-11347
> URL: https://issues.apache.org/jira/browse/CB-11347
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: AllPlatforms, Docs
>Reporter: Shazron Abdullah
>  Labels: triaged
>
> Right now the Platform API is undocumented. Emerging platforms need to read 
> the source to find out how it all works.



--
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-11352) WKWebView doesn't apply User-Agent configuration

2016-06-06 Thread Nikhil Khandelwal (JIRA)

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

Nikhil Khandelwal updated CB-11352:
---
Labels: pendingPR triaged  (was: )

> WKWebView doesn't apply User-Agent configuration
> 
>
> Key: CB-11352
> URL: https://issues.apache.org/jira/browse/CB-11352
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS
>Affects Versions: 4.1.1
>Reporter: Andreas Kohn
>Assignee: Shazron Abdullah
>  Labels: pendingPR, triaged
>
> {{config.xml}} contains 
> {code}
> 
> {code}
> This is properly used for Android (cordova-android 5.1.1), but not with 
> iOS+WKWebView (cordova-ios 4.1.1).
> The cause is actually "documented": CDVUserAgentUtil:setUserAgent says that 
> the default settings must be registered before the webview is actually 
> instantiated. But, CDVViewController:viewDidLoad delays the call to 
> setUserAgent until after the view has been created.
> AFAIR this worked with the UIWebView.



--
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-11353) Inappbrowser does not allow scope in angularjs / Certificate Validation Fails

2016-06-06 Thread Nikhil Khandelwal (JIRA)

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

Nikhil Khandelwal commented on CB-11353:


This does not look like an issue with inappbrowser as much as the certificate 
cannot be validated. I would recommend checking the adb logs and following up 
on Stack overflow to see if anyone else might have faced this issue.

> Inappbrowser does not allow scope in angularjs / Certificate Validation Fails
> -
>
> Key: CB-11353
> URL: https://issues.apache.org/jira/browse/CB-11353
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin InAppBrowser
> Environment: Grunt, Angularjs, Cordova - Mobile app - iOS and Android 
> - latest. Tried to install latest inappbrowser - it installed 
> -Inappbrowser:1.4.0 (as per package.json read after install plugin)
>Reporter: Smitha.Alangar
>  Labels: easyfix, security, test
>   Original Estimate: 96h
>  Remaining Estimate: 96h
>
>  I tried the official Inapp browser, but, it throws me the following error:
>  Failed to validate the certificate chain, error: 
> java.security.cert.CertPathValidatorException: Trust anchor for certification 
> path not found.
> Also, I have the following in my controller:
> {code}
> (function () {
>   'use strict';
>   angular.module('app')
> .controller('appCtrl',['$scope','PayService',
> function ($scope,PayService,$window){
> 
>document.addEventListener("deviceready", onDeviceReady, false);
>function onDeviceReady() {
> window.open = cordova.InAppBrowser.open;
>   //opens fine
>
> cordova.InAppBrowser.open('https://github.com/apache/cordova-plugin-inappbrowser',
>  '_blank', 'location=yes');
> $scope.redirectPayment = function () {
>   PayService.redirectPayment()
>   .then(function (response) {
> 
> $scope.result = response.data;
> console.log("Success!..." +  response.data);
> //never opens, throws error -  Failed to validate the certificate 
> chain, error: java.security.cert.CertPathValidatorException: 
>   //Trust anchor for certification path not found.
>   //and sometimes - 
>   //E/SysUtils: ApplicationContext is null in ApplicationStatus
>   //validate_display:255 error 3008 (EGL_BAD_DISPLAY)
>   //HostConnection::get() New Host Connection established 
> 0xaff49260, tid 3178
>   //E/DataReductionProxySettingListener: 
>   //No DRP key due to exception:java.lang.ClassNotFoundException: 
> com.android.webview.chromium.Drp
>   window.open = 
> cordova.InAppBrowser.open('https://github.com/apache/cordova-plugin-inappbrowse',
>  '_blank', 'location=yes');
> var urlToGo = $scope.result.data.payment_url;
> console.log("URL to redirect.." + urlToGo);
> //window.location.href = cordova.InAppBrowser.open(urlToGo, 
> '_system', 'location=yes');
>// window.location.href = urlToGo;
>   });
> };
>   }
> 
>   }]); 
>   
> })();
> {code}
> Thanks,
> Smitha
> (Cordova - 6.1.1, Inappbrowser:1.4.0 (as per package.json);AJS 1.5.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] [Resolved] (CB-11353) Inappbrowser does not allow scope in angularjs / Certificate Validation Fails

2016-06-06 Thread Nikhil Khandelwal (JIRA)

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

Nikhil Khandelwal resolved CB-11353.

Resolution: Not A Problem

> Inappbrowser does not allow scope in angularjs / Certificate Validation Fails
> -
>
> Key: CB-11353
> URL: https://issues.apache.org/jira/browse/CB-11353
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin InAppBrowser
> Environment: Grunt, Angularjs, Cordova - Mobile app - iOS and Android 
> - latest. Tried to install latest inappbrowser - it installed 
> -Inappbrowser:1.4.0 (as per package.json read after install plugin)
>Reporter: Smitha.Alangar
>  Labels: easyfix, security, test
>   Original Estimate: 96h
>  Remaining Estimate: 96h
>
>  I tried the official Inapp browser, but, it throws me the following error:
>  Failed to validate the certificate chain, error: 
> java.security.cert.CertPathValidatorException: Trust anchor for certification 
> path not found.
> Also, I have the following in my controller:
> {code}
> (function () {
>   'use strict';
>   angular.module('app')
> .controller('appCtrl',['$scope','PayService',
> function ($scope,PayService,$window){
> 
>document.addEventListener("deviceready", onDeviceReady, false);
>function onDeviceReady() {
> window.open = cordova.InAppBrowser.open;
>   //opens fine
>
> cordova.InAppBrowser.open('https://github.com/apache/cordova-plugin-inappbrowser',
>  '_blank', 'location=yes');
> $scope.redirectPayment = function () {
>   PayService.redirectPayment()
>   .then(function (response) {
> 
> $scope.result = response.data;
> console.log("Success!..." +  response.data);
> //never opens, throws error -  Failed to validate the certificate 
> chain, error: java.security.cert.CertPathValidatorException: 
>   //Trust anchor for certification path not found.
>   //and sometimes - 
>   //E/SysUtils: ApplicationContext is null in ApplicationStatus
>   //validate_display:255 error 3008 (EGL_BAD_DISPLAY)
>   //HostConnection::get() New Host Connection established 
> 0xaff49260, tid 3178
>   //E/DataReductionProxySettingListener: 
>   //No DRP key due to exception:java.lang.ClassNotFoundException: 
> com.android.webview.chromium.Drp
>   window.open = 
> cordova.InAppBrowser.open('https://github.com/apache/cordova-plugin-inappbrowse',
>  '_blank', 'location=yes');
> var urlToGo = $scope.result.data.payment_url;
> console.log("URL to redirect.." + urlToGo);
> //window.location.href = cordova.InAppBrowser.open(urlToGo, 
> '_system', 'location=yes');
>// window.location.href = urlToGo;
>   });
> };
>   }
> 
>   }]); 
>   
> })();
> {code}
> Thanks,
> Smitha
> (Cordova - 6.1.1, Inappbrowser:1.4.0 (as per package.json);AJS 1.5.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-11354) Missing documentation for 9-patch splash screens

2016-06-06 Thread Nikhil Khandelwal (JIRA)

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

Nikhil Khandelwal updated CB-11354:
---
Labels: documentation triaged  (was: documentation)

> Missing documentation for 9-patch splash screens
> 
>
> Key: CB-11354
> URL: https://issues.apache.org/jira/browse/CB-11354
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin SplashScreen
>Reporter: Simon Williams
>Priority: Minor
>  Labels: documentation, triaged
>
> The documentation for cordova-plugin-splashscreen doesn't really explain how 
> the image resource paths are defined.
> There are examples given for specific screen sizes like this:
> {code:xml}
> 
> {code}
> - How important is that path? If I change it in the config.xml and move the 
> images elsewhere, should it still work?
> - What happens if some image sizes are missing?
> - How can this be used with 9-patch images?
> - How can this be used with a single 9-patch image for all screen sizes, 
> rather than specifying multiple images with different densities?
> There is also an undocumented "SplashScreen" preference, which has something 
> to do with resource loading but I don't know what.
> Searching around turns up lots of people asking about this but no clear 
> answers. The best I have found was 
> http://www.bleathem.ca/blog/2015/01/cordova-splashscreen.html, but I haven't 
> had much success. In that post the image is placed in 
> platforms/android/res/drawable/splash.9.png, but without adding any 
> references in the config.xml, so I don't know how it's meant to find the file.
> At the moment I'm really just stabbing in the dark with this. It would be 
> really great to have a bit more in-depth documentation explaining how the 
> resource loading works and how 9-patch images can be used.
> 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-11381) cordova-plugin-inappbrowser Android does not pass sonarqube scan

2016-06-06 Thread Rob Close (JIRA)

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

Rob Close updated CB-11381:
---
Component/s: (was: Android)
 Plugin InAppBrowser

> cordova-plugin-inappbrowser Android does not pass sonarqube scan
> 
>
> Key: CB-11381
> URL: https://issues.apache.org/jira/browse/CB-11381
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin InAppBrowser
>Affects Versions: Master
> Environment: Android
>Reporter: Rob Close
>Priority: Minor
> Fix For: Master
>
>
> The Android inappbrowser plugin does not pass sonarqube 
> (http://www.sonarqube.org/) scan



--
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-11363) Screen Orientation plugin does not work on Android 6

2016-06-06 Thread Nikhil Khandelwal (JIRA)

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

Nikhil Khandelwal updated CB-11363:
---
Labels: triaged  (was: )

> Screen Orientation plugin does not work on Android 6
> 
>
> Key: CB-11363
> URL: https://issues.apache.org/jira/browse/CB-11363
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Screen Orientation
>Affects Versions: 1.4.2
>Reporter: Tony Homer
>  Labels: triaged
>
> Migrated from [Issue 
> #112|https://github.com/gbenvenuti/cordova-plugin-screen-orientation/issues/112]
> From [vukasin0|https://github.com/vukasin0]:
> {quote}
> Is this tested on Android 6 ?
> Currently this works as expected on Android 5.x but not on 6.
> {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] [Updated] (CB-11363) Screen Orientation plugin does not work on Android 6

2016-06-06 Thread Nikhil Khandelwal (JIRA)

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

Nikhil Khandelwal updated CB-11363:
---
Summary: Screen Orientation plugin does not work on Android 6  (was: 
Doesn't work on Android 6)

> Screen Orientation plugin does not work on Android 6
> 
>
> Key: CB-11363
> URL: https://issues.apache.org/jira/browse/CB-11363
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Screen Orientation
>Affects Versions: 1.4.2
>Reporter: Tony Homer
>  Labels: triaged
>
> Migrated from [Issue 
> #112|https://github.com/gbenvenuti/cordova-plugin-screen-orientation/issues/112]
> From [vukasin0|https://github.com/vukasin0]:
> {quote}
> Is this tested on Android 6 ?
> Currently this works as expected on Android 5.x but not on 6.
> {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] [Updated] (CB-11355) initPlugins() abuse borking plugins on (ajax) loads, and potential fix

2016-06-06 Thread Nikhil Khandelwal (JIRA)

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

Nikhil Khandelwal updated CB-11355:
---
Labels: easyfix plugins segfault triaged ubuntu  (was: easyfix plugins 
segfault ubuntu)

> initPlugins() abuse borking plugins on (ajax) loads, and potential fix
> --
>
> Key: CB-11355
> URL: https://issues.apache.org/jira/browse/CB-11355
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CordovaLib, Ubuntu
> Environment: Ubuntu 15.10
> $ cordova -v
> 6.1.1
> $ nodejs -v
> v6.2.0
>Reporter: Pat Deegan
>Assignee: David Barth
>  Labels: easyfix, plugins, segfault, triaged, ubuntu
>
> I'm working on an (ubuntu) plugin that is thread-safe but was causing 
> segfaults everytime I'd (asynch) load a new page or component.
> Trying to run it under gdb, I found that as long as I avoided moving around 
> there were no issues, but every load of a new page or (html) popup would 
> spawn a new thread and somehow re-init my plugin (which is stateful and needs 
> to stay alive).
> The traces looked like so:
>  snip 
> [New Thread 0x7fffcf8a9700 (LWP 26618)]
> Debug: Enable plugin "com.example.MyPlugin"
> Debug: Enable plugin "File"
> Debug: Enable plugin "Notification"
> Debug: Enable plugin "com.cordova.Device"
> Debug: Testing "/path/to/project/platforms/ubuntu/native/prefix/www/logo.png"
> [Thread 0x7fffcf8a9700 (LWP 26618) exited]
> Debug: Testing 
> "/path/to/project/platforms/ubuntu/native/prefix/www/cordova.js"
> Debug: Testing 
> "/path/to/project/platforms/ubuntu/native/prefix/www/cordova_plugins.js"
> Debug: Testing 
> "/path/to/project/platforms/ubuntu/native/prefix/www/pageA.html"
> Debug: Testing 
> "/path/to/project/platforms/ubuntu/native/prefix/www/pageB.html"
> Debug: Testing 
> "/path/to/project/platforms/ubuntu/native/prefix/www/index.html"
> Debug: Testing 
> "/path/to/project/platforms/ubuntu/native/prefix/www/libcoreplugins.so"
> [New Thread 0x7fffcf8a9700 (LWP 26619)]
> [Thread 0x7fffcf8a9700 (LWP 26619) exited]
> Debug: Enable plugin "com.example.MyPlugin"
> Debug: Enable plugin "File"
> Debug: Enable plugin "Notification"
> Debug: Enable plugin "com.cordova.Device"
> Debug: Testing "/path/to/project/platforms/ubuntu/native/prefix/www/logo.png"
> Debug: Testing 
> "/path/to/project/platforms/ubuntu/native/prefix/www/cordova.js"
> Debug: Testing 
> "/path/to/project/platforms/ubuntu/native/prefix/www/cordova_plugins.js"
> Debug: Testing 
> "/path/to/project/platforms/ubuntu/native/prefix/www/pageA.html"
> Debug: Testing 
> "/path/to/project/platforms/ubuntu/native/prefix/www/pageB.html"
> Debug: Testing 
> "/path/to/project/platforms/ubuntu/native/prefix/www/index.html"
> Debug: Testing 
> "/path/to/project/platforms/ubuntu/native/prefix/www/libcoreplugins.so"
> [New Thread 0x7fffcf8a9700 (LWP 26621)]
> Debug: Enable plugin "com.example.MyPlugin"
> Debug: Enable plugin "File"
> Debug: Enable plugin "Notification"
> Debug: Enable plugin "com.cordova.Device"
> Debug: Testing "/path/to/project/platforms/ubuntu/native/prefix/www/logo.png"
> [Thread 0x7fffcf8a9700 (LWP 26621) exited]
> Program received signal SIGSEGV, Segmentation fault.
>  /snip 
> I tracked down the reason for all the (redundant?) "Enable plugin" events to 
> initPlugins() calls in loadFinished() (in the Ubuntu package/src/cordova.cpp):
> void Cordova::loadFinished(bool ok) {
> Q_UNUSED(ok)
> initPlugins();
> }
> I'm not certain what the purpose of this call is, as the init already happens 
> in Cordova::appLoaded().
> In any case, I've disabled the call and loadFinished() and my plugin is both 
> persistent and has stopped causing segfaults.
> Is there a reason to keep this initPlugins() call in loadFinished()?  If so, 
> could we add some kind of 
>virtual bool loadOnlyOnce() { return false;}
> to the CPlugin base class so we can check for and skip plugins that override 
> it?  Or is there some other technique I'm not aware of?
> Thanks,
> Pat Deegan



--
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-11364) Ajax call with cordova whitelist plugin error

2016-06-06 Thread Nikhil Khandelwal (JIRA)

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

Nikhil Khandelwal commented on CB-11364:


There is no evidence that there is a bug in Cordova whitelist plugin here. 
Please continue to follow and investigate with the community. Also, remember to 
review the adb logs to see why that URL load might be blocked.

> Ajax call with cordova whitelist plugin error
> -
>
> Key: CB-11364
> URL: https://issues.apache.org/jira/browse/CB-11364
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Whitelist
>Reporter: Riccardo Amadi
>
> I've implemented the cordova whitelist plugin on my phonegap build 
> application but after a full week i still didn't manage to make a correct 
> ajax call.
> More info here: 
> http://stackoverflow.com/questions/37589890/ajax-call-with-cordova-whitelist-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] [Resolved] (CB-11364) Ajax call with cordova whitelist plugin error

2016-06-06 Thread Nikhil Khandelwal (JIRA)

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

Nikhil Khandelwal resolved CB-11364.

Resolution: Invalid

> Ajax call with cordova whitelist plugin error
> -
>
> Key: CB-11364
> URL: https://issues.apache.org/jira/browse/CB-11364
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Whitelist
>Reporter: Riccardo Amadi
>
> I've implemented the cordova whitelist plugin on my phonegap build 
> application but after a full week i still didn't manage to make a correct 
> ajax call.
> More info here: 
> http://stackoverflow.com/questions/37589890/ajax-call-with-cordova-whitelist-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-11367) cordova-plugin-camera retuns NULL file url on success when mediaType : 2 (only on Android)

2016-06-06 Thread Nikhil Khandelwal (JIRA)

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

Nikhil Khandelwal updated CB-11367:
---
Labels: Android triaged  (was: Android)

> cordova-plugin-camera retuns NULL file url on success when mediaType : 2 
> (only on Android)
> --
>
> Key: CB-11367
> URL: https://issues.apache.org/jira/browse/CB-11367
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Camera
> Environment: Cordova CLI, Android
>Reporter: Samir
>  Labels: Android, triaged
>
> Hi 
> Not sure if I am doing anything wrong or it's a bug.
> I am using Phonegap / cordova CLI
> Plugin: cordova-plugin-camera (latest version 2.2.0)
> ---
> This is my code sample:
> 
> var pictureSource;
> var destinationType;
> document.addEventListener("deviceready",onDeviceReady,false);
> function onDeviceReady() {
>   pictureSource=navigator.camera.PictureSourceType;
>   destinationType=navigator.camera.DestinationType;
> }
> function getMedia() {
>   var gallery_options = { quality: 50, destinationType: 
> destinationType.FILE_URI, sourceType: PictureSourceType.PHOTOLIBRARY, 
> mediaType: 2 };
>   navigator.camera.getPicture(onSuccess, onFail, gallery_options);
> }
> function onSuccess(url) {
>   alert(url); // getting NULL here
> }
> =
> As you can see, I am getting photos and videos from Gallery and destination 
> type is file Url.
> MediaType is set to 2 which means both photos and videos.
> If mediaType is 0 > then no problem. It returns image url
> If it is 1 (video only) returns NULL
> if it is 2, returns NULL on both images and videos.
> It seems to be working only when mediaType is 0 !! (but I need both photos 
> and videos!)
> This only happens on Android !!
> on iOS device, no issue.
> I have tried on Developers app, emulator, real device...same result!
> Any help would be much appreciated!
> S



--
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-11367) cordova-plugin-camera retuns NULL file url on success when mediaType : 2 (only on Android)

2016-06-06 Thread Nikhil Khandelwal (JIRA)

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

Nikhil Khandelwal updated CB-11367:
---
Labels: Android  (was: )

> cordova-plugin-camera retuns NULL file url on success when mediaType : 2 
> (only on Android)
> --
>
> Key: CB-11367
> URL: https://issues.apache.org/jira/browse/CB-11367
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Camera
> Environment: Cordova CLI, Android
>Reporter: Samir
>  Labels: Android
>
> Hi 
> Not sure if I am doing anything wrong or it's a bug.
> I am using Phonegap / cordova CLI
> Plugin: cordova-plugin-camera (latest version 2.2.0)
> ---
> This is my code sample:
> 
> var pictureSource;
> var destinationType;
> document.addEventListener("deviceready",onDeviceReady,false);
> function onDeviceReady() {
>   pictureSource=navigator.camera.PictureSourceType;
>   destinationType=navigator.camera.DestinationType;
> }
> function getMedia() {
>   var gallery_options = { quality: 50, destinationType: 
> destinationType.FILE_URI, sourceType: PictureSourceType.PHOTOLIBRARY, 
> mediaType: 2 };
>   navigator.camera.getPicture(onSuccess, onFail, gallery_options);
> }
> function onSuccess(url) {
>   alert(url); // getting NULL here
> }
> =
> As you can see, I am getting photos and videos from Gallery and destination 
> type is file Url.
> MediaType is set to 2 which means both photos and videos.
> If mediaType is 0 > then no problem. It returns image url
> If it is 1 (video only) returns NULL
> if it is 2, returns NULL on both images and videos.
> It seems to be working only when mediaType is 0 !! (but I need both photos 
> and videos!)
> This only happens on Android !!
> on iOS device, no issue.
> I have tried on Developers app, emulator, real device...same result!
> Any help would be much appreciated!
> S



--
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-11367) cordova-plugin-camera retuns NULL file url on success when mediaType : AllMedia (2) (only on Android)

2016-06-06 Thread Nikhil Khandelwal (JIRA)

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

Nikhil Khandelwal updated CB-11367:
---
Summary: cordova-plugin-camera retuns NULL file url on success when 
mediaType : AllMedia (2) (only on Android)  (was: cordova-plugin-camera retuns 
NULL file url on success when mediaType : 2 (only on Android))

> cordova-plugin-camera retuns NULL file url on success when mediaType : 
> AllMedia (2) (only on Android)
> -
>
> Key: CB-11367
> URL: https://issues.apache.org/jira/browse/CB-11367
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Camera
> Environment: Cordova CLI, Android
>Reporter: Samir
>  Labels: Android, triaged
>
> Hi 
> Not sure if I am doing anything wrong or it's a bug.
> I am using Phonegap / cordova CLI
> Plugin: cordova-plugin-camera (latest version 2.2.0)
> ---
> This is my code sample:
> 
> var pictureSource;
> var destinationType;
> document.addEventListener("deviceready",onDeviceReady,false);
> function onDeviceReady() {
>   pictureSource=navigator.camera.PictureSourceType;
>   destinationType=navigator.camera.DestinationType;
> }
> function getMedia() {
>   var gallery_options = { quality: 50, destinationType: 
> destinationType.FILE_URI, sourceType: PictureSourceType.PHOTOLIBRARY, 
> mediaType: 2 };
>   navigator.camera.getPicture(onSuccess, onFail, gallery_options);
> }
> function onSuccess(url) {
>   alert(url); // getting NULL here
> }
> =
> As you can see, I am getting photos and videos from Gallery and destination 
> type is file Url.
> MediaType is set to 2 which means both photos and videos.
> If mediaType is 0 > then no problem. It returns image url
> If it is 1 (video only) returns NULL
> if it is 2, returns NULL on both images and videos.
> It seems to be working only when mediaType is 0 !! (but I need both photos 
> and videos!)
> This only happens on Android !!
> on iOS device, no issue.
> I have tried on Developers app, emulator, real device...same result!
> Any help would be much appreciated!
> S



--
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-11368) resolveLocalFileSystemURL cannot handle url returned by contacts plugin

2016-06-06 Thread Nikhil Khandelwal (JIRA)

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

Nikhil Khandelwal updated CB-11368:
---
Component/s: (was: Plugin Contacts)

> resolveLocalFileSystemURL cannot handle url returned by contacts plugin
> ---
>
> Key: CB-11368
> URL: https://issues.apache.org/jira/browse/CB-11368
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin File
>Reporter: zhuisui
>  Labels: triaged
>
> navigator.contacts.pickContact returns photo url like 
> {{content://com.android.contacts/contacts/1/photo}}, which cannot be resolved 
> by resolveLocalFileSystemURL with {{FileError {code: 1000}}}. I inspect code 
> in the {{ContentFileSystem.java}}, and find the method 
> {{resourceSizeForCursor}} cannot return correct value. The problem is, that 
> cursor doesn't have a column named _size. I have given permission of File and 
> Contacts.



--
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-11369) Media Plugin: Ignore ANDROID_LOOP exif header

2016-06-06 Thread Nikhil Khandelwal (JIRA)

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

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

> Media Plugin: Ignore ANDROID_LOOP exif header
> -
>
> Key: CB-11369
> URL: https://issues.apache.org/jira/browse/CB-11369
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Media
>Reporter: dw1
>Priority: Minor
>  Labels: Android, triaged
>
> Any sound file that has an ANDROID_LOOP=true exif header, such as many of the 
> /system/media/audio files included with Lollipop, will always loop forever 
> even if only expected to play once via the media plugin. This can lead to 
> having to shut down an app to stop the sound. The plugin should ignore the 
> header and play the sound once unless using the plugin loop feature, as 
> expected.
> My big ugly workaround is to monitor the duration of the file and destroy the 
> media at about the right time: http://pastebin.com/raw/Q9kCriab
> Looping these files seems to be built into android and not likely to change. 
> http://stackoverflow.com/questions/12834727/android-loop-true-how-to-avoid-mediaplayer-looping-audios-with-this-metadat



--
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-11368) resolveLocalFileSystemURL cannot handle url returned by contacts plugin

2016-06-06 Thread Nikhil Khandelwal (JIRA)

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

Nikhil Khandelwal updated CB-11368:
---
Issue Type: Improvement  (was: Bug)

> resolveLocalFileSystemURL cannot handle url returned by contacts plugin
> ---
>
> Key: CB-11368
> URL: https://issues.apache.org/jira/browse/CB-11368
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: Plugin File
>Reporter: zhuisui
>  Labels: triaged
>
> navigator.contacts.pickContact returns photo url like 
> {{content://com.android.contacts/contacts/1/photo}}, which cannot be resolved 
> by resolveLocalFileSystemURL with {{FileError {code: 1000}}}. I inspect code 
> in the {{ContentFileSystem.java}}, and find the method 
> {{resourceSizeForCursor}} cannot return correct value. The problem is, that 
> cursor doesn't have a column named _size. I have given permission of File and 
> Contacts.



--
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-11369) Media Plugin: Ignore ANDROID_LOOP exif header

2016-06-06 Thread Nikhil Khandelwal (JIRA)

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

Nikhil Khandelwal updated CB-11369:
---
Labels: Android triaged  (was: )

> Media Plugin: Ignore ANDROID_LOOP exif header
> -
>
> Key: CB-11369
> URL: https://issues.apache.org/jira/browse/CB-11369
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Media
>Reporter: dw1
>  Labels: Android, triaged
>
> Any sound file that has an ANDROID_LOOP=true exif header, such as many of the 
> /system/media/audio files included with Lollipop, will always loop forever 
> even if only expected to play once via the media plugin. This can lead to 
> having to shut down an app to stop the sound. The plugin should ignore the 
> header and play the sound once unless using the plugin loop feature, as 
> expected.
> My big ugly workaround is to monitor the duration of the file and destroy the 
> media at about the right time: http://pastebin.com/raw/Q9kCriab
> Looping these files seems to be built into android and not likely to change. 
> http://stackoverflow.com/questions/12834727/android-loop-true-how-to-avoid-mediaplayer-looping-audios-with-this-metadat



--
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-11367) cordova-plugin-camera retuns NULL file url on success when mediaType : 2 (only on Android)

2016-06-06 Thread Nikhil Khandelwal (JIRA)

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

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

> cordova-plugin-camera retuns NULL file url on success when mediaType : 2 
> (only on Android)
> --
>
> Key: CB-11367
> URL: https://issues.apache.org/jira/browse/CB-11367
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Camera
> Environment: Cordova CLI, Android
>Reporter: Samir
>  Labels: Android
>
> Hi 
> Not sure if I am doing anything wrong or it's a bug.
> I am using Phonegap / cordova CLI
> Plugin: cordova-plugin-camera (latest version 2.2.0)
> ---
> This is my code sample:
> 
> var pictureSource;
> var destinationType;
> document.addEventListener("deviceready",onDeviceReady,false);
> function onDeviceReady() {
>   pictureSource=navigator.camera.PictureSourceType;
>   destinationType=navigator.camera.DestinationType;
> }
> function getMedia() {
>   var gallery_options = { quality: 50, destinationType: 
> destinationType.FILE_URI, sourceType: PictureSourceType.PHOTOLIBRARY, 
> mediaType: 2 };
>   navigator.camera.getPicture(onSuccess, onFail, gallery_options);
> }
> function onSuccess(url) {
>   alert(url); // getting NULL here
> }
> =
> As you can see, I am getting photos and videos from Gallery and destination 
> type is file Url.
> MediaType is set to 2 which means both photos and videos.
> If mediaType is 0 > then no problem. It returns image url
> If it is 1 (video only) returns NULL
> if it is 2, returns NULL on both images and videos.
> It seems to be working only when mediaType is 0 !! (but I need both photos 
> and videos!)
> This only happens on Android !!
> on iOS device, no issue.
> I have tried on Developers app, emulator, real device...same result!
> Any help would be much appreciated!
> S



--
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-11369) Media Plugin: Ignore ANDROID_LOOP exif header

2016-06-06 Thread Nikhil Khandelwal (JIRA)

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

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

> Media Plugin: Ignore ANDROID_LOOP exif header
> -
>
> Key: CB-11369
> URL: https://issues.apache.org/jira/browse/CB-11369
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Media
>Reporter: dw1
>  Labels: Android, triaged
>
> Any sound file that has an ANDROID_LOOP=true exif header, such as many of the 
> /system/media/audio files included with Lollipop, will always loop forever 
> even if only expected to play once via the media plugin. This can lead to 
> having to shut down an app to stop the sound. The plugin should ignore the 
> header and play the sound once unless using the plugin loop feature, as 
> expected.
> My big ugly workaround is to monitor the duration of the file and destroy the 
> media at about the right time: http://pastebin.com/raw/Q9kCriab
> Looping these files seems to be built into android and not likely to change. 
> http://stackoverflow.com/questions/12834727/android-loop-true-how-to-avoid-mediaplayer-looping-audios-with-this-metadat



--
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-11368) resolveLocalFileSystemURL cannot handle url returned by contacts plugin

2016-06-06 Thread Nikhil Khandelwal (JIRA)

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

Nikhil Khandelwal updated CB-11368:
---
Labels: triaged  (was: )

> resolveLocalFileSystemURL cannot handle url returned by contacts plugin
> ---
>
> Key: CB-11368
> URL: https://issues.apache.org/jira/browse/CB-11368
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin File
>Reporter: zhuisui
>  Labels: triaged
>
> navigator.contacts.pickContact returns photo url like 
> {{content://com.android.contacts/contacts/1/photo}}, which cannot be resolved 
> by resolveLocalFileSystemURL with {{FileError {code: 1000}}}. I inspect code 
> in the {{ContentFileSystem.java}}, and find the method 
> {{resourceSizeForCursor}} cannot return correct value. The problem is, that 
> cursor doesn't have a column named _size. I have given permission of File and 
> Contacts.



--
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-11371) [Android][Camera] The native Image-Preview doesn't appear after taken a picture on a Sony Z3 Dual with Android 6

2016-06-06 Thread Nikhil Khandelwal (JIRA)

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

Nikhil Khandelwal updated CB-11371:
---
Labels: Android triaged  (was: )

> [Android][Camera] The native Image-Preview doesn't appear after taken a 
> picture on a Sony Z3 Dual with Android 6
> 
>
> Key: CB-11371
> URL: https://issues.apache.org/jira/browse/CB-11371
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Camera
>Affects Versions: 2.2.0
> Environment: Android 6
>Reporter: Massimo Rangoni
>Priority: Minor
>  Labels: Android, triaged
>
> Only on a Sony Z3 Dual the native Image-Preview doesn't appear after taken a 
> picture. 
> Here the options passed to the `getPicture` method:
> {noformat}
>   var options = {
> quality: 40,
> destinationType: Camera.DestinationType.FILE_URI,
> sourceType: Camera.PictureSourceType.CAMERA,
> allowEdit: false,
> encodingType: Camera.EncodingType.JPEG,
> targetWidth: 400,
> targetHeight: 400,
> cameraDirection: Camera.Direction.BACK,
> correctOrientation: true
>   };
>   navigator.camera.getPicture(this.onSuccess, this.onFail, options);
> {noformat}



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

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



[jira] [Resolved] (CB-11372) 403 Forbidden Link on main home page

2016-06-06 Thread Nikhil Khandelwal (JIRA)

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

Nikhil Khandelwal resolved CB-11372.

Resolution: Fixed

> 403 Forbidden Link on main home page
> 
>
> Key: CB-11372
> URL: https://issues.apache.org/jira/browse/CB-11372
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Docs
>Reporter: Shazron Abdullah
>  Labels: triaged
> Attachments: 403.png
>
>
> 1. Go to http://cordova.apache.org
> 2. Go to the "Installing Cordova" section
> 3. Click on the link "platform specific guides" 
> (http://cordova.apache.org/docs/en/latest/guide/platforms/)
> 4. You get a "403 Forbidden - You don't have permission to access 
> /docs/en/6.x/guide/platforms/ on this server." error
> See screenshot.



--
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-11381) cordova-plugin-inappbrowser Android does not pass sonarqube scan

2016-06-06 Thread Rob Close (JIRA)
Rob Close created CB-11381:
--

 Summary: cordova-plugin-inappbrowser Android does not pass 
sonarqube scan
 Key: CB-11381
 URL: https://issues.apache.org/jira/browse/CB-11381
 Project: Apache Cordova
  Issue Type: Bug
  Components: Android
Affects Versions: Master
 Environment: Android
Reporter: Rob Close
Priority: Minor
 Fix For: Master


The Android inappbrowser plugin does not pass sonarqube 
(http://www.sonarqube.org/) scan



--
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-11372) 403 Forbidden Link on main home page

2016-06-06 Thread Nikhil Khandelwal (JIRA)

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

Nikhil Khandelwal updated CB-11372:
---
Labels: triaged  (was: )

> 403 Forbidden Link on main home page
> 
>
> Key: CB-11372
> URL: https://issues.apache.org/jira/browse/CB-11372
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Docs
>Reporter: Shazron Abdullah
>  Labels: triaged
> Attachments: 403.png
>
>
> 1. Go to http://cordova.apache.org
> 2. Go to the "Installing Cordova" section
> 3. Click on the link "platform specific guides" 
> (http://cordova.apache.org/docs/en/latest/guide/platforms/)
> 4. You get a "403 Forbidden - You don't have permission to access 
> /docs/en/6.x/guide/platforms/ on this server." error
> See screenshot.



--
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-11373) config.xml options not documented: android-packageName, android-activityName, ios-CFBundleIdentifier

2016-06-06 Thread Nikhil Khandelwal (JIRA)

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

Nikhil Khandelwal updated CB-11373:
---
Summary: config.xml options not documented: android-packageName, 
android-activityName, ios-CFBundleIdentifier  (was: config.xml options not 
documented)

> config.xml options not documented: android-packageName, android-activityName, 
> ios-CFBundleIdentifier
> 
>
> Key: CB-11373
> URL: https://issues.apache.org/jira/browse/CB-11373
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Docs
>Affects Versions: 6.2.0
>Reporter: Frederico Costa Galvão
>Priority: Minor
>  Labels: Android, documentation, iOS, triaged
>
> None of these options \[1\] are currently documented \[2\].
> I wonder how many of those hidden settings are there.
> \[1\] 
> https://github.com/apache/cordova-lib/blob/9f630271d9c02824c0031ea4cdc0e4955b53d9e2/cordova-common/src/ConfigParser/ConfigParser.js#L99-L107
> \[2\] https://cordova.apache.org/docs/en/latest/config_ref/index.html 
> (visited @ 03/06/2016 23:00:00 UTC)



--
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-11373) config.xml options not documented

2016-06-06 Thread Nikhil Khandelwal (JIRA)

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

Nikhil Khandelwal updated CB-11373:
---
Component/s: Docs

> config.xml options not documented
> -
>
> Key: CB-11373
> URL: https://issues.apache.org/jira/browse/CB-11373
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Docs
>Affects Versions: 6.2.0
>Reporter: Frederico Costa Galvão
>Priority: Minor
>  Labels: Android, documentation, iOS, triaged
>
> None of these options \[1\] are currently documented \[2\].
> I wonder how many of those hidden settings are there.
> \[1\] 
> https://github.com/apache/cordova-lib/blob/9f630271d9c02824c0031ea4cdc0e4955b53d9e2/cordova-common/src/ConfigParser/ConfigParser.js#L99-L107
> \[2\] https://cordova.apache.org/docs/en/latest/config_ref/index.html 
> (visited @ 03/06/2016 23:00:00 UTC)



--
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-11373) config.xml options not documented

2016-06-06 Thread Nikhil Khandelwal (JIRA)

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

Nikhil Khandelwal updated CB-11373:
---
Labels: Android documentation iOS triaged  (was: Android documentation iOS)

> config.xml options not documented
> -
>
> Key: CB-11373
> URL: https://issues.apache.org/jira/browse/CB-11373
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Docs
>Affects Versions: 6.2.0
>Reporter: Frederico Costa Galvão
>Priority: Minor
>  Labels: Android, documentation, iOS, triaged
>
> None of these options \[1\] are currently documented \[2\].
> I wonder how many of those hidden settings are there.
> \[1\] 
> https://github.com/apache/cordova-lib/blob/9f630271d9c02824c0031ea4cdc0e4955b53d9e2/cordova-common/src/ConfigParser/ConfigParser.js#L99-L107
> \[2\] https://cordova.apache.org/docs/en/latest/config_ref/index.html 
> (visited @ 03/06/2016 23:00:00 UTC)



--
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-11373) config.xml options not documented

2016-06-06 Thread Nikhil Khandelwal (JIRA)

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

Nikhil Khandelwal updated CB-11373:
---
Labels: Android documentation iOS  (was: documentation)

> config.xml options not documented
> -
>
> Key: CB-11373
> URL: https://issues.apache.org/jira/browse/CB-11373
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Docs
>Affects Versions: 6.2.0
>Reporter: Frederico Costa Galvão
>Priority: Minor
>  Labels: Android, documentation, iOS, triaged
>
> None of these options \[1\] are currently documented \[2\].
> I wonder how many of those hidden settings are there.
> \[1\] 
> https://github.com/apache/cordova-lib/blob/9f630271d9c02824c0031ea4cdc0e4955b53d9e2/cordova-common/src/ConfigParser/ConfigParser.js#L99-L107
> \[2\] https://cordova.apache.org/docs/en/latest/config_ref/index.html 
> (visited @ 03/06/2016 23:00:00 UTC)



--
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-11373) config.xml options not documented

2016-06-06 Thread Nikhil Khandelwal (JIRA)

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

Nikhil Khandelwal commented on CB-11373:


Good catch! It will be great if you want to send a PR for this.


> config.xml options not documented
> -
>
> Key: CB-11373
> URL: https://issues.apache.org/jira/browse/CB-11373
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Docs
>Affects Versions: 6.2.0
>Reporter: Frederico Costa Galvão
>Priority: Minor
>  Labels: Android, documentation, iOS, triaged
>
> None of these options \[1\] are currently documented \[2\].
> I wonder how many of those hidden settings are there.
> \[1\] 
> https://github.com/apache/cordova-lib/blob/9f630271d9c02824c0031ea4cdc0e4955b53d9e2/cordova-common/src/ConfigParser/ConfigParser.js#L99-L107
> \[2\] https://cordova.apache.org/docs/en/latest/config_ref/index.html 
> (visited @ 03/06/2016 23:00:00 UTC)



--
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-11373) config.xml options not documented

2016-06-06 Thread Nikhil Khandelwal (JIRA)

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

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

> config.xml options not documented
> -
>
> Key: CB-11373
> URL: https://issues.apache.org/jira/browse/CB-11373
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Docs
>Affects Versions: 6.2.0
>Reporter: Frederico Costa Galvão
>Priority: Minor
>  Labels: Android, documentation, iOS, triaged
>
> None of these options \[1\] are currently documented \[2\].
> I wonder how many of those hidden settings are there.
> \[1\] 
> https://github.com/apache/cordova-lib/blob/9f630271d9c02824c0031ea4cdc0e4955b53d9e2/cordova-common/src/ConfigParser/ConfigParser.js#L99-L107
> \[2\] https://cordova.apache.org/docs/en/latest/config_ref/index.html 
> (visited @ 03/06/2016 23:00:00 UTC)



--
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-11375) onReset method of CDVPlugin is never called

2016-06-06 Thread Nikhil Khandelwal (JIRA)

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

Nikhil Khandelwal updated CB-11375:
---
Labels: triaged  (was: )

> onReset method of CDVPlugin is never called
> ---
>
> Key: CB-11375
> URL: https://issues.apache.org/jira/browse/CB-11375
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS, Plugins
>Affects Versions: 6.1.1, 6.2.0
>Reporter: Dale Beermann
>Assignee: Shazron Abdullah
>  Labels: triaged
>
> {{CDVUIWebViewNavigationDelegate.webViewDidStartLoad}} gets called as it 
> should. The line in that method:
> {code}
> [[NSNotificationCenter defaultCenter] postNotification:[NSNotification 
> notificationWithName:CDVPluginResetNotification 
> object:self.enginePlugin.webView]];
> {code}
> seems to be an issue. The {{self.enginePlugin.webView}} reference calls into 
> the {{webView}} method in {{CDVPlugin.m}}. There, the lines:
> {code}
> if (self.webViewEngine != nil) {
> return self.webViewEngine.engineWebView;
> }
> {code}
> should return the {{engineWebView}}, but instead it returns nil. I think that 
> the issue is that {{CDVUIWebViewEngine}} extends {{CDVPlugin}}, but doesn't 
> override the {{webView}} method. If I do override that getter in 
> {{CDVUIWebViewEngine.m}}, with:
> {code}
> - (UIView*)webView
> {
> if (self.engineWebView != nil) {
> return self.engineWebView;
> }
> 
> return nil;
> }
> {code}
> everything actually seems to get called correctly. I'm running Cordova 6.1.1 
> with Cordova iOS 4.1.1. It does not look like there are any changes since 
> then that would affect this.



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

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



[jira] [Updated] (CB-11376) iOS: CameraUsesGeolocation=true throws "Invalid callback id received by sendPluginResult"

2016-06-06 Thread Nikhil Khandelwal (JIRA)

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

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

> iOS: CameraUsesGeolocation=true throws "Invalid callback id received by 
> sendPluginResult"
> -
>
> Key: CB-11376
> URL: https://issues.apache.org/jira/browse/CB-11376
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Camera
>Affects Versions: 2.2.0
> Environment: cordova 6.1.0
> cordova-plugin-camera 2.2.0
> iOS 9.3.2
>Reporter: Michael Schmidt
>  Labels: iOS, triaged, wfc
>
> iOS: CameraUsesGeolocation=true throws "Invalid callback id received by 
> sendPluginResult"
> situation:
> setting the geolocation to true:
> {code}
> 
> {code}
> problem:
> creates the following error message:
> {code}
> Invalid callback id received by sendPluginResult
> {code}
> stacktrace: 
> {code}
> (
>   0   CordovaApp 0x0001001259b4 
> -[CDVCommandDelegateImpl sendPluginResult:callbackId:] + 208
>   1   CordovaApp 0x0001000f1eb0 -[CDVCamera 
> imagePickerControllerReturnImageResult] + 1616
>   2   CordovaApp 0x0001000f16bc -[CDVCamera 
> locationManager:didUpdateToLocation:fromLocation:] + 1984
>   3   CoreLocation0x0001890c4a14 
> CLClientGetCapabilities + 22184
>   4   CoreLocation0x0001890c0aac 
> CLClientGetCapabilities + 5952
>   5   CoreLocation0x0001890bae48 
> CLClientInvalidate + 880
>   6   CoreFoundation  0x000182320f84  + 
> 20
>   7   CoreFoundation  0x0001823208bc  + 
> 308
>   8   CoreFoundation  0x00018231ed04  + 
> 1960
>   9   CoreFoundation  0x000182248c50 
> CFRunLoopRunSpecific + 384
>   10  GraphicsServices0x000183b30088 
> GSEventRunModal + 180
>   11  UIKit   0x000187532088 
> UIApplicationMain + 204
>   12  CordovaApp 0x0001000e97bc main + 76
>   13  libdyld.dylib   0x000181de68b8  + 
> 4
> )
> {code}



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

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



  1   2   >