[jira] [Updated] (CB-11433) Permission dialog display cordova package path instead of plain text message

2016-06-20 Thread Nikhil Khandelwal (JIRA)

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

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

> Permission dialog display cordova package path instead of plain text message
> 
>
> Key: CB-11433
> URL: https://issues.apache.org/jira/browse/CB-11433
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Geolocation
>Affects Versions: 2.2.0
> Environment: ios 9.3.x
>Reporter: Philipp Kursawe
>  Labels: triaged
>
> When having this react component
> {code}
> import React from "react"
> import { connect } from "react-redux"
> import { update } from "../geolocationActions"
> class GeoLocation extends React.Component {
>   constructor(props) {
> super(props)
> this.updatePosition = position => props.update(position)
> this.onError = () => props.update(null)
>   }
>   componentWillMount() {
> this.watchId = navigator.geolocation.watchPosition(this.updatePosition, 
> this.onError)
>   }
>   componentWillUnmount() {
> navigator.geolocation.clearWatch(this.watchId)
>   }
>   render() {
> return null
>   }
> }
> GeoLocation.propTypes = {
>   update: React.PropTypes.func.isRequired,
> }
> export default connect(null, { update })(GeoLocation)
> {code}
> Sometimes the phone displays the correct permission question:
> https://1drv.ms/i/s!AjrwWLsSkwcs1YlgMrdeK9AvkCwe7g
> but sometimes (even right after the first dialog) another dialog is displayed 
> and the app hangs after it has been closed.
> https://1drv.ms/i/s!AjrwWLsSkwcs1YlfkCT9F6OKUK9iRQ



--
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-11433) Permission dialog display cordova package path instead of plain text message

2016-06-20 Thread Nikhil Khandelwal (JIRA)

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

Nikhil Khandelwal commented on CB-11433:


Could you review the iOS native logs to see if there are any messages which 
give a hint of what the error might be?

> Permission dialog display cordova package path instead of plain text message
> 
>
> Key: CB-11433
> URL: https://issues.apache.org/jira/browse/CB-11433
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Geolocation
>Affects Versions: 2.2.0
> Environment: ios 9.3.x
>Reporter: Philipp Kursawe
>
> When having this react component
> {code}
> import React from "react"
> import { connect } from "react-redux"
> import { update } from "../geolocationActions"
> class GeoLocation extends React.Component {
>   constructor(props) {
> super(props)
> this.updatePosition = position => props.update(position)
> this.onError = () => props.update(null)
>   }
>   componentWillMount() {
> this.watchId = navigator.geolocation.watchPosition(this.updatePosition, 
> this.onError)
>   }
>   componentWillUnmount() {
> navigator.geolocation.clearWatch(this.watchId)
>   }
>   render() {
> return null
>   }
> }
> GeoLocation.propTypes = {
>   update: React.PropTypes.func.isRequired,
> }
> export default connect(null, { update })(GeoLocation)
> {code}
> Sometimes the phone displays the correct permission question:
> https://1drv.ms/i/s!AjrwWLsSkwcs1YlgMrdeK9AvkCwe7g
> but sometimes (even right after the first dialog) another dialog is displayed 
> and the app hangs after it has been closed.
> https://1drv.ms/i/s!AjrwWLsSkwcs1YlfkCT9F6OKUK9iRQ



--
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-11440) iOS: Remove default: disabled NSAppTransportSecurity - soon required by Apple

2016-06-20 Thread Nikhil Khandelwal (JIRA)

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

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

> iOS: Remove default: disabled NSAppTransportSecurity - soon required by Apple 
> --
>
> Key: CB-11440
> URL: https://issues.apache.org/jira/browse/CB-11440
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS
> Environment: cordova-ios 4.1.1
>Reporter: Michael Schmidt
>Assignee: Shazron Abdullah
>  Labels: iOS, triaged
>
> iOS platform by default disables https:
> {code}
> NSAppTransportSecurity
> 
>   NSAllowsArbitraryLoads
>   
> 
> {code}
> Apple soon requires HTTPS:
> "Apple mandates App Store apps support ATS security protocol by 2017"
> http://appleinsider.com/articles/16/06/14/apple-mandates-app-store-apps-support-ats-security-protocol-by-2017
> --> remove this default from cordova ios 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-11442) preference for orientation sets upside-down when only "portrait" is configured

2016-06-20 Thread Nikhil Khandelwal (JIRA)

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

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

> preference for orientation sets upside-down when only "portrait" is configured
> --
>
> Key: CB-11442
> URL: https://issues.apache.org/jira/browse/CB-11442
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS
>Affects Versions: 4.1.1
>Reporter: Philipp Kursawe
>Assignee: Shazron Abdullah
>  Labels: triaged
>
> When setting the orientation to portrait like this:
> {code}
> 
> {code}
> the cordova ios engine also sets the "upside-down" orientation. I had to 
> resort to overwrite the plist values myself
> {code}
>  overwrite="true">
>   
> UIInterfaceOrientationPortrait
>   
> 
>  parent="UISupportedInterfaceOrientations~ipad" overwrite="true">
>   
> UIInterfaceOrientationPortrait
>   
> 
> {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-11448) Execution failed for task ':mergeDebugResources' - Error: Duplicate resources - Conflict between screen.png and screen.9.png

2016-06-20 Thread Nikhil Khandelwal (JIRA)

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

Nikhil Khandelwal updated CB-11448:
---
Labels: build triaged  (was: build)

> Execution failed for task ':mergeDebugResources' - Error: Duplicate resources 
> - Conflict between screen.png and screen.9.png
> 
>
> Key: CB-11448
> URL: https://issues.apache.org/jira/browse/CB-11448
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Android
>Affects Versions: 6.2.0
> Environment: Mac OS 10.11.5
>Reporter: Antoine Censi
>  Labels: build, triaged
>
> *Steps to reproduce*
> ```
> rm -rf platforms/android
> cordova platform add android
> cordova build android
> ```
> with `config.xml`
> ```
> 
>  src="assets/splash/android/android-ldpi.9.png"/>
>  src="assets/splash/android/android-mdpi.9.png"/>
>  src="assets/splash/android/android-hdpi.9.png"/>
>  src="assets/splash/android/android-xhdpi.9.png"/>
>  src="assets/splash/android/android-xxhdpi.9.png"/>
>  src="assets/splash/android/android-xxxhdpi.9.png"/>
> 
>  src="assets/splash/android/android-ldpi-portrait.9.png"/>
>  src="assets/splash/android/android-mdpi-portrait.9.png"/>
>  src="assets/splash/android/android-hdpi-portrait.9.png"/>
>  src="assets/splash/android/android-xhdpi-portrait.9.png"/>
>  src="assets/splash/android/android-xxhdpi-portrait.9.png"/>
>  src="assets/splash/android/android-xxxhdpi-portrait.9.png"/>
> 
>  src="assets/splash/android/android-ldpi-landscape.9.png"/>
>  src="assets/splash/android/android-mdpi-landscape.9.png"/>
>  src="assets/splash/android/android-hdpi-landscape.9.png"/>
>  src="assets/splash/android/android-xhdpi-landscape.9.png"/>
>  src="assets/splash/android/android-xxhdpi-landscape.9.png"/>
>  src="assets/splash/android/android-xxxhdpi-landscape.9.png"/>
> ```
> *Output*
> ```
> Execution failed for task ':mergeDebugResources'.
> > [drawable-land-xhdpi-v4/screen] 
> > /Users/antoine/Sites/attendease-cordova/platforms/android/res/drawable-land-xhdpi/screen.9.png
> > [drawable-land-xhdpi-v4/screen] 
> > /Users/antoine/Sites/attendease-cordova/platforms/android/res/drawable-land-xhdpi/screen.png:
> >  Error: Duplicate resources
> ...
> ```
> *Documentation*
> http://stackoverflow.com/questions/27547287/android-error-duplicate-resources
> http://stackoverflow.com/questions/27948603/phonegap-generating-both-screen-png-and-screen-9-png-for-splash-screens
>  (unanswered...)
> Possible hint 
> https://github.com/apache/cordova-android/blob/3a1b4ffcb8857d5bf70dab3b507f0daba3f9130a/bin/templates/cordova/lib/prepare.js#L267
> *Current solution - (not using 9patch screen though - Fail)*
> ```
> 
> 
>  src="assets/splash/android/android-ldpi.9.png"/>
>  src="assets/splash/android/android-mdpi.9.png"/>
>  src="assets/splash/android/android-hdpi.9.png"/>
>  src="assets/splash/android/android-xhdpi.9.png"/>
>  src="assets/splash/android/android-xxhdpi.9.png"/>
>  src="assets/splash/android/android-xxxhdpi.9.png"/>
> 
> 
>  src="assets/splash/android/android-xxxhdpi-portrait.9.png"/>
> 
> 
>  src="assets/splash/android/android-xxxhdpi-landscape.9.png"/>
> ```



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

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



[jira] [Updated] (CB-11448) Execution failed for task ':mergeDebugResources' - Error: Duplicate resources - Conflict between screen.png and screen.9.png

2016-06-20 Thread Nikhil Khandelwal (JIRA)

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

Nikhil Khandelwal updated CB-11448:
---
Component/s: Android

> Execution failed for task ':mergeDebugResources' - Error: Duplicate resources 
> - Conflict between screen.png and screen.9.png
> 
>
> Key: CB-11448
> URL: https://issues.apache.org/jira/browse/CB-11448
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Android
>Affects Versions: 6.2.0
> Environment: Mac OS 10.11.5
>Reporter: Antoine Censi
>  Labels: build
>
> *Steps to reproduce*
> ```
> rm -rf platforms/android
> cordova platform add android
> cordova build android
> ```
> with `config.xml`
> ```
> 
>  src="assets/splash/android/android-ldpi.9.png"/>
>  src="assets/splash/android/android-mdpi.9.png"/>
>  src="assets/splash/android/android-hdpi.9.png"/>
>  src="assets/splash/android/android-xhdpi.9.png"/>
>  src="assets/splash/android/android-xxhdpi.9.png"/>
>  src="assets/splash/android/android-xxxhdpi.9.png"/>
> 
>  src="assets/splash/android/android-ldpi-portrait.9.png"/>
>  src="assets/splash/android/android-mdpi-portrait.9.png"/>
>  src="assets/splash/android/android-hdpi-portrait.9.png"/>
>  src="assets/splash/android/android-xhdpi-portrait.9.png"/>
>  src="assets/splash/android/android-xxhdpi-portrait.9.png"/>
>  src="assets/splash/android/android-xxxhdpi-portrait.9.png"/>
> 
>  src="assets/splash/android/android-ldpi-landscape.9.png"/>
>  src="assets/splash/android/android-mdpi-landscape.9.png"/>
>  src="assets/splash/android/android-hdpi-landscape.9.png"/>
>  src="assets/splash/android/android-xhdpi-landscape.9.png"/>
>  src="assets/splash/android/android-xxhdpi-landscape.9.png"/>
>  src="assets/splash/android/android-xxxhdpi-landscape.9.png"/>
> ```
> *Output*
> ```
> Execution failed for task ':mergeDebugResources'.
> > [drawable-land-xhdpi-v4/screen] 
> > /Users/antoine/Sites/attendease-cordova/platforms/android/res/drawable-land-xhdpi/screen.9.png
> > [drawable-land-xhdpi-v4/screen] 
> > /Users/antoine/Sites/attendease-cordova/platforms/android/res/drawable-land-xhdpi/screen.png:
> >  Error: Duplicate resources
> ...
> ```
> *Documentation*
> http://stackoverflow.com/questions/27547287/android-error-duplicate-resources
> http://stackoverflow.com/questions/27948603/phonegap-generating-both-screen-png-and-screen-9-png-for-splash-screens
>  (unanswered...)
> Possible hint 
> https://github.com/apache/cordova-android/blob/3a1b4ffcb8857d5bf70dab3b507f0daba3f9130a/bin/templates/cordova/lib/prepare.js#L267
> *Current solution - (not using 9patch screen though - Fail)*
> ```
> 
> 
>  src="assets/splash/android/android-ldpi.9.png"/>
>  src="assets/splash/android/android-mdpi.9.png"/>
>  src="assets/splash/android/android-hdpi.9.png"/>
>  src="assets/splash/android/android-xhdpi.9.png"/>
>  src="assets/splash/android/android-xxhdpi.9.png"/>
>  src="assets/splash/android/android-xxxhdpi.9.png"/>
> 
> 
>  src="assets/splash/android/android-xxxhdpi-portrait.9.png"/>
> 
> 
>  src="assets/splash/android/android-xxxhdpi-landscape.9.png"/>
> ```



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

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



[jira] [Updated] (CB-11448) Execution failed for task ':mergeDebugResources' - Error: Duplicate resources - Conflict between screen.png and screen.9.png

2016-06-20 Thread Nikhil Khandelwal (JIRA)

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

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

> Execution failed for task ':mergeDebugResources' - Error: Duplicate resources 
> - Conflict between screen.png and screen.9.png
> 
>
> Key: CB-11448
> URL: https://issues.apache.org/jira/browse/CB-11448
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Android
>Affects Versions: 6.2.0
> Environment: Mac OS 10.11.5
>Reporter: Antoine Censi
>  Labels: build
>
> *Steps to reproduce*
> ```
> rm -rf platforms/android
> cordova platform add android
> cordova build android
> ```
> with `config.xml`
> ```
> 
>  src="assets/splash/android/android-ldpi.9.png"/>
>  src="assets/splash/android/android-mdpi.9.png"/>
>  src="assets/splash/android/android-hdpi.9.png"/>
>  src="assets/splash/android/android-xhdpi.9.png"/>
>  src="assets/splash/android/android-xxhdpi.9.png"/>
>  src="assets/splash/android/android-xxxhdpi.9.png"/>
> 
>  src="assets/splash/android/android-ldpi-portrait.9.png"/>
>  src="assets/splash/android/android-mdpi-portrait.9.png"/>
>  src="assets/splash/android/android-hdpi-portrait.9.png"/>
>  src="assets/splash/android/android-xhdpi-portrait.9.png"/>
>  src="assets/splash/android/android-xxhdpi-portrait.9.png"/>
>  src="assets/splash/android/android-xxxhdpi-portrait.9.png"/>
> 
>  src="assets/splash/android/android-ldpi-landscape.9.png"/>
>  src="assets/splash/android/android-mdpi-landscape.9.png"/>
>  src="assets/splash/android/android-hdpi-landscape.9.png"/>
>  src="assets/splash/android/android-xhdpi-landscape.9.png"/>
>  src="assets/splash/android/android-xxhdpi-landscape.9.png"/>
>  src="assets/splash/android/android-xxxhdpi-landscape.9.png"/>
> ```
> *Output*
> ```
> Execution failed for task ':mergeDebugResources'.
> > [drawable-land-xhdpi-v4/screen] 
> > /Users/antoine/Sites/attendease-cordova/platforms/android/res/drawable-land-xhdpi/screen.9.png
> > [drawable-land-xhdpi-v4/screen] 
> > /Users/antoine/Sites/attendease-cordova/platforms/android/res/drawable-land-xhdpi/screen.png:
> >  Error: Duplicate resources
> ...
> ```
> *Documentation*
> http://stackoverflow.com/questions/27547287/android-error-duplicate-resources
> http://stackoverflow.com/questions/27948603/phonegap-generating-both-screen-png-and-screen-9-png-for-splash-screens
>  (unanswered...)
> Possible hint 
> https://github.com/apache/cordova-android/blob/3a1b4ffcb8857d5bf70dab3b507f0daba3f9130a/bin/templates/cordova/lib/prepare.js#L267
> *Current solution - (not using 9patch screen though - Fail)*
> ```
> 
> 
>  src="assets/splash/android/android-ldpi.9.png"/>
>  src="assets/splash/android/android-mdpi.9.png"/>
>  src="assets/splash/android/android-hdpi.9.png"/>
>  src="assets/splash/android/android-xhdpi.9.png"/>
>  src="assets/splash/android/android-xxhdpi.9.png"/>
>  src="assets/splash/android/android-xxxhdpi.9.png"/>
> 
> 
>  src="assets/splash/android/android-xxxhdpi-portrait.9.png"/>
> 
> 
>  src="assets/splash/android/android-xxxhdpi-landscape.9.png"/>
> ```



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

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



[jira] [Updated] (CB-11448) Execution failed for task ':mergeDebugResources' - Error: Duplicate resources - Conflict between screen.png and screen.9.png

2016-06-20 Thread Nikhil Khandelwal (JIRA)

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

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

> Execution failed for task ':mergeDebugResources' - Error: Duplicate resources 
> - Conflict between screen.png and screen.9.png
> 
>
> Key: CB-11448
> URL: https://issues.apache.org/jira/browse/CB-11448
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Android
>Affects Versions: 6.2.0
> Environment: Mac OS 10.11.5
>Reporter: Antoine Censi
>  Labels: build
>
> *Steps to reproduce*
> ```
> rm -rf platforms/android
> cordova platform add android
> cordova build android
> ```
> with `config.xml`
> ```
> 
>  src="assets/splash/android/android-ldpi.9.png"/>
>  src="assets/splash/android/android-mdpi.9.png"/>
>  src="assets/splash/android/android-hdpi.9.png"/>
>  src="assets/splash/android/android-xhdpi.9.png"/>
>  src="assets/splash/android/android-xxhdpi.9.png"/>
>  src="assets/splash/android/android-xxxhdpi.9.png"/>
> 
>  src="assets/splash/android/android-ldpi-portrait.9.png"/>
>  src="assets/splash/android/android-mdpi-portrait.9.png"/>
>  src="assets/splash/android/android-hdpi-portrait.9.png"/>
>  src="assets/splash/android/android-xhdpi-portrait.9.png"/>
>  src="assets/splash/android/android-xxhdpi-portrait.9.png"/>
>  src="assets/splash/android/android-xxxhdpi-portrait.9.png"/>
> 
>  src="assets/splash/android/android-ldpi-landscape.9.png"/>
>  src="assets/splash/android/android-mdpi-landscape.9.png"/>
>  src="assets/splash/android/android-hdpi-landscape.9.png"/>
>  src="assets/splash/android/android-xhdpi-landscape.9.png"/>
>  src="assets/splash/android/android-xxhdpi-landscape.9.png"/>
>  src="assets/splash/android/android-xxxhdpi-landscape.9.png"/>
> ```
> *Output*
> ```
> Execution failed for task ':mergeDebugResources'.
> > [drawable-land-xhdpi-v4/screen] 
> > /Users/antoine/Sites/attendease-cordova/platforms/android/res/drawable-land-xhdpi/screen.9.png
> > [drawable-land-xhdpi-v4/screen] 
> > /Users/antoine/Sites/attendease-cordova/platforms/android/res/drawable-land-xhdpi/screen.png:
> >  Error: Duplicate resources
> ...
> ```
> *Documentation*
> http://stackoverflow.com/questions/27547287/android-error-duplicate-resources
> http://stackoverflow.com/questions/27948603/phonegap-generating-both-screen-png-and-screen-9-png-for-splash-screens
>  (unanswered...)
> Possible hint 
> https://github.com/apache/cordova-android/blob/3a1b4ffcb8857d5bf70dab3b507f0daba3f9130a/bin/templates/cordova/lib/prepare.js#L267
> *Current solution - (not using 9patch screen though - Fail)*
> ```
> 
> 
>  src="assets/splash/android/android-ldpi.9.png"/>
>  src="assets/splash/android/android-mdpi.9.png"/>
>  src="assets/splash/android/android-hdpi.9.png"/>
>  src="assets/splash/android/android-xhdpi.9.png"/>
>  src="assets/splash/android/android-xxhdpi.9.png"/>
>  src="assets/splash/android/android-xxxhdpi.9.png"/>
> 
> 
>  src="assets/splash/android/android-xxxhdpi-portrait.9.png"/>
> 
> 
>  src="assets/splash/android/android-xxxhdpi-landscape.9.png"/>
> ```



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

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



[jira] [Updated] (CB-11452) Update README.md with latest

2016-06-20 Thread Nikhil Khandelwal (JIRA)

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

Nikhil Khandelwal updated CB-11452:
---
Labels: triaged wkwebview-known-issues  (was: wkwebview-known-issues)

> Update README.md with latest
> 
>
> Key: CB-11452
> URL: https://issues.apache.org/jira/browse/CB-11452
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS
>Reporter: Joseph Carroll
>Assignee: Shazron Abdullah
>Priority: Trivial
>  Labels: triaged, wkwebview-known-issues
>
> The README.md states that the `AllowInlineMediaPlayback` will not work 
> because of the listed apple bug.  The referenced 
> [bug](http://openradar.appspot.com/radar?id=6673091526656000) is listed as 
> closed, do we know if this has landed in the latest iOS release?



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

2016-06-17 Thread Nikhil Khandelwal (JIRA)

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

Nikhil Khandelwal resolved CB-11385.

Resolution: Fixed

> 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,
> Reliance on default encoding,



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

2016-06-17 Thread Nikhil Khandelwal (JIRA)

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

Nikhil Khandelwal resolved CB-11384.

Resolution: Fixed

> 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] [Resolved] (CB-11381) cordova-plugin-inappbrowser Android does not pass sonarqube scan

2016-06-17 Thread Nikhil Khandelwal (JIRA)

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

Nikhil Khandelwal resolved CB-11381.

Resolution: Fixed

> 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-11446) Android: app crashes after taking a photo

2016-06-17 Thread Nikhil Khandelwal (JIRA)

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

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

> Android: app crashes after taking a photo
> -
>
> Key: CB-11446
> URL: https://issues.apache.org/jira/browse/CB-11446
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Camera
>Affects Versions: 5.4.1
> Environment: +*Smartphone:*+ Samsung Galaxy S5 Active
> +*Model:*+ SM-G870F
> +*Android version:*+ 5.0
>Reporter: Victor Ros
>Assignee: Sergey Shakhnazarov
>  Labels: Android, triaged
>
> I develop with a framework using cordova for an hybrid application.
> I only produce the Android version for testing the application.
> I'm using *cordova-plugin-camera 2.2.0* to take a picture in my application.
> I use getPicture method to do that.
> I always encounter this bug by following these steps :
> * Take a photo
> * Tap the "Retry" button
> * Take another photo
> * Then validate the photo by tapping the "Ok" button OR by cancelling with 
> the back button
> * ==> App stopped
> I try to debug with Android Studio but even with breakpoints I don't succeed.
> Bellow, the stack from the Java Error when validating the photo:
> {code}
> E/AndroidRuntime: FATAL EXCEPTION: main
> Process: my.application.appXXX.bip.mobileClient, PID: 16960
> java.lang.RuntimeException: Unable to resume activity 
> {my.application.appXXX.bip.mobileClient/my.application.appXXX.bip.mobileClient.MainActivity}:
>  java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, 
> request=34, result=-1, data=null} to activity 
> {my.application.appXXX.bip.mobileClient/my.application.appXXX.bip.mobileClient.MainActivity}:
>  java.lang.NullPointerException: Attempt to invoke virtual method 
> 'java.lang.String android.net.Uri.toString()' on a null object reference
> at 
> android.app.ActivityThread.performResumeActivity(ActivityThread.java:3349)
> at 
> android.app.ActivityThread.handleResumeActivity(ActivityThread.java:3380)
> at 
> android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2731)
> at android.app.ActivityThread.access$900(ActivityThread.java:172)
> at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1421)
> at android.os.Handler.dispatchMessage(Handler.java:102)
> at android.os.Looper.loop(Looper.java:145)
> at android.app.ActivityThread.main(ActivityThread.java:5835)
> at java.lang.reflect.Method.invoke(Native Method)
> at java.lang.reflect.Method.invoke(Method.java:372)
> at 
> com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1388)
> at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1183)
>  Caused by: java.lang.RuntimeException: Failure delivering result 
> ResultInfo{who=null, request=34, result=-1, data=null} to activity 
> {my.application.appXXX.bip.mobileClient/my.application.appXXX.bip.mobileClient.MainActivity}:
>  java.lang.NullPointerException: Attempt to invoke virtual method 
> 'java.lang.String android.net.Uri.toString()' on a null object reference
> at android.app.ActivityThread.deliverResults(ActivityThread.java:3977)
> at 
> android.app.ActivityThread.performResumeActivity(ActivityThread.java:3335)
> at 
> android.app.ActivityThread.handleResumeActivity(ActivityThread.java:3380) 
> at 
> android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2731) 
> at android.app.ActivityThread.access$900(ActivityThread.java:172) 
> at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1421) 
> at android.os.Handler.dispatchMessage(Handler.java:102) 
> at android.os.Looper.loop(Looper.java:145) 
> at android.app.ActivityThread.main(ActivityThread.java:5835) 
> at java.lang.reflect.Method.invoke(Native Method) 
> at java.lang.reflect.Method.invoke(Method.java:372) 
> at 
> com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1388)
>  
> at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1183) 
>  Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 
> 'java.lang.String android.net.Uri.toString()' on a null object reference
> at 
> org.apache.cordova.camera.CameraLauncher.processResultFromCamera(CameraLauncher.java:452)
> at 
> org.apache.cordova.camera.CameraLauncher.onActivityResult(CameraLauncher.java:787)
> at 
> org.apache.cordova.CordovaInterfaceImpl.onActivityResult(CordovaInterfaceImpl.java:120)
> at 
> org.apache.cordova.CordovaActivity.onActivityResult(CordovaActivity.java:353)
> at android.app.Activity.dispatchActivityResult(Activity.java:6475)
> at android.app.ActivityThread.deliverResults(ActivityThread.java:3973)
> at 
> 

[jira] [Updated] (CB-11446) Android: app crashes after taking a photo

2016-06-17 Thread Nikhil Khandelwal (JIRA)

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

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

> Android: app crashes after taking a photo
> -
>
> Key: CB-11446
> URL: https://issues.apache.org/jira/browse/CB-11446
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Camera
>Affects Versions: 5.4.1
> Environment: +*Smartphone:*+ Samsung Galaxy S5 Active
> +*Model:*+ SM-G870F
> +*Android version:*+ 5.0
>Reporter: Victor Ros
>  Labels: Android, triaged
>
> I develop with a framework using cordova for an hybrid application.
> I only produce the Android version for testing the application.
> I'm using *cordova-plugin-camera 2.2.0* to take a picture in my application.
> I use getPicture method to do that.
> I always encounter this bug by following these steps :
> * Take a photo
> * Tap the "Retry" button
> * Take another photo
> * Then validate the photo by tapping the "Ok" button OR by cancelling with 
> the back button
> * ==> App stopped
> I try to debug with Android Studio but even with breakpoints I don't succeed.
> Bellow, the stack from the Java Error when validating the photo:
> {code}
> E/AndroidRuntime: FATAL EXCEPTION: main
> Process: my.application.appXXX.bip.mobileClient, PID: 16960
> java.lang.RuntimeException: Unable to resume activity 
> {my.application.appXXX.bip.mobileClient/my.application.appXXX.bip.mobileClient.MainActivity}:
>  java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, 
> request=34, result=-1, data=null} to activity 
> {my.application.appXXX.bip.mobileClient/my.application.appXXX.bip.mobileClient.MainActivity}:
>  java.lang.NullPointerException: Attempt to invoke virtual method 
> 'java.lang.String android.net.Uri.toString()' on a null object reference
> at 
> android.app.ActivityThread.performResumeActivity(ActivityThread.java:3349)
> at 
> android.app.ActivityThread.handleResumeActivity(ActivityThread.java:3380)
> at 
> android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2731)
> at android.app.ActivityThread.access$900(ActivityThread.java:172)
> at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1421)
> at android.os.Handler.dispatchMessage(Handler.java:102)
> at android.os.Looper.loop(Looper.java:145)
> at android.app.ActivityThread.main(ActivityThread.java:5835)
> at java.lang.reflect.Method.invoke(Native Method)
> at java.lang.reflect.Method.invoke(Method.java:372)
> at 
> com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1388)
> at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1183)
>  Caused by: java.lang.RuntimeException: Failure delivering result 
> ResultInfo{who=null, request=34, result=-1, data=null} to activity 
> {my.application.appXXX.bip.mobileClient/my.application.appXXX.bip.mobileClient.MainActivity}:
>  java.lang.NullPointerException: Attempt to invoke virtual method 
> 'java.lang.String android.net.Uri.toString()' on a null object reference
> at android.app.ActivityThread.deliverResults(ActivityThread.java:3977)
> at 
> android.app.ActivityThread.performResumeActivity(ActivityThread.java:3335)
> at 
> android.app.ActivityThread.handleResumeActivity(ActivityThread.java:3380) 
> at 
> android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2731) 
> at android.app.ActivityThread.access$900(ActivityThread.java:172) 
> at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1421) 
> at android.os.Handler.dispatchMessage(Handler.java:102) 
> at android.os.Looper.loop(Looper.java:145) 
> at android.app.ActivityThread.main(ActivityThread.java:5835) 
> at java.lang.reflect.Method.invoke(Native Method) 
> at java.lang.reflect.Method.invoke(Method.java:372) 
> at 
> com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1388)
>  
> at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1183) 
>  Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 
> 'java.lang.String android.net.Uri.toString()' on a null object reference
> at 
> org.apache.cordova.camera.CameraLauncher.processResultFromCamera(CameraLauncher.java:452)
> at 
> org.apache.cordova.camera.CameraLauncher.onActivityResult(CameraLauncher.java:787)
> at 
> org.apache.cordova.CordovaInterfaceImpl.onActivityResult(CordovaInterfaceImpl.java:120)
> at 
> org.apache.cordova.CordovaActivity.onActivityResult(CordovaActivity.java:353)
> at android.app.Activity.dispatchActivityResult(Activity.java:6475)
> at android.app.ActivityThread.deliverResults(ActivityThread.java:3973)
> at 
> android.app.ActivityThread.performResumeActivity(ActivityThread.java:3335) 
>

[jira] [Updated] (CB-11446) Android: app crashes after taking a photo

2016-06-17 Thread Nikhil Khandelwal (JIRA)

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

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

> Android: app crashes after taking a photo
> -
>
> Key: CB-11446
> URL: https://issues.apache.org/jira/browse/CB-11446
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Camera
>Affects Versions: 5.4.1
> Environment: +*Smartphone:*+ Samsung Galaxy S5 Active
> +*Model:*+ SM-G870F
> +*Android version:*+ 5.0
>Reporter: Victor Ros
>Assignee: Sergey Shakhnazarov
>  Labels: Android, triaged
>
> I develop with a framework using cordova for an hybrid application.
> I only produce the Android version for testing the application.
> I'm using *cordova-plugin-camera 2.2.0* to take a picture in my application.
> I use getPicture method to do that.
> I always encounter this bug by following these steps :
> * Take a photo
> * Tap the "Retry" button
> * Take another photo
> * Then validate the photo by tapping the "Ok" button OR by cancelling with 
> the back button
> * ==> App stopped
> I try to debug with Android Studio but even with breakpoints I don't succeed.
> Bellow, the stack from the Java Error when validating the photo:
> {code}
> E/AndroidRuntime: FATAL EXCEPTION: main
> Process: my.application.appXXX.bip.mobileClient, PID: 16960
> java.lang.RuntimeException: Unable to resume activity 
> {my.application.appXXX.bip.mobileClient/my.application.appXXX.bip.mobileClient.MainActivity}:
>  java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, 
> request=34, result=-1, data=null} to activity 
> {my.application.appXXX.bip.mobileClient/my.application.appXXX.bip.mobileClient.MainActivity}:
>  java.lang.NullPointerException: Attempt to invoke virtual method 
> 'java.lang.String android.net.Uri.toString()' on a null object reference
> at 
> android.app.ActivityThread.performResumeActivity(ActivityThread.java:3349)
> at 
> android.app.ActivityThread.handleResumeActivity(ActivityThread.java:3380)
> at 
> android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2731)
> at android.app.ActivityThread.access$900(ActivityThread.java:172)
> at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1421)
> at android.os.Handler.dispatchMessage(Handler.java:102)
> at android.os.Looper.loop(Looper.java:145)
> at android.app.ActivityThread.main(ActivityThread.java:5835)
> at java.lang.reflect.Method.invoke(Native Method)
> at java.lang.reflect.Method.invoke(Method.java:372)
> at 
> com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1388)
> at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1183)
>  Caused by: java.lang.RuntimeException: Failure delivering result 
> ResultInfo{who=null, request=34, result=-1, data=null} to activity 
> {my.application.appXXX.bip.mobileClient/my.application.appXXX.bip.mobileClient.MainActivity}:
>  java.lang.NullPointerException: Attempt to invoke virtual method 
> 'java.lang.String android.net.Uri.toString()' on a null object reference
> at android.app.ActivityThread.deliverResults(ActivityThread.java:3977)
> at 
> android.app.ActivityThread.performResumeActivity(ActivityThread.java:3335)
> at 
> android.app.ActivityThread.handleResumeActivity(ActivityThread.java:3380) 
> at 
> android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2731) 
> at android.app.ActivityThread.access$900(ActivityThread.java:172) 
> at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1421) 
> at android.os.Handler.dispatchMessage(Handler.java:102) 
> at android.os.Looper.loop(Looper.java:145) 
> at android.app.ActivityThread.main(ActivityThread.java:5835) 
> at java.lang.reflect.Method.invoke(Native Method) 
> at java.lang.reflect.Method.invoke(Method.java:372) 
> at 
> com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1388)
>  
> at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1183) 
>  Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 
> 'java.lang.String android.net.Uri.toString()' on a null object reference
> at 
> org.apache.cordova.camera.CameraLauncher.processResultFromCamera(CameraLauncher.java:452)
> at 
> org.apache.cordova.camera.CameraLauncher.onActivityResult(CameraLauncher.java:787)
> at 
> org.apache.cordova.CordovaInterfaceImpl.onActivityResult(CordovaInterfaceImpl.java:120)
> at 
> org.apache.cordova.CordovaActivity.onActivityResult(CordovaActivity.java:353)
> at android.app.Activity.dispatchActivityResult(Activity.java:6475)
> at android.app.ActivityThread.deliverResults(ActivityThread.java:3973)
> at 
> 

[jira] [Updated] (CB-11446) Android: app crashes after taking a photo

2016-06-17 Thread Nikhil Khandelwal (JIRA)

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

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

> Android: app crashes after taking a photo
> -
>
> Key: CB-11446
> URL: https://issues.apache.org/jira/browse/CB-11446
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Camera
>Affects Versions: 5.4.1
> Environment: +*Smartphone:*+ Samsung Galaxy S5 Active
> +*Model:*+ SM-G870F
> +*Android version:*+ 5.0
>Reporter: Victor Ros
>
> I develop with a framework using cordova for an hybrid application.
> I only produce the Android version for testing the application.
> I'm using *cordova-plugin-camera 2.2.0* to take a picture in my application.
> I use getPicture method to do that.
> I always encounter this bug by following these steps :
> * Take a photo
> * Tap the "Retry" button
> * Take another photo
> * Then validate the photo by tapping the "Ok" button OR by cancelling with 
> the back button
> * ==> App stopped
> I try to debug with Android Studio but even with breakpoints I don't succeed.
> Bellow, the stack from the Java Error when validating the photo:
> {code}
> E/AndroidRuntime: FATAL EXCEPTION: main
> Process: my.application.appXXX.bip.mobileClient, PID: 16960
> java.lang.RuntimeException: Unable to resume activity 
> {my.application.appXXX.bip.mobileClient/my.application.appXXX.bip.mobileClient.MainActivity}:
>  java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, 
> request=34, result=-1, data=null} to activity 
> {my.application.appXXX.bip.mobileClient/my.application.appXXX.bip.mobileClient.MainActivity}:
>  java.lang.NullPointerException: Attempt to invoke virtual method 
> 'java.lang.String android.net.Uri.toString()' on a null object reference
> at 
> android.app.ActivityThread.performResumeActivity(ActivityThread.java:3349)
> at 
> android.app.ActivityThread.handleResumeActivity(ActivityThread.java:3380)
> at 
> android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2731)
> at android.app.ActivityThread.access$900(ActivityThread.java:172)
> at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1421)
> at android.os.Handler.dispatchMessage(Handler.java:102)
> at android.os.Looper.loop(Looper.java:145)
> at android.app.ActivityThread.main(ActivityThread.java:5835)
> at java.lang.reflect.Method.invoke(Native Method)
> at java.lang.reflect.Method.invoke(Method.java:372)
> at 
> com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1388)
> at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1183)
>  Caused by: java.lang.RuntimeException: Failure delivering result 
> ResultInfo{who=null, request=34, result=-1, data=null} to activity 
> {my.application.appXXX.bip.mobileClient/my.application.appXXX.bip.mobileClient.MainActivity}:
>  java.lang.NullPointerException: Attempt to invoke virtual method 
> 'java.lang.String android.net.Uri.toString()' on a null object reference
> at android.app.ActivityThread.deliverResults(ActivityThread.java:3977)
> at 
> android.app.ActivityThread.performResumeActivity(ActivityThread.java:3335)
> at 
> android.app.ActivityThread.handleResumeActivity(ActivityThread.java:3380) 
> at 
> android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2731) 
> at android.app.ActivityThread.access$900(ActivityThread.java:172) 
> at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1421) 
> at android.os.Handler.dispatchMessage(Handler.java:102) 
> at android.os.Looper.loop(Looper.java:145) 
> at android.app.ActivityThread.main(ActivityThread.java:5835) 
> at java.lang.reflect.Method.invoke(Native Method) 
> at java.lang.reflect.Method.invoke(Method.java:372) 
> at 
> com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1388)
>  
> at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1183) 
>  Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 
> 'java.lang.String android.net.Uri.toString()' on a null object reference
> at 
> org.apache.cordova.camera.CameraLauncher.processResultFromCamera(CameraLauncher.java:452)
> at 
> org.apache.cordova.camera.CameraLauncher.onActivityResult(CameraLauncher.java:787)
> at 
> org.apache.cordova.CordovaInterfaceImpl.onActivityResult(CordovaInterfaceImpl.java:120)
> at 
> org.apache.cordova.CordovaActivity.onActivityResult(CordovaActivity.java:353)
> at android.app.Activity.dispatchActivityResult(Activity.java:6475)
> at android.app.ActivityThread.deliverResults(ActivityThread.java:3973)
> at 
> android.app.ActivityThread.performResumeActivity(ActivityThread.java:3335) 
> at 
> 

[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] [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] [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] [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-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] [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



[jira] [Commented] (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:comment-tabpanel=15316748#comment-15316748
 ] 

Nikhil Khandelwal commented on CB-11376:


Does this happen always? What specific repro steps are need to make this happen?

> 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
>Priority: Critical
>  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



[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:
---
Priority: Major  (was: Critical)

> 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



[jira] [Commented] (CB-11377) My app not posting to my localhost api or website

2016-06-06 Thread Nikhil Khandelwal (JIRA)

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

Nikhil Khandelwal commented on CB-11377:


This is a good question for Stack Overflow and not relevant for Cordova issue. 
It will help if you can provide details of the exact error.



> My app not posting to my localhost api or website
> -
>
> Key: CB-11377
> URL: https://issues.apache.org/jira/browse/CB-11377
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Whitelist
>Affects Versions: 4.1.1
> Environment: Android
>Reporter: david
>
> I have a code simple ajax take some value from a form an make a post to 
> localhost/xyz/view but it wont post the data keep telling me about CSP search 
> the internet from this morning an seem to get not where. How can you guys 
> help me?



--
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-11377) My app not posting to my localhost api or website

2016-06-06 Thread Nikhil Khandelwal (JIRA)

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

Nikhil Khandelwal resolved CB-11377.

Resolution: Invalid

> My app not posting to my localhost api or website
> -
>
> Key: CB-11377
> URL: https://issues.apache.org/jira/browse/CB-11377
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Whitelist
>Affects Versions: 4.1.1
> Environment: Android
>Reporter: david
>
> I have a code simple ajax take some value from a form an make a post to 
> localhost/xyz/view but it wont post the data keep telling me about CSP search 
> the internet from this morning an seem to get not where. How can you guys 
> help me?



--
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-11378) Can't create project

2016-06-06 Thread Nikhil Khandelwal (JIRA)

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

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

> Can't create project
> 
>
> Key: CB-11378
> URL: https://issues.apache.org/jira/browse/CB-11378
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CLI
>Affects Versions: 6.2.0
> Environment: Windows 10 Pro
>Reporter: Jarek Krzemienski
>Assignee: Sergey Shakhnazarov
>Priority: Blocker
>  Labels: regression, triaged
>
> I am trying to create new project after cordova upgrade to 6.2.0 and I can't 
> do that with error:
> c:\mobile_apps\projectFolder>cordova create dirName com.example.name 
> ProjectName
> C:\Users\admin\AppData\Roaming\npm\node_modules\cordova\node_modules\configstore\index.js:69
> throw err;
> ^
> Error: EPERM: operation not permitted, rename 
> 'C:\Users\admin\.config\configstore\insight-cordova.json.1159948568' -> 
> 'C:\Users\admin\.config\configstore\insight-cordova.json'
> at Error (native)
> at Object.fs.renameSync (fs.js:729:18)
> at Function.writeFileSync [as sync] 
> (C:\Users\admin\AppData\Roaming\npm\node_modules\cordova\node_modules\write-file-atomic\index.js:39:8)
> at Object.create.all.set 
> (C:\Users\admin\AppData\Roaming\npm\node_modules\cordova\node_modules\configstore\index.js:62:21)
> at Object.Configstore 
> (C:\Users\admin\AppData\Roaming\npm\node_modules\cordova\node_modules\configstore\index.js:27:11)
> at new Insight 
> (C:\Users\admin\AppData\Roaming\npm\node_modules\cordova\node_modules\insight\lib\index.js:38:34)
> at Object. 
> (C:\Users\admin\AppData\Roaming\npm\node_modules\cordova\src\telemetry.js:37:15)
> at Module._compile (module.js:413:34)
> at Object.Module._extensions..js (module.js:422:10)
> at Module.load (module.js:357:32)



--
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-11378) Can't create project

2016-06-06 Thread Nikhil Khandelwal (JIRA)

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

Nikhil Khandelwal commented on CB-11378:


Looks like a regression because of adding telemetry: 
https://github.com/apache/cordova-cli/commit/eafb8b9af1579b1f31a46bcb4c4e6a0aec8356d9

Perhaps we need to ignore EACCESS exception.

[~omefire] for FYI

> Can't create project
> 
>
> Key: CB-11378
> URL: https://issues.apache.org/jira/browse/CB-11378
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CLI
>Affects Versions: 6.2.0
> Environment: Windows 10 Pro
>Reporter: Jarek Krzemienski
>Assignee: Sergey Shakhnazarov
>Priority: Blocker
>  Labels: regression, triaged
>
> I am trying to create new project after cordova upgrade to 6.2.0 and I can't 
> do that with error:
> c:\mobile_apps\projectFolder>cordova create dirName com.example.name 
> ProjectName
> C:\Users\admin\AppData\Roaming\npm\node_modules\cordova\node_modules\configstore\index.js:69
> throw err;
> ^
> Error: EPERM: operation not permitted, rename 
> 'C:\Users\admin\.config\configstore\insight-cordova.json.1159948568' -> 
> 'C:\Users\admin\.config\configstore\insight-cordova.json'
> at Error (native)
> at Object.fs.renameSync (fs.js:729:18)
> at Function.writeFileSync [as sync] 
> (C:\Users\admin\AppData\Roaming\npm\node_modules\cordova\node_modules\write-file-atomic\index.js:39:8)
> at Object.create.all.set 
> (C:\Users\admin\AppData\Roaming\npm\node_modules\cordova\node_modules\configstore\index.js:62:21)
> at Object.Configstore 
> (C:\Users\admin\AppData\Roaming\npm\node_modules\cordova\node_modules\configstore\index.js:27:11)
> at new Insight 
> (C:\Users\admin\AppData\Roaming\npm\node_modules\cordova\node_modules\insight\lib\index.js:38:34)
> at Object. 
> (C:\Users\admin\AppData\Roaming\npm\node_modules\cordova\src\telemetry.js:37:15)
> at Module._compile (module.js:413:34)
> at Object.Module._extensions..js (module.js:422:10)
> at Module.load (module.js:357:32)



--
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-11378) Can't create project

2016-06-06 Thread Nikhil Khandelwal (JIRA)

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

Nikhil Khandelwal updated CB-11378:
---
Labels: regression triaged  (was: )

> Can't create project
> 
>
> Key: CB-11378
> URL: https://issues.apache.org/jira/browse/CB-11378
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CLI
>Affects Versions: 6.2.0
> Environment: Windows 10 Pro
>Reporter: Jarek Krzemienski
>Assignee: Sergey Shakhnazarov
>Priority: Blocker
>  Labels: regression, triaged
>
> I am trying to create new project after cordova upgrade to 6.2.0 and I can't 
> do that with error:
> c:\mobile_apps\projectFolder>cordova create dirName com.example.name 
> ProjectName
> C:\Users\admin\AppData\Roaming\npm\node_modules\cordova\node_modules\configstore\index.js:69
> throw err;
> ^
> Error: EPERM: operation not permitted, rename 
> 'C:\Users\admin\.config\configstore\insight-cordova.json.1159948568' -> 
> 'C:\Users\admin\.config\configstore\insight-cordova.json'
> at Error (native)
> at Object.fs.renameSync (fs.js:729:18)
> at Function.writeFileSync [as sync] 
> (C:\Users\admin\AppData\Roaming\npm\node_modules\cordova\node_modules\write-file-atomic\index.js:39:8)
> at Object.create.all.set 
> (C:\Users\admin\AppData\Roaming\npm\node_modules\cordova\node_modules\configstore\index.js:62:21)
> at Object.Configstore 
> (C:\Users\admin\AppData\Roaming\npm\node_modules\cordova\node_modules\configstore\index.js:27:11)
> at new Insight 
> (C:\Users\admin\AppData\Roaming\npm\node_modules\cordova\node_modules\insight\lib\index.js:38:34)
> at Object. 
> (C:\Users\admin\AppData\Roaming\npm\node_modules\cordova\src\telemetry.js:37:15)
> at Module._compile (module.js:413:34)
> at Object.Module._extensions..js (module.js:422:10)
> at Module.load (module.js:357:32)



--
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-11378) Can't create project

2016-06-06 Thread Nikhil Khandelwal (JIRA)

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

Nikhil Khandelwal updated CB-11378:
---
Priority: Critical  (was: Blocker)

> Can't create project
> 
>
> Key: CB-11378
> URL: https://issues.apache.org/jira/browse/CB-11378
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CLI
>Affects Versions: 6.2.0
> Environment: Windows 10 Pro
>Reporter: Jarek Krzemienski
>Assignee: Sergey Shakhnazarov
>Priority: Critical
>  Labels: regression, triaged
>
> I am trying to create new project after cordova upgrade to 6.2.0 and I can't 
> do that with error:
> c:\mobile_apps\projectFolder>cordova create dirName com.example.name 
> ProjectName
> C:\Users\admin\AppData\Roaming\npm\node_modules\cordova\node_modules\configstore\index.js:69
> throw err;
> ^
> Error: EPERM: operation not permitted, rename 
> 'C:\Users\admin\.config\configstore\insight-cordova.json.1159948568' -> 
> 'C:\Users\admin\.config\configstore\insight-cordova.json'
> at Error (native)
> at Object.fs.renameSync (fs.js:729:18)
> at Function.writeFileSync [as sync] 
> (C:\Users\admin\AppData\Roaming\npm\node_modules\cordova\node_modules\write-file-atomic\index.js:39:8)
> at Object.create.all.set 
> (C:\Users\admin\AppData\Roaming\npm\node_modules\cordova\node_modules\configstore\index.js:62:21)
> at Object.Configstore 
> (C:\Users\admin\AppData\Roaming\npm\node_modules\cordova\node_modules\configstore\index.js:27:11)
> at new Insight 
> (C:\Users\admin\AppData\Roaming\npm\node_modules\cordova\node_modules\insight\lib\index.js:38:34)
> at Object. 
> (C:\Users\admin\AppData\Roaming\npm\node_modules\cordova\src\telemetry.js:37:15)
> at Module._compile (module.js:413:34)
> at Object.Module._extensions..js (module.js:422:10)
> at Module.load (module.js:357:32)



--
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-11341) Camera depends on media-src

2016-05-31 Thread Nikhil Khandelwal (JIRA)

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

Nikhil Khandelwal commented on CB-11341:


Can you explain why this is an issue and why it needs to be fixed?

> Camera depends on media-src
> ---
>
> Key: CB-11341
> URL: https://issues.apache.org/jira/browse/CB-11341
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Camera
>Affects Versions: 2.2.0
> Environment: iOS 8.4 - iPhone 4S
>Reporter: Tim
>Priority: Minor
>  Labels: iOS, triaged
>
> Camera access alert isn't displayed when "media-src" attribute is removed 
> from the Content Security Policy meta tag in index.html. Only when the iOS 
> app is suspended and resumed will the Camera access alert be displayed.
> How to reproduce:
> 1. Install camera plugin 2.2.0
> > cordova plugin add cordova-plugin-camera
> 2. Remove "media-src" from Content Security Policy meta tag in index.html
> 3. Build iOS
> > cordova platform add ios
> 4. The camera access alert won't display when the app loads
> 5. Suspend the camera app using the home button. Return to the app. The 
> camera access alert will now display.



--
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-11341) Camera depends on media-src

2016-05-31 Thread Nikhil Khandelwal (JIRA)

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

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

> Camera depends on media-src
> ---
>
> Key: CB-11341
> URL: https://issues.apache.org/jira/browse/CB-11341
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Camera
>Affects Versions: 2.2.0
> Environment: iOS 8.4 - iPhone 4S
>Reporter: Tim
>Priority: Minor
>  Labels: iOS, triaged
>
> Camera access alert isn't displayed when "media-src" attribute is removed 
> from the Content Security Policy meta tag in index.html. Only when the iOS 
> app is suspended and resumed will the Camera access alert be displayed.
> How to reproduce:
> 1. Install camera plugin 2.2.0
> > cordova plugin add cordova-plugin-camera
> 2. Remove "media-src" from Content Security Policy meta tag in index.html
> 3. Build iOS
> > cordova platform add ios
> 4. The camera access alert won't display when the app loads
> 5. Suspend the camera app using the home button. Return to the app. The 
> camera access alert will now display.



--
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-11341) Camera depends on media-src

2016-05-31 Thread Nikhil Khandelwal (JIRA)

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

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

> Camera depends on media-src
> ---
>
> Key: CB-11341
> URL: https://issues.apache.org/jira/browse/CB-11341
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Camera
>Affects Versions: 2.2.0
> Environment: iOS 8.4 - iPhone 4S
>Reporter: Tim
>Priority: Minor
>  Labels: iOS, triaged
>
> Camera access alert isn't displayed when "media-src" attribute is removed 
> from the Content Security Policy meta tag in index.html. Only when the iOS 
> app is suspended and resumed will the Camera access alert be displayed.
> How to reproduce:
> 1. Install camera plugin 2.2.0
> > cordova plugin add cordova-plugin-camera
> 2. Remove "media-src" from Content Security Policy meta tag in index.html
> 3. Build iOS
> > cordova platform add ios
> 4. The camera access alert won't display when the app loads
> 5. Suspend the camera app using the home button. Return to the app. The 
> camera access alert will now display.



--
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-11195) Windows platform - create windows 10 app packages - BOM error

2016-05-23 Thread Nikhil Khandelwal (JIRA)

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

Nikhil Khandelwal commented on CB-11195:


This might be related to CB-11241.

> Windows platform - create windows 10 app packages - BOM error
> -
>
> Key: CB-11195
> URL: https://issues.apache.org/jira/browse/CB-11195
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Windows
>Affects Versions: 6.1.1
>Reporter: napcat
>Assignee: Raghav Katyal
>  Labels: triaged
> Fix For: 6.1.1
>
>
> When a windows cordova platform is added using:
> cordova platform add windows
> And the windows 10 project, inside visual studio 2015, is used to build the 
> app package, the package validation fails, when it's validated using the 
> "Windows App Certification Kit 10.0". The selected architectures are: x86 
> (release), x64(release) and ARM (release).
> {code:xml}
> UTF-8 file encoding
> Error Found: The UTF-8 file encoding test detected the following errors:
> File C:\Program 
> Files\WindowsApps\BECC1407.AppXPTO_1.4.0.0_x64__6hmvhj7j5fc1t\www\cordova_plugins.js
>  is not properly UTF-8 encoded. Re-save the file as UTF-8 (including Byte 
> Order Mark).
> File C:\Program 
> Files\WindowsApps\BECC1407.AppXPTO_1.4.0.0_x64__6hmvhj7j5fc1t\www\cordova-js-src\exec.js
>  is not properly UTF-8 encoded. Re-save the file as UTF-8 (including Byte 
> Order Mark).
> File C:\Program 
> Files\WindowsApps\BECC1407.AppXPTO_1.4.0.0_x64__6hmvhj7j5fc1t\www\cordova-js-src\platform.js
>  is not properly UTF-8 encoded. Re-save the file as UTF-8 (including Byte 
> Order Mark).
> ...
> File C:\Program 
> Files\WindowsApps\BECC1407.AppXPTO_1.4.0.0_x64__6hmvhj7j5fc1t\www\index.html 
> is not properly UTF-8 encoded. Re-save the file as UTF-8 (including Byte 
> Order Mark).
> Impact if not fixed: HTML, CSS, and JavaScript files must be encoded in UTF-8 
> form with a corresponding byte-order mark (BOM) in order to benefit from 
> bytecode caching and to avoid other runtime error conditions.
> {code}
> {code:xml}
> Bytecode generation
> Error Found: The bytecode generation test detected the following errors:
> File \\?\C:\Program 
> Files\WindowsApps\BECC1407.AppXPTO_1.4.0.0_x64__6hmvhj7j5fc1t\www\plugins\cordova-plugin-splashscreen\www\windows\SplashScreenProxy.js
>  has JavaScript syntax or other problems.
> File \\?\C:\Program 
> Files\WindowsApps\BECC1407.AppXPTO_1.4.0.0_x64__6hmvhj7j5fc1t\www\plugins\cordova-plugin-splashscreen\www\splashscreen.js
>  has JavaScript syntax or other problems.
> File \\?\C:\Program 
> Files\WindowsApps\BECC1407.AppXPTO_1.4.0.0_x64__6hmvhj7j5fc1t\www\js\app.min.js
>  has JavaScript syntax or other problems.
> ...
> Impact if not fixed: As a performance optimization to accelerate JavaScript 
> execution time, JavaScript files ending in the ".js" extension generate 
> bytecode when the app is deployed. This optimization significantly improves 
> start-up and ongoing execution times for JavaScript.
> How to fix: You may need consider one or more of these steps to fix the issue:
> - Avoid deploying the app by pressing F5 in Visual Studio, create an appx 
> package instead
> - Ensure that event logging is enabled
> - All JavaScript files are syntactically valid; otherwise exclude the 
> respective files from the package
> - Please note that you should uninstall all previous versions of the app 
> before deploying
> Otherwise exclude the respective files from the package.
> {code}
> Can the app be submitted with this erros?
> Should not the cordova generate the project ready for publication?



--
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-11241) File encoding test fails with UTF-8 file encoding error on windows store submission

2016-05-23 Thread Nikhil Khandelwal (JIRA)

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

Nikhil Khandelwal commented on CB-11241:


[~vladimir.kotikov] Do you know why we made this change?

[~rakatyal] FYI.

> File encoding test fails with UTF-8 file encoding error on windows store 
> submission
> ---
>
> Key: CB-11241
> URL: https://issues.apache.org/jira/browse/CB-11241
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CordovaLib, Windows
>Affects Versions: 6.1.1
>Reporter: Michael Schmidt
>  Labels: cannot-reproduce, triaged, wfc
>
> File encoding test
> ```
> FAILED
> UTF-8 file encoding
> Error Found: The UTF-8 file encoding test detected the following errors:
> File www\cordova_plugins.js is not properly UTF-8 encoded. Re-save the file 
> as UTF-8 (including Byte Order Mark).
> File www\cordova-js-src\exec.js is not properly UTF-8 encoded. Re-save the 
> file as UTF-8 (including Byte Order Mark).
> File www\cordova-js-src\platform.js is not properly UTF-8 encoded. Re-save 
> the file as UTF-8 (including Byte Order Mark).
> File www\js\app.js is not properly UTF-8 encoded. Re-save the file as UTF-8 
> (including Byte Order Mark).
> File www\js\libs.js is not properly UTF-8 encoded. Re-save the file as UTF-8 
> (including Byte Order Mark).
> File www\plugins\cordova-plugin-console\www\console-via-logger.js is not 
> properly UTF-8 encoded. Re-save the file as UTF-8 (including Byte Order Mark).
> ...
> Impact if not fixed: HTML, CSS, and JavaScript files must be encoded in UTF-8 
> form with a corresponding byte-order mark (BOM) in order to benefit from 
> bytecode caching and to avoid other runtime error conditions.
> How to fix: Open the affected file, and select "Save As..." option from the 
> File menu in Visual Studio. Select the drop-down control next to the Save 
> button and select "Save with Encoding..." option. From the Advanced save 
> options dialog, choose the "Unicode (UTF-8 with signature)" option and click 
> the OK button.
> 



--
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-11286) App crash on ZenFone2 only

2016-05-23 Thread Nikhil Khandelwal (JIRA)

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

Nikhil Khandelwal resolved CB-11286.

Resolution: Invalid

This does not look like an issue with Cordova - it's an issue with the app. 
There are also not enough details to make this actionable.

> App crash on ZenFone2 only
> --
>
> Key: CB-11286
> URL: https://issues.apache.org/jira/browse/CB-11286
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Android
>Affects Versions: 6.1.1
> Environment: ZenFone 2 (Android 5.0)
>Reporter: Riccardo Vittadello
>Priority: Critical
>
> Running an app downloaded from the GooglePlay Store on a ZenFone 2 causes a 
> crash at the very launch of the app, while the same app is reported to work 
> good on any other Android device.
> Following is the stacktrace of the exception as gained from the developer 
> console.
> {code}
> java.lang.RuntimeException: Unable to instantiate activity 
> ComponentInfo{it.daneasoft.numilia/it.daneasoft.numilia.MainActivity}: 
> java.lang.ClassNotFoundException: Didn't find class 
> "it.daneasoft.numilia.MainActivity" on path: DexPathList[[zip file 
> "/data/app/it.daneasoft.numilia-1/base.apk"],nativeLibraryDirectories=[/data/app/it.daneasoft.numilia-1/lib/x86,
>  /vendor/lib, /system/lib]]
>   at 
> android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2227)
>   at 
> android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2387)
>   at android.app.ActivityThread.access$800(ActivityThread.java:147)
>   at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1281)
>   at android.os.Handler.dispatchMessage(Handler.java:102)
>   at android.os.Looper.loop(Looper.java:135)
>   at android.app.ActivityThread.main(ActivityThread.java:5264)
>   at java.lang.reflect.Method.invoke(Native Method)
>   at java.lang.reflect.Method.invoke(Method.java:372)
>   at 
> com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:900)
>   at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:695)
> Caused by: java.lang.ClassNotFoundException: Didn't find class 
> "it.daneasoft.numilia.MainActivity" on path: DexPathList[[zip file 
> "/data/app/it.daneasoft.numilia-1/base.apk"],nativeLibraryDirectories=[/data/app/it.daneasoft.numilia-1/lib/x86,
>  /vendor/lib, /system/lib]]
>   at 
> dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
>   at java.lang.ClassLoader.loadClass(ClassLoader.java:511)
>   at java.lang.ClassLoader.loadClass(ClassLoader.java:469)
>   at android.app.Instrumentation.newActivity(Instrumentation.java:1065)
>   at 
> android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2217)
>   ... 10 more
>   Suppressed: java.lang.NoClassDefFoundError: 
> it.daneasoft.numilia.MainActivity
>   at dalvik.system.DexFile.defineClassNative(Native Method)
>   at dalvik.system.DexFile.defineClass(DexFile.java:226)
>   at dalvik.system.DexFile.loadClassBinaryName(DexFile.java:219)
>   at dalvik.system.DexPathList.findClass(DexPathList.java:321)
>   at 
> dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:54)
>   ... 14 more
>   Suppressed: java.lang.ClassNotFoundException: 
> it.daneasoft.numilia.MainActivity
>   at java.lang.Class.classForName(Native Method)
>   at java.lang.BootClassLoader.findClass(ClassLoader.java:781)
>   at java.lang.BootClassLoader.loadClass(ClassLoader.java:841)
>   at java.lang.ClassLoader.loadClass(ClassLoader.java:504)
>   ... 13 more
> Caused by: java.lang.NoClassDefFoundError: Class not found using the boot 
> class loader; no stack available
> {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-10707) Add OS X to platform support page

2016-05-23 Thread Nikhil Khandelwal (JIRA)

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

Nikhil Khandelwal resolved CB-10707.

Resolution: Fixed

> Add OS X to platform support page
> -
>
> Key: CB-10707
> URL: https://issues.apache.org/jira/browse/CB-10707
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: Docs, OSX
>Reporter: Tobias Bocanegra
>Assignee: Tobias Bocanegra
>Priority: Minor
>
> https://cordova.apache.org/docs/en/latest/guide/support/index.html is missing 
> osx



--
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-11296) Appium tests: Cannot click on some elements

2016-05-23 Thread Nikhil Khandelwal (JIRA)

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

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

> Appium tests: Cannot click on some elements
> ---
>
> Key: CB-11296
> URL: https://issues.apache.org/jira/browse/CB-11296
> Project: Apache Cordova
>  Issue Type: Test
>  Components: Appium
>Reporter: Alexander Sorokin
>Assignee: Alexander Sorokin
>  Labels: triaged
>
> Appium fails to click on some elements of native UI.
> For example, it incorrectly clicks "Gallery" menu element in camera plugin 
> tests on Android 5.0 or it cannot click at all on the first contact in 
> contacts list on iOS 8.1
> The workaround is simple and quite weird: we should select the element 3 
> times in a row, then it works.
> The timeout before element selection doesn't work.



--
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-11296) Appium tests: Cannot click on some elements

2016-05-23 Thread Nikhil Khandelwal (JIRA)

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

Nikhil Khandelwal updated CB-11296:
---
Issue Type: Test  (was: Bug)

> Appium tests: Cannot click on some elements
> ---
>
> Key: CB-11296
> URL: https://issues.apache.org/jira/browse/CB-11296
> Project: Apache Cordova
>  Issue Type: Test
>  Components: Appium
>Reporter: Alexander Sorokin
>Assignee: Alexander Sorokin
>  Labels: triaged
>
> Appium fails to click on some elements of native UI.
> For example, it incorrectly clicks "Gallery" menu element in camera plugin 
> tests on Android 5.0 or it cannot click at all on the first contact in 
> contacts list on iOS 8.1
> The workaround is simple and quite weird: we should select the element 3 
> times in a row, then it works.
> The timeout before element selection doesn't work.



--
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-11298) Geolocation not working properly in android devices

2016-05-23 Thread Nikhil Khandelwal (JIRA)

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

Nikhil Khandelwal resolved CB-11298.

Resolution: Incomplete

Please provide more details like ADB logs when failure happens. This issue is 
not actionable in the current state.

> Geolocation not working properly in android devices
> ---
>
> Key: CB-11298
> URL: https://issues.apache.org/jira/browse/CB-11298
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Geolocation
> Environment: Ionic Framework - Android
>Reporter: Sai Praneeth
>  Labels: newbie
>
> Hi
> Recently i have been working with geolocation plugin in Ionic framework. It 
> is working properly with all browsers that i have tried(Firefox, 
> Chrome,Safari,Edge) but it seems to be not working when i build it in android 
> phones. I have seen many threads about this issues and none of the plausible 
> solutions seem to be working. I restarted my phone and to my surprise it 
> fixed the problem. i want to fix this as every user who downloads my app 
> should not restart 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-11299) InAppBrowser open 'itunes.apple.com' in ios Will leave a blank page

2016-05-23 Thread Nikhil Khandelwal (JIRA)

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

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

> InAppBrowser open 'itunes.apple.com' in ios Will leave a blank page
> ---
>
> Key: CB-11299
> URL: https://issues.apache.org/jira/browse/CB-11299
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS, Plugin InAppBrowser
>Affects Versions: 1.3.0
> Environment: iso9.0 ,iphone5s,ipad air book
>Reporter: thinkwei
>Priority: Minor
>  Labels: triaged
>
> InAppBrowser open 'itunes.apple.com' in ios Will leave a blank page When back 
> from appStore



--
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-11300) Undetected 4g connection in cordova network information plugin

2016-05-23 Thread Nikhil Khandelwal (JIRA)

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

Nikhil Khandelwal updated CB-11300:
---
Labels: android easyfix network-information network.connection triaged  
(was: android network-information network.connection)

> Undetected 4g connection in cordova network information plugin
> --
>
> Key: CB-11300
> URL: https://issues.apache.org/jira/browse/CB-11300
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Network Information
> Environment: Android
>Reporter: Santi Calvo
>Priority: Minor
>  Labels: android, easyfix, network-information, 
> network.connection, triaged
> Attachments: Captura de pantalla 2016-05-20 a las 9.29.14 (2).png
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> My device returns "4g" as subtypename when checking the connection. Since 
> this string is not found the plugin returns "unknow" connection.
> The Java plugin, NeworkManager.java line 246, does the bellow check where the 
> string "4g" doesn't match any of the constants:
> else if (type.equals(MOBILE) || type.equals(CELLULAR)) {
> type = info.getSubtypeName().toLowerCase(Locale.US);
> if (type.equals(GSM) ||
> type.equals(GPRS) ||
> type.equals(EDGE)) {
> return TYPE_2G;
> }
> else if (type.startsWith(CDMA) ||
> type.equals(UMTS) ||
> type.equals(ONEXRTT) ||
> type.equals(EHRPD) ||
> type.equals(HSUPA) ||
> type.equals(HSDPA) ||
> type.equals(HSPA)) {
> return TYPE_3G;
> }
> else if (type.equals(LTE) ||
> type.equals(UMB) ||
> type.equals("4g") ||
> type.equals(HSPA_PLUS)) {
> return TYPE_4G;
> }
> }



--
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-11299) InAppBrowser open 'itunes.apple.com' in ios Will leave a blank page

2016-05-23 Thread Nikhil Khandelwal (JIRA)

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

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

> InAppBrowser open 'itunes.apple.com' in ios Will leave a blank page
> ---
>
> Key: CB-11299
> URL: https://issues.apache.org/jira/browse/CB-11299
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS, Plugin InAppBrowser
>Affects Versions: 1.3.0
> Environment: iso9.0 ,iphone5s,ipad air book
>Reporter: thinkwei
>Priority: Minor
>  Labels: triaged
>
> InAppBrowser open 'itunes.apple.com' in ios Will leave a blank page When back 
> from appStore



--
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-11300) Undetected 4g connection in cordova network information plugin

2016-05-23 Thread Nikhil Khandelwal (JIRA)

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

Nikhil Khandelwal commented on CB-11300:


Please send a PR for this.

> Undetected 4g connection in cordova network information plugin
> --
>
> Key: CB-11300
> URL: https://issues.apache.org/jira/browse/CB-11300
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Network Information
> Environment: Android
>Reporter: Santi Calvo
>Priority: Minor
>  Labels: android, easyfix, network-information, 
> network.connection, triaged
> Attachments: Captura de pantalla 2016-05-20 a las 9.29.14 (2).png
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> My device returns "4g" as subtypename when checking the connection. Since 
> this string is not found the plugin returns "unknow" connection.
> The Java plugin, NeworkManager.java line 246, does the bellow check where the 
> string "4g" doesn't match any of the constants:
> else if (type.equals(MOBILE) || type.equals(CELLULAR)) {
> type = info.getSubtypeName().toLowerCase(Locale.US);
> if (type.equals(GSM) ||
> type.equals(GPRS) ||
> type.equals(EDGE)) {
> return TYPE_2G;
> }
> else if (type.startsWith(CDMA) ||
> type.equals(UMTS) ||
> type.equals(ONEXRTT) ||
> type.equals(EHRPD) ||
> type.equals(HSUPA) ||
> type.equals(HSDPA) ||
> type.equals(HSPA)) {
> return TYPE_3G;
> }
> else if (type.equals(LTE) ||
> type.equals(UMB) ||
> type.equals("4g") ||
> type.equals(HSPA_PLUS)) {
> return TYPE_4G;
> }
> }



--
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-11302) Error on Android: 0 but list is 1-4

2016-05-23 Thread Nikhil Khandelwal (JIRA)

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

Nikhil Khandelwal commented on CB-11302:


Can you provide more details on what code causes that error?

> Error on Android: 0 but list is 1-4
> ---
>
> Key: CB-11302
> URL: https://issues.apache.org/jira/browse/CB-11302
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Android, Plugin Media
>Reporter: Daniel Bair
>Priority: Minor
>  Labels: triaged, wfc
>
> I am getting a error code of 0 when the documentation shows 1 to 4.
> MediaError.MEDIA_ERR_ABORTED = 1
> MediaError.MEDIA_ERR_NETWORK = 2
> MediaError.MEDIA_ERR_DECODE = 3
> MediaError.MEDIA_ERR_NONE_SUPPORTED = 4
> What is error code 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



  1   2   3   4   5   6   7   8   9   10   >