[jira] [Updated] (CB-12871) Open SSL on android version 4.x
[ https://issues.apache.org/jira/browse/CB-12871?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Thuong Tran Van updated CB-12871: - Description: Android version 4.x could not make a connection request. The error is below: javax.net.ssl.SSLHandshakeException: javax.net.ssl.SSLProtocolException: SSL handshake aborted: ssl=0x7eb40640: Failure in SSL error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure (external/openssl/ssl/s23_clnt.c It is working well from version 5.x was: Android version 4.x could not make a connection request. The error is below: javax.net.ssl.SSLHandshakeException: javax.net.ssl.SSLProtocolException: SSL handshake aborted: ssl=0x7eb40640: Failure in SSL It is working well from version 5.x > Open SSL on android version 4.x > --- > > Key: CB-12871 > URL: https://issues.apache.org/jira/browse/CB-12871 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-android >Affects Versions: 5.4.1 >Reporter: Thuong Tran Van >Priority: Critical > > Android version 4.x could not make a connection request. The error is below: > javax.net.ssl.SSLHandshakeException: javax.net.ssl.SSLProtocolException: SSL > handshake aborted: ssl=0x7eb40640: Failure in SSL > error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake > failure (external/openssl/ssl/s23_clnt.c > It is working well from version 5.x -- 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-12871) Open SSL on android version 4.x
Thuong Tran Van created CB-12871: Summary: Open SSL on android version 4.x Key: CB-12871 URL: https://issues.apache.org/jira/browse/CB-12871 Project: Apache Cordova Issue Type: Bug Components: cordova-android Affects Versions: 5.4.1 Reporter: Thuong Tran Van Priority: Critical Android version 4.x could not make a connection request. The error is below: javax.net.ssl.SSLHandshakeException: javax.net.ssl.SSLProtocolException: SSL handshake aborted: ssl=0x7eb40640: Failure in SSL It is working well from version 5.x -- 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-12857) Discovered plugin "Device" in config.xml. Adding it to the project Failed to restore plugin "Device" from config.xml. You might need to try adding it again. Error: Error:
[ https://issues.apache.org/jira/browse/CB-12857?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16030603#comment-16030603 ] navitha commented on CB-12857: -- is add when i install plugin.. > Discovered plugin "Device" in config.xml. Adding it to the project Failed to > restore plugin "Device" from config.xml. You might need to try adding it > again. Error: Error: Registry returned 404 for GET on > https://registry.npmjs.org/Device > - > > Key: CB-12857 > URL: https://issues.apache.org/jira/browse/CB-12857 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-cli >Reporter: navitha > > Discovered plugin "Device" in config.xml. Adding it to the project > Failed to restore plugin "Device" from config.xml. You might need to try > adding it again. Error: Error: Registry returned 404 for GET on > https://registry.npmjs.org/Device > I got this error during run my project.. anyone help me... -- 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-12804) Cordova-browser PWA needs a manifest file
[ https://issues.apache.org/jira/browse/CB-12804?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16030550#comment-16030550 ] ASF GitHub Bot commented on CB-12804: - Github user macdonst commented on a diff in the pull request: https://github.com/apache/cordova-browser/pull/30#discussion_r119261228 --- Diff: bin/template/cordova/Api.js --- @@ -96,6 +96,42 @@ Api.createPlatform = function (dest, config, options, events) { events.emit('error','createPlatform is not callable from the browser project API.'); throw(e); } + +// Create manifest.json +var manifestJson; +var manifestJsonPath = path.join(dest,'manifest.json'); + +// Check if path exists and require manifestJsonPath. +if(fs.existsSync(manifestJsonPath)) { +try { +manifestJson = require(manifestJsonPath); +} +catch (e) { +console.log("error : " + e); +events.emit('error', 'unable to require manifest.json path.'); +} +} else if (manifestJson === undefined) { +manifestJson = {}; +if(config){ +if(config.name()) { +manifestJson.name = config.name(); +} +if(config.shortName()) { +manifestJson.short_name = config.shortName(); +} +if(config.packageName()) { +manifestJson.version = config.packageName(); +} +if(config.description()) { +manifestJson.description = config.description(); +} +if(config.author()) { +manifestJson.author = config.author(); +} +} --- End diff -- Also, it may make sense to pull `manifest.theme_color` from `` > Cordova-browser PWA needs a manifest file > - > > Key: CB-12804 > URL: https://issues.apache.org/jira/browse/CB-12804 > Project: Apache Cordova > Issue Type: Improvement > Components: cordova-browser >Reporter: Audrey So >Assignee: Audrey So > Fix For: cordova7 > > > Cordova-browser PWA needs a manifest file. > This manifest.json file should get created during cordova platform add > browser and use values from config.xml to build. -- 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-12804) Cordova-browser PWA needs a manifest file
[ https://issues.apache.org/jira/browse/CB-12804?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16030547#comment-16030547 ] ASF GitHub Bot commented on CB-12804: - Github user macdonst commented on a diff in the pull request: https://github.com/apache/cordova-browser/pull/30#discussion_r119261009 --- Diff: bin/template/cordova/Api.js --- @@ -96,6 +96,42 @@ Api.createPlatform = function (dest, config, options, events) { events.emit('error','createPlatform is not callable from the browser project API.'); throw(e); } + +// Create manifest.json +var manifestJson; +var manifestJsonPath = path.join(dest,'manifest.json'); + +// Check if path exists and require manifestJsonPath. +if(fs.existsSync(manifestJsonPath)) { +try { +manifestJson = require(manifestJsonPath); +} +catch (e) { +console.log("error : " + e); +events.emit('error', 'unable to require manifest.json path.'); +} +} else if (manifestJson === undefined) { +manifestJson = {}; +if(config){ +if(config.name()) { +manifestJson.name = config.name(); +} +if(config.shortName()) { +manifestJson.short_name = config.shortName(); +} +if(config.packageName()) { +manifestJson.version = config.packageName(); +} +if(config.description()) { +manifestJson.description = config.description(); +} +if(config.author()) { +manifestJson.author = config.author(); +} +} --- End diff -- For some reason, my review lost comments. I mentioned that we should add `manifest.start_url` which can be pulled from the `` tag in config.xml > Cordova-browser PWA needs a manifest file > - > > Key: CB-12804 > URL: https://issues.apache.org/jira/browse/CB-12804 > Project: Apache Cordova > Issue Type: Improvement > Components: cordova-browser >Reporter: Audrey So >Assignee: Audrey So > Fix For: cordova7 > > > Cordova-browser PWA needs a manifest file. > This manifest.json file should get created during cordova platform add > browser and use values from config.xml to build. -- 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] [Resolved] (CB-12675) Travis xcode8.3 os_x image fails an e2e test
[ https://issues.apache.org/jira/browse/CB-12675?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shazron Abdullah resolved CB-12675. --- Resolution: Fixed > Travis xcode8.3 os_x image fails an e2e test > > > Key: CB-12675 > URL: https://issues.apache.org/jira/browse/CB-12675 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-ios > Environment: iOS >Reporter: Shazron Abdullah >Assignee: Shazron Abdullah > Fix For: cordova-ios@4.4.1 > > > Update {{.travis.yml}} with {{osx_image: xcode8.3}} and you will see this > jasmine failure: > {code} > Failures: > 1) end-to-end list validation Test#008 : handles list parameter > Message: > Expected 'Available iOS Devices: > TypeError: Cannot read property 'replace' of undefined > at remove > (/Users/travis/build/apache/cordova-ios/node_modules/ios-sim/src/lib.js:282:70) > at Array.forEach (native) > at Object.getdevicetypes > (/Users/travis/build/apache/cordova-ios/node_modules/ios-sim/src/lib.js:292:22) > at Object.listEmulatorImages [as run] > (/Users/travis/build/apache/cordova-ios/bin/templates/scripts/cordova/lib/list-emulator-images:34:29) > at listEmulators > (/Users/travis/build/apache/cordova-ios/bin/templates/scripts/cordova/lib/run.js:208:46) > at > /Users/travis/build/apache/cordova-ios/bin/templates/scripts/cordova/lib/run.js:47:20 > at _fulfilled > (/Users/travis/build/apache/cordova-ios/node_modules/q/q.js:834:54) > at self.promiseDispatch.done > (/Users/travis/build/apache/cordova-ios/node_modules/q/q.js:863:30) > at Promise.promise.promiseDispatch > (/Users/travis/build/apache/cordova-ios/node_modules/q/q.js:796:13) > at /Users/travis/build/apache/cordova-ios/node_modules/q/q.js:604:44 > ' to match /Available iOS Simulators/. > Stack: > Error: Expected 'Available iOS Devices: > TypeError: Cannot read property 'replace' of undefined > at remove > (/Users/travis/build/apache/cordova-ios/node_modules/ios-sim/src/lib.js:282:70) > at Array.forEach (native) > at Object.getdevicetypes > (/Users/travis/build/apache/cordova-ios/node_modules/ios-sim/src/lib.js:292:22) > at Object.listEmulatorImages [as run] > (/Users/travis/build/apache/cordova-ios/bin/templates/scripts/cordova/lib/list-emulator-images:34:29) > at listEmulators > (/Users/travis/build/apache/cordova-ios/bin/templates/scripts/cordova/lib/run.js:208:46) > at > /Users/travis/build/apache/cordova-ios/bin/templates/scripts/cordova/lib/run.js:47:20 > at _fulfilled > (/Users/travis/build/apache/cordova-ios/node_modules/q/q.js:834:54) > at self.promiseDispatch.done > (/Users/travis/build/apache/cordova-ios/node_modules/q/q.js:863:30) > at Promise.promise.promiseDispatch > (/Users/travis/build/apache/cordova-ios/node_modules/q/q.js:796:13) > at /Users/travis/build/apache/cordova-ios/node_modules/q/q.js:604:44 > ' to match /Available iOS Simulators/. > at Object. > (/Users/travis/build/apache/cordova-ios/tests/spec/create.spec.js:124:24) > Ran 1 of 9 specs > 1 spec, 1 failure > {code} > The same code passes on Xcode 8.3.2 when testing locally. > https://github.com/travis-ci/travis-ci/issues?q=Xcode+8.3 -- 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-12675) Travis xcode8.3 os_x image fails an e2e test
[ https://issues.apache.org/jira/browse/CB-12675?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16030408#comment-16030408 ] ASF subversion and git services commented on CB-12675: -- Commit 77b14bda7a93f44e5c94d43ac5401de595016cba in cordova-ios's branch refs/heads/master from [~shazron] [ https://git-wip-us.apache.org/repos/asf?p=cordova-ios.git;h=77b14bd ] CB-12675 - Travis xcode 8.3. os-x image fails an e2e test This closes #315 > Travis xcode8.3 os_x image fails an e2e test > > > Key: CB-12675 > URL: https://issues.apache.org/jira/browse/CB-12675 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-ios > Environment: iOS >Reporter: Shazron Abdullah >Assignee: Shazron Abdullah > Fix For: cordova-ios@4.4.1 > > > Update {{.travis.yml}} with {{osx_image: xcode8.3}} and you will see this > jasmine failure: > {code} > Failures: > 1) end-to-end list validation Test#008 : handles list parameter > Message: > Expected 'Available iOS Devices: > TypeError: Cannot read property 'replace' of undefined > at remove > (/Users/travis/build/apache/cordova-ios/node_modules/ios-sim/src/lib.js:282:70) > at Array.forEach (native) > at Object.getdevicetypes > (/Users/travis/build/apache/cordova-ios/node_modules/ios-sim/src/lib.js:292:22) > at Object.listEmulatorImages [as run] > (/Users/travis/build/apache/cordova-ios/bin/templates/scripts/cordova/lib/list-emulator-images:34:29) > at listEmulators > (/Users/travis/build/apache/cordova-ios/bin/templates/scripts/cordova/lib/run.js:208:46) > at > /Users/travis/build/apache/cordova-ios/bin/templates/scripts/cordova/lib/run.js:47:20 > at _fulfilled > (/Users/travis/build/apache/cordova-ios/node_modules/q/q.js:834:54) > at self.promiseDispatch.done > (/Users/travis/build/apache/cordova-ios/node_modules/q/q.js:863:30) > at Promise.promise.promiseDispatch > (/Users/travis/build/apache/cordova-ios/node_modules/q/q.js:796:13) > at /Users/travis/build/apache/cordova-ios/node_modules/q/q.js:604:44 > ' to match /Available iOS Simulators/. > Stack: > Error: Expected 'Available iOS Devices: > TypeError: Cannot read property 'replace' of undefined > at remove > (/Users/travis/build/apache/cordova-ios/node_modules/ios-sim/src/lib.js:282:70) > at Array.forEach (native) > at Object.getdevicetypes > (/Users/travis/build/apache/cordova-ios/node_modules/ios-sim/src/lib.js:292:22) > at Object.listEmulatorImages [as run] > (/Users/travis/build/apache/cordova-ios/bin/templates/scripts/cordova/lib/list-emulator-images:34:29) > at listEmulators > (/Users/travis/build/apache/cordova-ios/bin/templates/scripts/cordova/lib/run.js:208:46) > at > /Users/travis/build/apache/cordova-ios/bin/templates/scripts/cordova/lib/run.js:47:20 > at _fulfilled > (/Users/travis/build/apache/cordova-ios/node_modules/q/q.js:834:54) > at self.promiseDispatch.done > (/Users/travis/build/apache/cordova-ios/node_modules/q/q.js:863:30) > at Promise.promise.promiseDispatch > (/Users/travis/build/apache/cordova-ios/node_modules/q/q.js:796:13) > at /Users/travis/build/apache/cordova-ios/node_modules/q/q.js:604:44 > ' to match /Available iOS Simulators/. > at Object. > (/Users/travis/build/apache/cordova-ios/tests/spec/create.spec.js:124:24) > Ran 1 of 9 specs > 1 spec, 1 failure > {code} > The same code passes on Xcode 8.3.2 when testing locally. > https://github.com/travis-ci/travis-ci/issues?q=Xcode+8.3 -- 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-12675) Travis xcode8.3 os_x image fails an e2e test
[ https://issues.apache.org/jira/browse/CB-12675?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16030409#comment-16030409 ] ASF GitHub Bot commented on CB-12675: - Github user asfgit closed the pull request at: https://github.com/apache/cordova-ios/pull/315 > Travis xcode8.3 os_x image fails an e2e test > > > Key: CB-12675 > URL: https://issues.apache.org/jira/browse/CB-12675 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-ios > Environment: iOS >Reporter: Shazron Abdullah >Assignee: Shazron Abdullah > Fix For: cordova-ios@4.4.1 > > > Update {{.travis.yml}} with {{osx_image: xcode8.3}} and you will see this > jasmine failure: > {code} > Failures: > 1) end-to-end list validation Test#008 : handles list parameter > Message: > Expected 'Available iOS Devices: > TypeError: Cannot read property 'replace' of undefined > at remove > (/Users/travis/build/apache/cordova-ios/node_modules/ios-sim/src/lib.js:282:70) > at Array.forEach (native) > at Object.getdevicetypes > (/Users/travis/build/apache/cordova-ios/node_modules/ios-sim/src/lib.js:292:22) > at Object.listEmulatorImages [as run] > (/Users/travis/build/apache/cordova-ios/bin/templates/scripts/cordova/lib/list-emulator-images:34:29) > at listEmulators > (/Users/travis/build/apache/cordova-ios/bin/templates/scripts/cordova/lib/run.js:208:46) > at > /Users/travis/build/apache/cordova-ios/bin/templates/scripts/cordova/lib/run.js:47:20 > at _fulfilled > (/Users/travis/build/apache/cordova-ios/node_modules/q/q.js:834:54) > at self.promiseDispatch.done > (/Users/travis/build/apache/cordova-ios/node_modules/q/q.js:863:30) > at Promise.promise.promiseDispatch > (/Users/travis/build/apache/cordova-ios/node_modules/q/q.js:796:13) > at /Users/travis/build/apache/cordova-ios/node_modules/q/q.js:604:44 > ' to match /Available iOS Simulators/. > Stack: > Error: Expected 'Available iOS Devices: > TypeError: Cannot read property 'replace' of undefined > at remove > (/Users/travis/build/apache/cordova-ios/node_modules/ios-sim/src/lib.js:282:70) > at Array.forEach (native) > at Object.getdevicetypes > (/Users/travis/build/apache/cordova-ios/node_modules/ios-sim/src/lib.js:292:22) > at Object.listEmulatorImages [as run] > (/Users/travis/build/apache/cordova-ios/bin/templates/scripts/cordova/lib/list-emulator-images:34:29) > at listEmulators > (/Users/travis/build/apache/cordova-ios/bin/templates/scripts/cordova/lib/run.js:208:46) > at > /Users/travis/build/apache/cordova-ios/bin/templates/scripts/cordova/lib/run.js:47:20 > at _fulfilled > (/Users/travis/build/apache/cordova-ios/node_modules/q/q.js:834:54) > at self.promiseDispatch.done > (/Users/travis/build/apache/cordova-ios/node_modules/q/q.js:863:30) > at Promise.promise.promiseDispatch > (/Users/travis/build/apache/cordova-ios/node_modules/q/q.js:796:13) > at /Users/travis/build/apache/cordova-ios/node_modules/q/q.js:604:44 > ' to match /Available iOS Simulators/. > at Object. > (/Users/travis/build/apache/cordova-ios/tests/spec/create.spec.js:124:24) > Ran 1 of 9 specs > 1 spec, 1 failure > {code} > The same code passes on Xcode 8.3.2 when testing locally. > https://github.com/travis-ci/travis-ci/issues?q=Xcode+8.3 -- 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-12870) it is possible for module_not_found to happen, AND platforms[%NAME%] to not be valid & not all cases are caught properly in Api.js
[ https://issues.apache.org/jira/browse/CB-12870?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Audrey So updated CB-12870: --- Description: cordova platform add ~/cordova/cordova-ios/ --> "Using this version of Cordova with older version of cordova-ios is deprecated. Upgrade to cordova-ios@4.0.0 or newer." Also, remove browser from the "no Api.js" list. was: cordova platform add ~/cordova/cordova-ios/ --> "Using this version of Cordova with older version of cordova-ios is deprecated. Upgrade to cordova-ios@4.0.0 or newer." > it is possible for module_not_found to happen, AND platforms[%NAME%] to not > be valid & not all cases are caught properly in Api.js > > > Key: CB-12870 > URL: https://issues.apache.org/jira/browse/CB-12870 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-lib >Affects Versions: cordova@7.0.0 >Reporter: Audrey So > Fix For: cordova@7 > > > cordova platform add ~/cordova/cordova-ios/ --> > "Using this version of Cordova with older version of cordova-ios is > deprecated. Upgrade to cordova-ios@4.0.0 or newer." > Also, remove browser from the "no Api.js" list. -- 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-12675) Travis xcode8.3 os_x image fails an e2e test
[ https://issues.apache.org/jira/browse/CB-12675?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16030340#comment-16030340 ] ASF GitHub Bot commented on CB-12675: - GitHub user shazron opened a pull request: https://github.com/apache/cordova-ios/pull/315 CB-12675 - Travis xcode 8.3. os-x image fails an e2e test ### Platforms affected self ### What does this PR do? Updates the os-x image on Travis to Xcode 8.3 ### What testing has been done on this change? this PR is the test. ### 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. You can merge this pull request into a Git repository by running: $ git pull https://github.com/shazron/cordova-ios CB-12675 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/cordova-ios/pull/315.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 #315 commit 537397343bf72f4c00019379b122cc9e6c5eebcb Author: Shazron Abdullah Date: 2017-05-30T23:15:11Z CB-12675 - Travis xcode 8.3. os-x image fails an e2e test > Travis xcode8.3 os_x image fails an e2e test > > > Key: CB-12675 > URL: https://issues.apache.org/jira/browse/CB-12675 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-ios > Environment: iOS >Reporter: Shazron Abdullah >Assignee: Shazron Abdullah > Fix For: cordova-ios@4.4.1 > > > Update {{.travis.yml}} with {{osx_image: xcode8.3}} and you will see this > jasmine failure: > {code} > Failures: > 1) end-to-end list validation Test#008 : handles list parameter > Message: > Expected 'Available iOS Devices: > TypeError: Cannot read property 'replace' of undefined > at remove > (/Users/travis/build/apache/cordova-ios/node_modules/ios-sim/src/lib.js:282:70) > at Array.forEach (native) > at Object.getdevicetypes > (/Users/travis/build/apache/cordova-ios/node_modules/ios-sim/src/lib.js:292:22) > at Object.listEmulatorImages [as run] > (/Users/travis/build/apache/cordova-ios/bin/templates/scripts/cordova/lib/list-emulator-images:34:29) > at listEmulators > (/Users/travis/build/apache/cordova-ios/bin/templates/scripts/cordova/lib/run.js:208:46) > at > /Users/travis/build/apache/cordova-ios/bin/templates/scripts/cordova/lib/run.js:47:20 > at _fulfilled > (/Users/travis/build/apache/cordova-ios/node_modules/q/q.js:834:54) > at self.promiseDispatch.done > (/Users/travis/build/apache/cordova-ios/node_modules/q/q.js:863:30) > at Promise.promise.promiseDispatch > (/Users/travis/build/apache/cordova-ios/node_modules/q/q.js:796:13) > at /Users/travis/build/apache/cordova-ios/node_modules/q/q.js:604:44 > ' to match /Available iOS Simulators/. > Stack: > Error: Expected 'Available iOS Devices: > TypeError: Cannot read property 'replace' of undefined > at remove > (/Users/travis/build/apache/cordova-ios/node_modules/ios-sim/src/lib.js:282:70) > at Array.forEach (native) > at Object.getdevicetypes > (/Users/travis/build/apache/cordova-ios/node_modules/ios-sim/src/lib.js:292:22) > at Object.listEmulatorImages [as run] > (/Users/travis/build/apache/cordova-ios/bin/templates/scripts/cordova/lib/list-emulator-images:34:29) > at listEmulators > (/Users/travis/build/apache/cordova-ios/bin/templates/scripts/cordova/lib/run.js:208:46) > at > /Users/travis/build/apache/cordova-ios/bin/templates/scripts/cordova/lib/run.js:47:20 > at _fulfilled > (/Users/travis/build/apache/cordova-ios/node_modules/q/q.js:834:54) > at self.promiseDispatch.done > (/Users/travis/build/apache/cordova-ios/node_modules/q/q.js:863:30) > at Promise.promise.promiseDispatch > (/Users/travis/build/apache/cordova-ios/node_modules/q/q.js:796:13) > at /Users/travis/build/apache/cordova-ios/node_modules/q/q.js:604:44 > ' to match /Available iOS Simulators/. > at Object. > (/Users/travis/build/apache/cordova-ios/tests/spec/create.spec.js:124:24) > Ran 1 of 9 specs > 1 spec, 1 failure > {code} > The same code passes on Xcode 8.3.2 when testing locally. > https://github.com/travis-ci/travis-ci/issues?q=Xcode+8.3 -- This message was sent by Atlassian JIRA (v6.3.15#6346) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additi
[jira] [Updated] (CB-12869) Update bundled ios-sim to 5.0.13
[ https://issues.apache.org/jira/browse/CB-12869?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shazron Abdullah updated CB-12869: -- Fix Version/s: cordova-ios@4.4.1 > Update bundled ios-sim to 5.0.13 > > > Key: CB-12869 > URL: https://issues.apache.org/jira/browse/CB-12869 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-ios >Reporter: Shazron Abdullah >Assignee: Shazron Abdullah > Fix For: cordova-ios@4.4.1 > > > To fix this issue https://github.com/phonegap/ios-sim/issues/203 -- 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] [Resolved] (CB-12869) Update bundled ios-sim to 5.0.13
[ https://issues.apache.org/jira/browse/CB-12869?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shazron Abdullah resolved CB-12869. --- Resolution: Fixed > Update bundled ios-sim to 5.0.13 > > > Key: CB-12869 > URL: https://issues.apache.org/jira/browse/CB-12869 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-ios >Reporter: Shazron Abdullah >Assignee: Shazron Abdullah > Fix For: cordova-ios@4.4.1 > > > To fix this issue https://github.com/phonegap/ios-sim/issues/203 -- 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-12869) Update bundled ios-sim to 5.0.13
[ https://issues.apache.org/jira/browse/CB-12869?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16030323#comment-16030323 ] ASF GitHub Bot commented on CB-12869: - Github user asfgit closed the pull request at: https://github.com/apache/cordova-ios/pull/314 > Update bundled ios-sim to 5.0.13 > > > Key: CB-12869 > URL: https://issues.apache.org/jira/browse/CB-12869 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-ios >Reporter: Shazron Abdullah >Assignee: Shazron Abdullah > > To fix this issue https://github.com/phonegap/ios-sim/issues/203 -- 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-12869) Update bundled ios-sim to 5.0.13
[ https://issues.apache.org/jira/browse/CB-12869?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16030322#comment-16030322 ] ASF subversion and git services commented on CB-12869: -- Commit f7b8813fc320f663e8dc44f30086c51508aca060 in cordova-ios's branch refs/heads/master from [~shazron] [ https://git-wip-us.apache.org/repos/asf?p=cordova-ios.git;h=f7b8813 ] CB-12869 - Update bundled ios-sim to 5.0.13 This closes #314 > Update bundled ios-sim to 5.0.13 > > > Key: CB-12869 > URL: https://issues.apache.org/jira/browse/CB-12869 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-ios >Reporter: Shazron Abdullah >Assignee: Shazron Abdullah > > To fix this issue https://github.com/phonegap/ios-sim/issues/203 -- 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-12870) it is possible for module_not_found to happen, AND platforms[%NAME%] to not be valid & not all cases are caught properly in Api.js
[ https://issues.apache.org/jira/browse/CB-12870?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Audrey So updated CB-12870: --- Description: cordova platform add ~/cordova/cordova-ios/ --> "Using this version of Cordova with older version of cordova-ios is deprecated. Upgrade to cordova-ios@4.0.0 or newer." > it is possible for module_not_found to happen, AND platforms[%NAME%] to not > be valid & not all cases are caught properly in Api.js > > > Key: CB-12870 > URL: https://issues.apache.org/jira/browse/CB-12870 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-lib >Affects Versions: cordova@7.0.0 >Reporter: Audrey So > Fix For: cordova@7 > > > cordova platform add ~/cordova/cordova-ios/ --> > "Using this version of Cordova with older version of cordova-ios is > deprecated. Upgrade to cordova-ios@4.0.0 or newer." -- 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] [Issue Comment Deleted] (CB-12870) it is possible for module_not_found to happen, AND platforms[%NAME%] to not be valid & not all cases are caught properly in Api.js
[ https://issues.apache.org/jira/browse/CB-12870?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Audrey So updated CB-12870: --- Comment: was deleted (was: cordova platform add ~/cordova/cordova-ios/ --> "Using this version of Cordova with older version of cordova-ios is deprecated. Upgrade to cordova-ios@4.0.0 or newer.") > it is possible for module_not_found to happen, AND platforms[%NAME%] to not > be valid & not all cases are caught properly in Api.js > > > Key: CB-12870 > URL: https://issues.apache.org/jira/browse/CB-12870 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-lib >Affects Versions: cordova@7.0.0 >Reporter: Audrey So > Fix For: cordova@7 > > > cordova platform add ~/cordova/cordova-ios/ --> > "Using this version of Cordova with older version of cordova-ios is > deprecated. Upgrade to cordova-ios@4.0.0 or newer." -- 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-12870) it is possible for module_not_found to happen, AND platforms[%NAME%] to not be valid & not all cases are caught properly in Api.js
[ https://issues.apache.org/jira/browse/CB-12870?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16030314#comment-16030314 ] Audrey So edited comment on CB-12870 at 5/30/17 11:03 PM: -- cordova platform add ~/cordova/cordova-ios/ --> `Using this version of Cordova with older version of cordova-ios is deprecated. Upgrade to cordova-ios@4.0.0 or newer.` was (Author: auso): cordova platform add ~/cordova/cordova-ios/ --> ```Using this version of Cordova with older version of cordova-ios is deprecated. Upgrade to cordova-ios@4.0.0 or newer.``` > it is possible for module_not_found to happen, AND platforms[%NAME%] to not > be valid & not all cases are caught properly in Api.js > > > Key: CB-12870 > URL: https://issues.apache.org/jira/browse/CB-12870 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-lib >Affects Versions: cordova@7.0.0 >Reporter: Audrey So > Fix For: cordova@7 > > -- 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-12870) it is possible for module_not_found to happen, AND platforms[%NAME%] to not be valid & not all cases are caught properly in Api.js
[ https://issues.apache.org/jira/browse/CB-12870?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16030314#comment-16030314 ] Audrey So edited comment on CB-12870 at 5/30/17 11:03 PM: -- cordova platform add ~/cordova/cordova-ios/ --> Using this version of Cordova with older version of cordova-ios is deprecated. Upgrade to cordova-ios@4.0.0 or newer. was (Author: auso): cordova platform add ~/cordova/cordova-ios/ --> `Using this version of Cordova with older version of cordova-ios is deprecated. Upgrade to cordova-ios@4.0.0 or newer.` > it is possible for module_not_found to happen, AND platforms[%NAME%] to not > be valid & not all cases are caught properly in Api.js > > > Key: CB-12870 > URL: https://issues.apache.org/jira/browse/CB-12870 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-lib >Affects Versions: cordova@7.0.0 >Reporter: Audrey So > Fix For: cordova@7 > > -- 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-12870) it is possible for module_not_found to happen, AND platforms[%NAME%] to not be valid & not all cases are caught properly in Api.js
[ https://issues.apache.org/jira/browse/CB-12870?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16030314#comment-16030314 ] Audrey So edited comment on CB-12870 at 5/30/17 11:03 PM: -- cordova platform add ~/cordova/cordova-ios/ --> "Using this version of Cordova with older version of cordova-ios is deprecated. Upgrade to cordova-ios@4.0.0 or newer." was (Author: auso): cordova platform add ~/cordova/cordova-ios/ --> Using this version of Cordova with older version of cordova-ios is deprecated. Upgrade to cordova-ios@4.0.0 or newer. > it is possible for module_not_found to happen, AND platforms[%NAME%] to not > be valid & not all cases are caught properly in Api.js > > > Key: CB-12870 > URL: https://issues.apache.org/jira/browse/CB-12870 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-lib >Affects Versions: cordova@7.0.0 >Reporter: Audrey So > Fix For: cordova@7 > > -- 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-12870) it is possible for module_not_found to happen, AND platforms[%NAME%] to not be valid & not all cases are caught properly in Api.js
[ https://issues.apache.org/jira/browse/CB-12870?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16030314#comment-16030314 ] Audrey So commented on CB-12870: cordova platform add ~/cordova/cordova-ios/ --> ```Using this version of Cordova with older version of cordova-ios is deprecated. Upgrade to cordova-ios@4.0.0 or newer.``` > it is possible for module_not_found to happen, AND platforms[%NAME%] to not > be valid & not all cases are caught properly in Api.js > > > Key: CB-12870 > URL: https://issues.apache.org/jira/browse/CB-12870 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-lib >Affects Versions: cordova@7.0.0 >Reporter: Audrey So > Fix For: cordova@7 > > -- 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-12870) it is possible for module_not_found to happen, AND platforms[%NAME%] to not be valid & not all cases are caught properly in Api.js
Audrey So created CB-12870: -- Summary: it is possible for module_not_found to happen, AND platforms[%NAME%] to not be valid & not all cases are caught properly in Api.js Key: CB-12870 URL: https://issues.apache.org/jira/browse/CB-12870 Project: Apache Cordova Issue Type: Bug Components: cordova-lib Affects Versions: cordova@7.0.0 Reporter: Audrey So Fix For: cordova@7 -- 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-12869) Update bundled ios-sim to 5.0.13
[ https://issues.apache.org/jira/browse/CB-12869?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16030283#comment-16030283 ] ASF GitHub Bot commented on CB-12869: - GitHub user shazron opened a pull request: https://github.com/apache/cordova-ios/pull/314 CB-12869 - Update bundled ios-sim to 5.0.13 ### Platforms affected self ### What does this PR do? Update ios-sim to 5.0.13 (new release has a bug fix) ### What testing has been done on this change? ``` cordova create foo cd foo cordova platform add [path_to_this_repo] cordova emulate ios ``` ### 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/shazron/cordova-ios CB-12869 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/cordova-ios/pull/314.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 #314 commit bb0dfeef12060b77d4482e3238fb068f8343146a Author: Shazron Abdullah Date: 2017-05-30T22:27:24Z CB-12869 - Update bundled ios-sim to 5.0.13 > Update bundled ios-sim to 5.0.13 > > > Key: CB-12869 > URL: https://issues.apache.org/jira/browse/CB-12869 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-ios >Reporter: Shazron Abdullah >Assignee: Shazron Abdullah > > To fix this issue https://github.com/phonegap/ios-sim/issues/203 -- 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-12709) InAppBrowser - [SUNSET | KEEP | INTEGRATE]
[ https://issues.apache.org/jira/browse/CB-12709?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16030268#comment-16030268 ] jcesarmobile commented on CB-12709: --- The complains where because other plugins might want to also use window.open too. In the end we didn't remove window.open after adding cordova.InAppBrowser.open, we are supposed to do it in a future major release, but it still works. > InAppBrowser - [SUNSET | KEEP | INTEGRATE] > -- > > Key: CB-12709 > URL: https://issues.apache.org/jira/browse/CB-12709 > Project: Apache Cordova > Issue Type: Sub-task > Components: cordova-plugin-inappbrowser >Reporter: Shazron Abdullah > > See parent issue. -- 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-12856) Skip CocoaPods check_reqs if on non-darwin (macOS) platform
[ https://issues.apache.org/jira/browse/CB-12856?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16030260#comment-16030260 ] ASF GitHub Bot commented on CB-12856: - Github user asfgit closed the pull request at: https://github.com/apache/cordova-ios/pull/313 > Skip CocoaPods check_reqs if on non-darwin (macOS) platform > --- > > Key: CB-12856 > URL: https://issues.apache.org/jira/browse/CB-12856 > Project: Apache Cordova > Issue Type: Improvement > Components: cordova-ios >Reporter: Shazron Abdullah >Assignee: Shazron Abdullah > Fix For: cordova-ios@4.4.1 > > > For example, phonegap-plugin-push can be installed on Windows, but if you > have the cordova-ios platform installed as well on Windows, it will fail the > check_reqs CocoaPods check. > Make the check_reqs CocoaPods check only fail with the additional requirement > that the platform is darwin (macOS). So if CocoaPods check fails, and the > platform is non-darwin (Windows, Linux), check_reqs passes. -- 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-12856) Skip CocoaPods check_reqs if on non-darwin (macOS) platform
[ https://issues.apache.org/jira/browse/CB-12856?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16030258#comment-16030258 ] ASF subversion and git services commented on CB-12856: -- Commit 08af7f2ca4a1b95a1e17b8aed82682796911bac0 in cordova-ios's branch refs/heads/master from [~shazron] [ https://git-wip-us.apache.org/repos/asf?p=cordova-ios.git;h=08af7f2 ] CB-12856 - Skip CocoaPods check_reqs if on non-darwin (macOS) platform This closes #313 > Skip CocoaPods check_reqs if on non-darwin (macOS) platform > --- > > Key: CB-12856 > URL: https://issues.apache.org/jira/browse/CB-12856 > Project: Apache Cordova > Issue Type: Improvement > Components: cordova-ios >Reporter: Shazron Abdullah >Assignee: Shazron Abdullah > Fix For: cordova-ios@4.4.1 > > > For example, phonegap-plugin-push can be installed on Windows, but if you > have the cordova-ios platform installed as well on Windows, it will fail the > check_reqs CocoaPods check. > Make the check_reqs CocoaPods check only fail with the additional requirement > that the platform is darwin (macOS). So if CocoaPods check fails, and the > platform is non-darwin (Windows, Linux), check_reqs passes. -- 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] [Resolved] (CB-12856) Skip CocoaPods check_reqs if on non-darwin (macOS) platform
[ https://issues.apache.org/jira/browse/CB-12856?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shazron Abdullah resolved CB-12856. --- Resolution: Fixed > Skip CocoaPods check_reqs if on non-darwin (macOS) platform > --- > > Key: CB-12856 > URL: https://issues.apache.org/jira/browse/CB-12856 > Project: Apache Cordova > Issue Type: Improvement > Components: cordova-ios >Reporter: Shazron Abdullah >Assignee: Shazron Abdullah > Fix For: cordova-ios@4.4.1 > > > For example, phonegap-plugin-push can be installed on Windows, but if you > have the cordova-ios platform installed as well on Windows, it will fail the > check_reqs CocoaPods check. > Make the check_reqs CocoaPods check only fail with the additional requirement > that the platform is darwin (macOS). So if CocoaPods check fails, and the > platform is non-darwin (Windows, Linux), check_reqs passes. -- 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-11784) Memory leak on iOS when opening and closing camera
[ https://issues.apache.org/jira/browse/CB-11784?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16030248#comment-16030248 ] Armando Ruiz commented on CB-11784: --- I'm having the same error, every time that I take a picture and display as thumbnail in my application, the profiler tool from Xcode shows a memory leak error, When I inspect it it shows the memory leak on VTImageRotationSession and VTPixelTransferSession, and after 30 pictures the application crash. Android works perfectly Using: cordovan-plugin-camera 2.4.1 Cordova 7.0.1 iOS: 10.x, 9.x > Memory leak on iOS when opening and closing camera > -- > > Key: CB-11784 > URL: https://issues.apache.org/jira/browse/CB-11784 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-plugin-camera >Affects Versions: 2.2.0 > Environment: Cordova CLI version 6.3.0 > cordova-plugin-camera 2.2.0 > cordova-ios 4.2.0 > iOS 9.3.5 > iPad Mini 1 >Reporter: Christopher McCabe > > When opening and closing the camera plugin without taking an image, the > memory allocated under 'Other Resources' grows without ever being cleaned up. > Testing on an iPad mini 1, when I open and close the camera plugin without > taking a picture I can crash the app. This usually takes about 130-150 times > opening and closing the camera to cause a crash. The leak is present on newer > devices but the app is harder to crash due to the much larger device memory. > Steps to reproduce: > 1. create an app with the camera plugin > 2. run the app on an iPad mini 1 > 3. open the camera plugin to take a picture, not from the gallery > 4. click cancel > 5. repeat 3 + 4 until the app crashes > It appears that Jetsam kills the app for not being a good memory citizen. > EDIT: I've tested this further and it appears on my iPad mini 3 as well > although it's harder to trigger. I've included a sample app that can be used > to view the problem > https://github.com/modohash/cordova-camera-leak > By clicking the 'trigger camera' button and then clicking cancel and > repeating the process you can see that while the app memory usage stays > steady, the other processes accumulate memory. -- 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-12869) Update bundled ios-sim to 5.0.13
Shazron Abdullah created CB-12869: - Summary: Update bundled ios-sim to 5.0.13 Key: CB-12869 URL: https://issues.apache.org/jira/browse/CB-12869 Project: Apache Cordova Issue Type: Bug Components: cordova-ios Reporter: Shazron Abdullah Assignee: Shazron Abdullah To fix this issue https://github.com/phonegap/ios-sim/issues/203 -- 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] [Assigned] (CB-12675) Travis xcode8.3 os_x image fails an e2e test
[ https://issues.apache.org/jira/browse/CB-12675?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shazron Abdullah reassigned CB-12675: - Assignee: Shazron Abdullah > Travis xcode8.3 os_x image fails an e2e test > > > Key: CB-12675 > URL: https://issues.apache.org/jira/browse/CB-12675 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-ios > Environment: iOS >Reporter: Shazron Abdullah >Assignee: Shazron Abdullah > Fix For: cordova-ios@4.4.1 > > > Update {{.travis.yml}} with {{osx_image: xcode8.3}} and you will see this > jasmine failure: > {code} > Failures: > 1) end-to-end list validation Test#008 : handles list parameter > Message: > Expected 'Available iOS Devices: > TypeError: Cannot read property 'replace' of undefined > at remove > (/Users/travis/build/apache/cordova-ios/node_modules/ios-sim/src/lib.js:282:70) > at Array.forEach (native) > at Object.getdevicetypes > (/Users/travis/build/apache/cordova-ios/node_modules/ios-sim/src/lib.js:292:22) > at Object.listEmulatorImages [as run] > (/Users/travis/build/apache/cordova-ios/bin/templates/scripts/cordova/lib/list-emulator-images:34:29) > at listEmulators > (/Users/travis/build/apache/cordova-ios/bin/templates/scripts/cordova/lib/run.js:208:46) > at > /Users/travis/build/apache/cordova-ios/bin/templates/scripts/cordova/lib/run.js:47:20 > at _fulfilled > (/Users/travis/build/apache/cordova-ios/node_modules/q/q.js:834:54) > at self.promiseDispatch.done > (/Users/travis/build/apache/cordova-ios/node_modules/q/q.js:863:30) > at Promise.promise.promiseDispatch > (/Users/travis/build/apache/cordova-ios/node_modules/q/q.js:796:13) > at /Users/travis/build/apache/cordova-ios/node_modules/q/q.js:604:44 > ' to match /Available iOS Simulators/. > Stack: > Error: Expected 'Available iOS Devices: > TypeError: Cannot read property 'replace' of undefined > at remove > (/Users/travis/build/apache/cordova-ios/node_modules/ios-sim/src/lib.js:282:70) > at Array.forEach (native) > at Object.getdevicetypes > (/Users/travis/build/apache/cordova-ios/node_modules/ios-sim/src/lib.js:292:22) > at Object.listEmulatorImages [as run] > (/Users/travis/build/apache/cordova-ios/bin/templates/scripts/cordova/lib/list-emulator-images:34:29) > at listEmulators > (/Users/travis/build/apache/cordova-ios/bin/templates/scripts/cordova/lib/run.js:208:46) > at > /Users/travis/build/apache/cordova-ios/bin/templates/scripts/cordova/lib/run.js:47:20 > at _fulfilled > (/Users/travis/build/apache/cordova-ios/node_modules/q/q.js:834:54) > at self.promiseDispatch.done > (/Users/travis/build/apache/cordova-ios/node_modules/q/q.js:863:30) > at Promise.promise.promiseDispatch > (/Users/travis/build/apache/cordova-ios/node_modules/q/q.js:796:13) > at /Users/travis/build/apache/cordova-ios/node_modules/q/q.js:604:44 > ' to match /Available iOS Simulators/. > at Object. > (/Users/travis/build/apache/cordova-ios/tests/spec/create.spec.js:124:24) > Ran 1 of 9 specs > 1 spec, 1 failure > {code} > The same code passes on Xcode 8.3.2 when testing locally. > https://github.com/travis-ci/travis-ci/issues?q=Xcode+8.3 -- 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-12675) Travis xcode8.3 os_x image fails an e2e test
[ https://issues.apache.org/jira/browse/CB-12675?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16030210#comment-16030210 ] Shazron Abdullah commented on CB-12675: --- This issue is fixed in ios-sim@5.0.13 Update the bundled ios-sim > Travis xcode8.3 os_x image fails an e2e test > > > Key: CB-12675 > URL: https://issues.apache.org/jira/browse/CB-12675 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-ios > Environment: iOS >Reporter: Shazron Abdullah >Assignee: Shazron Abdullah > Fix For: cordova-ios@4.4.1 > > > Update {{.travis.yml}} with {{osx_image: xcode8.3}} and you will see this > jasmine failure: > {code} > Failures: > 1) end-to-end list validation Test#008 : handles list parameter > Message: > Expected 'Available iOS Devices: > TypeError: Cannot read property 'replace' of undefined > at remove > (/Users/travis/build/apache/cordova-ios/node_modules/ios-sim/src/lib.js:282:70) > at Array.forEach (native) > at Object.getdevicetypes > (/Users/travis/build/apache/cordova-ios/node_modules/ios-sim/src/lib.js:292:22) > at Object.listEmulatorImages [as run] > (/Users/travis/build/apache/cordova-ios/bin/templates/scripts/cordova/lib/list-emulator-images:34:29) > at listEmulators > (/Users/travis/build/apache/cordova-ios/bin/templates/scripts/cordova/lib/run.js:208:46) > at > /Users/travis/build/apache/cordova-ios/bin/templates/scripts/cordova/lib/run.js:47:20 > at _fulfilled > (/Users/travis/build/apache/cordova-ios/node_modules/q/q.js:834:54) > at self.promiseDispatch.done > (/Users/travis/build/apache/cordova-ios/node_modules/q/q.js:863:30) > at Promise.promise.promiseDispatch > (/Users/travis/build/apache/cordova-ios/node_modules/q/q.js:796:13) > at /Users/travis/build/apache/cordova-ios/node_modules/q/q.js:604:44 > ' to match /Available iOS Simulators/. > Stack: > Error: Expected 'Available iOS Devices: > TypeError: Cannot read property 'replace' of undefined > at remove > (/Users/travis/build/apache/cordova-ios/node_modules/ios-sim/src/lib.js:282:70) > at Array.forEach (native) > at Object.getdevicetypes > (/Users/travis/build/apache/cordova-ios/node_modules/ios-sim/src/lib.js:292:22) > at Object.listEmulatorImages [as run] > (/Users/travis/build/apache/cordova-ios/bin/templates/scripts/cordova/lib/list-emulator-images:34:29) > at listEmulators > (/Users/travis/build/apache/cordova-ios/bin/templates/scripts/cordova/lib/run.js:208:46) > at > /Users/travis/build/apache/cordova-ios/bin/templates/scripts/cordova/lib/run.js:47:20 > at _fulfilled > (/Users/travis/build/apache/cordova-ios/node_modules/q/q.js:834:54) > at self.promiseDispatch.done > (/Users/travis/build/apache/cordova-ios/node_modules/q/q.js:863:30) > at Promise.promise.promiseDispatch > (/Users/travis/build/apache/cordova-ios/node_modules/q/q.js:796:13) > at /Users/travis/build/apache/cordova-ios/node_modules/q/q.js:604:44 > ' to match /Available iOS Simulators/. > at Object. > (/Users/travis/build/apache/cordova-ios/tests/spec/create.spec.js:124:24) > Ran 1 of 9 specs > 1 spec, 1 failure > {code} > The same code passes on Xcode 8.3.2 when testing locally. > https://github.com/travis-ci/travis-ci/issues?q=Xcode+8.3 -- 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-12868) Improve telemetry.cordova.io
[ https://issues.apache.org/jira/browse/CB-12868?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16030076#comment-16030076 ] Shazron Abdullah commented on CB-12868: --- [~Sujan12] just gave you Edit access to the report through the Gmail address on your Apache profile (minus the +apache) > Improve telemetry.cordova.io > > > Key: CB-12868 > URL: https://issues.apache.org/jira/browse/CB-12868 > Project: Apache Cordova > Issue Type: Improvement > Components: cordova-cli >Reporter: Jan Piotrowski > > The data on telemetry.cordova.io is very interesting. But I think the report > could be improved quite a bit: > - Show more data "over time" (as "Users" and "Cordova Versions" does already) > - Give different things a bit more space and padding > - Show more data tables (like "Node Version <-> Users") > I could actually work on this, just need an invite for the report. -- 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] [Resolved] (CB-12817) Gradle not found
[ https://issues.apache.org/jira/browse/CB-12817?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Joe Bowser resolved CB-12817. - Resolution: Not A Problem Yes, you need to install Android Studio or Gradle for this to work, that has been documented in the release notes. Closing. > Gradle not found > - > > Key: CB-12817 > URL: https://issues.apache.org/jira/browse/CB-12817 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-android >Affects Versions: 6.2.2 > Environment: Windows 10 >Reporter: Juan Carlos ANdreu >Assignee: Joe Bowser >Priority: Blocker > > Installed everything from scratch. Gradle was not being found, changed > gradlew.bat to gradle.bat and worked. > Ideas? -- 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-12754) inAppBrowser crashing on Android
[ https://issues.apache.org/jira/browse/CB-12754?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16030051#comment-16030051 ] Augie Luebbers edited comment on CB-12754 at 5/30/17 8:12 PM: -- I am also experiencing this issue. I am however using it through Ionic. I believe it's a problem with this plugin as the same line works fine in IOS. {code} this.browser.create('http://google.com/', '_system').show(); {code} was (Author: augusdogus): I am also experiencing this issue. I am however using it through Ionic. I believe it's a problem with this plugin as the same line works fine in IOS. {code} this.browser.create('http://my.uwf.edu', '_system').show(); {code} > inAppBrowser crashing on Android > > > Key: CB-12754 > URL: https://issues.apache.org/jira/browse/CB-12754 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-android, cordova-plugin-inappbrowser >Reporter: Peter Olszowka > > Using cordova-plugin-inappbrowser version 1.7.0 > Getting many crash reports from Google play store with following stack trace: > java.lang.NullPointerException: Attempt to invoke virtual method 'void > org.apache.cordova.inappbrowser.InAppBrowserDialog.show()' on a null object > reference > at > org.apache.cordova.inappbrowser.InAppBrowser$2.run(InAppBrowser.java:257) > at android.os.Handler.handleCallback(Handler.java:739) > at android.os.Handler.dispatchMessage(Handler.java:95) > at android.os.Looper.loop(Looper.java:145) > at android.app.ActivityThread.main(ActivityThread.java:6126) > at java.lang.reflect.Method.invoke(Native Method) > at java.lang.reflect.Method.invoke(Method.java:372) > at > com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1399) > at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1194) > The issue appears on many versions of Android including 4.4, 5.1, 6.0, & 7.0. > You can try the app from the Google Play store: "cargurus" > I am unable to reproduce the error myself, but 25 users/day are reporting it. -- 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-12754) inAppBrowser crashing on Android
[ https://issues.apache.org/jira/browse/CB-12754?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16030051#comment-16030051 ] Augie Luebbers commented on CB-12754: - I am also experiencing this issue. I am however using it through Ionic. I believe it's a problem with this plugin as the same line works fine in IOS. {code} this.browser.create('http://my.uwf.edu', '_system').show(); {code} > inAppBrowser crashing on Android > > > Key: CB-12754 > URL: https://issues.apache.org/jira/browse/CB-12754 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-android, cordova-plugin-inappbrowser >Reporter: Peter Olszowka > > Using cordova-plugin-inappbrowser version 1.7.0 > Getting many crash reports from Google play store with following stack trace: > java.lang.NullPointerException: Attempt to invoke virtual method 'void > org.apache.cordova.inappbrowser.InAppBrowserDialog.show()' on a null object > reference > at > org.apache.cordova.inappbrowser.InAppBrowser$2.run(InAppBrowser.java:257) > at android.os.Handler.handleCallback(Handler.java:739) > at android.os.Handler.dispatchMessage(Handler.java:95) > at android.os.Looper.loop(Looper.java:145) > at android.app.ActivityThread.main(ActivityThread.java:6126) > at java.lang.reflect.Method.invoke(Native Method) > at java.lang.reflect.Method.invoke(Method.java:372) > at > com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1399) > at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1194) > The issue appears on many versions of Android including 4.4, 5.1, 6.0, & 7.0. > You can try the app from the Google Play store: "cargurus" > I am unable to reproduce the error myself, but 25 users/day are reporting it. -- 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-12868) Improve telemetry.cordova.io
[ https://issues.apache.org/jira/browse/CB-12868?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shazron Abdullah updated CB-12868: -- Component/s: cordova-cli > Improve telemetry.cordova.io > > > Key: CB-12868 > URL: https://issues.apache.org/jira/browse/CB-12868 > Project: Apache Cordova > Issue Type: Improvement > Components: cordova-cli >Reporter: Jan Piotrowski > > The data on telemetry.cordova.io is very interesting. But I think the report > could be improved quite a bit: > - Show more data "over time" (as "Users" and "Cordova Versions" does already) > - Give different things a bit more space and padding > - Show more data tables (like "Node Version <-> Users") > I could actually work on this, just need an invite for the report. -- 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-12868) Improve telemetry.cordova.io
[ https://issues.apache.org/jira/browse/CB-12868?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16030047#comment-16030047 ] Shazron Abdullah commented on CB-12868: --- Adding cordova-cli as component since that's where the telemetry is triggered. Finding out who owns the GA account. > Improve telemetry.cordova.io > > > Key: CB-12868 > URL: https://issues.apache.org/jira/browse/CB-12868 > Project: Apache Cordova > Issue Type: Improvement > Components: cordova-cli >Reporter: Jan Piotrowski > > The data on telemetry.cordova.io is very interesting. But I think the report > could be improved quite a bit: > - Show more data "over time" (as "Users" and "Cordova Versions" does already) > - Give different things a bit more space and padding > - Show more data tables (like "Node Version <-> Users") > I could actually work on this, just need an invite for the report. -- 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-12857) Discovered plugin "Device" in config.xml. Adding it to the project Failed to restore plugin "Device" from config.xml. You might need to try adding it again. Error: Error: R
[ https://issues.apache.org/jira/browse/CB-12857?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shazron Abdullah updated CB-12857: -- Component/s: cordova-cli > Discovered plugin "Device" in config.xml. Adding it to the project Failed to > restore plugin "Device" from config.xml. You might need to try adding it > again. Error: Error: Registry returned 404 for GET on > https://registry.npmjs.org/Device > - > > Key: CB-12857 > URL: https://issues.apache.org/jira/browse/CB-12857 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-cli >Reporter: navitha > > Discovered plugin "Device" in config.xml. Adding it to the project > Failed to restore plugin "Device" from config.xml. You might need to try > adding it again. Error: Error: Registry returned 404 for GET on > https://registry.npmjs.org/Device > I got this error during run my project.. anyone help me... -- 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] [Resolved] (CB-12866) Refused to display in a frame because it set 'X-Frame-Options' to 'DENY'.
[ https://issues.apache.org/jira/browse/CB-12866?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shazron Abdullah resolved CB-12866. --- Resolution: Incomplete Need exact repro steps. Incomplete. > Refused to display in a frame because it set 'X-Frame-Options' to 'DENY'. > - > > Key: CB-12866 > URL: https://issues.apache.org/jira/browse/CB-12866 > Project: Apache Cordova > Issue Type: Bug >Reporter: navitha > > i got Refused to display in a frame because it set 'X-Frame-Options' to > 'DENY'. error during facebook login time. i got the solution by remove > inappbrowser plugin from my project..but when i remove inappbrowser plugin i > cant got the current location in browser.. any one help me?? -- 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-12814) Windows 10: config.xml preference "Orientation"="landscape" does not lock app to landscape
[ https://issues.apache.org/jira/browse/CB-12814?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shazron Abdullah updated CB-12814: -- Component/s: cordova-windows > Windows 10: config.xml preference "Orientation"="landscape" does not lock app > to landscape > -- > > Key: CB-12814 > URL: https://issues.apache.org/jira/browse/CB-12814 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-windows > Environment: cordova 6.5.0 > cordova windows 5.0.0 >Reporter: Michael Schmidt > > The config.xml setting > {code} > > {code} > does not lock the app to landscape mode. > The app gets turned into portrait on turning the device into portrait. -- 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] [Assigned] (CB-12817) Gradle not found
[ https://issues.apache.org/jira/browse/CB-12817?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shazron Abdullah reassigned CB-12817: - Assignee: Joe Bowser > Gradle not found > - > > Key: CB-12817 > URL: https://issues.apache.org/jira/browse/CB-12817 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-android >Affects Versions: 6.2.2 > Environment: Windows 10 >Reporter: Juan Carlos ANdreu >Assignee: Joe Bowser >Priority: Blocker > > Installed everything from scratch. Gradle was not being found, changed > gradlew.bat to gradle.bat and worked. > Ideas? -- 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-12840) Can't uninstall local plugin installed with --link
[ https://issues.apache.org/jira/browse/CB-12840?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shazron Abdullah updated CB-12840: -- Component/s: cordova-lib > Can't uninstall local plugin installed with --link > -- > > Key: CB-12840 > URL: https://issues.apache.org/jira/browse/CB-12840 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-lib >Affects Versions: 7.0.1 >Reporter: jcesarmobile > Labels: reproduced, triage > > Steps to reproduce. > 1. Clone barcode scanner plugin > git clone https://github.com/phonegap/phonegap-plugin-barcodescanner/ > 2. Create a new cordova project > cordova create barcodeTest es.test.barcode barcodeTest > cd barcodeTest > 3. Add the plugin > cordova plugin add ../phonegap-plugin-barcodescanner/ --link > 4. Remove the plugin > cordova plugin rm phonegap-plugin-barcodescanner > You will get > Error: Plugin "phonegap-plugin-barcodescanner" is not present in the project. > See `cordova plugin list`. -- 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-12817) Gradle not found
[ https://issues.apache.org/jira/browse/CB-12817?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shazron Abdullah updated CB-12817: -- Component/s: cordova-android > Gradle not found > - > > Key: CB-12817 > URL: https://issues.apache.org/jira/browse/CB-12817 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-android >Affects Versions: 6.2.2 > Environment: Windows 10 >Reporter: Juan Carlos ANdreu >Priority: Blocker > > Installed everything from scratch. Gradle was not being found, changed > gradlew.bat to gradle.bat and worked. > Ideas? -- 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] [Assigned] (CB-12844) Escape backslashes when creating a PBXShellScriptBuildPhase
[ https://issues.apache.org/jira/browse/CB-12844?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shazron Abdullah reassigned CB-12844: - Assignee: (was: Shazron Abdullah) > Escape backslashes when creating a PBXShellScriptBuildPhase > --- > > Key: CB-12844 > URL: https://issues.apache.org/jira/browse/CB-12844 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-node-xcode >Affects Versions: 7.0.0, 6.4.0, 6.5.0 > Environment: MacOS 10.12.4 > Xcode 8.3.2 (8E2002) > Cordova 6.5.0 > node-xcode 0.9.0 >Reporter: Nicholas Rawlings >Priority: Minor > > Hooks can use the `node-xcode` package, which was contributed to the Cordova > project about a month ago, to modify an Xcode project. When using > `pbxProject.addBuildPhase()` to add a new "Run Script" phase, backslashes in > the passed script are not properly escaped. Unescaped backslashes can break > the expected behavior of the shell script and result in a malformed *.pbxproj > file. > The solution should be as simple as modifying the > `pbxShellScriptBuildPhaseObj()` function to replace unescaped backslashes > with escaped ones in the same way that double quote characters are handled: > ```javascript > function pbxShellScriptBuildPhaseObj(obj, options, phaseName) { > obj.name = '"' + phaseName + '"'; > obj.inputPaths = options.inputPaths || []; > obj.outputPaths = options.outputPaths || []; > obj.shellPath = options.shellPath; > obj.shellScript = '"' + options.shellScript.replace(/"/g, > '\\"').replace(/\\/g, '') + '"'; > return obj; > } > ``` -- 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-12844) Escape backslashes when creating a PBXShellScriptBuildPhase
[ https://issues.apache.org/jira/browse/CB-12844?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shazron Abdullah updated CB-12844: -- Component/s: (was: cordova-osx) (was: cordova-ios) cordova-node-xcode > Escape backslashes when creating a PBXShellScriptBuildPhase > --- > > Key: CB-12844 > URL: https://issues.apache.org/jira/browse/CB-12844 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-node-xcode >Affects Versions: 7.0.0, 6.4.0, 6.5.0 > Environment: MacOS 10.12.4 > Xcode 8.3.2 (8E2002) > Cordova 6.5.0 > node-xcode 0.9.0 >Reporter: Nicholas Rawlings >Assignee: Shazron Abdullah >Priority: Minor > > Hooks can use the `node-xcode` package, which was contributed to the Cordova > project about a month ago, to modify an Xcode project. When using > `pbxProject.addBuildPhase()` to add a new "Run Script" phase, backslashes in > the passed script are not properly escaped. Unescaped backslashes can break > the expected behavior of the shell script and result in a malformed *.pbxproj > file. > The solution should be as simple as modifying the > `pbxShellScriptBuildPhaseObj()` function to replace unescaped backslashes > with escaped ones in the same way that double quote characters are handled: > ```javascript > function pbxShellScriptBuildPhaseObj(obj, options, phaseName) { > obj.name = '"' + phaseName + '"'; > obj.inputPaths = options.inputPaths || []; > obj.outputPaths = options.outputPaths || []; > obj.shellPath = options.shellPath; > obj.shellScript = '"' + options.shellScript.replace(/"/g, > '\\"').replace(/\\/g, '') + '"'; > return obj; > } > ``` -- 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] [Assigned] (CB-12844) Escape backslashes when creating a PBXShellScriptBuildPhase
[ https://issues.apache.org/jira/browse/CB-12844?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shazron Abdullah reassigned CB-12844: - Assignee: Anis Kadri (was: Shazron Abdullah) > Escape backslashes when creating a PBXShellScriptBuildPhase > --- > > Key: CB-12844 > URL: https://issues.apache.org/jira/browse/CB-12844 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-node-xcode >Affects Versions: 7.0.0, 6.4.0, 6.5.0 > Environment: MacOS 10.12.4 > Xcode 8.3.2 (8E2002) > Cordova 6.5.0 > node-xcode 0.9.0 >Reporter: Nicholas Rawlings >Assignee: Anis Kadri >Priority: Minor > > Hooks can use the `node-xcode` package, which was contributed to the Cordova > project about a month ago, to modify an Xcode project. When using > `pbxProject.addBuildPhase()` to add a new "Run Script" phase, backslashes in > the passed script are not properly escaped. Unescaped backslashes can break > the expected behavior of the shell script and result in a malformed *.pbxproj > file. > The solution should be as simple as modifying the > `pbxShellScriptBuildPhaseObj()` function to replace unescaped backslashes > with escaped ones in the same way that double quote characters are handled: > ```javascript > function pbxShellScriptBuildPhaseObj(obj, options, phaseName) { > obj.name = '"' + phaseName + '"'; > obj.inputPaths = options.inputPaths || []; > obj.outputPaths = options.outputPaths || []; > obj.shellPath = options.shellPath; > obj.shellScript = '"' + options.shellScript.replace(/"/g, > '\\"').replace(/\\/g, '') + '"'; > return obj; > } > ``` -- 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] [Assigned] (CB-12844) Escape backslashes when creating a PBXShellScriptBuildPhase
[ https://issues.apache.org/jira/browse/CB-12844?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shazron Abdullah reassigned CB-12844: - Assignee: Shazron Abdullah > Escape backslashes when creating a PBXShellScriptBuildPhase > --- > > Key: CB-12844 > URL: https://issues.apache.org/jira/browse/CB-12844 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-node-xcode >Affects Versions: 7.0.0, 6.4.0, 6.5.0 > Environment: MacOS 10.12.4 > Xcode 8.3.2 (8E2002) > Cordova 6.5.0 > node-xcode 0.9.0 >Reporter: Nicholas Rawlings >Assignee: Shazron Abdullah >Priority: Minor > > Hooks can use the `node-xcode` package, which was contributed to the Cordova > project about a month ago, to modify an Xcode project. When using > `pbxProject.addBuildPhase()` to add a new "Run Script" phase, backslashes in > the passed script are not properly escaped. Unescaped backslashes can break > the expected behavior of the shell script and result in a malformed *.pbxproj > file. > The solution should be as simple as modifying the > `pbxShellScriptBuildPhaseObj()` function to replace unescaped backslashes > with escaped ones in the same way that double quote characters are handled: > ```javascript > function pbxShellScriptBuildPhaseObj(obj, options, phaseName) { > obj.name = '"' + phaseName + '"'; > obj.inputPaths = options.inputPaths || []; > obj.outputPaths = options.outputPaths || []; > obj.shellPath = options.shellPath; > obj.shellScript = '"' + options.shellScript.replace(/"/g, > '\\"').replace(/\\/g, '') + '"'; > return obj; > } > ``` -- 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-12709) InAppBrowser - [SUNSET | KEEP | INTEGRATE]
[ https://issues.apache.org/jira/browse/CB-12709?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16030027#comment-16030027 ] Shazron Abdullah commented on CB-12709: --- We clobbered window.open because window.open does nothing in a UIWebView currently, so we thought it was ok. But I don't think we should go back to window.open now since we already removed that feature for cordova.InAppBrowser.open For reference, window.open does work on iOS Mobile Safari as you expected, it opens a new Safari "window" > InAppBrowser - [SUNSET | KEEP | INTEGRATE] > -- > > Key: CB-12709 > URL: https://issues.apache.org/jira/browse/CB-12709 > Project: Apache Cordova > Issue Type: Sub-task > Components: cordova-plugin-inappbrowser >Reporter: Shazron Abdullah > > See parent issue. -- 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-12864) Plugin 'xxxxx' is not found, or is not a CDVPlugin
[ https://issues.apache.org/jira/browse/CB-12864?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16029997#comment-16029997 ] Kerri Shotts commented on CB-12864: --- You say "the following fragment", but I don't see any additional snippet. Did you mean to include something extra? There shouldn't be any restriction on the name of the plugin needing to match the name of the subclass. What is required is that the value for {{ios-package}} and the name of the subclass match (this is the only way Cordova can find the native code) (which is documented here: https://cordova.apache.org/docs/en/latest/guide/platforms/ios/plugin.html#plugin-class-mapping) Cordova maps from your JS code to the native code using the {{feature}} name (in your case, "AWS") and the class name (derived from the {{ios-package}} tag, in your case "AWSPlugin"). Your {{cordova.exec}} would look like this: {code} cordova.exec(win, fail, "AWS", "someMethod", args); {code} This gets (roughly) translated to {code} AWSPlugin* awsPlugin = [[AWSPlugin alloc] initWithWebViewEngine:webview]; CDVInvokedCommandUrl* command = [CDVInvokedCommandUrl initWithArguments:args ...]; [awsPlugin someMethod:command]; {code} ... where "AWS" (the feature) leads to {{AWSPlugin}} (the class, specified by {{ios-package}}). If the class doesn't match {{ios-package}}, Cordova will encounter an error when trying to instantiate the plugin, because the class it will try to use doesn't exist. Now, if everything you tried was in line with the above, and yet Cordova couldn't find the plugin, please link to a gist or repo of an example project that duplicates the issue you encountered, so that we can try to duplicate it. > Plugin 'x' is not found, or is not a CDVPlugin > -- > > Key: CB-12864 > URL: https://issues.apache.org/jira/browse/CB-12864 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-ios >Affects Versions: cordova@7.0.0 > Environment: Xcode 8.3.2 and cordova iOS 4.4.0 >Reporter: Gary N Griswold > > I wrote a plugin in which the name of the plugin and the name of the > www/XXX.js file were the same, but I named the name of the CDVPlugin subclass > a different name. Doing this caused the error that the linker did not > include the CDVPlugin subclass. The error was "Plugin 'x' is not found, > or is not a CDVPlugin" > The problem was fixed by changing the name of the CDVPlugin subclass to the > same name as the Plugin and the www/XXX.js file. > The following are relevant fragments from the plugin.xml file: > AWS > > > > > > > > > > > -- 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-12719) Dialogs - [SUNSET | KEEP | INTEGRATE]
[ https://issues.apache.org/jira/browse/CB-12719?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16029956#comment-16029956 ] Shazron Abdullah commented on CB-12719: --- This would be a essentially a totally new plugin and is a major version bump. The existing JS API will not be bridged, and users will have to write dialog element code to replace their current JavaScript. The alternative is we can bridge it by writing DOM code and keep the current API, and deprecate it for a while. The current one hasn't seen changes for a long time and can be maintained (if we want to) in a branch, and fixes released separately if desired -- but I don't see the API changing that much barring drastic iOS API updates. Through package.json and cordovaDependencies it will not affect most users I hope (the CLI will re-direct to the correct plugin). > Dialogs - [SUNSET | KEEP | INTEGRATE] > - > > Key: CB-12719 > URL: https://issues.apache.org/jira/browse/CB-12719 > Project: Apache Cordova > Issue Type: Sub-task > Components: cordova-plugin-dialogs >Reporter: Shazron Abdullah > > See parent issue. -- 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-12718) WKWebViewEngine - [SUNSET | KEEP | INTEGRATE]
[ https://issues.apache.org/jira/browse/CB-12718?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16029932#comment-16029932 ] Shazron Abdullah commented on CB-12718: --- [~jcesarmobile] Integrating it in is problematic since to update it would require a platform release, which may not be timely. Especially since WKWebView is not exactly a drop-in replacement for most users because of the limitations we listed in its README. [~cjpearson] We'll have to wait and see for this one until after WWDC 2017 to see if there are any improvements. > WKWebViewEngine - [SUNSET | KEEP | INTEGRATE] > - > > Key: CB-12718 > URL: https://issues.apache.org/jira/browse/CB-12718 > Project: Apache Cordova > Issue Type: Sub-task > Components: cordova-plugin-wkwebview-engine >Reporter: Shazron Abdullah > > See parent issue. -- 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-12863) Can't install plugins from a branch (cordova@7)
[ https://issues.apache.org/jira/browse/CB-12863?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16029890#comment-16029890 ] Shazron Abdullah commented on CB-12863: --- Note that instead of fetching from Github, it goes to the Apache repo (probably because it's specified in the package.json) > Can't install plugins from a branch (cordova@7) > --- > > Key: CB-12863 > URL: https://issues.apache.org/jira/browse/CB-12863 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-fetch > Environment: cordova-cli@7.0.1 > node@4.6.0 >Reporter: Shazron Abdullah >Assignee: Audrey So > Labels: reproduced, triage > > 1st try: > {code} > $ cordova plugin add > https://github.com/apache/cordova-plugins.git\#wkwebview-engine-localhost > Installing "cordova-labs-wkwebview-engine-localhost" for ios > Failed to install 'cordova-labs-wkwebview-engine-localhost': CordovaError: > Failed to fetch plugin > https://git-wip-us.apache.org/repos/asf/cordova-plugins.git#local-webserver > via registry. > Probably this is either a connection problem, or plugin spec is incorrect. > Check your connection and plugin name/version/URL. > Error: npm: Command failed with exit code 254 Error output: > npm WARN package.json helloworld@1.0.0 No repository field. > npm WARN package.json helloworld@1.0.0 No README data > npm ERR! not a package > /var/folders/40/pyxnqlcj6bn_43qrjp3p0xtwgp/T/npm-28533-ff14b1ee/git-wip-us.apache.org/repos/asf/cordova-plugins.git/local-webserver > npm ERR! Darwin 16.7.0 > npm ERR! argv "/Users/shazron/.nvm/versions/node/v4.6.0/bin/node" > "/Users/shazron/.nvm/versions/node/v4.6.0/bin/npm" "install" > "https://git-wip-us.apache.org/repos/asf/cordova-plugins.git#local-webserver"; > "--save" > npm ERR! node v4.6.0 > npm ERR! npm v2.15.9 > npm ERR! path > /var/folders/40/pyxnqlcj6bn_43qrjp3p0xtwgp/T/npm-28533-ff14b1ee/unpack-968d75f9eab2/package.json > npm ERR! code ENOENT > npm ERR! errno -2 > npm ERR! syscall open > npm ERR! enoent ENOENT: no such file or directory, open > '/var/folders/40/pyxnqlcj6bn_43qrjp3p0xtwgp/T/npm-28533-ff14b1ee/unpack-968d75f9eab2/package.json' > npm ERR! enoent This is most likely not a problem with npm itself > npm ERR! enoent and is related to npm not being able to find a file. > npm ERR! enoent > npm ERR! Please include the following file with any support request: > npm ERR! /Users/shazron/Desktop/gtm/node_modules/npm-debug.log > at > /Users/shazron/.nvm/versions/node/v4.6.0/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/fetch.js:205:33 > at _rejected > (/Users/shazron/.nvm/versions/node/v4.6.0/lib/node_modules/cordova/node_modules/cordova-lib/node_modules/cordova-fetch/node_modules/q/q.js:864:24) > at > /Users/shazron/.nvm/versions/node/v4.6.0/lib/node_modules/cordova/node_modules/cordova-lib/node_modules/cordova-fetch/node_modules/q/q.js:890:30 > at Promise.when > (/Users/shazron/.nvm/versions/node/v4.6.0/lib/node_modules/cordova/node_modules/cordova-lib/node_modules/cordova-fetch/node_modules/q/q.js:1142:31) > at Promise.promise.promiseDispatch > (/Users/shazron/.nvm/versions/node/v4.6.0/lib/node_modules/cordova/node_modules/cordova-lib/node_modules/cordova-fetch/node_modules/q/q.js:808:41) > at > /Users/shazron/.nvm/versions/node/v4.6.0/lib/node_modules/cordova/node_modules/cordova-lib/node_modules/cordova-fetch/node_modules/q/q.js:624:44 > at runSingle > (/Users/shazron/.nvm/versions/node/v4.6.0/lib/node_modules/cordova/node_modules/cordova-lib/node_modules/cordova-fetch/node_modules/q/q.js:137:13) > at flush > (/Users/shazron/.nvm/versions/node/v4.6.0/lib/node_modules/cordova/node_modules/cordova-lib/node_modules/cordova-fetch/node_modules/q/q.js:125:13) > at nextTickCallbackWith0Args (node.js:420:9) > at process._tickCallback (node.js:349:13) > Error: Failed to fetch plugin > https://git-wip-us.apache.org/repos/asf/cordova-plugins.git#local-webserver > via registry. > Probably this is either a connection problem, or plugin spec is incorrect. > Check your connection and plugin name/version/URL. > Error: npm: Command failed with exit code 254 Error output: > npm WARN package.json helloworld@1.0.0 No repository field. > npm WARN package.json helloworld@1.0.0 No README data > npm ERR! not a package > /var/folders/40/pyxnqlcj6bn_43qrjp3p0xtwgp/T/npm-28533-ff14b1ee/git-wip-us.apache.org/repos/asf/cordova-plugins.git/local-webserver > npm ERR! Darwin 16.7.0 > npm ERR! argv "/Users/shazron/.nvm/versions/node/v4.6.0/bin/node" > "/Users/shazron/.nvm/versions/node/v4.6.0/bin/npm" "install" > "https://git-wip-us.apache.org/repos/asf/cordova-plugins.git#local-webserver"; > "--save" > npm ERR! node v4.6.0 > npm ERR! npm v2.15.9 > npm ERR! path > /var/folde
[jira] [Updated] (CB-12863) Can't install plugins from a branch (cordova@7)
[ https://issues.apache.org/jira/browse/CB-12863?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Audrey So updated CB-12863: --- Labels: reproduced triage (was: ) > Can't install plugins from a branch (cordova@7) > --- > > Key: CB-12863 > URL: https://issues.apache.org/jira/browse/CB-12863 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-fetch > Environment: cordova-cli@7.0.1 > node@4.6.0 >Reporter: Shazron Abdullah >Assignee: Audrey So > Labels: reproduced, triage > > 1st try: > {code} > $ cordova plugin add > https://github.com/apache/cordova-plugins.git\#wkwebview-engine-localhost > Installing "cordova-labs-wkwebview-engine-localhost" for ios > Failed to install 'cordova-labs-wkwebview-engine-localhost': CordovaError: > Failed to fetch plugin > https://git-wip-us.apache.org/repos/asf/cordova-plugins.git#local-webserver > via registry. > Probably this is either a connection problem, or plugin spec is incorrect. > Check your connection and plugin name/version/URL. > Error: npm: Command failed with exit code 254 Error output: > npm WARN package.json helloworld@1.0.0 No repository field. > npm WARN package.json helloworld@1.0.0 No README data > npm ERR! not a package > /var/folders/40/pyxnqlcj6bn_43qrjp3p0xtwgp/T/npm-28533-ff14b1ee/git-wip-us.apache.org/repos/asf/cordova-plugins.git/local-webserver > npm ERR! Darwin 16.7.0 > npm ERR! argv "/Users/shazron/.nvm/versions/node/v4.6.0/bin/node" > "/Users/shazron/.nvm/versions/node/v4.6.0/bin/npm" "install" > "https://git-wip-us.apache.org/repos/asf/cordova-plugins.git#local-webserver"; > "--save" > npm ERR! node v4.6.0 > npm ERR! npm v2.15.9 > npm ERR! path > /var/folders/40/pyxnqlcj6bn_43qrjp3p0xtwgp/T/npm-28533-ff14b1ee/unpack-968d75f9eab2/package.json > npm ERR! code ENOENT > npm ERR! errno -2 > npm ERR! syscall open > npm ERR! enoent ENOENT: no such file or directory, open > '/var/folders/40/pyxnqlcj6bn_43qrjp3p0xtwgp/T/npm-28533-ff14b1ee/unpack-968d75f9eab2/package.json' > npm ERR! enoent This is most likely not a problem with npm itself > npm ERR! enoent and is related to npm not being able to find a file. > npm ERR! enoent > npm ERR! Please include the following file with any support request: > npm ERR! /Users/shazron/Desktop/gtm/node_modules/npm-debug.log > at > /Users/shazron/.nvm/versions/node/v4.6.0/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/fetch.js:205:33 > at _rejected > (/Users/shazron/.nvm/versions/node/v4.6.0/lib/node_modules/cordova/node_modules/cordova-lib/node_modules/cordova-fetch/node_modules/q/q.js:864:24) > at > /Users/shazron/.nvm/versions/node/v4.6.0/lib/node_modules/cordova/node_modules/cordova-lib/node_modules/cordova-fetch/node_modules/q/q.js:890:30 > at Promise.when > (/Users/shazron/.nvm/versions/node/v4.6.0/lib/node_modules/cordova/node_modules/cordova-lib/node_modules/cordova-fetch/node_modules/q/q.js:1142:31) > at Promise.promise.promiseDispatch > (/Users/shazron/.nvm/versions/node/v4.6.0/lib/node_modules/cordova/node_modules/cordova-lib/node_modules/cordova-fetch/node_modules/q/q.js:808:41) > at > /Users/shazron/.nvm/versions/node/v4.6.0/lib/node_modules/cordova/node_modules/cordova-lib/node_modules/cordova-fetch/node_modules/q/q.js:624:44 > at runSingle > (/Users/shazron/.nvm/versions/node/v4.6.0/lib/node_modules/cordova/node_modules/cordova-lib/node_modules/cordova-fetch/node_modules/q/q.js:137:13) > at flush > (/Users/shazron/.nvm/versions/node/v4.6.0/lib/node_modules/cordova/node_modules/cordova-lib/node_modules/cordova-fetch/node_modules/q/q.js:125:13) > at nextTickCallbackWith0Args (node.js:420:9) > at process._tickCallback (node.js:349:13) > Error: Failed to fetch plugin > https://git-wip-us.apache.org/repos/asf/cordova-plugins.git#local-webserver > via registry. > Probably this is either a connection problem, or plugin spec is incorrect. > Check your connection and plugin name/version/URL. > Error: npm: Command failed with exit code 254 Error output: > npm WARN package.json helloworld@1.0.0 No repository field. > npm WARN package.json helloworld@1.0.0 No README data > npm ERR! not a package > /var/folders/40/pyxnqlcj6bn_43qrjp3p0xtwgp/T/npm-28533-ff14b1ee/git-wip-us.apache.org/repos/asf/cordova-plugins.git/local-webserver > npm ERR! Darwin 16.7.0 > npm ERR! argv "/Users/shazron/.nvm/versions/node/v4.6.0/bin/node" > "/Users/shazron/.nvm/versions/node/v4.6.0/bin/npm" "install" > "https://git-wip-us.apache.org/repos/asf/cordova-plugins.git#local-webserver"; > "--save" > npm ERR! node v4.6.0 > npm ERR! npm v2.15.9 > npm ERR! path > /var/folders/40/pyxnqlcj6bn_43qrjp3p0xtwgp/T/npm-28533-ff14b1ee/unpack-968d75f9eab2/package.json > npm ERR! code ENOENT > npm ERR! errno -2 > npm ERR! syscall open
[jira] [Commented] (CB-12857) Discovered plugin "Device" in config.xml. Adding it to the project Failed to restore plugin "Device" from config.xml. You might need to try adding it again. Error: Error:
[ https://issues.apache.org/jira/browse/CB-12857?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16029875#comment-16029875 ] Audrey So commented on CB-12857: Hmm I have not been able to reproduce that error so far. My config.xml does not add that extra line. I am using: node -v : v6.6.0 npm -v : 4.2.0 When you add cordova-plugin-device (cordova plugin add cordova-plugin-device), does it add both of these lines automatically to your config.xml? Or does it just add that second line during cordova run? > Discovered plugin "Device" in config.xml. Adding it to the project Failed to > restore plugin "Device" from config.xml. You might need to try adding it > again. Error: Error: Registry returned 404 for GET on > https://registry.npmjs.org/Device > - > > Key: CB-12857 > URL: https://issues.apache.org/jira/browse/CB-12857 > Project: Apache Cordova > Issue Type: Bug >Reporter: navitha > > Discovered plugin "Device" in config.xml. Adding it to the project > Failed to restore plugin "Device" from config.xml. You might need to try > adding it again. Error: Error: Registry returned 404 for GET on > https://registry.npmjs.org/Device > I got this error during run my project.. anyone help me... -- 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-12864) Plugin 'xxxxx' is not found, or is not a CDVPlugin
[ https://issues.apache.org/jira/browse/CB-12864?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gary N Griswold updated CB-12864: - Kerri, If it is not a bug, then the constraint should probably be mentioned in the documentation. The following fragment of plugin.xml clearly permits the CDVPlugin subclass from being given a different name than the external name of the plugin Gary Sent from my iPhone On May 30, 2017, at 12:51 PM, Kerri Shotts (JIRA) wrote: > Plugin 'x' is not found, or is not a CDVPlugin > -- > > Key: CB-12864 > URL: https://issues.apache.org/jira/browse/CB-12864 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-ios >Affects Versions: cordova@7.0.0 > Environment: Xcode 8.3.2 and cordova iOS 4.4.0 >Reporter: Gary N Griswold > > I wrote a plugin in which the name of the plugin and the name of the > www/XXX.js file were the same, but I named the name of the CDVPlugin subclass > a different name. Doing this caused the error that the linker did not > include the CDVPlugin subclass. The error was "Plugin 'x' is not found, > or is not a CDVPlugin" > The problem was fixed by changing the name of the CDVPlugin subclass to the > same name as the Plugin and the www/XXX.js file. > The following are relevant fragments from the plugin.xml file: > AWS > > > > > > > > > > > -- 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-12864) Plugin 'xxxxx' is not found, or is not a CDVPlugin
[ https://issues.apache.org/jira/browse/CB-12864?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Kerri Shotts closed CB-12864. - Resolution: Not A Bug Curious --- what had you named the subclass initially? I should note that you should always name the subclass the same value as specified in the tag -- this is what Cordova-ios uses to map to the native side of things, so if the subclass isn't named the same thing, you'd get an error. At this poing, I'm closing as "not a bug", since, AFAICT, everything was working as designed. We can reopen if there is cause to think that there is an underlying bug. > Plugin 'x' is not found, or is not a CDVPlugin > -- > > Key: CB-12864 > URL: https://issues.apache.org/jira/browse/CB-12864 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-ios >Affects Versions: cordova@7.0.0 > Environment: Xcode 8.3.2 and cordova iOS 4.4.0 >Reporter: Gary N Griswold > > I wrote a plugin in which the name of the plugin and the name of the > www/XXX.js file were the same, but I named the name of the CDVPlugin subclass > a different name. Doing this caused the error that the linker did not > include the CDVPlugin subclass. The error was "Plugin 'x' is not found, > or is not a CDVPlugin" > The problem was fixed by changing the name of the CDVPlugin subclass to the > same name as the Plugin and the www/XXX.js file. > The following are relevant fragments from the plugin.xml file: > AWS > > > > > > > > > > > -- 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-12839) Cordova FileTansfer fails with error code 2 when uploading on Windows 10
[ https://issues.apache.org/jira/browse/CB-12839?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16029459#comment-16029459 ] Nikita Matrosov commented on CB-12839: -- [~bhwatts], thanks for sharing a project, I'll take a look ASAP. > Cordova FileTansfer fails with error code 2 when uploading on Windows 10 > > > Key: CB-12839 > URL: https://issues.apache.org/jira/browse/CB-12839 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-plugin-file-transfer >Affects Versions: cordova@7.0.0 > Environment: Windows 10 with Visual Studio 2015 >Reporter: Brian Watts >Priority: Blocker > Labels: windows > Attachments: test2.zip > > > I've been stuck on this for days. I am pretty sure that it is a bug as I > have tried every possible combination of options in the upload call. > Furthermore, the same code works for iOS, Android, Windows Phone 8.1, Windows > Phone 10 and Windows Desktop 8.1. Windows Desktop 10 always fails with error > code 2 (syntax error). I have also made tests with a minimal application > that just tests the upload function (plus a small portion that creates the > file to upload). > {code} > function upload_file() { > var options = new FileUploadOptions(); > options.fileKey = "upfile"; > options.mimeType = 'm4a'; > var src = "ms-appdata:///temp/myalert.m4a"; > var ft = new FileTransfer(); > options.fileName = "myalert.m4a"; > options.chunkedMode = false; > var server_name = "http://hp3.xpub.io";; > ft.upload(src,server_name + "/alerts/upfile.php", upload_success, > upload_fail, options); > } > {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-12718) WKWebViewEngine - [SUNSET | KEEP | INTEGRATE]
[ https://issues.apache.org/jira/browse/CB-12718?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16029341#comment-16029341 ] Connor Pearson commented on CB-12718: - I've had success using this plugin and the local-webserver one. Is there any support for merging in or promoting the local-webserver plugin out of the labs repository? > WKWebViewEngine - [SUNSET | KEEP | INTEGRATE] > - > > Key: CB-12718 > URL: https://issues.apache.org/jira/browse/CB-12718 > Project: Apache Cordova > Issue Type: Sub-task > Components: cordova-plugin-wkwebview-engine >Reporter: Shazron Abdullah > > See parent issue. -- 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-12868) Improve telemetry.cordova.io
Jan Piotrowski created CB-12868: --- Summary: Improve telemetry.cordova.io Key: CB-12868 URL: https://issues.apache.org/jira/browse/CB-12868 Project: Apache Cordova Issue Type: Improvement Reporter: Jan Piotrowski The data on telemetry.cordova.io is very interesting. But I think the report could be improved quite a bit: - Show more data "over time" (as "Users" and "Cordova Versions" does already) - Give different things a bit more space and padding - Show more data tables (like "Node Version <-> Users") I could actually work on this, just need an invite for the report. -- 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-12710) Camera - [SUNSET | KEEP | INTEGRATE]
[ https://issues.apache.org/jira/browse/CB-12710?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16029204#comment-16029204 ] jcesarmobile commented on CB-12710: --- {quote} For choosing a picture from the gallery we should look at using input elements with the accept property. {quote} Input file is broken on android 4.4-4.4.2. I think we could make the accept work on Android 5+ (not really sure), but not on 4.4.3-4.4.4 On iOS it's handled by the webview, so if it works it will save us a lot of time, but if it doesn't there is nothing we can do about it. > Camera - [SUNSET | KEEP | INTEGRATE] > > > Key: CB-12710 > URL: https://issues.apache.org/jira/browse/CB-12710 > Project: Apache Cordova > Issue Type: Sub-task > Components: cordova-plugin-camera >Reporter: Shazron Abdullah > > See parent issue. -- 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-7754) [Geolocation] Support Background Location tracking
[ https://issues.apache.org/jira/browse/CB-7754?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16029201#comment-16029201 ] ASF GitHub Bot commented on CB-7754: Github user kamendo commented on the issue: https://github.com/apache/cordova-plugin-geolocation/pull/28 @shazron, just FYI - I ended up adding a custom plugin and swizzle the iOS method in order to get the location working in background :) https://github.com/stefanminch/background-location-app/blob/master/src/ios/BackgroundProcess.m > [Geolocation] Support Background Location tracking > -- > > Key: CB-7754 > URL: https://issues.apache.org/jira/browse/CB-7754 > Project: Apache Cordova > Issue Type: New Feature > Components: cordova-plugin-geolocation > Environment: iOS >Reporter: Shazron Abdullah >Priority: Minor > > Add NSLocationAlwaysUsageDescription in Info.plist > The reason why we don't add this by default is, not all devs need this > capability, and including it by default might scare off their users. > The previous plugin implementation (before iOS 8) only required foreground > access, so that's why the current plugin only supports foreground access. > The way to add this functionality is to add a sub-plugin in the same plugin, > which only installs the required Info.plist key. -- 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-12730) Compat - [SUNSET | KEEP | INTEGRATE]
[ https://issues.apache.org/jira/browse/CB-12730?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16029198#comment-16029198 ] jcesarmobile commented on CB-12730: --- Despite crosswalk project is not maintained anymore, I think people will still use it because even a not maintained crosswalk it's much better than the default webview. I think we shouldn't break it until we drop kit kat support (which is almost 20% at the moment) > Compat - [SUNSET | KEEP | INTEGRATE] > > > Key: CB-12730 > URL: https://issues.apache.org/jira/browse/CB-12730 > Project: Apache Cordova > Issue Type: Sub-task > Components: cordova-plugin-compat >Reporter: Shazron Abdullah > > See parent issue. -- 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-12719) Dialogs - [SUNSET | KEEP | INTEGRATE]
[ https://issues.apache.org/jira/browse/CB-12719?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16029190#comment-16029190 ] jcesarmobile commented on CB-12719: --- I have mixed feelings about this one In one hand, I think current dialogs plugin is more like a native alert, prompt and confirm replacement for the web ones as the web ones can show file name or even the path, so moving the plugin to the dialog element will remove that functionality. So it's true that current implementation is different from the web one, then it's not a real replacement. On the other hand, the dialogs name make more sense for the dialog element. BTW, iOS 10.3 has pretty nice alert dialog in safari (maybe on the WKWebView too?), but sadly it's still the old one on the UIWebView. > Dialogs - [SUNSET | KEEP | INTEGRATE] > - > > Key: CB-12719 > URL: https://issues.apache.org/jira/browse/CB-12719 > Project: Apache Cordova > Issue Type: Sub-task > Components: cordova-plugin-dialogs >Reporter: Shazron Abdullah > > See parent issue. -- 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-12718) WKWebViewEngine - [SUNSET | KEEP | INTEGRATE]
[ https://issues.apache.org/jira/browse/CB-12718?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16028889#comment-16028889 ] jcesarmobile commented on CB-12718: --- Maybe integrate so users just have to set the preference to use WKWebView instead of UIWebView? > WKWebViewEngine - [SUNSET | KEEP | INTEGRATE] > - > > Key: CB-12718 > URL: https://issues.apache.org/jira/browse/CB-12718 > Project: Apache Cordova > Issue Type: Sub-task > Components: cordova-plugin-wkwebview-engine >Reporter: Shazron Abdullah > > See parent issue. -- 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-12709) InAppBrowser - [SUNSET | KEEP | INTEGRATE]
[ https://issues.apache.org/jira/browse/CB-12709?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16028846#comment-16028846 ] jcesarmobile commented on CB-12709: --- There were complains in the past about InAppBrowser plugin clobbering window.open and we added cordova.InAppBrowser.open for such reason, so integrating it into the platform will bring that issue back. > InAppBrowser - [SUNSET | KEEP | INTEGRATE] > -- > > Key: CB-12709 > URL: https://issues.apache.org/jira/browse/CB-12709 > Project: Apache Cordova > Issue Type: Sub-task > Components: cordova-plugin-inappbrowser >Reporter: Shazron Abdullah > > See parent issue. -- 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