[jira] [Commented] (CB-13283) Fetching of download counts fails on plugins.cordova.io

2017-09-14 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-13283:
-

GitHub user devgeeks opened a pull request:

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

[CB-13283] Fetching of download counts fails on plugins.cordova.io



### Platforms affected

Docs

### What does this PR do?

Just before fetching the download counts from npmjs, this filters plugins 
based on name, removing scoped packages. This allows the bulk search to go 
ahead for the remaining packages.

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

Manual testing

### 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.
- [ ] 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/devgeeks/cordova-docs CB-13283

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

https://github.com/apache/cordova-docs/pull/731.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 #731


commit a544802addf70b07c7c38dd4e1078ae149370f3f
Author: tommy-carlos williams 
Date:   2017-09-15T01:22:08Z

[CB-13283] Fetching of download counts fails on plugins.cordova.io

Filtered plugins based on name, removing scoped packages. This allows
the bulk search to go ahead for the remaining packages.




> Fetching of download counts fails on plugins.cordova.io
> ---
>
> Key: CB-13283
> URL: https://issues.apache.org/jira/browse/CB-13283
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-docs
> Environment: All
>Reporter: Tommy-Carlos Williams
>
> The batched fetching of download counts for returned plugins fails for any 
> requests that contain scoped packages thus blocking the "sort by downloads" 
> from ever appearing and spewing GET errors into the console.
> This is due to npmjs not supporting scoped packages in bulk lookups:
> {code:javascript}
> {"error":"scoped packages are not currently supported in bulk lookups"}
> {code}
> I propose we filter out scoped packages from the bulk lookups. At least then 
> we will get download counts for the packages that are supported in bulk 
> lookups.



--
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-13283) Fetching of download counts fails on plugins.cordova.io

2017-09-14 Thread Tommy-Carlos Williams (JIRA)

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

Tommy-Carlos Williams reassigned CB-13283:
--

Assignee: (was: Tommy-Carlos Williams)

> Fetching of download counts fails on plugins.cordova.io
> ---
>
> Key: CB-13283
> URL: https://issues.apache.org/jira/browse/CB-13283
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-docs
> Environment: All
>Reporter: Tommy-Carlos Williams
>
> The batched fetching of download counts for returned plugins fails for any 
> requests that contain scoped packages thus blocking the "sort by downloads" 
> from ever appearing and spewing GET errors into the console.
> This is due to npmjs not supporting scoped packages in bulk lookups:
> {code:javascript}
> {"error":"scoped packages are not currently supported in bulk lookups"}
> {code}
> I propose we filter out scoped packages from the bulk lookups. At least then 
> we will get download counts for the packages that are supported in bulk 
> lookups.



--
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-13284) Slack js on cordova-docs fails to load due to insecure response

2017-09-14 Thread Tommy-Carlos Williams (JIRA)
Tommy-Carlos Williams created CB-13284:
--

 Summary: Slack js on cordova-docs fails to load due to insecure 
response
 Key: CB-13284
 URL: https://issues.apache.org/jira/browse/CB-13284
 Project: Apache Cordova
  Issue Type: Bug
  Components: cordova-docs
 Environment: All
Reporter: Tommy-Carlos Williams


The file slackin.js is served from https://slack.cordova.io with an incorrect 
TLS certificate (*herokuapp.com)

{code:none}
Failed to load resource: net::ERR_INSECURE_RESPONSE
{code}

We cannot just serve it from http as cordova.apache.org is served from https 
and would then have the issue of being mixed.

Is this slackin.js important? If it is, perhaps its script tag in the docs site 
could use the actual underlying herokuapp.com name instead of slack.cordova.io, 
then the TLS certificate would match.

However, if it's not that important, it could simply be removed.



--
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-13283) Fetching of download counts fails on plugins.cordova.io

2017-09-14 Thread Tommy-Carlos Williams (JIRA)
Tommy-Carlos Williams created CB-13283:
--

 Summary: Fetching of download counts fails on plugins.cordova.io
 Key: CB-13283
 URL: https://issues.apache.org/jira/browse/CB-13283
 Project: Apache Cordova
  Issue Type: Bug
  Components: cordova-docs
 Environment: All
Reporter: Tommy-Carlos Williams
Assignee: Tommy-Carlos Williams


The batched fetching of download counts for returned plugins fails for any 
requests that contain scoped packages thus blocking the "sort by downloads" 
from ever appearing and spewing GET errors into the console.

This is due to npmjs not supporting scoped packages in bulk lookups:

{code:javascript}
{"error":"scoped packages are not currently supported in bulk lookups"}
{code}

I propose we filter out scoped packages from the bulk lookups. At least then we 
will get download counts for the packages that are supported in bulk lookups.



--
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-12981) Error: Cannot read property ‘replace’ of undefined [Android]

2017-09-14 Thread Filip Maj (JIRA)

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

Filip Maj updated CB-12981:
---
Labels: android-next  (was: )

> Error: Cannot read property ‘replace’ of undefined [Android]
> 
>
> Key: CB-12981
> URL: https://issues.apache.org/jira/browse/CB-12981
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-android
>Affects Versions: cordova@7.0.0
> Environment: OSX, Linux
>Reporter: Birowsky
>Assignee: Filip Maj
>  Labels: android-next
>
> Error happens when running `cordova run android` or `cordova emulate android`:
> Example output:
> {code}
> BUILD SUCCESSFUL
> Total time: 1.601 secs
> Built the following apk(s): 
>   
> /Users/Joanne/Desktop/learning/mobile/platforms/android/build/outputs/apk/android-debug.apk
> ANDROID_HOME=/Users/Joanne/Library/Android/sdk
> JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_131.jdk/Contents/Home
> No target specified and no devices found, deploying to emulator
> Error: Cannot read property 'replace' of undefined
> {code}
> More details, environment information of multiple people having this problem 
> can be found here:
> https://forum.ionicframework.com/t/error-cannot-read-property-replace-of-undefined-android/93297
> A solution was also proposed here:
> https://forum.ionicframework.com/t/error-cannot-read-property-replace-of-undefined-android/93297/11
> {quote}
> I just came across the same problem. I tracked it down to file 
> /platforms/android/cordova/lib/emulator.js line 202:
> {code}var num = target.split('(API level ')[1].replace(')', '');{code}
> I replaced it with a regex search and extraction:
> {code}var num = target.match(/\d+/)[0];{code}
> {quote}
> Not sure if this is the right way to fix this.



--
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-12981) Error: Cannot read property ‘replace’ of undefined [Android]

2017-09-14 Thread Filip Maj (JIRA)

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

Filip Maj resolved CB-12981.

Resolution: Fixed

> Error: Cannot read property ‘replace’ of undefined [Android]
> 
>
> Key: CB-12981
> URL: https://issues.apache.org/jira/browse/CB-12981
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-android
>Affects Versions: cordova@7.0.0
> Environment: OSX, Linux
>Reporter: Birowsky
>Assignee: Filip Maj
>  Labels: android-next
>
> Error happens when running `cordova run android` or `cordova emulate android`:
> Example output:
> {code}
> BUILD SUCCESSFUL
> Total time: 1.601 secs
> Built the following apk(s): 
>   
> /Users/Joanne/Desktop/learning/mobile/platforms/android/build/outputs/apk/android-debug.apk
> ANDROID_HOME=/Users/Joanne/Library/Android/sdk
> JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_131.jdk/Contents/Home
> No target specified and no devices found, deploying to emulator
> Error: Cannot read property 'replace' of undefined
> {code}
> More details, environment information of multiple people having this problem 
> can be found here:
> https://forum.ionicframework.com/t/error-cannot-read-property-replace-of-undefined-android/93297
> A solution was also proposed here:
> https://forum.ionicframework.com/t/error-cannot-read-property-replace-of-undefined-android/93297/11
> {quote}
> I just came across the same problem. I tracked it down to file 
> /platforms/android/cordova/lib/emulator.js line 202:
> {code}var num = target.split('(API level ')[1].replace(')', '');{code}
> I replaced it with a regex search and extraction:
> {code}var num = target.match(/\d+/)[0];{code}
> {quote}
> Not sure if this is the right way to fix this.



--
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-12981) Error: Cannot read property ‘replace’ of undefined [Android]

2017-09-14 Thread ASF subversion and git services (JIRA)

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

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

Commit 16379376648c199a1e57b3f0a71d4e7277272e4a in cordova-android's branch 
refs/heads/master from filmaj
[ https://gitbox.apache.org/repos/asf?p=cordova-android.git;h=1637937 ]

CB-12981: handle SDK 26.0.2 slightly different AVD list output for Android 8+ 
AVDs. Would cause "cannot read property replace of undefined" errors when 
trying to deploy an Android 8 emulator.


> Error: Cannot read property ‘replace’ of undefined [Android]
> 
>
> Key: CB-12981
> URL: https://issues.apache.org/jira/browse/CB-12981
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-android
>Affects Versions: cordova@7.0.0
> Environment: OSX, Linux
>Reporter: Birowsky
>Assignee: Filip Maj
>
> Error happens when running `cordova run android` or `cordova emulate android`:
> Example output:
> {code}
> BUILD SUCCESSFUL
> Total time: 1.601 secs
> Built the following apk(s): 
>   
> /Users/Joanne/Desktop/learning/mobile/platforms/android/build/outputs/apk/android-debug.apk
> ANDROID_HOME=/Users/Joanne/Library/Android/sdk
> JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_131.jdk/Contents/Home
> No target specified and no devices found, deploying to emulator
> Error: Cannot read property 'replace' of undefined
> {code}
> More details, environment information of multiple people having this problem 
> can be found here:
> https://forum.ionicframework.com/t/error-cannot-read-property-replace-of-undefined-android/93297
> A solution was also proposed here:
> https://forum.ionicframework.com/t/error-cannot-read-property-replace-of-undefined-android/93297/11
> {quote}
> I just came across the same problem. I tracked it down to file 
> /platforms/android/cordova/lib/emulator.js line 202:
> {code}var num = target.split('(API level ')[1].replace(')', '');{code}
> I replaced it with a regex search and extraction:
> {code}var num = target.match(/\d+/)[0];{code}
> {quote}
> Not sure if this is the right way to fix this.



--
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-13275) Improve documentation on cordova-docs

2017-09-14 Thread Jan Piotrowski (Sujan) (JIRA)

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

Jan Piotrowski (Sujan) updated CB-13275:

Description: 
The documentation (README, other .md files) on `cordova-docs` could use some 
improvement. 
See the subtasks for actual problems and things to be fixed, changed or 
improved.

  was:The documentation (README, other .md files) on `cordova-docs` could use 
some improvement.  To fulfill the issue requirement of PRs I create this issue.


> Improve documentation on cordova-docs
> -
>
> Key: CB-13275
> URL: https://issues.apache.org/jira/browse/CB-13275
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: cordova-docs
>Reporter: Jan Piotrowski (Sujan)
>Assignee: Jan Piotrowski (Sujan)
>Priority: Minor
>
> The documentation (README, other .md files) on `cordova-docs` could use some 
> improvement. 
> See the subtasks for actual problems and things to be fixed, changed or 
> improved.



--
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-12361) Speed up cordova-lib tests

2017-09-14 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-12361:
-

GitHub user audreyso opened a pull request:

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

CB-12361 : added some unit tests for plugman



### Platforms affected


### What does this PR do?

Added some unit tests for plugman

### 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-lib CB-12361-plugman

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

https://github.com/apache/cordova-lib/pull/592.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 #592


commit d61c084b2192dbe3831c8448d35bdeeafb36636d
Author: Audrey So 
Date:   2017-08-23T17:43:34Z

CB-12361 : added unit tests for plugman




> Speed up cordova-lib tests
> --
>
> Key: CB-12361
> URL: https://issues.apache.org/jira/browse/CB-12361
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: cordova-lib
>Reporter: Steve Gill
>Assignee: Steve Gill
>  Labels: cordova-next
>
> * Split out e2e tests into own folder
> * stub i/o and network requests
> * use local fixtures when possible & makes sense



--
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-13282) intent:// links not working

2017-09-14 Thread Bernhard Eckl (JIRA)
Bernhard Eckl created CB-13282:
--

 Summary: intent:// links not working
 Key: CB-13282
 URL: https://issues.apache.org/jira/browse/CB-13282
 Project: Apache Cordova
  Issue Type: Bug
Reporter: Bernhard Eckl


intent:// links only work on the android / chrome browser, but not in a Cordova 
App. But there is no other way to deep link to an app with a fallback if it is 
not installed.



--
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-13016) Hooks are not fired from "cordova run" command

2017-09-14 Thread POM (JIRA)

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

POM commented on CB-13016:
--

I found the same bug with my project.

It seems very counterintuitive that run doesn't call build or compile. 

My workaround  was to add the same hook on 2 phases differents (before_compile 
and before_run). I can do so because it's not a problem to apply 2 times the 
same hook but it can't be a solution for all the occurences of this problem.



> Hooks are not fired from "cordova run" command
> --
>
> Key: CB-13016
> URL: https://issues.apache.org/jira/browse/CB-13016
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-cli
>Affects Versions: 7.0.1
> Environment: I have only tested it on 7.0.1 using the Command Line 
> Interface, under Linux.
>Reporter: Alejandro Liu
>
> I have created hooks in config.xml as this:
> 
> 
> 
> 
> 
> 
> The scripts simply would print 'CORDOVA_HOOK' environment variable.
> If I run: cordova run, that triggers the "build" process but this build 
> process does not call the build or compile hooks.  Only the "prepare" hooks 
> are called.
> I think the build and/or compile hooks should be called.



--
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-13274) Update cordova README.md docs with eslint changes and cleanup/remove old jshint files

2017-09-14 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-13274:
-

GitHub user audreyso opened a pull request:

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

CB-13274 : removed .jshintignore file and removed unneeded references to 
jshint




### Platforms affected


### What does this PR do?

Removed .jshintignore file and removed unneeded references to 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-13274

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

https://github.com/apache/cordova-cli/pull/285.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 #285






> Update cordova README.md docs with eslint changes and cleanup/remove old 
> jshint files
> -
>
> Key: CB-13274
> URL: https://issues.apache.org/jira/browse/CB-13274
> Project: Apache Cordova
>  Issue Type: Task
>  Components: cordova-lib
>Affects Versions: cordova7
>Reporter: Audrey So
>Assignee: Audrey So
>Priority: Minor
>
> Docs needs to be updated with latest eslint changes
> Old jshint & jshint ignore files can be removed & any references to jshint



--
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-13274) Update cordova README.md docs with eslint changes and cleanup/remove old jshint files

2017-09-14 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-13274:
-

GitHub user audreyso opened a pull request:

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

CB-13274 : updated readme.md & removed references to jshint



### Platforms affected


### What does this PR do?
Updated readme.md & removed references to 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-lib CB-13274

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

https://github.com/apache/cordova-lib/pull/591.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 #591






> Update cordova README.md docs with eslint changes and cleanup/remove old 
> jshint files
> -
>
> Key: CB-13274
> URL: https://issues.apache.org/jira/browse/CB-13274
> Project: Apache Cordova
>  Issue Type: Task
>  Components: cordova-lib
>Affects Versions: cordova7
>Reporter: Audrey So
>Assignee: Audrey So
>Priority: Minor
>
> Docs needs to be updated with latest eslint changes
> Old jshint & jshint ignore files can be removed & any references to jshint



--
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-13281) Cordova crashes with UIPopoverPresentationController exception in web forms

2017-09-14 Thread Nick Marsh (JIRA)

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

Nick Marsh updated CB-13281:

Description: 
This issue is present on iOS 10, with Cordova 7.0

When tabbing through web forms, if a select dropdown is tabbed over too 
quickly, the app crashes with the following exception:


Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch 
this in the debugger.
The methods in the UIConstraintBasedLayoutDebugging category on UIView listed 
in  may also be helpful.
2017-09-14 11:23:35.298666-0500 Care At Home[7945:770343] [LayoutConstraints] 
Unable to simultaneously satisfy constraints.
Probably at least one of the constraints in the following list is one 
you don't want. 
Try this: 
(1) look at each constraint and try to figure out which you 
don't expect; 
(2) find the code that added the unwanted constraint or 
constraints and fix it. 
(
"",
"",
""
)

Will attempt to recover by breaking constraint 


Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch 
this in the debugger.
The methods in the UIConstraintBasedLayoutDebugging category on UIView listed 
in  may also be helpful.
2017-09-14 11:23:35.358 Care At Home[7945:770343] *** Terminating app due to 
uncaught exception 'NSRangeException', reason: '-[UITableView 
_contentOffsetForScrollingToRowAtIndexPath:atScrollPosition:]: row (0) beyond 
bounds (0) for section (0).'
*** First throw call stack:
(
0   CoreFoundation  0x000109893b0b 
__exceptionPreprocess + 171
1   libobjc.A.dylib 0x0001092cf141 
objc_exception_throw + 48
2   CoreFoundation  0x0001098fc625 
+[NSException raise:format:] + 197
3   UIKit   0x00010a7f368a 
-[UITableView _contentOffsetForScrollingToRowAtIndexPath:atScrollPosition:] + 
1679
4   UIKit   0x00010a7f42b9 
-[UITableView scrollToRowAtIndexPath:atScrollPosition:animated:] + 39
5   UIKit   0x00010ab5d5f4 
-[UIWebSelectTableViewController viewWillAppear:] + 150
6   UIKit   0x00010a847bad 
-[UIViewController _setViewAppearState:isAnimating:] + 447
7   UIKit   0x00010a8483c3 
-[UIViewController __viewWillAppear:] + 147
8   UIKit   0x00010a81df87 
__56-[UIPresentationController runTransitionForCurrentState]_block_invoke + 1041
9   UIKit   0x00010a6ab853 
_runAfterCACommitDeferredBlocks + 318
10  UIKit   0x00010a69881c 
_cleanUpAfterCAFlushAndRunDeferredBlocks + 532
11  UIKit   0x00010a6ca560 
_afterCACommitHandler + 137
12  CoreFoundation  0x000109839717 
__CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 23
13  CoreFoundation  0x000109839687 
__CFRunLoopDoObservers + 391
14  CoreFoundation  0x00010981e720 
__CFRunLoopRun + 1200
15  CoreFoundation  0x00010981e016 
CFRunLoopRunSpecific + 406
16  GraphicsServices0x00010e97ca24 
GSEventRunModal + 62
17  UIKit   0x00010a69f134 
UIApplicationMain + 159
18  [MY APP]0x000107871b71 main + 65
19  libdyld.dylib   0x00010c8d265d start + 1
20  ??? 0x0001 0x0 + 1
)
libc++abi.dylib: terminating with uncaught exception of type NSException


This issue was present in iOS 8, but was said to be resolved. However, it seems 
to be present again on iOS 10, and I could not find any corresponding bug 
reports. 

Please let me know if you need additional information.

  was:This issue is present on iOS 10, with Cordova 7.0


> Cordova crashes with UIPopoverPresentationController exception in web forms
> ---
>
> Key: CB-13281
> URL: https://issues.apache.org/jira/browse/CB-13281
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-ios
>Affects Versions: 3.5.0, 3.6.0
> Environment: iOS 10.3.1, xCode 8.3.3, Cordova 7.0.0
>Reporter: Nick Marsh
>Assignee: Shazron Abdullah
>
> This issue is present on iOS 10, with Cordova 7.0
> When tabbing through web forms, if a select dropdown is tabbed over too 
> quickly, the app crashes with the following exception:
> Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch 
> this in the debugger.
> 

[jira] [Updated] (CB-13281) Cordova crashes with UIPopoverPresentationController exception in web forms

2017-09-14 Thread Nick Marsh (JIRA)

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

Nick Marsh updated CB-13281:

Environment: iOS 10.3.1, xCode 8.3.3, Cordova 7.0.0  (was: iOS 8.0.2, xCode 
6.0.1)

> Cordova crashes with UIPopoverPresentationController exception in web forms
> ---
>
> Key: CB-13281
> URL: https://issues.apache.org/jira/browse/CB-13281
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-ios
>Affects Versions: 3.5.0, 3.6.0
> Environment: iOS 10.3.1, xCode 8.3.3, Cordova 7.0.0
>Reporter: Nick Marsh
>Assignee: Shazron Abdullah
>
> This issue is present on iOS 10, with Cordova 7.0



--
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-13281) Cordova crashes with UIPopoverPresentationController exception in web forms

2017-09-14 Thread Nick Marsh (JIRA)

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

Nick Marsh updated CB-13281:

Description: This issue is present on iOS 10, with Cordova 7.0  (was: I 
have this issue on both Cordova 3.5 and 3.6.

I have a web form that uses jQuery mobile. It is a mixture of text fields, 
selects and a date field (the www folder is attached below).

The app randomly crashes when moving between the controls and I can not figure 
out how to replicate the bug. I just go around all the controls and in a random 
moment I get the exception shown below.

2014-10-02 11:25:34.619 testApp[4456:277182] *** Terminating app due to 
uncaught exception 'NSGenericException', reason: 
'UIPopoverPresentationController () should have a non-nil sourceView or barButtonItem set before the 
presentation occurs.'
*** First throw call stack:
(
0   CoreFoundation  0x0030fdf6 
__exceptionPreprocess + 182
1   libobjc.A.dylib 0x02449a97 objc_exception_throw 
+ 44
2   UIKit   0x00eeaa37 
-[UIPopoverPresentationController presentationTransitionWillBegin] + 3086
3   UIKit   0x007f1f75 
__71-[UIPresentationController 
_initViewHierarchyForPresentationSuperview:]_block_invoke + 1666
4   UIKit   0x007f0554 
__56-[UIPresentationController runTransitionForCurrentState]_block_invoke + 226
5   UIKit   0x0082421b 
__40+[UIViewController _scheduleTransition:]_block_invoke + 18
6   UIKit   0x006ea62e 
___afterCACommitHandler_block_invoke + 15
7   UIKit   0x006ea5d9 
_applyBlockToCFArrayCopiedToStack + 415
8   UIKit   0x006ea3ee 
_afterCACommitHandler + 545
9   CoreFoundation  0x00232fbe 
__CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 30
10  CoreFoundation  0x00232f00 
__CFRunLoopDoObservers + 400
11  CoreFoundation  0x0022893a __CFRunLoopRun + 1226
12  CoreFoundation  0x002281ab CFRunLoopRunSpecific 
+ 443
13  CoreFoundation  0x00227fdb CFRunLoopRunInMode + 
123
14  GraphicsServices0x03aca24f GSEventRunModal + 192
15  GraphicsServices0x03aca08c GSEventRun + 104
16  UIKit   0x006c0e16 UIApplicationMain + 
1526
17  testApp 0x000ec7bc main + 92
18  libdyld.dylib   0x02b29ac9 start + 1
)
libc++abi.dylib: terminating with uncaught exception of type NSException
(lldb) 


Here are the files:

1. A video showing the bug: http://alex.scot/cordova/cordova1.mov
2. Text file with the commands used to create the project and the exception: 
http://alex.scot/cordova/cordova1.txt
3. The www folder of the iOS platform in Cordova: 
http://alex.scot/cordova/www.zip

thank you for looking into this,
Alex)

> Cordova crashes with UIPopoverPresentationController exception in web forms
> ---
>
> Key: CB-13281
> URL: https://issues.apache.org/jira/browse/CB-13281
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-ios
>Affects Versions: 3.5.0, 3.6.0
> Environment: iOS 8.0.2, xCode 6.0.1
>Reporter: Nick Marsh
>Assignee: Shazron Abdullah
>
> This issue is present on iOS 10, with Cordova 7.0



--
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-13281) Cordova crashes with UIPopoverPresentationController exception in web forms

2017-09-14 Thread Nick Marsh (JIRA)
Nick Marsh created CB-13281:
---

 Summary: Cordova crashes with UIPopoverPresentationController 
exception in web forms
 Key: CB-13281
 URL: https://issues.apache.org/jira/browse/CB-13281
 Project: Apache Cordova
  Issue Type: Bug
  Components: cordova-ios
Affects Versions: 3.5.0, 3.6.0
 Environment: iOS 8.0.2, xCode 6.0.1
Reporter: Nick Marsh
Assignee: Shazron Abdullah


I have this issue on both Cordova 3.5 and 3.6.

I have a web form that uses jQuery mobile. It is a mixture of text fields, 
selects and a date field (the www folder is attached below).

The app randomly crashes when moving between the controls and I can not figure 
out how to replicate the bug. I just go around all the controls and in a random 
moment I get the exception shown below.

2014-10-02 11:25:34.619 testApp[4456:277182] *** Terminating app due to 
uncaught exception 'NSGenericException', reason: 
'UIPopoverPresentationController () should have a non-nil sourceView or barButtonItem set before the 
presentation occurs.'
*** First throw call stack:
(
0   CoreFoundation  0x0030fdf6 
__exceptionPreprocess + 182
1   libobjc.A.dylib 0x02449a97 objc_exception_throw 
+ 44
2   UIKit   0x00eeaa37 
-[UIPopoverPresentationController presentationTransitionWillBegin] + 3086
3   UIKit   0x007f1f75 
__71-[UIPresentationController 
_initViewHierarchyForPresentationSuperview:]_block_invoke + 1666
4   UIKit   0x007f0554 
__56-[UIPresentationController runTransitionForCurrentState]_block_invoke + 226
5   UIKit   0x0082421b 
__40+[UIViewController _scheduleTransition:]_block_invoke + 18
6   UIKit   0x006ea62e 
___afterCACommitHandler_block_invoke + 15
7   UIKit   0x006ea5d9 
_applyBlockToCFArrayCopiedToStack + 415
8   UIKit   0x006ea3ee 
_afterCACommitHandler + 545
9   CoreFoundation  0x00232fbe 
__CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 30
10  CoreFoundation  0x00232f00 
__CFRunLoopDoObservers + 400
11  CoreFoundation  0x0022893a __CFRunLoopRun + 1226
12  CoreFoundation  0x002281ab CFRunLoopRunSpecific 
+ 443
13  CoreFoundation  0x00227fdb CFRunLoopRunInMode + 
123
14  GraphicsServices0x03aca24f GSEventRunModal + 192
15  GraphicsServices0x03aca08c GSEventRun + 104
16  UIKit   0x006c0e16 UIApplicationMain + 
1526
17  testApp 0x000ec7bc main + 92
18  libdyld.dylib   0x02b29ac9 start + 1
)
libc++abi.dylib: terminating with uncaught exception of type NSException
(lldb) 


Here are the files:

1. A video showing the bug: http://alex.scot/cordova/cordova1.mov
2. Text file with the commands used to create the project and the exception: 
http://alex.scot/cordova/cordova1.txt
3. The www folder of the iOS platform in Cordova: 
http://alex.scot/cordova/www.zip

thank you for looking into this,
Alex



--
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-13262) Build Command Fails with 'Error: Path must be a string. Received undefined'

2017-09-14 Thread Nicole Neal (JIRA)

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

Nicole Neal resolved CB-13262.
--
Resolution: Fixed

I resolved this issue by updating the emulator.js file at line 202.  I also had 
to add an additional env variable for ProgramW6432

> Build Command Fails with 'Error: Path must be a string.  Received undefined'
> 
>
> Key: CB-13262
> URL: https://issues.apache.org/jira/browse/CB-13262
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-android
>Affects Versions: 7.0.1
> Environment: Windows 10, Windows 7.  JDK 1.8.0_133.  Android SDK API 
> 26 & 25.
>Reporter: Nicole Neal
>Assignee: Joe Bowser
>
> Hi, I'm trying to build my Cordova project that contains the Android 
> platform. I'm using Cordova v7.0.1 and NodeJS v6.11.2.  I keep getting this 
> error: 
> C:\Users\Nicole 
> Collichio\IBM\rationalsdp\runtime-Cordova97_911\testProjectCLI>cordova build 
> android
> ANDROID_HOME=C:\Android\sdk
> JAVA_HOME=C:\Program Files\Java\jdk1.8.0_131
> *Error: Path must be a string. Received undefined*
> This is the output of my cordova info command:
> _C:\Users\Nicole 
> Collichio\IBM\rationalsdp\runtime-Cordova97_911\testProjectCLI>cordova info
> Collecting Data...
> Node version: v6.11.2
> Cordova version: 7.0.1
> Config.xml file:
> 
>  xmlns="http://www.w3.org/ns/widgets; 
> xmlns:cdv="http://cordova.apache.org/ns/1.0;>
> HelloCordova
> 
> A sample Apache Cordova application that responds to the deviceready 
> event.
> 
> http://cordova.io;>
> Apache Cordova Team
> 
> 
> 
> http://*/*; />
> https://*/*; />
> 
> 
> mailto:*; />
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> Plugins:
> cordova-plugin-whitelist
> Android platform:
> **
> The "android" command is deprecated.
> For manual SDK, AVD, and project management, please use Android Studio.
> For command-line tools, use tools\bin\sdkmanager.bat
> and tools\bin\avdmanager.bat
> **
> Invoking "C:\Android\sdk\tools\bin\avdmanager" list target
> Available Android targets:
> --
> id: 1 or "android-25"
>  Name: Android API 25
>  Type: Platform
>  API level: 25
>  Revision: 3
> --
> id: 2 or "android-26"
>  Name: Android API 26
>  Type: Platform
>  API level: 26
>  Revision: 2_
> Any ideas or suggestions on what I should do to get this to work?  Is there a 
> script path I should modify? This use to work with Cordova 6.5.0 but that 
> release didn't contain a cordova-android node_module, which I think might be 
> the change/causing the problem.
> Thanks!



--
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-13273) Webview is sized incorrectly on iPhone X (Simulator)

2017-09-14 Thread Dave Alden (JIRA)

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

Dave Alden commented on CB-13273:
-

However, the black bars still remain, so probably still need some some tweaking 
of Launch Images in cordova-ios to get rid of those

> Webview is sized incorrectly on iPhone X (Simulator)
> 
>
> Key: CB-13273
> URL: https://issues.apache.org/jira/browse/CB-13273
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-ios
>Affects Versions: cordova-ios 4.5.0
> Environment: Xcode 9.0 (9A235)
> Simulator 10.0 (SimulatorApp-829.6) - iPhone X
>Reporter: Dave Alden
>Assignee: Shazron Abdullah
>  Labels: iPhoneX, ios11
> Attachments: Simulator Screen Shot - iPhone X - 2017-09-14 at 
> 15.52.54.png, webview-test.zip
>
>
> New app with cordova-ios@4.5.0 (using default UIWebView) running on iPhone X 
> Simulator does not size correctly, leaving white bars above and below the 
> Webview frame.
> Adding cordova-plugin-wkwebview-engine so Cordova uses WKWebView, the Webview 
> frame is sized correctly.
> Note: the sizing of UIWebView appears correct in the iPhone 8 and iPhone 8 
> Plus Simulators.
> Attached Cordova project illustrates the issue.
> See screenshots:
> !https://cdn.pbrd.co/images/GKeaEPg.png|height=640! 
> !https://cdn.pbrd.co/images/GKeaWwK.png|height=640!



--
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-13273) Webview is sized incorrectly on iPhone X (Simulator)

2017-09-14 Thread Dave Alden (JIRA)

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

Dave Alden edited comment on CB-13273 at 9/14/17 2:57 PM:
--

Setting 
{code:html}viewport-fit=cover{code}
fixes the white bar issue with UIWebView, as outlined here 
[http://stephenradford.me/removing-the-white-bars-in-safari-on-iphone-x/]



was (Author: dpa99c):
Setting 
{code:html}viewport-fit=cover{code}


> Webview is sized incorrectly on iPhone X (Simulator)
> 
>
> Key: CB-13273
> URL: https://issues.apache.org/jira/browse/CB-13273
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-ios
>Affects Versions: cordova-ios 4.5.0
> Environment: Xcode 9.0 (9A235)
> Simulator 10.0 (SimulatorApp-829.6) - iPhone X
>Reporter: Dave Alden
>Assignee: Shazron Abdullah
>  Labels: iPhoneX, ios11
> Attachments: Simulator Screen Shot - iPhone X - 2017-09-14 at 
> 15.52.54.png, webview-test.zip
>
>
> New app with cordova-ios@4.5.0 (using default UIWebView) running on iPhone X 
> Simulator does not size correctly, leaving white bars above and below the 
> Webview frame.
> Adding cordova-plugin-wkwebview-engine so Cordova uses WKWebView, the Webview 
> frame is sized correctly.
> Note: the sizing of UIWebView appears correct in the iPhone 8 and iPhone 8 
> Plus Simulators.
> Attached Cordova project illustrates the issue.
> See screenshots:
> !https://cdn.pbrd.co/images/GKeaEPg.png|height=640! 
> !https://cdn.pbrd.co/images/GKeaWwK.png|height=640!



--
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-13273) Webview is sized incorrectly on iPhone X (Simulator)

2017-09-14 Thread Dave Alden (JIRA)

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

Dave Alden edited comment on CB-13273 at 9/14/17 2:57 PM:
--

Setting 
{code:html}viewport-fit=cover{code}
fixes the white bar issue with UIWebView, as outlined here 
[http://stephenradford.me/removing-the-white-bars-in-safari-on-iphone-x/]

[^Simulator Screen Shot - iPhone X - 2017-09-14 at 15.52.54.png]



was (Author: dpa99c):
Setting 
{code:html}viewport-fit=cover{code}
fixes the white bar issue with UIWebView, as outlined here 
[http://stephenradford.me/removing-the-white-bars-in-safari-on-iphone-x/]


> Webview is sized incorrectly on iPhone X (Simulator)
> 
>
> Key: CB-13273
> URL: https://issues.apache.org/jira/browse/CB-13273
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-ios
>Affects Versions: cordova-ios 4.5.0
> Environment: Xcode 9.0 (9A235)
> Simulator 10.0 (SimulatorApp-829.6) - iPhone X
>Reporter: Dave Alden
>Assignee: Shazron Abdullah
>  Labels: iPhoneX, ios11
> Attachments: Simulator Screen Shot - iPhone X - 2017-09-14 at 
> 15.52.54.png, webview-test.zip
>
>
> New app with cordova-ios@4.5.0 (using default UIWebView) running on iPhone X 
> Simulator does not size correctly, leaving white bars above and below the 
> Webview frame.
> Adding cordova-plugin-wkwebview-engine so Cordova uses WKWebView, the Webview 
> frame is sized correctly.
> Note: the sizing of UIWebView appears correct in the iPhone 8 and iPhone 8 
> Plus Simulators.
> Attached Cordova project illustrates the issue.
> See screenshots:
> !https://cdn.pbrd.co/images/GKeaEPg.png|height=640! 
> !https://cdn.pbrd.co/images/GKeaWwK.png|height=640!



--
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-13273) Webview is sized incorrectly on iPhone X (Simulator)

2017-09-14 Thread Dave Alden (JIRA)

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

Dave Alden commented on CB-13273:
-

Setting 
{code:html}viewport-fit=cover{code}


> Webview is sized incorrectly on iPhone X (Simulator)
> 
>
> Key: CB-13273
> URL: https://issues.apache.org/jira/browse/CB-13273
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-ios
>Affects Versions: cordova-ios 4.5.0
> Environment: Xcode 9.0 (9A235)
> Simulator 10.0 (SimulatorApp-829.6) - iPhone X
>Reporter: Dave Alden
>Assignee: Shazron Abdullah
>  Labels: iPhoneX, ios11
> Attachments: Simulator Screen Shot - iPhone X - 2017-09-14 at 
> 15.52.54.png, webview-test.zip
>
>
> New app with cordova-ios@4.5.0 (using default UIWebView) running on iPhone X 
> Simulator does not size correctly, leaving white bars above and below the 
> Webview frame.
> Adding cordova-plugin-wkwebview-engine so Cordova uses WKWebView, the Webview 
> frame is sized correctly.
> Note: the sizing of UIWebView appears correct in the iPhone 8 and iPhone 8 
> Plus Simulators.
> Attached Cordova project illustrates the issue.
> See screenshots:
> !https://cdn.pbrd.co/images/GKeaEPg.png|height=640! 
> !https://cdn.pbrd.co/images/GKeaWwK.png|height=640!



--
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-13273) Webview is sized incorrectly on iPhone X (Simulator)

2017-09-14 Thread Dave Alden (JIRA)

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

Dave Alden updated CB-13273:

Attachment: Simulator Screen Shot - iPhone X - 2017-09-14 at 15.52.54.png

> Webview is sized incorrectly on iPhone X (Simulator)
> 
>
> Key: CB-13273
> URL: https://issues.apache.org/jira/browse/CB-13273
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-ios
>Affects Versions: cordova-ios 4.5.0
> Environment: Xcode 9.0 (9A235)
> Simulator 10.0 (SimulatorApp-829.6) - iPhone X
>Reporter: Dave Alden
>Assignee: Shazron Abdullah
>  Labels: iPhoneX, ios11
> Attachments: Simulator Screen Shot - iPhone X - 2017-09-14 at 
> 15.52.54.png, webview-test.zip
>
>
> New app with cordova-ios@4.5.0 (using default UIWebView) running on iPhone X 
> Simulator does not size correctly, leaving white bars above and below the 
> Webview frame.
> Adding cordova-plugin-wkwebview-engine so Cordova uses WKWebView, the Webview 
> frame is sized correctly.
> Note: the sizing of UIWebView appears correct in the iPhone 8 and iPhone 8 
> Plus Simulators.
> Attached Cordova project illustrates the issue.
> See screenshots:
> !https://cdn.pbrd.co/images/GKeaEPg.png|height=640! 
> !https://cdn.pbrd.co/images/GKeaWwK.png|height=640!



--
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-13273) Webview is sized incorrectly on iPhone X (Simulator)

2017-09-14 Thread Jan Piotrowski (Sujan) (JIRA)

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

Jan Piotrowski (Sujan) commented on CB-13273:
-

Probably relevant background information: https://ayogo.com/blog/ios11-viewport/

> Webview is sized incorrectly on iPhone X (Simulator)
> 
>
> Key: CB-13273
> URL: https://issues.apache.org/jira/browse/CB-13273
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-ios
>Affects Versions: cordova-ios 4.5.0
> Environment: Xcode 9.0 (9A235)
> Simulator 10.0 (SimulatorApp-829.6) - iPhone X
>Reporter: Dave Alden
>Assignee: Shazron Abdullah
>  Labels: iPhoneX, ios11
> Attachments: webview-test.zip
>
>
> New app with cordova-ios@4.5.0 (using default UIWebView) running on iPhone X 
> Simulator does not size correctly, leaving white bars above and below the 
> Webview frame.
> Adding cordova-plugin-wkwebview-engine so Cordova uses WKWebView, the Webview 
> frame is sized correctly.
> Note: the sizing of UIWebView appears correct in the iPhone 8 and iPhone 8 
> Plus Simulators.
> Attached Cordova project illustrates the issue.
> See screenshots:
> !https://cdn.pbrd.co/images/GKeaEPg.png|height=640! 
> !https://cdn.pbrd.co/images/GKeaWwK.png|height=640!



--
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-13273) Webview is sized incorrectly on iPhone X (Simulator)

2017-09-14 Thread Dave Alden (JIRA)

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

Dave Alden commented on CB-13273:
-

Possibly related: 
https://stackoverflow.com/questions/46184859/seeing-black-bars-at-the-top-and-bottom-of-the-iphone-x-simulator

> Webview is sized incorrectly on iPhone X (Simulator)
> 
>
> Key: CB-13273
> URL: https://issues.apache.org/jira/browse/CB-13273
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-ios
>Affects Versions: cordova-ios 4.5.0
> Environment: Xcode 9.0 (9A235)
> Simulator 10.0 (SimulatorApp-829.6) - iPhone X
>Reporter: Dave Alden
>Assignee: Shazron Abdullah
>  Labels: iPhoneX, ios11
> Attachments: webview-test.zip
>
>
> New app with cordova-ios@4.5.0 (using default UIWebView) running on iPhone X 
> Simulator does not size correctly, leaving white bars above and below the 
> Webview frame.
> Adding cordova-plugin-wkwebview-engine so Cordova uses WKWebView, the Webview 
> frame is sized correctly.
> Note: the sizing of UIWebView appears correct in the iPhone 8 and iPhone 8 
> Plus Simulators.
> Attached Cordova project illustrates the issue.
> See screenshots:
> !https://cdn.pbrd.co/images/GKeaEPg.png|height=640! 
> !https://cdn.pbrd.co/images/GKeaWwK.png|height=640!



--
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-13170) final changes and release of post-integration cordova-plugin-console

2017-09-14 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-13170:
-

Github user alsorokin commented on the issue:

https://github.com/apache/cordova-plugin-console/pull/25
  
Have no fear, the CI warden is on his post.
Please, rebase :)


> final changes and release of post-integration cordova-plugin-console
> 
>
> Key: CB-13170
> URL: https://issues.apache.org/jira/browse/CB-13170
> Project: Apache Cordova
>  Issue Type: Sub-task
>  Components: cordova-plugin-console (DEPRECATED)
>Reporter: Filip Maj
>Assignee: Shazron Abdullah
>  Labels: plugins-next
>
> 1. add an {{}} constraint to {{plugin.xml}}, and to 
> {{cordovaDependencies}} in {{package.json}}, capping cordova-ios and 
> cordova-windows support
> 2. bump version
> 3. Update README.md to reflect maintenance status. Direct users to file 
> bugs/prs to the platforms that integrate the plugin
> 4. do a final release
> 5. {{npm deprecate}} 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] [Assigned] (CB-13280) Clean up https://github.com/apache/cordova-discuss/wiki/

2017-09-14 Thread Jan Piotrowski (Sujan) (JIRA)

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

Jan Piotrowski (Sujan) reassigned CB-13280:
---

Assignee: (was: Jan Piotrowski (Sujan))

> Clean up https://github.com/apache/cordova-discuss/wiki/
> 
>
> Key: CB-13280
> URL: https://issues.apache.org/jira/browse/CB-13280
> Project: Apache Cordova
>  Issue Type: Sub-task
>  Components: cordova-docs
>Reporter: Jan Piotrowski (Sujan)
>
> https://github.com/apache/cordova-discuss/wiki/ contains some old 
> documentation copied over from an old Wiki I think. 
> This also includes things that are now part of cordova-docs: 
> https://github.com/apache/cordova-discuss/wiki/Translations
> I think this Wiki should be cleaned up and content moved to more appropriate 
> locations or deleted if not relevant any more.



--
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-13280) Clean up https://github.com/apache/cordova-discuss/wiki/

2017-09-14 Thread Jan Piotrowski (Sujan) (JIRA)

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

Jan Piotrowski (Sujan) commented on CB-13280:
-

I started by going through the pages and making the content actually readable - 
most of the lists and source code weren't rendered correctly or even invisible.

> Clean up https://github.com/apache/cordova-discuss/wiki/
> 
>
> Key: CB-13280
> URL: https://issues.apache.org/jira/browse/CB-13280
> Project: Apache Cordova
>  Issue Type: Sub-task
>  Components: cordova-docs
>Reporter: Jan Piotrowski (Sujan)
>Assignee: Jan Piotrowski (Sujan)
>
> https://github.com/apache/cordova-discuss/wiki/ contains some old 
> documentation copied over from an old Wiki I think. 
> This also includes things that are now part of cordova-docs: 
> https://github.com/apache/cordova-discuss/wiki/Translations
> I think this Wiki should be cleaned up and content moved to more appropriate 
> locations or deleted if not relevant any more.



--
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-13280) Clean up https://github.com/apache/cordova-discuss/wiki/

2017-09-14 Thread Jan Piotrowski (Sujan) (JIRA)

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

Jan Piotrowski (Sujan) reassigned CB-13280:
---

Assignee: Jan Piotrowski (Sujan)

> Clean up https://github.com/apache/cordova-discuss/wiki/
> 
>
> Key: CB-13280
> URL: https://issues.apache.org/jira/browse/CB-13280
> Project: Apache Cordova
>  Issue Type: Sub-task
>  Components: cordova-docs
>Reporter: Jan Piotrowski (Sujan)
>Assignee: Jan Piotrowski (Sujan)
>
> https://github.com/apache/cordova-discuss/wiki/ contains some old 
> documentation copied over from an old Wiki I think. 
> This also includes things that are now part of cordova-docs: 
> https://github.com/apache/cordova-discuss/wiki/Translations
> I think this Wiki should be cleaned up and content moved to more appropriate 
> locations or deleted if not relevant any more.



--
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-13277) Improve README

2017-09-14 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-13277:
-

GitHub user janpio opened a pull request:

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

CB-13277: (docs) Improve README

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

### Platforms affected
 none

### What does this PR do?

Improves the README of cordova-docs.
See commit messages (and of course diff) for exact changes.

### What testing has been done on this change?
looked at the rendered readme in my fork on Github

### 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/janpio/cordova-docs improve-readme

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

https://github.com/apache/cordova-docs/pull/730.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 #730


commit ff306f60d4a9b197e636dcd5cf47d0e1bef33af9
Author: Jan Piotrowski 
Date:   2017-09-14T11:25:01Z

improve Introduction

rephrase
add links to actual pages, not just redirects

commit 3fdb9332100a221b7f34f9377d7767e310c990b9
Author: Jan Piotrowski 
Date:   2017-09-14T11:31:22Z

improve Installing

reword a bit
add some structure (Verify headline)

commit e7a4f964e9ced0b2bdf9919ca3af151f73620554
Author: Jan Piotrowski 
Date:   2017-09-14T11:43:05Z

rework headlines

add h1 with repo name
change indentation
change some bold used to structure content to headlines

commit 8bec7671d90ce30a516b00667f31603b9e2ee03a
Author: Jan Piotrowski 
Date:   2017-09-14T11:47:43Z

add Table of Contents

generated with https://ecotrust-canada.github.io/markdown-toc/
polished manually




> Improve README
> --
>
> Key: CB-13277
> URL: https://issues.apache.org/jira/browse/CB-13277
> Project: Apache Cordova
>  Issue Type: Sub-task
>  Components: cordova-docs
>Reporter: Jan Piotrowski (Sujan)
>Assignee: Jan Piotrowski (Sujan)
>
> README could use some improvement in struture and content



--
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-13278) Deduplicate and improve Translating Documentation

2017-09-14 Thread Jan Piotrowski (Sujan) (JIRA)

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

Jan Piotrowski (Sujan) updated CB-13278:

Description: 
Translating documentation currently exists at 
https://github.com/apache/cordova-docs/blob/master/CONTRIBUTING.md#translating-documentation
 and 
https://github.com/apache/cordova-coho/blob/master/docs/doc-translation-process.md
 with duplicated content.

There is additional (even older I think) Translation documentation at 
https://github.com/apache/cordova-discuss/wiki/Translations

It is unclear what of that content is actually still correct and relevant.

  was:
Translating documentation currently exists at 
https://github.com/apache/cordova-docs/blob/master/CONTRIBUTING.md#translating-documentation
 and 
https://github.com/apache/cordova-coho/blob/master/docs/doc-translation-process.md
 with duplicated content.

It is also unclear what of that content is actually still correct and relevant.


> Deduplicate and improve Translating Documentation
> -
>
> Key: CB-13278
> URL: https://issues.apache.org/jira/browse/CB-13278
> Project: Apache Cordova
>  Issue Type: Sub-task
>  Components: cordova-coho, cordova-docs
>Reporter: Jan Piotrowski (Sujan)
>Assignee: Jan Piotrowski (Sujan)
>
> Translating documentation currently exists at 
> https://github.com/apache/cordova-docs/blob/master/CONTRIBUTING.md#translating-documentation
>  and 
> https://github.com/apache/cordova-coho/blob/master/docs/doc-translation-process.md
>  with duplicated content.
> There is additional (even older I think) Translation documentation at 
> https://github.com/apache/cordova-discuss/wiki/Translations
> It is unclear what of that content is actually still correct and relevant.



--
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-13280) Clean up https://github.com/apache/cordova-discuss/wiki/

2017-09-14 Thread Jan Piotrowski (Sujan) (JIRA)
Jan Piotrowski (Sujan) created CB-13280:
---

 Summary: Clean up https://github.com/apache/cordova-discuss/wiki/
 Key: CB-13280
 URL: https://issues.apache.org/jira/browse/CB-13280
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: cordova-docs
Reporter: Jan Piotrowski (Sujan)


https://github.com/apache/cordova-discuss/wiki/ contains some old documentation 
copied over from an old Wiki I think. 

This also includes things that are now part of cordova-docs: 
https://github.com/apache/cordova-discuss/wiki/Translations

I think this Wiki should be cleaned up and content moved to more appropriate 
locations or deleted if not relevant any more.



--
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-13279) Remove duplication of cordova-docs content from other places

2017-09-14 Thread Jan Piotrowski (Sujan) (JIRA)
Jan Piotrowski (Sujan) created CB-13279:
---

 Summary: Remove duplication of cordova-docs content from other 
places
 Key: CB-13279
 URL: https://issues.apache.org/jira/browse/CB-13279
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: cordova-coho, cordova-docs
Reporter: Jan Piotrowski (Sujan)


Some content of the cordova-docs docs (README) are duplicated at other 
locations, which has the danger of these duplications to go out of date.

https://github.com/apache/cordova-coho/blob/10ea350f96e76a54f449578878de48b924778601/docs/plugins-release-process.md#post-blog-post
 contains parts of the build process.



--
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-13277) Improve README

2017-09-14 Thread Jan Piotrowski (Sujan) (JIRA)

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

Jan Piotrowski (Sujan) reassigned CB-13277:
---

Assignee: Jan Piotrowski (Sujan)

> Improve README
> --
>
> Key: CB-13277
> URL: https://issues.apache.org/jira/browse/CB-13277
> Project: Apache Cordova
>  Issue Type: Sub-task
>  Components: cordova-docs
>Reporter: Jan Piotrowski (Sujan)
>Assignee: Jan Piotrowski (Sujan)
>
> README could use some improvement in struture and content



--
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-13278) Deduplicate and improve Translating Documentation

2017-09-14 Thread Jan Piotrowski (Sujan) (JIRA)

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

Jan Piotrowski (Sujan) commented on CB-13278:
-

Can and should the Translating Documentation be moved from cordova-coho over to 
cordova-docs? 

The content is quite similar to what the README and CONTRIBUTING of 
cordova-docs contain and also only concerns content of cordova-docs, so I think 
this would be useful.

> Deduplicate and improve Translating Documentation
> -
>
> Key: CB-13278
> URL: https://issues.apache.org/jira/browse/CB-13278
> Project: Apache Cordova
>  Issue Type: Sub-task
>  Components: cordova-coho, cordova-docs
>Reporter: Jan Piotrowski (Sujan)
>Assignee: Jan Piotrowski (Sujan)
>
> Translating documentation currently exists at 
> https://github.com/apache/cordova-docs/blob/master/CONTRIBUTING.md#translating-documentation
>  and 
> https://github.com/apache/cordova-coho/blob/master/docs/doc-translation-process.md
>  with duplicated content.
> It is also unclear what of that content is actually still correct and 
> relevant.



--
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-13278) Deduplicate and improve Translating Documentation

2017-09-14 Thread Jan Piotrowski (Sujan) (JIRA)

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

Jan Piotrowski (Sujan) reassigned CB-13278:
---

Assignee: Jan Piotrowski (Sujan)

> Deduplicate and improve Translating Documentation
> -
>
> Key: CB-13278
> URL: https://issues.apache.org/jira/browse/CB-13278
> Project: Apache Cordova
>  Issue Type: Sub-task
>  Components: cordova-coho, cordova-docs
>Reporter: Jan Piotrowski (Sujan)
>Assignee: Jan Piotrowski (Sujan)
>
> Translating documentation currently exists at 
> https://github.com/apache/cordova-docs/blob/master/CONTRIBUTING.md#translating-documentation
>  and 
> https://github.com/apache/cordova-coho/blob/master/docs/doc-translation-process.md
>  with duplicated content.
> It is also unclear what of that content is actually still correct and 
> relevant.



--
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-13278) Deduplicate and improve Translating Documentation

2017-09-14 Thread Jan Piotrowski (Sujan) (JIRA)
Jan Piotrowski (Sujan) created CB-13278:
---

 Summary: Deduplicate and improve Translating Documentation
 Key: CB-13278
 URL: https://issues.apache.org/jira/browse/CB-13278
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: cordova-coho, cordova-docs
Reporter: Jan Piotrowski (Sujan)


Translating documentation currently exists at 
https://github.com/apache/cordova-docs/blob/master/CONTRIBUTING.md#translating-documentation
 and 
https://github.com/apache/cordova-coho/blob/master/docs/doc-translation-process.md
 with duplicated content.

It is also unclear what of that content is actually still correct and relevant.



--
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-13277) Improve README

2017-09-14 Thread Jan Piotrowski (Sujan) (JIRA)
Jan Piotrowski (Sujan) created CB-13277:
---

 Summary: Improve README
 Key: CB-13277
 URL: https://issues.apache.org/jira/browse/CB-13277
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: cordova-docs
Reporter: Jan Piotrowski (Sujan)


README could use some improvement in struture and content



--
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-13276) Visual Studio 2015 Cordova Project Stop responding after android's webview update (end of August 2017)

2017-09-14 Thread PANTELEIMON SEISOGLOU (JIRA)
PANTELEIMON SEISOGLOU created CB-13276:
--

 Summary: Visual Studio 2015 Cordova Project Stop responding after 
android's webview update (end of August 2017)
 Key: CB-13276
 URL: https://issues.apache.org/jira/browse/CB-13276
 Project: Apache Cordova
  Issue Type: Bug
  Components: AllPlatforms
Affects Versions: 5.1.1
Reporter: PANTELEIMON SEISOGLOU
Priority: Critical


Our app, which is developed with the use of Visual Studio 2015 Community 
edition with support of Apache Cordova, stopped responding. It's a rather 
simple app, that just uses jQuery for simple AJAX calls. We try to debug and 
noticed that our call is received from web server of the web services but 
returned no answer !! This is happened to android versions 5.1.1 and 
upper (we've tested it with v 5.1.1 and 6.0.1). Everything are ok with android 
versions like 4.4 (we've also tested it!)
If we removed the Android System WebView update (end of August, 31nd 2017), our 
app started to work normally in all versions of Android.
Any idea to resolve such a critical 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] [Assigned] (CB-13275) Improve documentation on cordova-docs

2017-09-14 Thread Jan Piotrowski (Sujan) (JIRA)

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

Jan Piotrowski (Sujan) reassigned CB-13275:
---

Assignee: Jan Piotrowski (Sujan)

> Improve documentation on cordova-docs
> -
>
> Key: CB-13275
> URL: https://issues.apache.org/jira/browse/CB-13275
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: cordova-docs
>Reporter: Jan Piotrowski (Sujan)
>Assignee: Jan Piotrowski (Sujan)
>Priority: Minor
>
> The documentation (README, other .md files) on `cordova-docs` could use some 
> improvement.  To fulfill the issue requirement of PRs I create this 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-13275) Improve documentation on cordova-docs

2017-09-14 Thread Jan Piotrowski (Sujan) (JIRA)
Jan Piotrowski (Sujan) created CB-13275:
---

 Summary: Improve documentation on cordova-docs
 Key: CB-13275
 URL: https://issues.apache.org/jira/browse/CB-13275
 Project: Apache Cordova
  Issue Type: Improvement
  Components: cordova-docs
Reporter: Jan Piotrowski (Sujan)
Priority: Minor


The documentation (README, other .md files) on `cordova-docs` could use some 
improvement.  To fulfill the issue requirement of PRs I create this 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] [Commented] (CB-13273) Webview is sized incorrectly on iPhone X (Simulator)

2017-09-14 Thread Jan Piotrowski (Sujan) (JIRA)

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

Jan Piotrowski (Sujan) commented on CB-13273:
-

(Fair point, actually accidental. Undone.)
Thanks for the explanation.

> Webview is sized incorrectly on iPhone X (Simulator)
> 
>
> Key: CB-13273
> URL: https://issues.apache.org/jira/browse/CB-13273
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-ios
>Affects Versions: cordova-ios 4.5.0
> Environment: Xcode 9.0 (9A235)
> Simulator 10.0 (SimulatorApp-829.6) - iPhone X
>Reporter: Dave Alden
>Assignee: Shazron Abdullah
>  Labels: iPhoneX, ios11
> Attachments: webview-test.zip
>
>
> New app with cordova-ios@4.5.0 (using default UIWebView) running on iPhone X 
> Simulator does not size correctly, leaving white bars above and below the 
> Webview frame.
> Adding cordova-plugin-wkwebview-engine so Cordova uses WKWebView, the Webview 
> frame is sized correctly.
> Note: the sizing of UIWebView appears correct in the iPhone 8 and iPhone 8 
> Plus Simulators.
> Attached Cordova project illustrates the issue.
> See screenshots:
> !https://cdn.pbrd.co/images/GKeaEPg.png|height=640! 
> !https://cdn.pbrd.co/images/GKeaWwK.png|height=640!



--
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-13273) Webview is sized incorrectly on iPhone X (Simulator)

2017-09-14 Thread Jan Piotrowski (Sujan) (JIRA)

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

Jan Piotrowski (Sujan) updated CB-13273:

Description: 
New app with cordova-ios@4.5.0 (using default UIWebView) running on iPhone X 
Simulator does not size correctly, leaving white bars above and below the 
Webview frame.

Adding cordova-plugin-wkwebview-engine so Cordova uses WKWebView, the Webview 
frame is sized correctly.

Note: the sizing of UIWebView appears correct in the iPhone 8 and iPhone 8 Plus 
Simulators.

Attached Cordova project illustrates the issue.

See screenshots:

!https://cdn.pbrd.co/images/GKeaEPg.png|height=640! 
!https://cdn.pbrd.co/images/GKeaWwK.png|height=640!


  was:
New app with cordova-ios@4.5.0 (using default UIWebView) running on iPhone X 
Simulator does not size correctly, leaving white bars above and below the 
Webview frame.

Adding cordova-plugin-wkwebview-engine so Cordova uses WKWebView, the Webview 
frame is sized correctly.

Note: the sizing of UIWebView appears correct in the iPhone 8 and iPhone 8 Plus 
Simulators.

Attached Cordova project illustrates the issue.

See screenshots:

!https://cdn.pbrd.co/images/GKeaEPg.png|height=640!
!https://cdn.pbrd.co/images/GKeaWwK.png|height=640!



> Webview is sized incorrectly on iPhone X (Simulator)
> 
>
> Key: CB-13273
> URL: https://issues.apache.org/jira/browse/CB-13273
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-ios
>Affects Versions: cordova-ios 4.5.0
> Environment: Xcode 9.0 (9A235)
> Simulator 10.0 (SimulatorApp-829.6) - iPhone X
>Reporter: Dave Alden
>Assignee: Shazron Abdullah
>  Labels: iPhoneX, ios11
> Attachments: webview-test.zip
>
>
> New app with cordova-ios@4.5.0 (using default UIWebView) running on iPhone X 
> Simulator does not size correctly, leaving white bars above and below the 
> Webview frame.
> Adding cordova-plugin-wkwebview-engine so Cordova uses WKWebView, the Webview 
> frame is sized correctly.
> Note: the sizing of UIWebView appears correct in the iPhone 8 and iPhone 8 
> Plus Simulators.
> Attached Cordova project illustrates the issue.
> See screenshots:
> !https://cdn.pbrd.co/images/GKeaEPg.png|height=640! 
> !https://cdn.pbrd.co/images/GKeaWwK.png|height=640!



--
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-12367) Modernize styling of iOS InAppBrowser view

2017-09-14 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-12367:
-

Github user artyom-dorokhov commented on the issue:

https://github.com/apache/cordova-plugin-inappbrowser/pull/210
  
another question to maintainers - is there any plans to upgrade 
inappbrowser to use wkwebview instead of uiwebview? 


> Modernize styling of iOS InAppBrowser view
> --
>
> Key: CB-12367
> URL: https://issues.apache.org/jira/browse/CB-12367
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: cordova-plugin-inappbrowser
>Affects Versions: 1.6.1
>Reporter: Reid Beels
>
> I've been working on a branch that brings several visual and configuration 
> improvements to the iOS InAppBrowser view, along with a little refactoring of 
> the view setup code.
> This PR:
> * breaks up the large {{CDVInAppBrowserViewController createView}} method 
> into several smaller helper methods to handle the creation of individual 
> subviews
> * gives the {{addressLabel}} a wrapping view to provide flexibility of 
> background color / padding
> * changes the default toolbar style from {{UIBarStyleBlackOpaque}} to 
> {{UIBarStyleDefault}} to match the system default
> * adds a {{toolbarstyle}} configuration option that accepts {{default}} or 
> {{black}}
> * sets the status bar style and background color to match the 
> {{toolbarstyle}}, so that top toolbars can blend nicely into the status bar
> * replaces the unicode navigation arrows (◄►) with drawn arrows that match 
> those used in Safari
> * adds a {{tintcolor}} configuration option that accepts hex strings like 
> {{F8A027}}. If not provided, or set to {{default}}, controls will be rendered 
> in the default iOS blue, or in white when {{toolbarstyle=black}} is set.



--
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-13273) Webview is sized incorrectly on iPhone X (Simulator)

2017-09-14 Thread Dave Alden (JIRA)

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

Dave Alden commented on CB-13273:
-

They are a screenshots of the iPhone X Simulator when running a simple Cordova 
test app, which has a blue background for the whole page (i.e. ).

The first image shows the app running with the default (UIWebView) - the white 
bars above and below the blue area indicating the Webview is not sized 
correctly to fill the screen.
The second images show the same running running with WKWebView (using 
cordova-plugin-wkwebview-engine) and shows that the same issue is not present: 
no white bars, i.e. the Webview is correctly sized to fill the full screen area.

Note: you have made it more difficult to see the issue by editing the 
description and forcing the images to display above/below rather than 
side-by-side

> Webview is sized incorrectly on iPhone X (Simulator)
> 
>
> Key: CB-13273
> URL: https://issues.apache.org/jira/browse/CB-13273
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-ios
>Affects Versions: cordova-ios 4.5.0
> Environment: Xcode 9.0 (9A235)
> Simulator 10.0 (SimulatorApp-829.6) - iPhone X
>Reporter: Dave Alden
>Assignee: Shazron Abdullah
>  Labels: iPhoneX, ios11
> Attachments: webview-test.zip
>
>
> New app with cordova-ios@4.5.0 (using default UIWebView) running on iPhone X 
> Simulator does not size correctly, leaving white bars above and below the 
> Webview frame.
> Adding cordova-plugin-wkwebview-engine so Cordova uses WKWebView, the Webview 
> frame is sized correctly.
> Note: the sizing of UIWebView appears correct in the iPhone 8 and iPhone 8 
> Plus Simulators.
> Attached Cordova project illustrates the issue.
> See screenshots:
> !https://cdn.pbrd.co/images/GKeaEPg.png|height=640!
> !https://cdn.pbrd.co/images/GKeaWwK.png|height=640!



--
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-13273) Webview is sized incorrectly on iPhone X (Simulator)

2017-09-14 Thread Jan Piotrowski (Sujan) (JIRA)

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

Jan Piotrowski (Sujan) commented on CB-13273:
-

What exactly do these 2 different screenshots show?

> Webview is sized incorrectly on iPhone X (Simulator)
> 
>
> Key: CB-13273
> URL: https://issues.apache.org/jira/browse/CB-13273
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-ios
>Affects Versions: cordova-ios 4.5.0
> Environment: Xcode 9.0 (9A235)
> Simulator 10.0 (SimulatorApp-829.6) - iPhone X
>Reporter: Dave Alden
>Assignee: Shazron Abdullah
>  Labels: iPhoneX, ios11
> Attachments: webview-test.zip
>
>
> New app with cordova-ios@4.5.0 (using default UIWebView) running on iPhone X 
> Simulator does not size correctly, leaving white bars above and below the 
> Webview frame.
> Adding cordova-plugin-wkwebview-engine so Cordova uses WKWebView, the Webview 
> frame is sized correctly.
> Note: the sizing of UIWebView appears correct in the iPhone 8 and iPhone 8 
> Plus Simulators.
> Attached Cordova project illustrates the issue.
> See screenshots:
> !https://cdn.pbrd.co/images/GKeaEPg.png|height=640!
> !https://cdn.pbrd.co/images/GKeaWwK.png|height=640!



--
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-13273) Webview is sized incorrectly on iPhone X (Simulator)

2017-09-14 Thread Jan Piotrowski (Sujan) (JIRA)

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

Jan Piotrowski (Sujan) updated CB-13273:

Description: 
New app with cordova-ios@4.5.0 (using default UIWebView) running on iPhone X 
Simulator does not size correctly, leaving white bars above and below the 
Webview frame.

Adding cordova-plugin-wkwebview-engine so Cordova uses WKWebView, the Webview 
frame is sized correctly.

Note: the sizing of UIWebView appears correct in the iPhone 8 and iPhone 8 Plus 
Simulators.

Attached Cordova project illustrates the issue.

See screenshots:

!https://cdn.pbrd.co/images/GKeaEPg.png|height=640!
!https://cdn.pbrd.co/images/GKeaWwK.png|height=640!


  was:
New app with cordova-ios@4.5.0 (using default UIWebView) running on iPhone X 
Simulator does not size correctly, leaving white bars above and below the 
Webview frame.

Adding cordova-plugin-wkwebview-engine so Cordova uses WKWebView, the Webview 
frame is sized correctly.

Note: the sizing of UIWebView appears correct in the iPhone 8 and iPhone 8 Plus 
Simulators.

Attached Cordova project illustrates the issue.

See screenshots:

!https://cdn.pbrd.co/images/GKeaEPg.png|height=640!!https://cdn.pbrd.co/images/GKeaWwK.png|height=640!



> Webview is sized incorrectly on iPhone X (Simulator)
> 
>
> Key: CB-13273
> URL: https://issues.apache.org/jira/browse/CB-13273
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-ios
>Affects Versions: cordova-ios 4.5.0
> Environment: Xcode 9.0 (9A235)
> Simulator 10.0 (SimulatorApp-829.6) - iPhone X
>Reporter: Dave Alden
>Assignee: Shazron Abdullah
>  Labels: iPhoneX, ios11
> Attachments: webview-test.zip
>
>
> New app with cordova-ios@4.5.0 (using default UIWebView) running on iPhone X 
> Simulator does not size correctly, leaving white bars above and below the 
> Webview frame.
> Adding cordova-plugin-wkwebview-engine so Cordova uses WKWebView, the Webview 
> frame is sized correctly.
> Note: the sizing of UIWebView appears correct in the iPhone 8 and iPhone 8 
> Plus Simulators.
> Attached Cordova project illustrates the issue.
> See screenshots:
> !https://cdn.pbrd.co/images/GKeaEPg.png|height=640!
> !https://cdn.pbrd.co/images/GKeaWwK.png|height=640!



--
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-11513) iOS memory warning stops sound, but does not send status to JS-client

2017-09-14 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-11513:
-

Github user pincombe commented on the issue:

https://github.com/apache/cordova-plugin-media/pull/120
  
I would also love to see this get merged. It works and it is crazy that a 
memory warning would stop the audio from playing.


> iOS memory warning stops sound, but does not send status to JS-client
> -
>
> Key: CB-11513
> URL: https://issues.apache.org/jira/browse/CB-11513
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-plugin-media
>Affects Versions: 3.6.3, 4.1.3, 6.4.0
> Environment: iOS 9 and iOS 10
>Reporter: Thomas K.
>  Labels: easyfix
>
> If iOS issues a memory warning while playing a sound, all sounds are 
> terminated. However the ios/CDVSound.m plugin does not update the state of 
> its JS-clients, so the last state the Client knows is Media.MEDIA_RUNNING, 
> which is untrue after a memory warning. This results in incorrect clientside 
> status.
> Problem: A user's software component may send pause() instead of play() 
> (toggle button) effectively rendering the sound unplayable without recovery. 
> This happened in our case.
> Fix: Do not discard currently playing sounds. The first memory warning 
> arrives exactly when the App enters the yellow area and consumes 500MB 
> however it may consume 750MB and more according to Xcode so terminating 
> sounds on "memory warning" is incorrect behavior.
> https://github.com/apache/cordova-plugin-media/blob/master/src/ios/CDVSound.m#L814
> How to reproduce: Add 1 or 2 large animated GIFs with 200+ frames to the 
> UIWebView, this will consume 500MB quickly while playing the GIFs, or 
> simulate the memory warning using the iOS Simulator while playing a sound.



--
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-13170) final changes and release of post-integration cordova-plugin-console

2017-09-14 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-13170:
-

GitHub user shazron reopened a pull request:

https://github.com/apache/cordova-plugin-console/pull/25

CB-13170 - final changes and release of post-integration 
cordova-plugin-console

### Platforms affected

cordova-ios, cordova-windows

### What does this PR do?

Prevent installation of this plugin on cordova-ios >= 4.5.0, and 
cordova-windows > 5.0.0

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

Added the plugin on different platform versions for the affected platforms.

### 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.
- [ ] 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/shazron/cordova-plugin-console CB-13170

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

https://github.com/apache/cordova-plugin-console/pull/25.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 #25


commit 316d30b95471dae6f2b38cba9ffde4173014ea2b
Author: Shazron Abdullah 
Date:   2017-09-13T06:39:14Z

CB-13170 - final changes and release of post-integration 
cordova-plugin-console




> final changes and release of post-integration cordova-plugin-console
> 
>
> Key: CB-13170
> URL: https://issues.apache.org/jira/browse/CB-13170
> Project: Apache Cordova
>  Issue Type: Sub-task
>  Components: cordova-plugin-console (DEPRECATED)
>Reporter: Filip Maj
>Assignee: Shazron Abdullah
>  Labels: plugins-next
>
> 1. add an {{}} constraint to {{plugin.xml}}, and to 
> {{cordovaDependencies}} in {{package.json}}, capping cordova-ios and 
> cordova-windows support
> 2. bump version
> 3. Update README.md to reflect maintenance status. Direct users to file 
> bugs/prs to the platforms that integrate the plugin
> 4. do a final release
> 5. {{npm deprecate}} 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-13170) final changes and release of post-integration cordova-plugin-console

2017-09-14 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-13170:
-

Github user shazron closed the pull request at:

https://github.com/apache/cordova-plugin-console/pull/25


> final changes and release of post-integration cordova-plugin-console
> 
>
> Key: CB-13170
> URL: https://issues.apache.org/jira/browse/CB-13170
> Project: Apache Cordova
>  Issue Type: Sub-task
>  Components: cordova-plugin-console (DEPRECATED)
>Reporter: Filip Maj
>Assignee: Shazron Abdullah
>  Labels: plugins-next
>
> 1. add an {{}} constraint to {{plugin.xml}}, and to 
> {{cordovaDependencies}} in {{package.json}}, capping cordova-ios and 
> cordova-windows support
> 2. bump version
> 3. Update README.md to reflect maintenance status. Direct users to file 
> bugs/prs to the platforms that integrate the plugin
> 4. do a final release
> 5. {{npm deprecate}} 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-13170) final changes and release of post-integration cordova-plugin-console

2017-09-14 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-13170:
-

Github user shazron commented on the issue:

https://github.com/apache/cordova-plugin-console/pull/25
  
Travis tests are failing on Android for some reason that is unrelated to 
the code.
`"npm cache clean -f"  failed` 

@bowserj any insight? I'll close and re-open to rejigger things.


> final changes and release of post-integration cordova-plugin-console
> 
>
> Key: CB-13170
> URL: https://issues.apache.org/jira/browse/CB-13170
> Project: Apache Cordova
>  Issue Type: Sub-task
>  Components: cordova-plugin-console (DEPRECATED)
>Reporter: Filip Maj
>Assignee: Shazron Abdullah
>  Labels: plugins-next
>
> 1. add an {{}} constraint to {{plugin.xml}}, and to 
> {{cordovaDependencies}} in {{package.json}}, capping cordova-ios and 
> cordova-windows support
> 2. bump version
> 3. Update README.md to reflect maintenance status. Direct users to file 
> bugs/prs to the platforms that integrate the plugin
> 4. do a final release
> 5. {{npm deprecate}} 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-13170) final changes and release of post-integration cordova-plugin-console

2017-09-14 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-13170:
-

Github user shazron commented on the issue:

https://github.com/apache/cordova-plugin-console/pull/25
  
@janpio Yes. I tested this on cordova-ios@4.5.0 and it skips installing the 
plugin, but installs on cordova-ios@4.4.0


> final changes and release of post-integration cordova-plugin-console
> 
>
> Key: CB-13170
> URL: https://issues.apache.org/jira/browse/CB-13170
> Project: Apache Cordova
>  Issue Type: Sub-task
>  Components: cordova-plugin-console (DEPRECATED)
>Reporter: Filip Maj
>Assignee: Shazron Abdullah
>  Labels: plugins-next
>
> 1. add an {{}} constraint to {{plugin.xml}}, and to 
> {{cordovaDependencies}} in {{package.json}}, capping cordova-ios and 
> cordova-windows support
> 2. bump version
> 3. Update README.md to reflect maintenance status. Direct users to file 
> bugs/prs to the platforms that integrate the plugin
> 4. do a final release
> 5. {{npm deprecate}} 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-12035) [cordova-plugin-network-information] connection info is not reliable on Android 6

2017-09-14 Thread Prashant Malik (JIRA)

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

Prashant Malik commented on CB-12035:
-

Hi Everyone,

We are facing the same issue with our clients and i found that *network.js* 
code in function it's invoking the wrong event i.e _OFFLINE_ even though device 
is connected to the Wi-Fi. JS code is as follows:

{code:java}

netwrok.js: #59
channel.onCordovaReady.subscribe(function() {
me.getInfo(function(info) {*//info value is coming as none even-though 
device is connected to wi-fi*
me.type = info;
if (info === "none") {
// set a timer if still offline at the end of timer send the 
offline event
timerId = setTimeout(function(){
cordova.fireDocumentEvent("offline");
timerId = null;
}, timeout);
} else {
// If there is a current offline event pending clear it
if (timerId !== null) {
clearTimeout(timerId);
timerId = null;
}
cordova.fireDocumentEvent("online");
}

// should only fire this once
if (channel.onCordovaConnectionReady.state !== 2) {
channel.onCordovaConnectionReady.fire();
}
}
{code}

Any update on the solution or if anyone found the work around? Please suggest!!

Thanks & Regards
Prashant Malik

> [cordova-plugin-network-information] connection info is not reliable on 
> Android 6
> -
>
> Key: CB-12035
> URL: https://issues.apache.org/jira/browse/CB-12035
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-plugin-network-information
>Affects Versions: 1.3.0
> Environment: Samsung Galaxy Edge S6 / Android 6
> useragent: "Mozilla/5.0 (Linux; Android 6.0.1; SM-G925F Build/MMB29K; wv) 
> AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/53.0.2785.124 
> Mobile Safari/537.36"
> reproduced with:
> cordova-plugin-network-information@1.3.0 (latest)
> cordova-plugin-network-information@1.2.0
>Reporter: jakub-g
>  Labels: android
>
> I've noticed that information exposed by the plugin is not reliable. It 
> happens often that I'm connected to the internet via WiFi, and the plugin 
> says that there's no connection.
> It's not easy to reproduce it on-demand, but I reproduced it many times 
> recently. It happens most often when in the morning, I open the Cordova app 
> that was running in background throughout the night.
> Then, when I connect to Chrome Dev Tools, I can do a repl session like this:
> {code}
> > navigator.connection.type
> "none"
> > window.fetch('http://www.example.org').then(function(res) 
> > {console.log(res.status)})
> Promise {[[PromiseStatus]]: "pending", [[PromiseValue]]: undefined}
> 200
> Fetch complete: GET "http://www.example.org/;.(anonymous function)
> > navigator.connection.type
> "none"
> {code}
> So, the plugin thinks I'm offline, yet any HTTP calls done within the app 
> without checking if I'm offline or online, are successful (either from the 
> app or devtools).
> When I disable WiFi and reenable it, after a few seconds the plugin updates 
> its state and then it tells that connection type is "wifi".
> There are several possibilities here:
> - either system (or device driver) gives us incorrect information, or
> - cordova plugin is caching data and/or not listening properly to all the 
> events and/or incorrectly processing it
> and most probably the issue manifests itself when the device is asleep for 
> many hours (but I'm not sure about this).
> Note that I also noticed another issue, that sometimes the Chrome network 
> stack thinks I'm offline (when I do an HTTP call, it fails immediately and I 
> see network errors in devtools console) - and then I restart the Cordova app, 
> and everything's fine, all HTTP calls are ok - but this is unrelated to this 
> ticket, and perhaps a bug in Chrome.
> This ticket seems to be most likely a bug in the plugin, because as I said 
> before, doing HTTP call succeeds despite the plugin telling me that I'm 
> offline.



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