[jira] [Commented] (CB-12819) Gradle failure, could not determine which tasks to execute.

2017-05-17 Thread Fabio Fabbri (JIRA)

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

Fabio Fabbri commented on CB-12819:
---

I had the same issue. I noticed I was using an old version of gradle (1.4 from 
Ubuntu 14.04) so I downloaded the latest binary version from 
https://gradle.org/releases , unpacked it and added its /bin/ directory to my 
$PATH

It worked for me. Can you check your version of gradle and try an upgrade?

> Gradle failure, could not determine which tasks to execute.
> ---
>
> Key: CB-12819
> URL: https://issues.apache.org/jira/browse/CB-12819
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-android, cordova-cli, Ionic
>Affects Versions: cordova@7.0.0
> Environment: {code:title=> cordova -v|borderStyle=solid}
> 7.0.1
> {code}
> {code:title=> cordova platform list|borderStyle=solid}
> {}
> Installed platforms:
>   android 6.2.3
> Available platforms: 
>   blackberry10 ~3.8.0 (deprecated)
>   browser ~4.1.0
>   ubuntu ~4.3.4 (deprecated)
>   webos ~3.7.0
> {code}
> {code:title=> cordova requirements|borderStyle=solid}
> Requirements check results for android:
> Java JDK: installed 1.8.0
> Android SDK: installed true
> Android target: installed android-25
> Gradle: installed /usr/share/gradle/bin/gradle
> {code}
> {code:title=> $ANDROID_HOME/tools/android --version|borderStyle=solid}
> *
> The "android" command is deprecated.
> For manual SDK, AVD, and project management, please use Android Studio.
> For command-line tools, use tools/bin/sdkmanager and tools/bin/avdmanager
> *
> Invalid or unsupported command "--version"
> Supported commands are:
> android list target
> android list avd
> android list device
> android create avd
> android move avd
> android delete avd
> android list sdk
> android update sdk
> [1]23564 exit 2 ./android --version
> {code}
> {code:title=> $ANDROID_HOME/tools/bin/sdkmanager --list|borderStyle=solid}
> Installed packages:
>   Path  | Version  | Description  
>  | Location 
>   ---   | ---  | ---  
>  | ---  
>   build-tools;25.0.3| 25.0.3   | Android SDK Build-Tools 
> 25.0.3| build-tools/25.0.3/  
>   cmake;3.6.3155560 | 3.6.3155560  | CMake 3.6.3155560
>  | cmake/3.6.3155560/   
>   emulator  | 26.0.3   | Android Emulator 
>  | emulator/
>   extras;android;m2repository   | 47.0.0   | Android Support 
> Repository| extras/android/m2repository/ 
>   extras;google;g...e_play_services | 39   | Google Play services 
>  | extras/google/g..._play_services/
>   extras;google;m2repository| 47   | Google Repository
>  | extras/google/m2repository/  
>   extras;google;webdriver   | 2| Google Web Driver
>  | extras/google/webdriver/ 
>   lldb;2.3  | 2.3.3614996  | LLDB 2.3 
>  | lldb/2.3/
>   ndk-bundle| 14.1.3816874 | NDK  
>  | ndk-bundle/  
>   patcher;v4| 1| SDK Patch Applier v4 
>  | patcher/v4/  
>   platform-tools| 25.0.5   | Android SDK 
> Platform-Tools| platform-tools/  
>   platforms;android-25  | 3| Android SDK Platform 25  
>  | platforms/android-25/
>   sources;android-25| 1| Sources for Android 25   
>  | sources/android-25/  
>   system-images;a...google_apis;x86 | 4| Google APIs Intel x86 
> Atom Sys... | system-images/a...oogle_apis/x86/
>   tools | 26.0.2   | Android SDK Tools
>  | tools/   
> Available Packages:
>   Path  | Version  | Description  
> 
>   ---   | ---  | ---  
> 
>   add-ons;addon-g..._apis-google-15 | 3| Google APIs  
> 
>   add-ons;addon-g..._apis-google-16 | 4| Google APIs  
> 
>   add-ons;addon-g..._apis-google-17 | 4| Google APIs  
> 
>   add-ons;addon-g..._apis-google-18 

[jira] [Commented] (CB-10218) Support installation of Targets in the iOS platform

2017-05-17 Thread Tyler Brazier (JIRA)

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

Tyler Brazier commented on CB-10218:


Our team would love to see this feature. Any update on this?

> Support installation of Targets in the iOS platform
> ---
>
> Key: CB-10218
> URL: https://issues.apache.org/jira/browse/CB-10218
> Project: Apache Cordova
>  Issue Type: New Feature
>  Components: cordova-ios
>Reporter: Shazron Abdullah
>  Labels: triaged
> Fix For: cordova-ios@4.4.1
>
>
> This should be a new tag, or modify an existing tag in plugin.xml
> WatchKit, Share extension plugins need this



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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



[jira] [Updated] (CB-12828) InAppBrowser - intercept POST events

2017-05-17 Thread Riccardo Gazzea (JIRA)

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

Riccardo Gazzea updated CB-12828:
-
Summary: InAppBrowser - intercept POST events  (was: Fetch web event)

> InAppBrowser - intercept POST events
> 
>
> Key: CB-12828
> URL: https://issues.apache.org/jira/browse/CB-12828
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: cordova-plugin-inappbrowser
>Affects Versions: cordova@7.0.0
>Reporter: Riccardo Gazzea
> Fix For: Master
>
>
> Hi, 
> I’m using InAppBrowser to display a web application, in which, clicking a 
> button, I am supposed to download and open a pdf.
> The button once clicked triggers a POST; I am not able to “download the file” 
> using the plugin though.
> The server response is of type:
> Content-Type application/pdf
> Content-Disposition attachment;filename="guide.pdf"
> Is there any smart way to be able to intercept the download of the file 
> instead of opening the resulting file in the main webview (which will replace 
> the entire web application)?
> Thank you!



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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



[jira] [Created] (CB-12828) Fetch web event

2017-05-17 Thread Riccardo Gazzea (JIRA)
Riccardo Gazzea created CB-12828:


 Summary: Fetch web event
 Key: CB-12828
 URL: https://issues.apache.org/jira/browse/CB-12828
 Project: Apache Cordova
  Issue Type: Improvement
  Components: cordova-plugin-inappbrowser
Affects Versions: cordova@7.0.0
Reporter: Riccardo Gazzea
 Fix For: Master


Hi, 
I’m using InAppBrowser to display a web application, in which, clicking a 
button, I am supposed to download and open a pdf.

The button once clicked triggers a POST; I am not able to “download the file” 
using the plugin though.

The server response is of type:
Content-Type application/pdf
Content-Disposition attachment;filename="guide.pdf"

Is there any smart way to be able to intercept the download of the file instead 
of opening the resulting file in the main webview (which will replace the 
entire web application)?

Thank you!



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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



[jira] [Commented] (CB-12822) Bug when create an virtual table with fts3 option in the Websql database on UiWebview

2017-05-17 Thread SAILLARD (JIRA)

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

SAILLARD commented on CB-12822:
---

Yes a have the same problem  with the iOS 10.3.2 on UiWebview  API Html WebSql

It's occur also  with Mobile Safari and Chrome browser on my iPad with the iOS 
10.3.2

On My second Ipad on iOS 10.3.1 everything run with a charme on these 3 tests.

To resolve in urgency this trouble I make an version of my WebApp by using an 
Sqlite Plugin.
And I waiting the next version of iOS to see if this trouble is resolve.



> Bug when  create an virtual table with fts3 option in the Websql database on 
> UiWebview
> --
>
> Key: CB-12822
> URL: https://issues.apache.org/jira/browse/CB-12822
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-ios, cordova-js
>Affects Versions: cordova-ios@4.3.1
> Environment: UIWebview Websql database
>Reporter: SAILLARD
>Priority: Blocker
>  Labels: performance
>
> Hello,
> I develop software with cordova, since 6 years, and actually use the 
> UiWebview with the Websql database because he WkWebview don't use this.
> When I execute an transaction for create a virtual table  with the option 
> fts3. The query return an error and the table is not create.
> When I dont' use the option fts3 for create an normal table, it's OK. I have 
> success operation.
>  This Problem doesn't exist on iOS 10.3.1 and before.
> Steps to Reproduce:
> CREATE VIRTUAL TABLE IF NOT EXISTS param USING fts3 ( soc_code VARCHAR(5), 
> prm_table VARCHAR(50), prm_coderec VARCHAR(50), prm_lbl VARCHAR(70), 
> prm_comment VARCHAR(200), prm_actif VARCHAR(1), prm_value VARCHAR(50), 
> prm_order INTEGER, INDEX_PAGINATION INTEGER ) ";
> Version:
> iOS 10.3.2  beta5
> Notes:
> I can use in my application Virtual table previously create before upgrade on 
> iOS 10.3.2 beta5. That mean that it's supported, only the creat doesn't run.
> Configuration:
> ipad air2  64go



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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



[jira] [Comment Edited] (CB-12820) Android: Unable to load external angular script on some devices

2017-05-17 Thread Tuyen Truong (JIRA)

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

Tuyen Truong edited comment on CB-12820 at 5/17/17 2:10 PM:


No Problem. The webview versions of both the devices are:
Moto Droid Z: 54.0.2840.68
LG V20: 54.0.2840.85

Under the network tab, the status of both external script index.css and 
index.js are cancelled.


was (Author: opptruong):
No Problem. The webview versions of both the devices are:
Moto Droid Z: 54.0.2840.68
LG V20: 54.0.2840.85

Under the network tab, the status of both external script index.css and 
index.js are canceled.

> Android: Unable to load external angular script on some devices
> ---
>
> Key: CB-12820
> URL: https://issues.apache.org/jira/browse/CB-12820
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-plugin-inappbrowser
>Affects Versions: 1.4.0
> Environment: Android
>Reporter: Tuyen Truong
>
> Code to reproduce
> var url = 
> "https://accounts.spotify.com/en/authorizeclient_id="+valid_spotify_client_id;
>  window.open(url, "_blank")
> Webview loads a blank screen.
> Further investigaion using Chrome debug console showed empty body in html.
> Affect devices: LG V20 and few others



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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



[jira] [Commented] (CB-12820) Android: Unable to load external angular script on some devices

2017-05-17 Thread Tuyen Truong (JIRA)

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

Tuyen Truong commented on CB-12820:
---

No Problem. The webview versions of both the devices are:
Moto Droid Z: 54.0.2840.68
LG V20: 54.0.2840.85

Under the network tab, the status of both external script index.css and 
index.js are canceled.

> Android: Unable to load external angular script on some devices
> ---
>
> Key: CB-12820
> URL: https://issues.apache.org/jira/browse/CB-12820
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-plugin-inappbrowser
>Affects Versions: 1.4.0
> Environment: Android
>Reporter: Tuyen Truong
>
> Code to reproduce
> var url = 
> "https://accounts.spotify.com/en/authorizeclient_id="+valid_spotify_client_id;
>  window.open(url, "_blank")
> Webview loads a blank screen.
> Further investigaion using Chrome debug console showed empty body in html.
> Affect devices: LG V20 and few others



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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



[jira] [Created] (CB-12827) readAsText and readAsDataURL error

2017-05-17 Thread Olabosipo Shoroye (JIRA)
Olabosipo Shoroye created CB-12827:
--

 Summary: readAsText and readAsDataURL error
 Key: CB-12827
 URL: https://issues.apache.org/jira/browse/CB-12827
 Project: Apache Cordova
  Issue Type: Bug
  Components: cordova-plugin-file, Ionic
Affects Versions: 6.4.0
 Environment: Android KitKat 4.4.2
Reporter: Olabosipo Shoroye


I'm using ngCordova cordova-plugin-file to try to read an image that I then 
want to convert to bytes. I actually want to read it as dataURL and I'm getting 
an error.

/* The image is located at 
file:///data/data/com.xxx.housekeeping/cache/tmp_Screenshot_2017-04-27-09-30-42-1816635709.png
 on an Android device */

`$cordovaFile.readAsText(cordova.file.cache, 
"tmp_Screenshot_2017-04-27-09-30-421403920141.png")
  .then(function (success) {
// success
console.log(success);
  }, function (error) {
// error
console.log(error);
  });`

I tried using both readAsText and readAsDataURL but I get

`Wrong type for parameter "uri" of resolveLocalFileSystemURI: Expected String, 
but got Undefined.`

as an error. This is on an Android device.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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



[jira] [Commented] (CB-12667) Cordova-plugin-device-orientation plugin can not find orientation sensor on Samsung devices

2017-05-17 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-12667:
-

Github user petrot commented on the issue:

https://github.com/apache/cordova-plugin-device-orientation/pull/34
  
One of my user has a Galaxy J5, but as I recognized yesterday, this phone 
does not have a sensor. So my problem has been solved.. :)


> Cordova-plugin-device-orientation plugin can not  find orientation sensor on 
> Samsung devices
> 
>
> Key: CB-12667
> URL: https://issues.apache.org/jira/browse/CB-12667
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-plugin-device-orientation
>Affects Versions: Master
> Environment: cordova- 6.5.1-dev
> cordova-plugin-device-orientation - 1.0.6
>Reporter: Nikita Matrosov
>Assignee: Nikita Matrosov
>
> Device model: Samsung SM-G361H



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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



[jira] [Commented] (CB-12667) Cordova-plugin-device-orientation plugin can not find orientation sensor on Samsung devices

2017-05-17 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-12667:
-

Github user matrosov-nikita commented on the issue:

https://github.com/apache/cordova-plugin-device-orientation/pull/34
  
@petrot, what do you mean 'compass problem`. Do you have any particular 
cases which don't work for you? I could test them with this fix.


> Cordova-plugin-device-orientation plugin can not  find orientation sensor on 
> Samsung devices
> 
>
> Key: CB-12667
> URL: https://issues.apache.org/jira/browse/CB-12667
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-plugin-device-orientation
>Affects Versions: Master
> Environment: cordova- 6.5.1-dev
> cordova-plugin-device-orientation - 1.0.6
>Reporter: Nikita Matrosov
>Assignee: Nikita Matrosov
>
> Device model: Samsung SM-G361H



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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



[jira] [Commented] (CB-3232) "cordova platform add blackberry" fails on 2.7.1-rc.1

2017-05-17 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-3232:


GitHub user matrosov-nikita opened a pull request:

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

Display deprecation message when installing a platform with version lower 
than api compatible



### Platforms affected
all

### What does this PR do?
Repro steps: 
cordova platform add windows@4.1.0

Actual behavior:
Get non-informative error message: 'Error: Your windows platform does not 
have Api.js'

Expected behavior:
'Using this version of Cordova with older version of cordova-windows is 
deprecated. Upgrade to cordova-windows@4.3.0 or newer.
Error: Your windows platform does not have Api.js'

### Checklist
- [ ] [Reported an issue](http://cordova.apache.org/contribute/issues.html) 
in the JIRA database
- [ ] 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/matrosov-nikita/cordova-lib 
display-api-compatible-deprecation-message

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

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


commit 444fc4d00edd8ff00712b4158521a2161c0f731c
Author: Nikita Matrosov 
Date:   2017-05-17T12:49:56Z

Display deprecation message when installing a platform with version lower 
than api compatible




> "cordova platform add blackberry" fails on 2.7.1-rc.1
> -
>
> Key: CB-3232
> URL: https://issues.apache.org/jira/browse/CB-3232
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-blackberry (DEPRECATED), cordova-cli
>Affects Versions: 2.7.0
>Reporter: Michael Brooks
>Assignee: Michael Brooks
> Fix For: 2.7.0
>
>
> The following error is thrown when running {{$ cordova platform add 
> blackberry}}:
> {code}
> [Error: An error occured during creation of blackberry sub-project. Creating 
> BlackBerry project...
> Updating config.xml ...
> sed: 
> /Users/mwbrooks/Dropbox/Development/sandbox/myapp/platforms/blackberry/www/config.xml:
>  No such file or directory
> Cleaning up ...
> Remember to update the project.properties file inside your application 
> directory!
> ]
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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



[jira] [Created] (CB-12826) Unable to scroll when opening PDF on iOS inappbrowser

2017-05-17 Thread JIRA
Mèir Noordermeer created CB-12826:
-

 Summary: Unable to scroll when opening PDF on iOS inappbrowser
 Key: CB-12826
 URL: https://issues.apache.org/jira/browse/CB-12826
 Project: Apache Cordova
  Issue Type: Bug
  Components: cordova-plugin-inappbrowser
 Environment: iOS
Reporter: Mèir Noordermeer
Priority: Trivial


When an inappbrowser window is opened on iOS and the user clicks on a link to a 
PDF the user is unable to scroll down on the page. This bug does not occur when 
the user first scrolls the page before opening the link to the PDF.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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



[jira] [Commented] (CB-12815) WKWebView plugin will not execute Javascript while app is backgrounded

2017-05-17 Thread Rich Storm (JIRA)

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

Rich Storm commented on CB-12815:
-

Possible solution. Instead of setTimeout, use a Promise that resolves 
immediately. 

Promise.resolve(cordova.callbackFromNative(callbackId, success, status, args, 
keepCallback));

> WKWebView plugin will not execute Javascript while app is backgrounded
> --
>
> Key: CB-12815
> URL: https://issues.apache.org/jira/browse/CB-12815
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-plugin-wkwebview-engine
> Environment: iOS
>Reporter: Rich Storm
>Assignee: Shazron Abdullah
>  Labels: Background, Javascript, WKWebView
>
> iOS 10 now has power saving requirements and will not allow background tasks 
> to function to save battery. For example, a VoIP app can no longer use a 
> polling strategy to stay awake. The new recommended way, according to Apple 
> (https://developer.apple.com/library/content/documentation/Performance/Conceptual/EnergyGuide-iOS/OptimizeVoIP.html),
>  is to use VoIP silent push notifications to wake up the app and do the work. 
> I have verified that all VoIP silent push notifications arrive correctly when 
> using the UIWebView with a vanilla Cordova install. However, when adding the 
> cordova-plugin-wkwebview-engine, the Javascript callbacks do not fire 
> correctly when receiving the VoIP silent push notification while the app is 
> in the background. What happens is the first notification is queued, then the 
> next notification forces the first notification result to the callback. 
> Effectively, making each push notification 1 behind. When the app is put back 
> into the foreground, the last push notification callback is fired.
> When the app is in the foreground, all works fine.
> The issue is with the call to "setTimeout" in the iOSExec.nativeCallback 
> function. It makes sense that if Apple is trying to minimize background 
> execution to save battery, then they would limit the use of the setTimeout 
> feature. 
> This issue is fixed by changing the iOSExec.nativeCallback function to call 
> the cordova.callbackFromNative function directly without a setTimeout 
> wrapper. I understand that removing setTimeout is not an elegant solution and 
> may cause deadlocks. Maybe a new argument isBackground or something to that 
> effect.
> src/www/ios/ios-wkwebview-exec.js
> {code:javascript}
> iOSExec.nativeCallback = function(callbackId, status, message, 
> keepCallback, debug) {
> var success = status === 0 || status === 1;
> var args = convertMessageToArgsNativeToJs(message);
> 
>  // setTimeout(function(){
>   cordova.callbackFromNative(callbackId, success, status, args, 
> keepCallback);
>  // }, 0);
> };
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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



[jira] [Commented] (CB-3232) "cordova platform add blackberry" fails on 2.7.1-rc.1

2017-05-17 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-3232:


Github user asfgit closed the pull request at:

https://github.com/apache/cordova-coho/pull/149


> "cordova platform add blackberry" fails on 2.7.1-rc.1
> -
>
> Key: CB-3232
> URL: https://issues.apache.org/jira/browse/CB-3232
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-blackberry (DEPRECATED), cordova-cli
>Affects Versions: 2.7.0
>Reporter: Michael Brooks
>Assignee: Michael Brooks
> Fix For: 2.7.0
>
>
> The following error is thrown when running {{$ cordova platform add 
> blackberry}}:
> {code}
> [Error: An error occured during creation of blackberry sub-project. Creating 
> BlackBerry project...
> Updating config.xml ...
> sed: 
> /Users/mwbrooks/Dropbox/Development/sandbox/myapp/platforms/blackberry/www/config.xml:
>  No such file or directory
> Cleaning up ...
> Remember to update the project.properties file inside your application 
> directory!
> ]
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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



[jira] [Commented] (CB-12673) ios platform does not build on Xcode 8.3.2

2017-05-17 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-12673:
-

Github user qcgm1978 commented on the issue:

https://github.com/apache/cordova-ios/pull/307
  
@shazron I create a new project and open it in Xcode, when I modified js 
file in www folder, it not update after click run button to execute it in 
emulator.


> ios platform does not build on Xcode 8.3.2
> --
>
> Key: CB-12673
> URL: https://issues.apache.org/jira/browse/CB-12673
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-ios
> Environment: iOS
>Reporter: Shazron Abdullah
>Assignee: Shazron Abdullah
>Priority: Blocker
> Fix For: cordova-ios@4.4.0
>
>
> Build error {{Cordova/CDVViewController.h file not found}}
> Turns out the {{CordovaLib.xcodeproj}} reference in the template's project is 
> not found. 
> Fix in the .pbxproj:
> Change 
> {code}
> { isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; path = 
> "CordovaLib.xcodeproj"; sourceTree = CORDOVALIB; };
> {code} 
> to 
> {code}
> { isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; path = 
> CordovaLib/CordovaLib.xcodeproj; sourceTree = ""; };
> {code}
> Note that I have {color:red}not{color} tested this change with an older Xcode 
> 8 (< 8.3.2), so that might complicate things.
> iOS platforms in the wild older than cordova-ios@4.4.0 will need a hook to 
> transform the pbxproj if the developer upgraded to Xcode 8.3.2



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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



[jira] [Created] (CB-12825) Android app crashes on startup

2017-05-17 Thread Matthias De Vriendt (JIRA)
Matthias De Vriendt created CB-12825:


 Summary: Android app crashes on startup 
 Key: CB-12825
 URL: https://issues.apache.org/jira/browse/CB-12825
 Project: Apache Cordova
  Issue Type: Bug
  Components: cordova-android
 Environment: MacOS Sierra 10.12.4 for building 
Android 7.1.1 (API 25) 
Reporter: Matthias De Vriendt
Priority: Critical
 Fix For: cordova@7.0.0


When i use the cordova CLI to build an application for android, and then run 
the application on an android device using either the simulator or an actual 
device, the app crashes on startup. 

The logs are as follows (note the GL_ERROR near the bottom): 

05-17 11:34:54.246  2157  6299 E AudioRecord-JNI: Error creating AudioRecord 
instance: initialization check failed with status -22.
05-17 11:34:54.246  2157  6299 E android.media.AudioRecord: Error code -20 when 
initializing native AudioRecord object.
05-17 11:34:54.246  2157  6299 I MicrophoneInputStream: mic_started 
com.google.android.apps.gsa.staticplugins.z.c@3fce888
05-17 11:34:54.248  2157  6299 E ActivityThread: Failed to find provider info 
for com.google.android.apps.gsa.testing.ui.audio.recorded
05-17 11:34:54.249  2157  7963 W SpeechLevelGenerator: Really low audio levels 
detected. The audio input may have issues.
05-17 11:34:54.258  7893  7893 W art : Attempt to remove non-JNI local 
reference, dumping thread
05-17 11:34:54.262  2157  2157 I MicroDetectionWorker: onReady
05-17 11:34:54.263  2157  6299 I MicrophoneInputStream: mic_close 
com.google.android.apps.gsa.staticplugins.z.c@3fce888
05-17 11:34:54.265  2157  7963 I MicroRecognitionRunner: Detection finished
05-17 11:34:54.265  2157  7963 W ErrorReporter: reportError [type: 211, code: 
524300]: Error reading from input stream
05-17 11:34:54.267  2157  7963 W ErrorProcessor: onFatalError, processing error 
from engine(4)
05-17 11:34:54.267  2157  7963 W ErrorProcessor: 
com.google.android.apps.gsa.shared.speech.a.g: Error reading from input stream
05-17 11:34:54.267  2157  7963 W ErrorProcessor:at 
com.google.android.apps.gsa.staticplugins.recognizer.i.a.a(SourceFile:342)
05-17 11:34:54.267  2157  7963 W ErrorProcessor:at 
com.google.android.apps.gsa.staticplugins.recognizer.i.a$1.run(SourceFile:1367)
05-17 11:34:54.267  2157  7963 W ErrorProcessor:at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:428)
05-17 11:34:54.267  2157  7963 W ErrorProcessor:at 
java.util.concurrent.FutureTask.run(FutureTask.java:237)
05-17 11:34:54.267  2157  7963 W ErrorProcessor:at 
com.google.android.apps.gsa.shared.util.concurrent.a.ak.run(SourceFile:66)
05-17 11:34:54.267  2157  7963 W ErrorProcessor:at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
05-17 11:34:54.267  2157  7963 W ErrorProcessor:at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
05-17 11:34:54.267  2157  7963 W ErrorProcessor:at 
java.lang.Thread.run(Thread.java:761)
05-17 11:34:54.267  2157  7963 W ErrorProcessor:at 
com.google.android.apps.gsa.shared.util.concurrent.a.ad$1.run(SourceFile:85)
05-17 11:34:54.267  2157  7963 W ErrorProcessor: Caused by: 
com.google.android.apps.gsa.shared.exception.GsaIOException: Error code: 393238 
| Buffer overflow, no available space.
05-17 11:34:54.267  2157  7963 W ErrorProcessor:at 
com.google.android.apps.gsa.speech.audio.Tee.g(SourceFile:2531)
05-17 11:34:54.267  2157  7963 W ErrorProcessor:at 
com.google.android.apps.gsa.speech.audio.ap.read(SourceFile:555)
05-17 11:34:54.267  2157  7963 W ErrorProcessor:at 
java.io.InputStream.read(InputStream.java:101)
05-17 11:34:54.267  2157  7963 W ErrorProcessor:at 
com.google.android.apps.gsa.speech.audio.al.run(SourceFile:362)
05-17 11:34:54.267  2157  7963 W ErrorProcessor:at 
com.google.android.apps.gsa.speech.audio.ak$1.run(SourceFile:471)
05-17 11:34:54.267  2157  7963 W ErrorProcessor:at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:428)
05-17 11:34:54.267  2157  7963 W ErrorProcessor:at 
java.util.concurrent.FutureTask.run(FutureTask.java:237)
05-17 11:34:54.267  2157  7963 W ErrorProcessor:at 
com.google.android.apps.gsa.shared.util.concurrent.a.ak.run(SourceFile:66)
05-17 11:34:54.267  2157  7963 W ErrorProcessor:at 
com.google.android.apps.gsa.shared.util.concurrent.a.ax.run(SourceFile:139)
05-17 11:34:54.267  2157  7963 W ErrorProcessor:at 
com.google.android.apps.gsa.shared.util.concurrent.a.ax.run(SourceFile:139)
05-17 11:34:54.267  2157  7963 W ErrorProcessor:... 4 more
05-17 11:34:54.267  2157  7963 I AudioController: internalShutdown
05-17 11:34:54.267  2157  2535 I MicroRecognitionRunner: Stopping hotword 
detection.
05-17 11:34:54.275  2157  2157 I 

[jira] [Commented] (CB-12820) Android: Unable to load external angular script on some devices

2017-05-17 Thread Kerri Shotts (JIRA)

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

Kerri Shotts commented on CB-12820:
---

Apologies; when I asked for webview version, I was looking for the installed 
version of the Chrome-provided webview. You should be able to see this under 
Settings > Device / Apps > Android System Webview. For example, my installed 
version is 58.0.3029.83.

If you look under the Network tab on the inspector, do the various resources 
linked to in the above HTML actually load, or do they generate errors? (like 
404, etc.)

> Android: Unable to load external angular script on some devices
> ---
>
> Key: CB-12820
> URL: https://issues.apache.org/jira/browse/CB-12820
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-plugin-inappbrowser
>Affects Versions: 1.4.0
> Environment: Android
>Reporter: Tuyen Truong
>
> Code to reproduce
> var url = 
> "https://accounts.spotify.com/en/authorizeclient_id="+valid_spotify_client_id;
>  window.open(url, "_blank")
> Webview loads a blank screen.
> Further investigaion using Chrome debug console showed empty body in html.
> Affect devices: LG V20 and few others



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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



[jira] [Closed] (CB-12823) Select box with search based on input text

2017-05-17 Thread Kerri Shotts (JIRA)

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

Kerri Shotts closed CB-12823.
-
Resolution: Not A Bug

Thanks for filing an issue, but this isn't the appropriate place for questions 
like this.

Please post a question on any of the following sites:

* http://slack.cordova.io/
* https://forums.adobe.com/community/phonegap
* http://stackoverflow.com/tags/cordova
* https://groups.google.com/forum/#!forum/phonegap

> Select box with search based on input text
> --
>
> Key: CB-12823
> URL: https://issues.apache.org/jira/browse/CB-12823
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: cordova-android, cordova-ios, cordova-windows
>Reporter: Sumit
>
> In cases where select box has too many entries, user has to scroll through 
> the entire list to select an item which is possibly towards the end of the 
> list. Is there any plugin on Cordova for Android/iOS/windows that creates a 
> search text box within the select popup where the user can type in a string 
> and the select box options can be reduced to show only the ones matching the 
> search string?
> Tried jquery UI select2 but doesn't seem to work on Android Cordova project.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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



[jira] [Commented] (CB-12824) cordova-plugin-media - Pausing and playing streaming audio plays incorrect audio.

2017-05-17 Thread Kerri Shotts (JIRA)

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

Kerri Shotts commented on CB-12824:
---

Please provide a link to a repo containing an app that demonstrates this 
behavior so that we can be sure that we are duplicating your particular issue.

> cordova-plugin-media - Pausing and playing streaming audio plays incorrect 
> audio.
> -
>
> Key: CB-12824
> URL: https://issues.apache.org/jira/browse/CB-12824
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-ios
>Affects Versions: 6.3.1
>Reporter: Justin de Leon
>Priority: Blocker
>  Labels: cordova-plugin-media
>
> Let's say I have two instances of Medias - a & b.
> (Media object instances are created on press of play)
> I pressed play on track a. Track a plays. I press pause on track a.
> I pressed play on track b. Track b plays. I press pause on track b.
> When I press play on track a again, track b resumes. I checked the media 
> object of track A, and its duration and position is the one from track b.
> I did not have this issue when using the cordova-media-plugin version 1.0.1. 
> I suppose that the bug appeared after adding support for background 
> threading. Note that this only happens for streamed audio.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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



[jira] [Commented] (CB-12783) SDK can't used. miss package.json. block users. please Expedited

2017-05-17 Thread jcesarmobile (JIRA)

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

jcesarmobile commented on CB-12783:
---

Yes, the plugin can support iOS and Android.


> SDK can't used. miss package.json. block users. please Expedited
> 
>
> Key: CB-12783
> URL: https://issues.apache.org/jira/browse/CB-12783
> Project: Apache Cordova
>  Issue Type: New Feature
>  Components: cordova-android
>Affects Versions: 7.0.2
> Environment: mac 10.xx
>Reporter: sanbo
>Priority: Blocker
>   Original Estimate: 3h 32m
>  Remaining Estimate: 3h 32m
>
>  hi:
> I'm a sdk developer.  my sdk contains plugin.xml/src/www not contain  
> package.json. after new version (7.0), can't work. error log:
> Error: Invalid Plugin! ../sdk/ needs a valid package.json



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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