[jira] [Commented] (CB-12910) Cordova Android uses wrong screen density

2017-06-13 Thread Gaspy (JIRA)

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

Gaspy commented on CB-12910:


Sorry, I forgot the webview: 58.0.3029.83

> Cordova Android uses wrong screen density
> -
>
> Key: CB-12910
> URL: https://issues.apache.org/jira/browse/CB-12910
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-android
>Affects Versions: cordova@7.0.0
> Environment: Samsung Galaxy Tab S and Galaxy Tab S2, Android 6.0.1
>Reporter: Gaspy
>  Labels: android, density, dpi, webview
> Attachments: sharp-blurry.png
>
>
> In some circumstances, the Cordova webview uses wrong screen density, 
> resulting in blurrier text and images.
> With the default blank Cordova app (cordova create MyApp; cordova add 
> platform android; cordova run android), at least on two tablets - Samsung 
> Galaxy Tab S 8.4" and Samsung Galaxy Tab S2 8" on Android 6.0.1, if one runs 
> window.devicePixelRatio, the result is 1.5 instead of 2. Querying the same 
> from Chrome or Samsung browser yields the correct result, 2.
> I tested the same app on a Samsung Galaxy A3 2017 phone, also running Android 
> 6.0.1 and the result was correct, so the issue does not affect all devices.
> I tested with a more complex app and the difference between Cordova and 
> browser is noticeable. 
> Of course, the default app uses the viewport metatag  content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, 
> width=device-width"> and no plugins.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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



[jira] [Updated] (CB-12910) Cordova Android uses wrong screen density

2017-06-13 Thread Gaspy (JIRA)

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

Gaspy updated CB-12910:
---
Labels: android density dpi webview  (was: density, dpi, webview,)

> Cordova Android uses wrong screen density
> -
>
> Key: CB-12910
> URL: https://issues.apache.org/jira/browse/CB-12910
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-android
>Affects Versions: cordova@7.0.0
> Environment: Samsung Galaxy Tab S and Galaxy Tab S2, Android 6.0.1
>Reporter: Gaspy
>  Labels: android, density, dpi, webview
> Attachments: sharp-blurry.png
>
>
> In some circumstances, the Cordova webview uses wrong screen density, 
> resulting in blurrier text and images.
> With the default blank Cordova app (cordova create MyApp; cordova add 
> platform android; cordova run android), at least on two tablets - Samsung 
> Galaxy Tab S 8.4" and Samsung Galaxy Tab S2 8" on Android 6.0.1, if one runs 
> window.devicePixelRatio, the result is 1.5 instead of 2. Querying the same 
> from Chrome or Samsung browser yields the correct result, 2.
> I tested the same app on a Samsung Galaxy A3 2017 phone, also running Android 
> 6.0.1 and the result was correct, so the issue does not affect all devices.
> I tested with a more complex app and the difference between Cordova and 
> browser is noticeable. 
> Of course, the default app uses the viewport metatag  content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, 
> width=device-width"> and no plugins.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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



[jira] [Commented] (CB-10376) autofocus doesn't work with WKWebView engine plugin

2017-06-13 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-10376:
-

Github user ccorcos commented on the issue:

https://github.com/apache/cordova-plugin-wkwebview-engine/pull/37
  
@SeanHub here's what I've learned so far:

- you can call `.focus()` so long as its in the same tick as a user action. 
For example, you can call `.focus()` on an element synchronously in click event 
handler.

- you can call `event.preventDefault()` on the mousedown event to prevent 
the input from being blurred

Or if you want, you can use my fork and then`.focus()` just works!

```xml
https://github.com/ccorcos/cordova-plugin-wkwebview-engine#e994874583d7e5f4ae1713643dbd8e01c60a0a03;
 />
```


> autofocus doesn't work with WKWebView engine plugin
> ---
>
> Key: CB-10376
> URL: https://issues.apache.org/jira/browse/CB-10376
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-plugin-wkwebview-engine
>Affects Versions: 5.4.1
> Environment: Tested on iPhone 6 plus and iPhone 5S both running iOS 
> 9.2 
>Reporter: David Douglas
>Assignee: Shazron Abdullah
>Priority: Minor
>  Labels: iOS, triaged
>
> When using WKWebView engine the iOS Soft Keyboard fails to automatically open 
> when the 'autofocus' attribute is set.
> How to recreate:
> 1. Add platform and keyboard plugin
> {code}
> cordova platform add ios@4.0.1
> cordova plugin add cordova-plugin-keyboard@1.1.3 --save
> {code}
> 2. Update iOS keyboard to enable focus commands in 'config.xml':
> {code}
> 
> {code}
> 3. Add textarea to test with autofocus attribute.
> {code}
> 
> {code}
> (Note: Before adding the WKWebView engine plugin the UIWebView will 
> automatically open the Soft Keyboard.)
> 4. Add the WKWebView engine plugin
> {code}
> cordova plugin add cordova-plugin-wkwebview-engine@1.0.1 --save
> {code}
> What happens:
> Nothing.
> What should happen:
> The soft keyboard should open automatically (the same a UIWebView)



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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



[jira] [Commented] (CB-12317) Feature: Allow to configure navigation by gestures

2017-06-13 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-12317:
-

Github user ccorcos commented on the issue:

https://github.com/apache/cordova-plugin-wkwebview-engine/pull/25
  
@shazron @fkoester is there a way to dynamically change this preference? I 
see theres an `updateWithInfo` function but I don't know how to call it.


https://github.com/apache/cordova-plugin-wkwebview-engine/blob/master/src/ios/CDVWKWebViewEngine.m#L281

I don't want to be able to swipe when, for example, the sidebar is open.


> Feature: Allow to configure navigation by gestures
> --
>
> Key: CB-12317
> URL: https://issues.apache.org/jira/browse/CB-12317
> Project: Apache Cordova
>  Issue Type: New Feature
>  Components: cordova-plugin-wkwebview-engine
>Reporter: Shazron Abdullah
>Assignee: Shazron Abdullah
>  Labels: pull-request-available
>




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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



[jira] [Commented] (CB-11961) do a shallow clone if git_ref is a remote ref

2017-06-13 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-11961:
-

GitHub user goya opened a pull request:

https://github.com/apache/cordova-lib/pull/563

Cb 11713 11961



### Platforms affected
N/A

### What does this PR do?
Fixes for the following issues:

CB-11961 do a shallow clone if git_ref is a remote ref
CB-11713 no CLI feedback on plugin version installed during plugin install

### What testing has been done on this change?
jasmine tests

### Checklist
- [x] [Reported an issue](http://cordova.apache.org/contribute/issues.html) 
in the JIRA database
- [x] Commit message follows the format: "CB-3232: (android) Fix bug with 
resolving file paths", where CB- is the JIRA ID & "android" is the platform 
affected.
- [x] Added automated test coverage as appropriate for this change.


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

$ git pull https://github.com/goya/cordova-lib CB-11713_11961

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

https://github.com/apache/cordova-lib/pull/563.patch

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

This closes #563


commit 60fd1c44f23687ac15a1f880eebc1e5798af58de
Author: brett rudd 
Date:   2017-06-13T22:01:31Z

CB-11713 no CLI feedback on plugin version installed during plugin install

commit f3e90fc6e37fc5c9efde161d4353bec2258dc201
Author: Brett Rudd 
Date:   2016-11-28T21:38:09Z

CB-11961 do a shallow clone if git_ref is a remote ref




> do a shallow clone if git_ref is a remote ref
> -
>
> Key: CB-11961
> URL: https://issues.apache.org/jira/browse/CB-11961
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: cordova-cli
>Reporter: Brett Rudd
>Assignee: Brett Rudd
>Priority: Minor
>
> Currently when cloning with a reference the entire repo is cloned then is 
> checked out.
> If the reference is a valid remote reference then it should be shallow cloned 
> so as to save time / lower bandwidth.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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



[jira] [Commented] (CB-10376) autofocus doesn't work with WKWebView engine plugin

2017-06-13 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-10376:
-

Github user SeanHub commented on the issue:

https://github.com/apache/cordova-plugin-wkwebview-engine/pull/37
  
Given a private (unsupported) function cannot be used, does anybody know of 
any workarounds to force programmatic focus of an input using WKWebView?


> autofocus doesn't work with WKWebView engine plugin
> ---
>
> Key: CB-10376
> URL: https://issues.apache.org/jira/browse/CB-10376
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-plugin-wkwebview-engine
>Affects Versions: 5.4.1
> Environment: Tested on iPhone 6 plus and iPhone 5S both running iOS 
> 9.2 
>Reporter: David Douglas
>Assignee: Shazron Abdullah
>Priority: Minor
>  Labels: iOS, triaged
>
> When using WKWebView engine the iOS Soft Keyboard fails to automatically open 
> when the 'autofocus' attribute is set.
> How to recreate:
> 1. Add platform and keyboard plugin
> {code}
> cordova platform add ios@4.0.1
> cordova plugin add cordova-plugin-keyboard@1.1.3 --save
> {code}
> 2. Update iOS keyboard to enable focus commands in 'config.xml':
> {code}
> 
> {code}
> 3. Add textarea to test with autofocus attribute.
> {code}
> 
> {code}
> (Note: Before adding the WKWebView engine plugin the UIWebView will 
> automatically open the Soft Keyboard.)
> 4. Add the WKWebView engine plugin
> {code}
> cordova plugin add cordova-plugin-wkwebview-engine@1.0.1 --save
> {code}
> What happens:
> Nothing.
> What should happen:
> The soft keyboard should open automatically (the same a UIWebView)



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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



[jira] [Resolved] (CB-12915) device.serial returns unknown

2017-06-13 Thread Shazron Abdullah (JIRA)

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

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

As the docs say, it's only supported on Android and OS X:
https://github.com/apache/cordova-plugin-device

> device.serial returns unknown
> -
>
> Key: CB-12915
> URL: https://issues.apache.org/jira/browse/CB-12915
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-plugin-device
>Affects Versions: cordova@7.0.0
> Environment: ios 10.3
>Reporter: Iron Bone
>Assignee: Shazron Abdullah
>  Labels: features
>
> In ios 10.3 the plugin cordova-plugin-device as device.serial gives unknown. 



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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



[jira] [Commented] (CB-12911) Status Bar plugin fails on iOS 11

2017-06-13 Thread jcesarmobile (JIRA)

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

jcesarmobile commented on CB-12911:
---

The screenshots are not displaying.
The issue looks like https://issues.apache.org/jira/browse/CB-12890

> Status Bar plugin fails on iOS 11
> -
>
> Key: CB-12911
> URL: https://issues.apache.org/jira/browse/CB-12911
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-plugin-statusbar
> Environment: iOS 11 Cordova status bar plugin fails. It works fine on 
> iOS 10.
> Shows white status bar.
>Reporter: Shashwat Tripathi
>Assignee: Shazron Abdullah
>  Labels: ios11
>
> iOS 11 Cordova status bar plugin fails. It works fine on iOS 10.
> Shows white status bar.
> Ref: 
> https://ibb.co/gNJeHa
> !https://ibb.co/gNJeHa!



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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



[jira] [Updated] (CB-12891) Double Height Status Bar Leaves A White Bar At The Bottom

2017-06-13 Thread jcesarmobile (JIRA)

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

jcesarmobile updated CB-12891:
--
Priority: Major  (was: Critical)

> Double Height Status Bar Leaves A White Bar At The Bottom
> -
>
> Key: CB-12891
> URL: https://issues.apache.org/jira/browse/CB-12891
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-plugin-statusbar
> Environment: iOS 11, using Ionic v3.3.0 on an iPhone 7 Plus
>Reporter: Ahmad Tawakol
>  Labels: iOS11
>
> Not sure if this is related to the statusbar plugin or not but, on iOS 11, 
> when you have a double height status bar the view resizes itself and pushes 
> the content down correctly. But when it goes away and returns to a normal 
> status bar, the view doesn't resize itself again to fill the screen, leaving 
> a white bar at the bottom of the screen.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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



[jira] [Closed] (CB-12913) 7.0.1 version is not working with Salesforce mobile SDK

2017-06-13 Thread jcesarmobile (JIRA)

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

jcesarmobile closed CB-12913.
-
Resolution: Not A Problem
  Assignee: jcesarmobile

This is not a Cordova problem, they have to update their plugin to add a 
package.json. Report the problem to them so they can be aware and add the file.

In the meantime you can use --nofetch option to install the plugins
cordova plugin add 
https://github.com/forcedotcom/SalesforceMobileSDK-CordovaPlugin --nofetch

> 7.0.1 version is not working with Salesforce mobile SDK
> ---
>
> Key: CB-12913
> URL: https://issues.apache.org/jira/browse/CB-12913
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-cli
>Affects Versions: 7.0.1
> Environment: 7.0.1 version is not working with Salesforce mobile SDK
>Reporter: Pavel Baranov
>Assignee: jcesarmobile
>  Labels: cordova-8.0.0
>
> When installing the plugin - an error.
> >cordova plugin add https://github.com/forcedotcom/Sales
> forceMobileSDK-CordovaPlugin
> Error: Failed to fetch plugin 
> https://github.com/forcedotcom/SalesforceMobileSDK
> -CordovaPlugin via registry.
> Probably this is either a connection problem, or plugin spec is incorrect.
> Check your connection and plugin name/version/URL.
> Error: cmd: Command failed with exit code 4294963228 Error output:
> npm ERR! addLocal Could not install 
> c:\temp\npm-10084-14ef7312\git-cache-b3367a9
> 4\24a997d4581941c692b26bae755b2c5360fff306
> npm ERR! Windows_NT 6.1.7601
> npm ERR! argv "C:\\nodejs\\node.exe" 
> "C:\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" 
> "https://github.com/forcedotcom/SalesforceMobileSDK-CordovaPlugin; "--save"
> npm ERR! node v6.10.2
> npm ERR! npm  v3.10.10
> npm ERR! code EISDIR
> npm ERR! errno -4068
> npm ERR! syscall read
> npm ERR! eisdir EISDIR: illegal operation on a directory, read
> npm ERR! eisdir This is most likely not a problem with npm itself
> npm ERR! eisdir and is related to npm not being able to find a package.json in
> npm ERR! eisdir a package you are trying to install.
> npm ERR! Please include the following file with any support request:
> npm ERR! D:\WORK\HomeIceCream\HIC\node_modules\npm-debug.log



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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



[jira] [Updated] (CB-11713) no CLI feedback on plugin version installed during plugin install

2017-06-13 Thread Brett Rudd (JIRA)

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

Brett Rudd updated CB-11713:

Summary: no CLI feedback on plugin version installed during plugin install  
(was: no CLI feedback on plugin version installed during plugin instal)

> no CLI feedback on plugin version installed during plugin install
> -
>
> Key: CB-11713
> URL: https://issues.apache.org/jira/browse/CB-11713
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: cordova-cli
>Reporter: Brett Rudd
>Assignee: Brett Rudd
>Priority: Trivial
>
> During plugin install no feedback is given to the user as to what version 
> (from npm etc.) is installed or what exact sha (git repos) 



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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



[jira] [Commented] (CB-12890) Status bar no longer overlays the web view on iOS 11

2017-06-13 Thread jcesarmobile (JIRA)

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

jcesarmobile commented on CB-12890:
---

Apple is adding that bar now, we'll see what we can do, but doesn't look good. 
I hope they change the behaviour on future beta releases

> Status bar no longer overlays the web view on iOS 11
> 
>
> Key: CB-12890
> URL: https://issues.apache.org/jira/browse/CB-12890
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-plugin-statusbar
> Environment: iOS 11, using Ionic v3.3.0 on an iPhone 7 Plus
>Reporter: Ahmad Tawakol
>  Labels: iOS11
>
> Just updated to iOS 11. I am using the same exact project I was using on iOS 
> 10.3.
> The status bar no longer overlays the web view, it just pushes it down.
> StatusBar.styleDefault() shows the status bar with a white background and 
> white text.
> StatusBar.styleBlackTranslucent() makes the background white with the text 
> also in white, so it just looks like a white bar.
> StatusBar.overlaysWebView(true) has no effect at all. Did not need it before 
> to work correctly, adding it doesn't fix the problem.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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



[jira] [Updated] (CB-12890) Status bar no longer overlays the web view on iOS 11

2017-06-13 Thread jcesarmobile (JIRA)

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

jcesarmobile updated CB-12890:
--
Priority: Major  (was: Critical)

> Status bar no longer overlays the web view on iOS 11
> 
>
> Key: CB-12890
> URL: https://issues.apache.org/jira/browse/CB-12890
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-plugin-statusbar
> Environment: iOS 11, using Ionic v3.3.0 on an iPhone 7 Plus
>Reporter: Ahmad Tawakol
>  Labels: iOS11
>
> Just updated to iOS 11. I am using the same exact project I was using on iOS 
> 10.3.
> The status bar no longer overlays the web view, it just pushes it down.
> StatusBar.styleDefault() shows the status bar with a white background and 
> white text.
> StatusBar.styleBlackTranslucent() makes the background white with the text 
> also in white, so it just looks like a white bar.
> StatusBar.overlaysWebView(true) has no effect at all. Did not need it before 
> to work correctly, adding it doesn't fix the problem.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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



[jira] [Commented] (CB-12895) Replace jshint with eslint in our tools + platforms

2017-06-13 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-12895:
-

GitHub user audreyso opened a pull request:

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

CB-12895 : updated to use eslint instead of jshint



### Platforms affected


### What does this PR do?

Updated to use eslint instead of jshint

### What testing has been done on this change?


### Checklist
- [X] [Reported an issue](http://cordova.apache.org/contribute/issues.html) 
in the JIRA database
- [X] Commit message follows the format: "CB-3232: (android) Fix bug with 
resolving file paths", where CB- is the JIRA ID & "android" is the platform 
affected.
- [X] Added automated test coverage as appropriate for this change.


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

$ git pull https://github.com/audreyso/cordova-cli CB-12895

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

https://github.com/apache/cordova-cli/pull/281.patch

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

This closes #281


commit 2b2a0db48b7a3641e738c83cd7b8b4d7531830c5
Author: Audrey So 
Date:   2017-06-07T22:31:54Z

CB-12895 : updated pkgJson with lint and removed jshint

commit 23ff78736d72174d20e5d0b33e414ad2415ffae1
Author: Audrey So 
Date:   2017-06-13T17:31:54Z

CB-12895 : updated to use eslint format




> Replace jshint with eslint in our tools + platforms
> ---
>
> Key: CB-12895
> URL: https://issues.apache.org/jira/browse/CB-12895
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: AllComponents
>Reporter: Steve Gill
>Assignee: Audrey So
>Priority: Minor
>  Labels: cordova-next
>
> Based on this proposal
> https://github.com/cordova/cordova-discuss/pull/70#issuecomment-306649308
> JSHint does minimal checks and JSCS has been deprecated in favor of ESLint.
>  +
>  +I suggest to replace the current style checkers with ESLint. This allows to 
> set much more strict styling rules than at at this moment.
>  +
>  +I recommend using a popular preset, such as 
> [airbnb-base](https://www.npmjs.com/package/eslint-config-airbnb-base). 
> Example configuration:
>  +
>  +```yaml
>  +root: true
>  +
>  +extends: airbnb-base
>  +```
>  +
>  +Many styling issues could be fixed by simply running:
>  +
>  +```
>  +./node_modules/.bin/eslint --fix .
>  +```
>  +
>  +
>  +
>  +Optionally the indent could be set to 4 instead of 2, because that's used 
> in the current code base.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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



[jira] [Updated] (CB-12912) There is no where to report bugs for Plugin Camera

2017-06-13 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-12912:
--
Environment: (was: After clicking on report a bug in the Cordova 
documentation for the Plugin Camera I get the message "The value 'Plugin 
Camera' does not exist for the field 'component'". Can someone please help 
resolve the issue? 

Here the link then click "Report a bug"
[link 
title|https://cordova.apache.org/docs/en/latest/reference/cordova-plugin-camera/index.html]

Thank you)

> There is no where to report bugs for Plugin Camera
> --
>
> Key: CB-12912
> URL: https://issues.apache.org/jira/browse/CB-12912
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: cordova-docs
>Affects Versions: cordova@7.0.0
>Reporter: lars Johnson
>Assignee: Shazron Abdullah
>Priority: Blocker
>  Labels: documentation
> Fix For: Master
>
>




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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



[jira] [Updated] (CB-12912) There is no where to report bugs for Plugin Camera

2017-06-13 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-12912:
--
Priority: Major  (was: Blocker)

> There is no where to report bugs for Plugin Camera
> --
>
> Key: CB-12912
> URL: https://issues.apache.org/jira/browse/CB-12912
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: cordova-docs
>Affects Versions: cordova@7.0.0
>Reporter: lars Johnson
>Assignee: Shazron Abdullah
>  Labels: documentation
> Fix For: Master
>
>
> After clicking on report a bug in the Cordova documentation for the Plugin 
> Camera I get the message "The value 'Plugin Camera' does not exist for the 
> field 'component'". Can someone please help resolve the issue? 
> Here the link then click "Report a bug"
> [link 
> title|https://cordova.apache.org/docs/en/latest/reference/cordova-plugin-camera/index.html]
> Thank you



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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



[jira] [Updated] (CB-12912) There is no where to report bugs for Plugin Camera

2017-06-13 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-12912:
--
Description: 
After clicking on report a bug in the Cordova documentation for the Plugin 
Camera I get the message "The value 'Plugin Camera' does not exist for the 
field 'component'". Can someone please help resolve the issue? 

Here the link then click "Report a bug"
[link 
title|https://cordova.apache.org/docs/en/latest/reference/cordova-plugin-camera/index.html]

Thank you

> There is no where to report bugs for Plugin Camera
> --
>
> Key: CB-12912
> URL: https://issues.apache.org/jira/browse/CB-12912
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: cordova-docs
>Affects Versions: cordova@7.0.0
>Reporter: lars Johnson
>Assignee: Shazron Abdullah
>Priority: Blocker
>  Labels: documentation
> Fix For: Master
>
>
> After clicking on report a bug in the Cordova documentation for the Plugin 
> Camera I get the message "The value 'Plugin Camera' does not exist for the 
> field 'component'". Can someone please help resolve the issue? 
> Here the link then click "Report a bug"
> [link 
> title|https://cordova.apache.org/docs/en/latest/reference/cordova-plugin-camera/index.html]
> Thank you



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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



[jira] [Commented] (CB-12894) Opening a Local File - breaking on cordova.js

2017-06-13 Thread Kerri Shotts (JIRA)

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

Kerri Shotts commented on CB-12894:
---

What version of {{cordova-android}} and the file plugin are you using? Does 
anything show in the device log when this error occurs ({{adb logcat}})?

> Opening a Local File - breaking on cordova.js
> -
>
> Key: CB-12894
> URL: https://issues.apache.org/jira/browse/CB-12894
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-android
> Environment: DevExtreme SPA Application using Cordova
>Reporter: Kyle Slack
>
> We have an application that has a self updating feature, we do not host in 
> the Google Play Store, however, we host it for our users. We have had success 
> with previous versions of our application, but recently on newer devices 
> running Android 6.0 or higher our users are running into an error when trying 
> to open the downloaded .apk file that should provide our users with an 
> updated version of the app prompted for installation. On Android 6.0 or lower 
> everything is working perfectly fine with the following code. Lastly, we were 
> able to debug this to the point where we can see the file is actually 
> downloading fine, and only the call to open the file throws an exception. We 
> were able to debug down into the cordova.js file and found that there was an 
> exception occurring when the fileOpener2 plugin performs it's open() 
> callback, but seems like this is related to Cordova and not anything to do 
> with the fileOpener2, we have already discussed this with the developer. 
> Test Device Info: Motorola Turbo 2 / Android 7.0 
> Exception Msg: 230 F09 FileOpener21362683899 sAttempt to invoke virtual 
> method 'android.content.res.XmlResourceParser 
> //android.content.pm.PackageItemInfo.loadXmlMetaData(android.content.pm.PackageManager,
>  java.lang.String)' on a null object reference
> Code:
> {code}
> // we need to access LocalFileSystem
> window.requestFileSystem(LocalFileSystem.PERSISTENT, 5 * 1024 * 1024, 
> function (fs) {
> //Show user that download is occurring
> $("#toast").dxToast({
> message: "Downloading please wait..",
> type: "warning",
> visible: true,
> displayTime: 2
> });
> // we will save file in .. Download/OURAPPNAME.apk
> var filePath = cordova.file.externalRootDirectory + '/Download/' 
> + "OURAPPNAME.apk";
> var fileTransfer = new FileTransfer();
> var uri = encodeURI(appDownloadURL);
> fileTransfer.download(uri, filePath, function (entry) {
> //Show user that download is occurring/show user install is 
> about to happen
> $("#toast").dxToast({
> message: "Download complete! Launching...",
> type: "success",
> visible: true,
> displayTime: 2000
> });
> Use pwlin's fileOpener2 plugin to let the system open the 
> .apk
> cordova.plugins.fileOpener2.open(
> entry.toURL(),
> 'application/vnd.android.package-archive',
> {
> error: function (e) {
> window.open(appDownloadURL, "_system");
> },
> success: function () { console.log('file opened 
> successfully'); }
> }
> );
> },
> function (error) {
> //Show user that download had an error
> $("#toast").dxToast({
> message: error.message,
> type: "error",
> displayTime: 5000
> });
> },
> false);
> })
> {code}
> Problem File: cordova.js
> THIS IS ALL NOT OUR CODE, BUT 'CORDOVA' CODE
> {code}
> function androidExec(success, fail, service, action, args) {
> // argsJson - 
> "["file:///storage/emulated/0/download/OURAPPNAME.apk","application/vnd.android.package-archive"]"
> //callbackId - FileOpener21362683899
> //action - open
> //service  FileOpener2
> //bridgesecret - 1334209170
>  var msgs = nativeApiProvider.get().exec(bridgeSecret, service, action, 
> callbackId, argsJson);
> // If argsJson was received by Java as null, try again with the PROMPT 
> bridge mode.
> // This happens in rare circumstances, such as when certain Unicode 
> characters are passed over the bridge on a Galaxy S2.  See CB-2666.
> if (jsToNativeBridgeMode == jsToNativeModes.JS_OBJECT && msgs === "@Null 
> arguments.") {
> 

[jira] [Commented] (CB-12898) cordova-plugin-media - Audio to not starting when playing background

2017-06-13 Thread Kerri Shotts (JIRA)

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

Kerri Shotts commented on CB-12898:
---

What iOS version(s) have you tested on?

> cordova-plugin-media - Audio to not starting when playing background
> 
>
> Key: CB-12898
> URL: https://issues.apache.org/jira/browse/CB-12898
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: cordova-plugin-media
>Affects Versions: cordova@7.0.0
> Environment: iOS
>Reporter: Ninos
>
> A new media file is not "STARTED" when the screen is locked. 
> I'm not refering to the background playing. 
> This happens even if I set the UIBackgroundModes
> Steps to produce:
> 1- Play File A from the App (Plays fine)
> 2- Lock the screen (Audio continues to play)
> 3- audio finishes and tries to start the next audio (in case of playing a 
> playlist) (This fails)
> The audio does not start in step 3.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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



[jira] [Commented] (CB-12909) cordova-plugin-camera crashes after taking picture

2017-06-13 Thread Kerri Shotts (JIRA)

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

Kerri Shotts commented on CB-12909:
---

You need to follow the Android Lifecycle guide: 
https://cordova.apache.org/docs/en/latest/guide/platforms/android/index.html#lifecycle-guide

Add support for the pause/resume events and see if that helps.

> cordova-plugin-camera crashes after taking picture
> --
>
> Key: CB-12909
> URL: https://issues.apache.org/jira/browse/CB-12909
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-plugin-camera
>Affects Versions: cordova@7.0.0
> Environment: Android
>Reporter: boniface pereira
>
> Im using cordova version 7+
> and android version 4.4.4
> This works if i pick an image from my library, but not with camera.
> After i capture the image, the app simply restarts or sometimes crashes.
> here is my code: 
> options: CameraOptions = {
> quality: 75,
> destinationType: this.camera.DestinationType.FILE_URI,
> encodingType: this.camera.EncodingType.JPEG,
> mediaType: this.camera.MediaType.PICTURE,
> sourceType: this.camera.PictureSourceType.CAMERA,
> targetWidth: 200,
> targetHeight: 200,
> saveToPhotoAlbum: true,
> };
> this.camera.getPicture(this.options).then((data) => {
> if (data.substr(0, 7) == 'content') {
> this.filePath.resolveNativePath(data).then(newPath => {
> this.startUpload(); // external function
> })
> } else {
> this.startUpload();
> }
> }, err => {
> });



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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



[jira] [Commented] (CB-12910) Cordova Android uses wrong screen density

2017-06-13 Thread Kerri Shotts (JIRA)

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

Kerri Shotts commented on CB-12910:
---

What version(s) of the system webview are installed?

> Cordova Android uses wrong screen density
> -
>
> Key: CB-12910
> URL: https://issues.apache.org/jira/browse/CB-12910
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-android
>Affects Versions: cordova@7.0.0
> Environment: Samsung Galaxy Tab S and Galaxy Tab S2, Android 6.0.1
>Reporter: Gaspy
>  Labels: density,, dpi,, webview,
> Attachments: sharp-blurry.png
>
>
> In some circumstances, the Cordova webview uses wrong screen density, 
> resulting in blurrier text and images.
> With the default blank Cordova app (cordova create MyApp; cordova add 
> platform android; cordova run android), at least on two tablets - Samsung 
> Galaxy Tab S 8.4" and Samsung Galaxy Tab S2 8" on Android 6.0.1, if one runs 
> window.devicePixelRatio, the result is 1.5 instead of 2. Querying the same 
> from Chrome or Samsung browser yields the correct result, 2.
> I tested the same app on a Samsung Galaxy A3 2017 phone, also running Android 
> 6.0.1 and the result was correct, so the issue does not affect all devices.
> I tested with a more complex app and the difference between Cordova and 
> browser is noticeable. 
> Of course, the default app uses the viewport metatag  content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, 
> width=device-width"> and no plugins.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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



[jira] [Commented] (CB-12838) Order of plugins in config.xml modified during build

2017-06-13 Thread Grant Patterson (JIRA)

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

Grant Patterson commented on CB-12838:
--

This is also a big headache for version control: when the order of config.xml 
elements change, the file appears modified when it has not substantively 
changed.

> Order of plugins in config.xml modified during build
> 
>
> Key: CB-12838
> URL: https://issues.apache.org/jira/browse/CB-12838
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-cli
>Affects Versions: cordova@7.0.0
> Environment: Mac OS 10.12.4, Cordova 7.0.1
>Reporter: Anton Weber
>Priority: Minor
>  Labels: android, ios
>
> Running cordova build android or cordova build ios changes the order in which 
> plugins are listed in the config.xml (arranging them alphabetically). 
> This causes problems when manually resolving dependencies, e.g. when 
> installing a specific version of a dependency first by having it higher up in 
> the list.
> Example:
> Original config.xml content:
> ...
> 
> 
> 
> 
> 
> ...
> After cordova build:
> ...
> 
> 
> 
> 
> 
> ...



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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



[jira] [Updated] (CB-12889) cordova-plugin-screen-orientation will not install for BlackBerry10

2017-06-13 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-12889:
--
Component/s: cordova-plugin-screen-orientation

> cordova-plugin-screen-orientation will not install for BlackBerry10
> ---
>
> Key: CB-12889
> URL: https://issues.apache.org/jira/browse/CB-12889
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-plugin-screen-orientation
>Reporter: Jason Vertucio
>
> Understanding that you are deprecating Blackberry10 support, you may want to 
> consider updating {{plugin.xml}} to remove the "com.blackberry.app" 
> dependency, as it doesn't seem to exist in {{https://registry.npmjs.org/}}.
> Inexplicably, because of this dependency, I can build to BlackBerry10 from 
> Cordova@6.0.0 but not from Cordova@7.0.1. 



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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



[jira] [Assigned] (CB-12889) cordova-plugin-screen-orientation will not install for BlackBerry10

2017-06-13 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah reassigned CB-12889:
-

Assignee: Vishal Mishra

> cordova-plugin-screen-orientation will not install for BlackBerry10
> ---
>
> Key: CB-12889
> URL: https://issues.apache.org/jira/browse/CB-12889
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-plugin-screen-orientation
>Reporter: Jason Vertucio
>Assignee: Vishal Mishra
>
> Understanding that you are deprecating Blackberry10 support, you may want to 
> consider updating {{plugin.xml}} to remove the "com.blackberry.app" 
> dependency, as it doesn't seem to exist in {{https://registry.npmjs.org/}}.
> Inexplicably, because of this dependency, I can build to BlackBerry10 from 
> Cordova@6.0.0 but not from Cordova@7.0.1. 



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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



[jira] [Updated] (CB-12895) Replace jshint with eslint in our tools + platforms

2017-06-13 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-12895:
--
Component/s: AllComponents

> Replace jshint with eslint in our tools + platforms
> ---
>
> Key: CB-12895
> URL: https://issues.apache.org/jira/browse/CB-12895
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: AllComponents
>Reporter: Steve Gill
>Assignee: Audrey So
>Priority: Minor
>  Labels: cordova-next
>
> Based on this proposal
> https://github.com/cordova/cordova-discuss/pull/70#issuecomment-306649308
> JSHint does minimal checks and JSCS has been deprecated in favor of ESLint.
>  +
>  +I suggest to replace the current style checkers with ESLint. This allows to 
> set much more strict styling rules than at at this moment.
>  +
>  +I recommend using a popular preset, such as 
> [airbnb-base](https://www.npmjs.com/package/eslint-config-airbnb-base). 
> Example configuration:
>  +
>  +```yaml
>  +root: true
>  +
>  +extends: airbnb-base
>  +```
>  +
>  +Many styling issues could be fixed by simply running:
>  +
>  +```
>  +./node_modules/.bin/eslint --fix .
>  +```
>  +
>  +
>  +
>  +Optionally the indent could be set to 4 instead of 2, because that's used 
> in the current code base.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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



[jira] [Updated] (CB-12894) Opening a Local File - breaking on cordova.js

2017-06-13 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-12894:
--
Priority: Major  (was: Critical)

> Opening a Local File - breaking on cordova.js
> -
>
> Key: CB-12894
> URL: https://issues.apache.org/jira/browse/CB-12894
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-android
> Environment: DevExtreme SPA Application using Cordova
>Reporter: Kyle Slack
>
> We have an application that has a self updating feature, we do not host in 
> the Google Play Store, however, we host it for our users. We have had success 
> with previous versions of our application, but recently on newer devices 
> running Android 6.0 or higher our users are running into an error when trying 
> to open the downloaded .apk file that should provide our users with an 
> updated version of the app prompted for installation. On Android 6.0 or lower 
> everything is working perfectly fine with the following code. Lastly, we were 
> able to debug this to the point where we can see the file is actually 
> downloading fine, and only the call to open the file throws an exception. We 
> were able to debug down into the cordova.js file and found that there was an 
> exception occurring when the fileOpener2 plugin performs it's open() 
> callback, but seems like this is related to Cordova and not anything to do 
> with the fileOpener2, we have already discussed this with the developer. 
> Test Device Info: Motorola Turbo 2 / Android 7.0 
> Exception Msg: 230 F09 FileOpener21362683899 sAttempt to invoke virtual 
> method 'android.content.res.XmlResourceParser 
> //android.content.pm.PackageItemInfo.loadXmlMetaData(android.content.pm.PackageManager,
>  java.lang.String)' on a null object reference
> Code:
> // we need to access LocalFileSystem
> window.requestFileSystem(LocalFileSystem.PERSISTENT, 5 * 1024 * 1024, 
> function (fs) {
> //Show user that download is occurring
> $("#toast").dxToast({
> message: "Downloading please wait..",
> type: "warning",
> visible: true,
> displayTime: 2
> });
> // we will save file in .. Download/OURAPPNAME.apk
> var filePath = cordova.file.externalRootDirectory + '/Download/' 
> + "OURAPPNAME.apk";
> var fileTransfer = new FileTransfer();
> var uri = encodeURI(appDownloadURL);
> fileTransfer.download(uri, filePath, function (entry) {
> //Show user that download is occurring/show user install is 
> about to happen
> $("#toast").dxToast({
> message: "Download complete! Launching...",
> type: "success",
> visible: true,
> displayTime: 2000
> });
> Use pwlin's fileOpener2 plugin to let the system open the 
> .apk
> cordova.plugins.fileOpener2.open(
> entry.toURL(),
> 'application/vnd.android.package-archive',
> {
> error: function (e) {
> window.open(appDownloadURL, "_system");
> },
> success: function () { console.log('file opened 
> successfully'); }
> }
> );
> },
> function (error) {
> //Show user that download had an error
> $("#toast").dxToast({
> message: error.message,
> type: "error",
> displayTime: 5000
> });
> },
> false);
> })
> Problem File: cordova.js
> THIS IS ALL NOT OUR CODE, BUT 'CORDOVA' CODE
> function androidExec(success, fail, service, action, args) {
> // argsJson - 
> "["file:///storage/emulated/0/download/OURAPPNAME.apk","application/vnd.android.package-archive"]"
> //callbackId - FileOpener21362683899
> //action - open
> //service  FileOpener2
> //bridgesecret - 1334209170
>  var msgs = nativeApiProvider.get().exec(bridgeSecret, service, action, 
> callbackId, argsJson);
> // If argsJson was received by Java as null, try again with the PROMPT 
> bridge mode.
> // This happens in rare circumstances, such as when certain Unicode 
> characters are passed over the bridge on a Galaxy S2.  See CB-2666.
> if (jsToNativeBridgeMode == jsToNativeModes.JS_OBJECT && msgs === "@Null 
> arguments.") {
> androidExec.setJsToNativeBridgeMode(jsToNativeModes.PROMPT);
> androidExec(success, fail, service, action, args);
> androidExec.setJsToNativeBridgeMode(jsToNativeModes.JS_OBJECT);
> } else if (msgs) {
>

[jira] [Updated] (CB-12894) Opening a Local File - breaking on cordova.js

2017-06-13 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-12894:
--
Description: 
We have an application that has a self updating feature, we do not host in the 
Google Play Store, however, we host it for our users. We have had success with 
previous versions of our application, but recently on newer devices running 
Android 6.0 or higher our users are running into an error when trying to open 
the downloaded .apk file that should provide our users with an updated version 
of the app prompted for installation. On Android 6.0 or lower everything is 
working perfectly fine with the following code. Lastly, we were able to debug 
this to the point where we can see the file is actually downloading fine, and 
only the call to open the file throws an exception. We were able to debug down 
into the cordova.js file and found that there was an exception occurring when 
the fileOpener2 plugin performs it's open() callback, but seems like this is 
related to Cordova and not anything to do with the fileOpener2, we have already 
discussed this with the developer. 

Test Device Info: Motorola Turbo 2 / Android 7.0 
Exception Msg: 230 F09 FileOpener21362683899 sAttempt to invoke virtual method 
'android.content.res.XmlResourceParser 
//android.content.pm.PackageItemInfo.loadXmlMetaData(android.content.pm.PackageManager,
 java.lang.String)' on a null object reference

Code:
{code}
// we need to access LocalFileSystem
window.requestFileSystem(LocalFileSystem.PERSISTENT, 5 * 1024 * 1024, 
function (fs) {
//Show user that download is occurring
$("#toast").dxToast({
message: "Downloading please wait..",
type: "warning",
visible: true,
displayTime: 2
});

// we will save file in .. Download/OURAPPNAME.apk
var filePath = cordova.file.externalRootDirectory + '/Download/' + 
"OURAPPNAME.apk";
var fileTransfer = new FileTransfer();
var uri = encodeURI(appDownloadURL);

fileTransfer.download(uri, filePath, function (entry) {
//Show user that download is occurring/show user install is 
about to happen
$("#toast").dxToast({
message: "Download complete! Launching...",
type: "success",
visible: true,
displayTime: 2000
});

Use pwlin's fileOpener2 plugin to let the system open the 
.apk
cordova.plugins.fileOpener2.open(
entry.toURL(),
'application/vnd.android.package-archive',
{
error: function (e) {
window.open(appDownloadURL, "_system");
},
success: function () { console.log('file opened 
successfully'); }
}
);
},
function (error) {
//Show user that download had an error
$("#toast").dxToast({
message: error.message,
type: "error",
displayTime: 5000
});
},
false);
})
{code}

Problem File: cordova.js
THIS IS ALL NOT OUR CODE, BUT 'CORDOVA' CODE

{code}
function androidExec(success, fail, service, action, args) {

// argsJson - 
"["file:///storage/emulated/0/download/OURAPPNAME.apk","application/vnd.android.package-archive"]"
//callbackId - FileOpener21362683899
//action - open
//service  FileOpener2
//bridgesecret - 1334209170

 var msgs = nativeApiProvider.get().exec(bridgeSecret, service, action, 
callbackId, argsJson);
// If argsJson was received by Java as null, try again with the PROMPT 
bridge mode.
// This happens in rare circumstances, such as when certain Unicode 
characters are passed over the bridge on a Galaxy S2.  See CB-2666.
if (jsToNativeBridgeMode == jsToNativeModes.JS_OBJECT && msgs === "@Null 
arguments.") {
androidExec.setJsToNativeBridgeMode(jsToNativeModes.PROMPT);
androidExec(success, fail, service, action, args);
androidExec.setJsToNativeBridgeMode(jsToNativeModes.JS_OBJECT);
} else if (msgs) {
messagesFromNative.push(msgs);
// Always process async to avoid exceptions messing up stack.
nextTick(processMessages);
}

// msgs = "230 F09 FileOpener21362683899 sAttempt to invoke virtual method 
'android.content.res.XmlResourceParser 
//android.content.pm.PackageItemInfo.loadXmlMetaData(android.content.pm.PackageManager,
 java.lang.String)' on a null object reference"
}
{code}

  was:
We have an application that has a self updating feature, we do not host in the 
Google Play Store, however, we host it for our users. We have had success with 

[jira] [Updated] (CB-12894) Opening a Local File - breaking on cordova.js

2017-06-13 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-12894:
--
Component/s: cordova-android

> Opening a Local File - breaking on cordova.js
> -
>
> Key: CB-12894
> URL: https://issues.apache.org/jira/browse/CB-12894
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-android
> Environment: DevExtreme SPA Application using Cordova
>Reporter: Kyle Slack
>
> We have an application that has a self updating feature, we do not host in 
> the Google Play Store, however, we host it for our users. We have had success 
> with previous versions of our application, but recently on newer devices 
> running Android 6.0 or higher our users are running into an error when trying 
> to open the downloaded .apk file that should provide our users with an 
> updated version of the app prompted for installation. On Android 6.0 or lower 
> everything is working perfectly fine with the following code. Lastly, we were 
> able to debug this to the point where we can see the file is actually 
> downloading fine, and only the call to open the file throws an exception. We 
> were able to debug down into the cordova.js file and found that there was an 
> exception occurring when the fileOpener2 plugin performs it's open() 
> callback, but seems like this is related to Cordova and not anything to do 
> with the fileOpener2, we have already discussed this with the developer. 
> Test Device Info: Motorola Turbo 2 / Android 7.0 
> Exception Msg: 230 F09 FileOpener21362683899 sAttempt to invoke virtual 
> method 'android.content.res.XmlResourceParser 
> //android.content.pm.PackageItemInfo.loadXmlMetaData(android.content.pm.PackageManager,
>  java.lang.String)' on a null object reference
> Code:
> // we need to access LocalFileSystem
> window.requestFileSystem(LocalFileSystem.PERSISTENT, 5 * 1024 * 1024, 
> function (fs) {
> //Show user that download is occurring
> $("#toast").dxToast({
> message: "Downloading please wait..",
> type: "warning",
> visible: true,
> displayTime: 2
> });
> // we will save file in .. Download/OURAPPNAME.apk
> var filePath = cordova.file.externalRootDirectory + '/Download/' 
> + "OURAPPNAME.apk";
> var fileTransfer = new FileTransfer();
> var uri = encodeURI(appDownloadURL);
> fileTransfer.download(uri, filePath, function (entry) {
> //Show user that download is occurring/show user install is 
> about to happen
> $("#toast").dxToast({
> message: "Download complete! Launching...",
> type: "success",
> visible: true,
> displayTime: 2000
> });
> Use pwlin's fileOpener2 plugin to let the system open the 
> .apk
> cordova.plugins.fileOpener2.open(
> entry.toURL(),
> 'application/vnd.android.package-archive',
> {
> error: function (e) {
> window.open(appDownloadURL, "_system");
> },
> success: function () { console.log('file opened 
> successfully'); }
> }
> );
> },
> function (error) {
> //Show user that download had an error
> $("#toast").dxToast({
> message: error.message,
> type: "error",
> displayTime: 5000
> });
> },
> false);
> })
> Problem File: cordova.js
> THIS IS ALL NOT OUR CODE, BUT 'CORDOVA' CODE
> function androidExec(success, fail, service, action, args) {
> // argsJson - 
> "["file:///storage/emulated/0/download/OURAPPNAME.apk","application/vnd.android.package-archive"]"
> //callbackId - FileOpener21362683899
> //action - open
> //service  FileOpener2
> //bridgesecret - 1334209170
>  var msgs = nativeApiProvider.get().exec(bridgeSecret, service, action, 
> callbackId, argsJson);
> // If argsJson was received by Java as null, try again with the PROMPT 
> bridge mode.
> // This happens in rare circumstances, such as when certain Unicode 
> characters are passed over the bridge on a Galaxy S2.  See CB-2666.
> if (jsToNativeBridgeMode == jsToNativeModes.JS_OBJECT && msgs === "@Null 
> arguments.") {
> androidExec.setJsToNativeBridgeMode(jsToNativeModes.PROMPT);
> androidExec(success, fail, service, action, args);
> androidExec.setJsToNativeBridgeMode(jsToNativeModes.JS_OBJECT);
> } else if (msgs) {
> 

[jira] [Comment Edited] (CB-12903) INTEGRATEd plugins - tasks

2017-06-13 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah edited comment on CB-12903 at 6/13/17 4:23 PM:


Note we have to figure out how to deal with if the user also installs the same 
plugin from pre-integration days. On iOS, the classnames will conflict for sure 
and there will be a linker error. 

iOS Task:
1. To prevent linker duplicates, rename the plugin after integration, update 
the xml for the plugin that is loaded in config.xml
2. Figure out a way to load the plugin .js

Not sure what the Android and Windows tasks are, nor the other platforms (since 
those vary by plugin).


was (Author: shazron):
Note we have to figure out how to deal with if the user also installs the same 
plugin from pre-integration days. On iOS, the classnames will conflict for sure 
and there will be a linker error. 

iOS Task:
1. To prevent linker duplicates, rename the plugin after integration, update 
the xml for the plugin that is loaded in config.xml
2. Figure out a way to load the plugin .js

Not sure what the Android and iOS tasks are, nor the other platforms (since 
those vary by plugin).

> INTEGRATEd plugins - tasks
> --
>
> Key: CB-12903
> URL: https://issues.apache.org/jira/browse/CB-12903
> Project: Apache Cordova
>  Issue Type: Sub-task
>  Components: AllPlugins
>Reporter: Shazron Abdullah
>
> 1. Update README.md to reflect maintenance status
> 2. Close out any PRs and issues
> 3. Deprecate the component from JIRA 
> 3. Direct users to file bugs/prs to the platforms that integrate the plugin



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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



[jira] [Commented] (CB-12903) INTEGRATEd plugins - tasks

2017-06-13 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah commented on CB-12903:
---

Note we have to figure out how to deal with if the user installs the same 
plugin from pre-integration days.
On iOS, the classnames will conflict for sure and there will be a linker error. 

iOS Task:
1. To prevent linker duplicates, rename the plugin after integration, update 
the xml for the plugin that is loaded in config.xml
2. Figure out a way to load the plugin .js

Not sure what the Android and iOS tasks are, nor the other platforms (since 
those vary by plugin).

> INTEGRATEd plugins - tasks
> --
>
> Key: CB-12903
> URL: https://issues.apache.org/jira/browse/CB-12903
> Project: Apache Cordova
>  Issue Type: Sub-task
>  Components: AllPlugins
>Reporter: Shazron Abdullah
>
> 1. Update README.md to reflect maintenance status
> 2. Close out any PRs and issues
> 3. Deprecate the component from JIRA 
> 3. Direct users to file bugs/prs to the platforms that integrate the plugin



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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



[jira] [Comment Edited] (CB-12903) INTEGRATEd plugins - tasks

2017-06-13 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah edited comment on CB-12903 at 6/13/17 4:15 PM:


Note we have to figure out how to deal with if the user also installs the same 
plugin from pre-integration days. On iOS, the classnames will conflict for sure 
and there will be a linker error. 

iOS Task:
1. To prevent linker duplicates, rename the plugin after integration, update 
the xml for the plugin that is loaded in config.xml
2. Figure out a way to load the plugin .js

Not sure what the Android and iOS tasks are, nor the other platforms (since 
those vary by plugin).


was (Author: shazron):
Note we have to figure out how to deal with if the user installs the same 
plugin from pre-integration days.
On iOS, the classnames will conflict for sure and there will be a linker error. 

iOS Task:
1. To prevent linker duplicates, rename the plugin after integration, update 
the xml for the plugin that is loaded in config.xml
2. Figure out a way to load the plugin .js

Not sure what the Android and iOS tasks are, nor the other platforms (since 
those vary by plugin).

> INTEGRATEd plugins - tasks
> --
>
> Key: CB-12903
> URL: https://issues.apache.org/jira/browse/CB-12903
> Project: Apache Cordova
>  Issue Type: Sub-task
>  Components: AllPlugins
>Reporter: Shazron Abdullah
>
> 1. Update README.md to reflect maintenance status
> 2. Close out any PRs and issues
> 3. Deprecate the component from JIRA 
> 3. Direct users to file bugs/prs to the platforms that integrate the plugin



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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



[jira] [Updated] (CB-12909) cordova-plugin-camera crashes after taking picture

2017-06-13 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-12909:
--
Environment: Android

> cordova-plugin-camera crashes after taking picture
> --
>
> Key: CB-12909
> URL: https://issues.apache.org/jira/browse/CB-12909
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-plugin-camera
>Affects Versions: cordova@7.0.0
> Environment: Android
>Reporter: boniface pereira
>
> Im using cordova version 7+
> and android version 4.4.4
> This works if i pick an image from my library, but not with camera.
> After i capture the image, the app simply restarts or sometimes crashes.
> here is my code: 
> options: CameraOptions = {
> quality: 75,
> destinationType: this.camera.DestinationType.FILE_URI,
> encodingType: this.camera.EncodingType.JPEG,
> mediaType: this.camera.MediaType.PICTURE,
> sourceType: this.camera.PictureSourceType.CAMERA,
> targetWidth: 200,
> targetHeight: 200,
> saveToPhotoAlbum: true,
> };
> this.camera.getPicture(this.options).then((data) => {
> if (data.substr(0, 7) == 'content') {
> this.filePath.resolveNativePath(data).then(newPath => {
> this.startUpload(); // external function
> })
> } else {
> this.startUpload();
> }
> }, err => {
> });



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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



[jira] [Commented] (CB-12917) List of loaded and active Cordova plugins

2017-06-13 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah commented on CB-12917:
---

on iOS there is a property on CDVViewController that can list loaded plugins. 
Have to investigate for Windows and Android

> List of loaded and active Cordova plugins
> -
>
> Key: CB-12917
> URL: https://issues.apache.org/jira/browse/CB-12917
> Project: Apache Cordova
>  Issue Type: Wish
>  Components: cordova-android, cordova-ios, cordova-windows
>Reporter: Jan Piotrowski
>Priority: Minor
>
> Recently there was some talk about how to show loaded Cordova plugins on 
> runtime in Slack. Someone then posted this link:
> https://dzone.com/articles/determining-installed-plugins
> [~shazron] mentioned the following:
> > while that dzone.com article is correct,  it is an undocumented thing and 
> > may go away in the future (possibly in cordova@8.0)
> As this functionality actually is quite useful (debugging of strange plugin 
> errors for example), it would be great if you could make sure that this 
> functionality stays available in future versions.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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



[jira] [Assigned] (CB-12915) device.serial returns unknown

2017-06-13 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah reassigned CB-12915:
-

Assignee: Shazron Abdullah

> device.serial returns unknown
> -
>
> Key: CB-12915
> URL: https://issues.apache.org/jira/browse/CB-12915
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-plugin-device
>Affects Versions: cordova@7.0.0
> Environment: ios 10.3
>Reporter: Iron Bone
>Assignee: Shazron Abdullah
>  Labels: features
>
> In ios 10.3 the plugin cordova-plugin-device as device.serial gives unknown. 



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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



[jira] [Updated] (CB-12917) List of loaded and active Cordova plugins

2017-06-13 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-12917:
--
Component/s: cordova-windows

> List of loaded and active Cordova plugins
> -
>
> Key: CB-12917
> URL: https://issues.apache.org/jira/browse/CB-12917
> Project: Apache Cordova
>  Issue Type: Wish
>  Components: cordova-android, cordova-ios, cordova-windows
>Reporter: Jan Piotrowski
>Priority: Minor
>
> Recently there was some talk about how to show loaded Cordova plugins on 
> runtime in Slack. Someone then posted this link:
> https://dzone.com/articles/determining-installed-plugins
> [~shazron] mentioned the following:
> > while that dzone.com article is correct,  it is an undocumented thing and 
> > may go away in the future (possibly in cordova@8.0)
> As this functionality actually is quite useful (debugging of strange plugin 
> errors for example), it would be great if you could make sure that this 
> functionality stays available in future versions.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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



[jira] [Updated] (CB-12911) Status Bar plugin fails on iOS 11

2017-06-13 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-12911:
--
Priority: Major  (was: Blocker)

> Status Bar plugin fails on iOS 11
> -
>
> Key: CB-12911
> URL: https://issues.apache.org/jira/browse/CB-12911
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-plugin-statusbar
> Environment: iOS 11 Cordova status bar plugin fails. It works fine on 
> iOS 10.
> Shows white status bar.
>Reporter: Shashwat Tripathi
>Assignee: Shazron Abdullah
>  Labels: ios11
>
> iOS 11 Cordova status bar plugin fails. It works fine on iOS 10.
> Shows white status bar.
> Ref: 
> https://ibb.co/gNJeHa
> !https://ibb.co/gNJeHa!



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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



[jira] [Updated] (CB-12911) Status Bar plugin fails on iOS 11

2017-06-13 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-12911:
--
Labels: ios11  (was: )

> Status Bar plugin fails on iOS 11
> -
>
> Key: CB-12911
> URL: https://issues.apache.org/jira/browse/CB-12911
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-plugin-statusbar
> Environment: iOS 11 Cordova status bar plugin fails. It works fine on 
> iOS 10.
> Shows white status bar.
>Reporter: Shashwat Tripathi
>Assignee: Shazron Abdullah
>Priority: Blocker
>  Labels: ios11
>
> iOS 11 Cordova status bar plugin fails. It works fine on iOS 10.
> Shows white status bar.
> Ref: 
> https://ibb.co/gNJeHa
> !https://ibb.co/gNJeHa!



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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



[jira] [Assigned] (CB-12911) Status Bar plugin fails on iOS 11

2017-06-13 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah reassigned CB-12911:
-

Assignee: Shazron Abdullah

> Status Bar plugin fails on iOS 11
> -
>
> Key: CB-12911
> URL: https://issues.apache.org/jira/browse/CB-12911
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-plugin-statusbar
> Environment: iOS 11 Cordova status bar plugin fails. It works fine on 
> iOS 10.
> Shows white status bar.
>Reporter: Shashwat Tripathi
>Assignee: Shazron Abdullah
>Priority: Blocker
>  Labels: ios11
>
> iOS 11 Cordova status bar plugin fails. It works fine on iOS 10.
> Shows white status bar.
> Ref: 
> https://ibb.co/gNJeHa
> !https://ibb.co/gNJeHa!



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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



[jira] [Updated] (CB-12913) 7.0.1 version is not working with Salesforce mobile SDK

2017-06-13 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-12913:
--
Labels: cordova-8.0.0  (was: )

> 7.0.1 version is not working with Salesforce mobile SDK
> ---
>
> Key: CB-12913
> URL: https://issues.apache.org/jira/browse/CB-12913
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-cli
>Affects Versions: 7.0.1
> Environment: 7.0.1 version is not working with Salesforce mobile SDK
>Reporter: Pavel Baranov
>  Labels: cordova-8.0.0
>
> When installing the plugin - an error.
> >cordova plugin add https://github.com/forcedotcom/Sales
> forceMobileSDK-CordovaPlugin
> Error: Failed to fetch plugin 
> https://github.com/forcedotcom/SalesforceMobileSDK
> -CordovaPlugin via registry.
> Probably this is either a connection problem, or plugin spec is incorrect.
> Check your connection and plugin name/version/URL.
> Error: cmd: Command failed with exit code 4294963228 Error output:
> npm ERR! addLocal Could not install 
> c:\temp\npm-10084-14ef7312\git-cache-b3367a9
> 4\24a997d4581941c692b26bae755b2c5360fff306
> npm ERR! Windows_NT 6.1.7601
> npm ERR! argv "C:\\nodejs\\node.exe" 
> "C:\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" 
> "https://github.com/forcedotcom/SalesforceMobileSDK-CordovaPlugin; "--save"
> npm ERR! node v6.10.2
> npm ERR! npm  v3.10.10
> npm ERR! code EISDIR
> npm ERR! errno -4068
> npm ERR! syscall read
> npm ERR! eisdir EISDIR: illegal operation on a directory, read
> npm ERR! eisdir This is most likely not a problem with npm itself
> npm ERR! eisdir and is related to npm not being able to find a package.json in
> npm ERR! eisdir a package you are trying to install.
> npm ERR! Please include the following file with any support request:
> npm ERR! D:\WORK\HomeIceCream\HIC\node_modules\npm-debug.log



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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



[jira] [Created] (CB-12917) List of loaded and active Cordova plugins

2017-06-13 Thread Jan Piotrowski (JIRA)
Jan Piotrowski created CB-12917:
---

 Summary: List of loaded and active Cordova plugins
 Key: CB-12917
 URL: https://issues.apache.org/jira/browse/CB-12917
 Project: Apache Cordova
  Issue Type: Wish
  Components: cordova-android, cordova-ios
Reporter: Jan Piotrowski
Priority: Minor


Recently there was some talk about how to show loaded Cordova plugins on 
runtime in Slack. Someone then posted this link:

https://dzone.com/articles/determining-installed-plugins

[~shazron] mentioned the following:

> while that dzone.com article is correct,  it is an undocumented thing and may 
> go away in the future (possibly in cordova@8.0)

As this functionality actually is quite useful (debugging of strange plugin 
errors for example), it would be great if you could make sure that this 
functionality stays available in future versions.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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



[jira] [Updated] (CB-12913) 7.0.1 version is not working with Salesforce mobile SDK

2017-06-13 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-12913:
--
Component/s: cordova-cli

> 7.0.1 version is not working with Salesforce mobile SDK
> ---
>
> Key: CB-12913
> URL: https://issues.apache.org/jira/browse/CB-12913
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-cli
>Affects Versions: 7.0.1
> Environment: 7.0.1 version is not working with Salesforce mobile SDK
>Reporter: Pavel Baranov
>
> When installing the plugin - an error.
> >cordova plugin add https://github.com/forcedotcom/Sales
> forceMobileSDK-CordovaPlugin
> Error: Failed to fetch plugin 
> https://github.com/forcedotcom/SalesforceMobileSDK
> -CordovaPlugin via registry.
> Probably this is either a connection problem, or plugin spec is incorrect.
> Check your connection and plugin name/version/URL.
> Error: cmd: Command failed with exit code 4294963228 Error output:
> npm ERR! addLocal Could not install 
> c:\temp\npm-10084-14ef7312\git-cache-b3367a9
> 4\24a997d4581941c692b26bae755b2c5360fff306
> npm ERR! Windows_NT 6.1.7601
> npm ERR! argv "C:\\nodejs\\node.exe" 
> "C:\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" 
> "https://github.com/forcedotcom/SalesforceMobileSDK-CordovaPlugin; "--save"
> npm ERR! node v6.10.2
> npm ERR! npm  v3.10.10
> npm ERR! code EISDIR
> npm ERR! errno -4068
> npm ERR! syscall read
> npm ERR! eisdir EISDIR: illegal operation on a directory, read
> npm ERR! eisdir This is most likely not a problem with npm itself
> npm ERR! eisdir and is related to npm not being able to find a package.json in
> npm ERR! eisdir a package you are trying to install.
> npm ERR! Please include the following file with any support request:
> npm ERR! D:\WORK\HomeIceCream\HIC\node_modules\npm-debug.log



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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



[jira] [Updated] (CB-12912) There is no where to report bugs for Plugin Camera

2017-06-13 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-12912:
--
Component/s: (was: cordova-plugin-camera)
 cordova-docs

> There is no where to report bugs for Plugin Camera
> --
>
> Key: CB-12912
> URL: https://issues.apache.org/jira/browse/CB-12912
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: cordova-docs
>Affects Versions: cordova@7.0.0
> Environment: After clicking on report a bug in the Cordova 
> documentation for the Plugin Camera I get the message "The value 'Plugin 
> Camera' does not exist for the field 'component'". Can someone please help 
> resolve the issue? 
> Here the link then click "Report a bug"
> [link 
> title|https://cordova.apache.org/docs/en/latest/reference/cordova-plugin-camera/index.html]
> Thank you
>Reporter: lars Johnson
>Priority: Blocker
>  Labels: documentation
> Fix For: Master
>
>




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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



[jira] [Updated] (CB-12913) 7.0.1 version is not working with Salesforce mobile SDK

2017-06-13 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-12913:
--
Priority: Major  (was: Blocker)

> 7.0.1 version is not working with Salesforce mobile SDK
> ---
>
> Key: CB-12913
> URL: https://issues.apache.org/jira/browse/CB-12913
> Project: Apache Cordova
>  Issue Type: Bug
>Affects Versions: 7.0.1
> Environment: 7.0.1 version is not working with Salesforce mobile SDK
>Reporter: Pavel Baranov
>
> When installing the plugin - an error.
> >cordova plugin add https://github.com/forcedotcom/Sales
> forceMobileSDK-CordovaPlugin
> Error: Failed to fetch plugin 
> https://github.com/forcedotcom/SalesforceMobileSDK
> -CordovaPlugin via registry.
> Probably this is either a connection problem, or plugin spec is incorrect.
> Check your connection and plugin name/version/URL.
> Error: cmd: Command failed with exit code 4294963228 Error output:
> npm ERR! addLocal Could not install 
> c:\temp\npm-10084-14ef7312\git-cache-b3367a9
> 4\24a997d4581941c692b26bae755b2c5360fff306
> npm ERR! Windows_NT 6.1.7601
> npm ERR! argv "C:\\nodejs\\node.exe" 
> "C:\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" 
> "https://github.com/forcedotcom/SalesforceMobileSDK-CordovaPlugin; "--save"
> npm ERR! node v6.10.2
> npm ERR! npm  v3.10.10
> npm ERR! code EISDIR
> npm ERR! errno -4068
> npm ERR! syscall read
> npm ERR! eisdir EISDIR: illegal operation on a directory, read
> npm ERR! eisdir This is most likely not a problem with npm itself
> npm ERR! eisdir and is related to npm not being able to find a package.json in
> npm ERR! eisdir a package you are trying to install.
> npm ERR! Please include the following file with any support request:
> npm ERR! D:\WORK\HomeIceCream\HIC\node_modules\npm-debug.log



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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



[jira] [Assigned] (CB-12912) There is no where to report bugs for Plugin Camera

2017-06-13 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah reassigned CB-12912:
-

Assignee: Shazron Abdullah

> There is no where to report bugs for Plugin Camera
> --
>
> Key: CB-12912
> URL: https://issues.apache.org/jira/browse/CB-12912
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: cordova-docs
>Affects Versions: cordova@7.0.0
> Environment: After clicking on report a bug in the Cordova 
> documentation for the Plugin Camera I get the message "The value 'Plugin 
> Camera' does not exist for the field 'component'". Can someone please help 
> resolve the issue? 
> Here the link then click "Report a bug"
> [link 
> title|https://cordova.apache.org/docs/en/latest/reference/cordova-plugin-camera/index.html]
> Thank you
>Reporter: lars Johnson
>Assignee: Shazron Abdullah
>Priority: Blocker
>  Labels: documentation
> Fix For: Master
>
>




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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



[jira] [Updated] (CB-12890) Status bar no longer overlays the web view on iOS 11

2017-06-13 Thread Kerri Shotts (JIRA)

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

Kerri Shotts updated CB-12890:
--
Labels: iOS11  (was: )

> Status bar no longer overlays the web view on iOS 11
> 
>
> Key: CB-12890
> URL: https://issues.apache.org/jira/browse/CB-12890
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-plugin-statusbar
> Environment: iOS 11, using Ionic v3.3.0 on an iPhone 7 Plus
>Reporter: Ahmad Tawakol
>Priority: Critical
>  Labels: iOS11
>
> Just updated to iOS 11. I am using the same exact project I was using on iOS 
> 10.3.
> The status bar no longer overlays the web view, it just pushes it down.
> StatusBar.styleDefault() shows the status bar with a white background and 
> white text.
> StatusBar.styleBlackTranslucent() makes the background white with the text 
> also in white, so it just looks like a white bar.
> StatusBar.overlaysWebView(true) has no effect at all. Did not need it before 
> to work correctly, adding it doesn't fix the problem.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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



[jira] [Updated] (CB-12891) Double Height Status Bar Leaves A White Bar At The Bottom

2017-06-13 Thread Kerri Shotts (JIRA)

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

Kerri Shotts updated CB-12891:
--
Labels: iOS11  (was: )

> Double Height Status Bar Leaves A White Bar At The Bottom
> -
>
> Key: CB-12891
> URL: https://issues.apache.org/jira/browse/CB-12891
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-plugin-statusbar
> Environment: iOS 11, using Ionic v3.3.0 on an iPhone 7 Plus
>Reporter: Ahmad Tawakol
>Priority: Critical
>  Labels: iOS11
>
> Not sure if this is related to the statusbar plugin or not but, on iOS 11, 
> when you have a double height status bar the view resizes itself and pushes 
> the content down correctly. But when it goes away and returns to a normal 
> status bar, the view doesn't resize itself again to fill the screen, leaving 
> a white bar at the bottom of the screen.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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



[jira] [Commented] (CB-12714) Media - SUNSET

2017-06-13 Thread Guilherme Dellagustin (JIRA)

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

Guilherme Dellagustin commented on CB-12714:


Can the current alternatives handle audio playing on the background?

> Media - SUNSET
> --
>
> Key: CB-12714
> URL: https://issues.apache.org/jira/browse/CB-12714
> Project: Apache Cordova
>  Issue Type: Sub-task
>  Components: cordova-plugin-media
>Reporter: Shazron Abdullah
>
> See parent issue.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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



[jira] [Created] (CB-12916) GradleBuilder.js has hardcoded memory parameter

2017-06-13 Thread Jan Piotrowski (JIRA)
Jan Piotrowski created CB-12916:
---

 Summary: GradleBuilder.js has hardcoded memory parameter
 Key: CB-12916
 URL: https://issues.apache.org/jira/browse/CB-12916
 Project: Apache Cordova
  Issue Type: Improvement
  Components: cordova-android, cordova-lib
Reporter: Jan Piotrowski


Ionic users reported having problem with the Android build process when they 
have bg projects with the error message "> Java heap space" for a long 
time. Recent example:
https://forum.ionicframework.com/t/packagedebug-error-java-heap-space-with-large-sqlite-db/82997

Fortunately now one user decided to jump in deep enough to figure out the 
problem: 
https://forum.ionicframework.com/t/packagedebug-error-java-heap-space-with-large-sqlite-db/82997/6

Seems like GradeBuilder.js hardcodes a memory parameter so that it is 
impossible to change the supplied memory any other way. 

I think I found the code in `cordova-lib`:
https://github.com/apache/cordova-lib/blob/cef2959c8843074e94448f4bfc7812d0e4748131/spec-plugman/projects/android/cordova/lib/builders/GradleBuilder.js#L59

It would be great if users could somehow change that value to be bigger that 
didn't include having to edit this file (re-adding the platform will lose these 
changes for example).



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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



[jira] [Commented] (CB-12670) Clean up Apache Cordova JIRA

2017-06-13 Thread Jan Piotrowski (JIRA)

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

Jan Piotrowski commented on CB-12670:
-

With the new JIRA update that was activated yesterday (?) the start page of the 
Cordova JIRA now is a (pretty useless) Kanban board. The URL behind 
"issues.cordova.io" should probably be updated to something more useful like 
https://issues.apache.org/jira/projects/CB/issues

Another thing I noticed is that the search field in the top right default to 
searching all Apache projects instead of just the one you are in - Cordova :/

> Clean up Apache Cordova JIRA
> 
>
> Key: CB-12670
> URL: https://issues.apache.org/jira/browse/CB-12670
> Project: Apache Cordova
>  Issue Type: Wish
>  Components: AllComponents
>Reporter: Jan Piotrowski
>Priority: Minor
>  Labels: jira
>
> or: Make Apache Cordova JIRA usable again!
> I was complaining about the Cordova JIRA on Slack today, wondering how great 
> the world would be if Cordova used GitHub issues. Then I noticed that this 
> was not very productive as it seems there is no way to achieve this.
> So I actually looked at the Cordova JIRA a bit and tried to find ways how it 
> could actually be improved:
> *Speed*
> - Why is everything so slow? Any way to speed it up?
> *Menu: Summary*
> https://issues.apache.org/jira/browse/CB/?selectedTab=com.atlassian.jira.jira-projects-plugin:summary-panel
> - Remove or update versions  if not used
> *Menu: Issues*
> https://issues.apache.org/jira/browse/CB/?selectedItem=com.atlassian.jirafisheyeplugin:fisheye-projectpanel=statistics=com.atlassian.jira.jira-projects-plugin:issues-panel
> - Declutter "Unresolved: By Assignee" by unassigning Issues with no updates 
> in last 6 months
> - "Unresolved: By Version" is pretty useless because of plugin versions 
> (1.4.0 of what?)
> *Menu: Roadmap*
> https://issues.apache.org/jira/browse/CB/?selectedTab=com.atlassian.jira.jira-projects-plugin:roadmap-panel
> https://issues.apache.org/jira/browse
> Menu: Changelogs
> /CB/?selectedTab=com.atlassian.jira.jira-projects-plugin:changelog-panel
> - Remove or update versions
> - If versions, roadmap or changelogs are not used, remove menu link 
> completely (Same for Component overview pages)
> *Menu: Versions*
> https://issues.apache.org/jira/browse/CB?selectedTab=com.atlassian.jira.jira-projects-plugin:versions-panel=-1
> - Sorting?
> - Missing descriptions
> - Missing release dates for so many versions
> - Unclear names
> *Menu: Components*
> https://issues.apache.org/jira/browse/CB/?selectedTab=com.atlassian.jira.jira-projects-plugin:components-panel=-1
> - Missing descriptions
> *Header*
> - Why all this unrelevant (to Cordova) stuff?
> - Getting from an issue to the Project summary is... "easy" but unexpected if 
> you don't know yet.
> Any way to help?



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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



[jira] [Commented] (CB-12899) cordova-plugin-locktask not working

2017-06-13 Thread Mazen Debe (JIRA)

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

Mazen Debe commented on CB-12899:
-

Issue Closed

> cordova-plugin-locktask not working
> ---
>
> Key: CB-12899
> URL: https://issues.apache.org/jira/browse/CB-12899
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-plugins
>Affects Versions: cordova@7.0.0
> Environment: android, Windows 10
>Reporter: Mazen Debe
>  Labels: android, cordova-plugin, cordova-plugin-lock
>
> I tried using the cordova-plugin-locktask to lock the screen using android 
> but there seems to be an error because it is not working. 
> There is not clear documentation on how to invoke the plugin or the usage of 
> it. Can you please help me ?



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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



[jira] [Closed] (CB-12899) cordova-plugin-locktask not working

2017-06-13 Thread Mazen Debe (JIRA)

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

Mazen Debe closed CB-12899.
---
Resolution: Fixed

> cordova-plugin-locktask not working
> ---
>
> Key: CB-12899
> URL: https://issues.apache.org/jira/browse/CB-12899
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-plugins
>Affects Versions: cordova@7.0.0
> Environment: android, Windows 10
>Reporter: Mazen Debe
>  Labels: android, cordova-plugin, cordova-plugin-lock
>
> I tried using the cordova-plugin-locktask to lock the screen using android 
> but there seems to be an error because it is not working. 
> There is not clear documentation on how to invoke the plugin or the usage of 
> it. Can you please help me ?



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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



[jira] [Commented] (CB-12899) cordova-plugin-locktask not working

2017-06-13 Thread Jan Piotrowski (JIRA)

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

Jan Piotrowski commented on CB-12899:
-

If [this|https://github.com/oddmouse/cordova-plugin-locktask/issues/8] is you, 
I am not surprised. But I will tell you in the issue, not here. This has 
nothing to do with Cordova itself. Please close this issue.

> cordova-plugin-locktask not working
> ---
>
> Key: CB-12899
> URL: https://issues.apache.org/jira/browse/CB-12899
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-plugins
>Affects Versions: cordova@7.0.0
> Environment: android, Windows 10
>Reporter: Mazen Debe
>  Labels: android, cordova-plugin, cordova-plugin-lock
>
> I tried using the cordova-plugin-locktask to lock the screen using android 
> but there seems to be an error because it is not working. 
> There is not clear documentation on how to invoke the plugin or the usage of 
> it. Can you please help me ?



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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



[jira] [Commented] (CB-12899) cordova-plugin-locktask not working

2017-06-13 Thread Mazen Debe (JIRA)

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

Mazen Debe commented on CB-12899:
-

The problem is that the documentation is clear but it simply does not work. 
However, I created an issue a while ago but no one replied to me!!

> cordova-plugin-locktask not working
> ---
>
> Key: CB-12899
> URL: https://issues.apache.org/jira/browse/CB-12899
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-plugins
>Affects Versions: cordova@7.0.0
> Environment: android, Windows 10
>Reporter: Mazen Debe
>  Labels: android, cordova-plugin, cordova-plugin-lock
>
> I tried using the cordova-plugin-locktask to lock the screen using android 
> but there seems to be an error because it is not working. 
> There is not clear documentation on how to invoke the plugin or the usage of 
> it. Can you please help me ?



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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



[jira] [Commented] (CB-12899) cordova-plugin-locktask not working

2017-06-13 Thread Jan Piotrowski (JIRA)

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

Jan Piotrowski commented on CB-12899:
-

The documentation on the `oddmouse` one sounds pretty clear to me. If you want 
help how to use this plugin, please create an issue at the plugin`s github 
repo: https://github.com/oddmouse/cordova-plugin-locktask/issues

> cordova-plugin-locktask not working
> ---
>
> Key: CB-12899
> URL: https://issues.apache.org/jira/browse/CB-12899
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-plugins
>Affects Versions: cordova@7.0.0
> Environment: android, Windows 10
>Reporter: Mazen Debe
>  Labels: android, cordova-plugin, cordova-plugin-lock
>
> I tried using the cordova-plugin-locktask to lock the screen using android 
> but there seems to be an error because it is not working. 
> There is not clear documentation on how to invoke the plugin or the usage of 
> it. Can you please help me ?



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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



[jira] [Resolved] (CB-12904) Add docs to config.xml

2017-06-13 Thread Shazron Abdullah (JIRA)

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

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

> Add  docs to config.xml
> 
>
> Key: CB-12904
> URL: https://issues.apache.org/jira/browse/CB-12904
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-docs
>Reporter: Shazron Abdullah
>Assignee: Shazron Abdullah
>
> Related: CB-11908
> Just have an internal link pointing to plugin.xml docs for edit-config



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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



[jira] [Commented] (CB-12904) Add docs to config.xml

2017-06-13 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-12904:
-

Github user asfgit closed the pull request at:

https://github.com/apache/cordova-docs/pull/711


> Add  docs to config.xml
> 
>
> Key: CB-12904
> URL: https://issues.apache.org/jira/browse/CB-12904
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-docs
>Reporter: Shazron Abdullah
>Assignee: Shazron Abdullah
>
> Related: CB-11908
> Just have an internal link pointing to plugin.xml docs for edit-config



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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



[jira] [Commented] (CB-12904) Add docs to config.xml

2017-06-13 Thread ASF subversion and git services (JIRA)

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

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

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

CB-12904 - Document  in config.xml

 This closes #711


> Add  docs to config.xml
> 
>
> Key: CB-12904
> URL: https://issues.apache.org/jira/browse/CB-12904
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-docs
>Reporter: Shazron Abdullah
>Assignee: Shazron Abdullah
>
> Related: CB-11908
> Just have an internal link pointing to plugin.xml docs for edit-config



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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



[jira] [Commented] (CB-12899) cordova-plugin-locktask not working

2017-06-13 Thread Mazen Debe (JIRA)

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

Mazen Debe commented on CB-12899:
-

I tried both of them!!

> cordova-plugin-locktask not working
> ---
>
> Key: CB-12899
> URL: https://issues.apache.org/jira/browse/CB-12899
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-plugins
>Affects Versions: cordova@7.0.0
> Environment: android, Windows 10
>Reporter: Mazen Debe
>  Labels: android, cordova-plugin, cordova-plugin-lock
>
> I tried using the cordova-plugin-locktask to lock the screen using android 
> but there seems to be an error because it is not working. 
> There is not clear documentation on how to invoke the plugin or the usage of 
> it. Can you please help me ?



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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