[jira] [Assigned] (CB-7930) create coho toolsRelease command based off nightly
[ https://issues.apache.org/jira/browse/CB-7930?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Steve Gill reassigned CB-7930: -- Assignee: (was: Steve Gill) > create coho toolsRelease command based off nightly > -- > > Key: CB-7930 > URL: https://issues.apache.org/jira/browse/CB-7930 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-coho >Reporter: Steve Gill >Priority: Major > > It will be based off coho nightly. Multi-step process. Proposal below. Still > figuring out some details (what to pass in). Feel free to comment and provide > feedback. > Step 1) coho prepare-tools-release --jira ISSUENUMBER > - Use latest tags in platform repos; use in platformsConfig.json > - Include cordova-js & plugman (nightlies don't)(cordova-js: only if changes > exist) > - Update package.json files + relevant dependencies > - npm link relevant repos > - run tests > - generate release notes for tools repos > - Ask user for manual curation for changes in release notes > Step 2) coho publish-tools --rc --jira ISSUENUMBER > - branch tools repos (no need to cherry-pick release log changes) > - update versions on master with -dev > - Commit changes > - Build archive > - publish archive to npm under rc tag > - publish to dist/dev > Step 3) (manual for now) > - Start vote thread > - close vote thread > Step 4) coho publish-tools --final --jira ISSUENUMBER > - Publish to dist & delete dist/dev > - Change npm latest tags to point to new versions > Not including for now: > - Generating issue on Jira (should be done manually pre step 1) > - Pinning dependencies (should be done manually pre step 1) > - license checks (should be done manually pre step 1) > - audit-license-headers (should be done manually pre step 1) > - Changes to docs.cordova.io > - Creating blog post -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Assigned] (CB-10324) Derive whitelist tags from CSP
[ https://issues.apache.org/jira/browse/CB-10324?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Steve Gill reassigned CB-10324: --- Assignee: (was: Steve Gill) > Derive whitelist tags from CSP > -- > > Key: CB-10324 > URL: https://issues.apache.org/jira/browse/CB-10324 > Project: Apache Cordova > Issue Type: Improvement > Components: cordova-android, cordova-ios >Affects Versions: 4.0.1 >Reporter: Gregor Schmidt >Priority: Minor > > When dynamically creating an {{iframe}}, the {{iframe}}'s {{src}} is never > loaded. This worked without issues using 3.9.2. > Example Code: > {code:javascript} > i = document.createElement("iframe"); > i.src = "https://example.org";; > document.body.appendChild(i); > {code} > Please note, that you have to extend the {{Content-Security-Policy}} headers > to include {{https:}} to pass CSP restrictions. > I have also created a sample project to reproduce the problem. You may find > it at https://github.com/schmidt/cordova-ios-iframe-example -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Assigned] (CB-13926) Remove old platforms and plugins from cordova docs
[ https://issues.apache.org/jira/browse/CB-13926?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Steve Gill reassigned CB-13926: --- Assignee: (was: Steve Gill) > Remove old platforms and plugins from cordova docs > -- > > Key: CB-13926 > URL: https://issues.apache.org/jira/browse/CB-13926 > Project: Apache Cordova > Issue Type: Task > Components: cordova-docs >Reporter: Steve Gill >Priority: Major > -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Assigned] (CB-11623) --link-to no longer seems to be working
[ https://issues.apache.org/jira/browse/CB-11623?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Steve Gill reassigned CB-11623: --- Assignee: (was: Steve Gill) > --link-to no longer seems to be working > --- > > Key: CB-11623 > URL: https://issues.apache.org/jira/browse/CB-11623 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-create >Affects Versions: 6.3.0 > Environment: Windows 10, Windows Command Prompt >Reporter: Graham Harper >Priority: Major > Labels: triaged > > We have a build script for installing and building Cordova from source > control that begins with the line: > cordova create bin com.example.domain APPNAME --link-to=www > Where www is our existing app code (html, css, js etc.) > We've been running this build script on new deployments just fine for 6 > months or so, and its behaviour until this version has been to create a > simlink in the newly-created 'bin' folder to our existing app in 'www'; > however, as of 6.3.0 this is no longer working. The command creates the bin > folder, but it only contains the default 'Hello Cordova' application. > --copy-from still seems to be working (although is marked as deprecated), so > we can work around this issue, but it's not appropriate for our deployment > and development process. -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Closed] (CB-14030) Plugins Release, Thu Apr 12 2018
[ https://issues.apache.org/jira/browse/CB-14030?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Steve Gill closed CB-14030. --- Resolution: Fixed > Plugins Release, Thu Apr 12 2018 > > > Key: CB-14030 > URL: https://issues.apache.org/jira/browse/CB-14030 > Project: Apache Cordova > Issue Type: Task > Components: AllPlugins >Reporter: Steve Gill >Assignee: Steve Gill >Priority: Major > > Following steps at > https://github.com/apache/cordova-coho/blob/master/docs/plugins-release-process.md > Generated automatically using cordova-coho. -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Comment Edited] (CB-14030) Plugins Release, Thu Apr 12 2018
[ https://issues.apache.org/jira/browse/CB-14030?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16436634#comment-16436634 ] Steve Gill edited comment on CB-14030 at 4/13/18 7:53 PM: -- vibration@3.1.0 statusbar@2.4.2 media-capture@3.0.2 inappbrowser@3.0.0 globalization@1.11.0 device@2.0.2 camera@4.0.3 battery-status@2.0.2 device-motion@2.0.1 device-orientation@2.0.1 was (Author: stevegill): vibration@3.1.0 statusbar@2.4.2 media-capture@3.0.2 inappbrowser@3.0.0 globalization@1.11.0 device@2.0.2 camera@4.0.3 battery-status@2.0.2 > Plugins Release, Thu Apr 12 2018 > > > Key: CB-14030 > URL: https://issues.apache.org/jira/browse/CB-14030 > Project: Apache Cordova > Issue Type: Task > Components: AllPlugins >Reporter: Steve Gill >Assignee: Steve Gill >Priority: Major > > Following steps at > https://github.com/apache/cordova-coho/blob/master/docs/plugins-release-process.md > Generated automatically using cordova-coho. -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-14030) Plugins Release, Thu Apr 12 2018
[ https://issues.apache.org/jira/browse/CB-14030?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16436634#comment-16436634 ] Steve Gill commented on CB-14030: - vibration@3.1.0 statusbar@2.4.2 media-capture@3.0.2 inappbrowser@3.0.0 globalization@1.11.0 device@2.0.2 camera@4.0.3 battery-status@2.0.2 > Plugins Release, Thu Apr 12 2018 > > > Key: CB-14030 > URL: https://issues.apache.org/jira/browse/CB-14030 > Project: Apache Cordova > Issue Type: Task > Components: AllPlugins >Reporter: Steve Gill >Assignee: Steve Gill >Priority: Major > > Following steps at > https://github.com/apache/cordova-coho/blob/master/docs/plugins-release-process.md > Generated automatically using cordova-coho. -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Created] (CB-14030) Plugins Release, Thu Apr 12 2018
Steve Gill created CB-14030: --- Summary: Plugins Release, Thu Apr 12 2018 Key: CB-14030 URL: https://issues.apache.org/jira/browse/CB-14030 Project: Apache Cordova Issue Type: Task Components: AllPlugins Reporter: Steve Gill Assignee: Steve Gill Following steps at https://github.com/apache/cordova-coho/blob/master/docs/plugins-release-process.md Generated automatically using cordova-coho. -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Resolved] (CB-14022) Vibrate plugin does not work
[ https://issues.apache.org/jira/browse/CB-14022?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Steve Gill resolved CB-14022. - Resolution: Fixed > Vibrate plugin does not work > > > Key: CB-14022 > URL: https://issues.apache.org/jira/browse/CB-14022 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-android >Affects Versions: cordova@7.0.0, cordova-android-7.0.0 >Reporter: Mahesh Kanniah >Assignee: Joe Bowser >Priority: Minor > Fix For: Master > > > navigator.vibrate does not work. > Used to work in earlier versions but just fails to work. > Tested on multiple devices running different android versions. -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Resolved] (CB-13930) Remove deprecated platforms and plugins from docs
[ https://issues.apache.org/jira/browse/CB-13930?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Steve Gill resolved CB-13930. - Resolution: Fixed > Remove deprecated platforms and plugins from docs > - > > Key: CB-13930 > URL: https://issues.apache.org/jira/browse/CB-13930 > Project: Apache Cordova > Issue Type: Task > Components: cordova-docs >Reporter: Steve Gill >Assignee: Steve Gill >Priority: Major > -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Created] (CB-13931) Remove translations from cordova docs site
Steve Gill created CB-13931: --- Summary: Remove translations from cordova docs site Key: CB-13931 URL: https://issues.apache.org/jira/browse/CB-13931 Project: Apache Cordova Issue Type: Task Components: cordova-docs Reporter: Steve Gill -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Created] (CB-13930) Remove deprecated platforms and plugins from docs
Steve Gill created CB-13930: --- Summary: Remove deprecated platforms and plugins from docs Key: CB-13930 URL: https://issues.apache.org/jira/browse/CB-13930 Project: Apache Cordova Issue Type: Task Components: cordova-docs Reporter: Steve Gill Assignee: Steve Gill -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Created] (CB-13926) Remove old platforms and plugins from cordova docs
Steve Gill created CB-13926: --- Summary: Remove old platforms and plugins from cordova docs Key: CB-13926 URL: https://issues.apache.org/jira/browse/CB-13926 Project: Apache Cordova Issue Type: Task Components: cordova-docs Reporter: Steve Gill Assignee: Steve Gill -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Created] (CB-13924) Create cordova 8 for docs
Steve Gill created CB-13924: --- Summary: Create cordova 8 for docs Key: CB-13924 URL: https://issues.apache.org/jira/browse/CB-13924 Project: Apache Cordova Issue Type: Task Components: cordova-docs Reporter: Steve Gill Assignee: Steve Gill Cordova docs is still set to 7. I'm going to upgrade it to 8. -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Assigned] (CB-13797) Fetch failing to install plugin dependencies
[ https://issues.apache.org/jira/browse/CB-13797?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Steve Gill reassigned CB-13797: --- Assignee: Steve Gill > Fetch failing to install plugin dependencies > > > Key: CB-13797 > URL: https://issues.apache.org/jira/browse/CB-13797 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-fetch > Environment: cordova@8.0.0 > cordova-common@2.2.1 > cordova-lib@8.0.0 > cordova-fetch@1.3.0 > npm@5.6.0 > node@9.4.0 > >Reporter: Darryl Pogue >Assignee: Steve Gill >Priority: Critical > > I'm currently unable to install Microsoft's cordova-plugin-code-push due to > some incredibly confusing errors when installing the plugin dependencies. > The plugin [lists 3 > dependencies|https://github.com/Microsoft/cordova-plugin-code-push/blob/e828a5eacd42dcd81bacf121a3e62735c3500227/plugin.xml#L10-L12] > in plugin.xml. > Cordova successfully installs the first (code-push) dependency. > Cordova attempts to install the second (cordova-plugin-device) dependency. It > appears that the npm install is successful. > At the end of the npm install, cordova-fetch [attempts to > discover|https://github.com/apache/cordova-fetch/blob/master/index.js#L100] > what was just installed. Rather than finding "cordova-plugin-device", it > finds "code-push" for a second time. > Then it fails with the following confusing error message: > {noformat} > Failed to install 'cordova-plugin-code-push': Error: Expected plugin to have > ID "cordova-plugin-dialogs" but got "code-push".{noformat} > The full verbose output from {{cordova prepare}} is below: > {noformat} > Discovered plugin "cordova-plugin-code-push" in config.xml. Adding it to the > project > No scripts found for hook "before_plugin_add". > Calling plugman.fetch on plugin "cordova-plugin-code-push@^1.11.2" > Running command: npm install cordova-plugin-code-push@^1.11.2 --production > --no-save > Command finished with error code 0: npm > install,cordova-plugin-code-push@^1.11.2,--production,--no-save > Copying plugin "/PROJECT/node_modules/cordova-plugin-code-push" => > "/PROJECT/plugins/cordova-plugin-code-push" > Calling plugman.install on plugin "/PROJECT/plugins/cordova-plugin-code-push" > for platform "android > Installing "cordova-plugin-code-push" for android > Running command: /PROJECT/platforms/android/cordova/version > Command finished with error code 0: > /PROJECT/platforms/android/cordova/version > Dependencies detected, iterating through them... > Requesting plugin "code-push@2.0.4". > Plugin dependency "code-push" not fetched, retrieving then installing. > Running command: npm install code-push@2.0.4 --production --no-save > Command finished with error code 0: npm > install,code-push@2.0.4,--production,--no-save > Copying plugin "/PROJECT/node_modules/code-push" => > "/PROJECT/plugins/code-push" > Installing "code-push" for android > Finding scripts for "before_plugin_install" hook from plugin code-push on > android platform only. > No scripts found for hook "before_plugin_install". > Install start for "code-push" on android. > Beginning processing of action stack for android project... > Action stack processing complete. > Install complete for code-push on android. > Finding scripts for "after_plugin_install" hook from plugin code-push on > android platform only. > No scripts found for hook "after_plugin_install". > Requesting plugin "cordova-plugin-dialogs@>=1.1.1". > Plugin dependency "cordova-plugin-dialogs" not fetched, retrieving then > installing. > Running command: npm install cordova-plugin-dialogs@>=1.1.1 --production > --no-save > Command finished with error code 0: npm > install,cordova-plugin-dialogs@>=1.1.1,--production,--no-save > Copying plugin "/PROJECT/node_modules/code-push" => > "/PROJECT/plugins/code-push" > Failed to install 'cordova-plugin-code-push': Error: Expected plugin to have > ID "cordova-plugin-dialogs" but got "code-push". > at checkID (/PROJECT/node_modules/cordova-lib/src/plugman/fetch.js:215:15) > at /PROJECT/node_modules/cordova-lib/src/plugman/fetch.js:199:9 > at _fulfilled (/PROJECT/node_modules/cordova-lib/node_modules/q/q.js:787:54) > at self.promiseDispatch.done > (/PROJECT/node_modules/cordova-lib/node_modules/q/q.js:816:30) > at Promise.promise.promiseDispatch > (/PROJECT/node_modules/cordova-lib/node_modules/q/q.js:749:13) > at /PROJECT/node_modules/cordova-lib/node_modules/q/q.js:557:44 > at flush (/PROJECT/node_modules/cordova-lib/node_modules/q/q.js:108:17) > at process._tickCallback (internal/process/next_tick.js:150:11) > Failed to restore plugin "cordova-plugin-code-push" from config.xml. You > might need to try adding it again. Error: Error: Expected plugin to have ID > "cordova-plugin-dialogs" but got "code-push".{noformat} -- This me
[jira] [Resolved] (CB-12905) LaunchBrowser promise in linux, not resolved until the browser process terminates.
[ https://issues.apache.org/jira/browse/CB-12905?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Steve Gill resolved CB-12905. - Resolution: Fixed > LaunchBrowser promise in linux, not resolved until the browser process > terminates. > -- > > Key: CB-12905 > URL: https://issues.apache.org/jira/browse/CB-12905 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-serve >Affects Versions: 6.5.0, 7.0.1 > Environment: OS: Ubuntu 16.04.2 LTS > cordova: 6.5.0 > simulate: 0.3.12 > node: v7.10.0 > npm: 4.6.1 >Reporter: Pavel Yakovlev >Assignee: Steve Gill >Priority: Minor > > LaunchBrowser promise in linux, not resolved until the browser process > terminates. -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Resolved] (CB-12110) cordova-plugin-compat@1.1.0 release, Nov 2, 2016
[ https://issues.apache.org/jira/browse/CB-12110?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Steve Gill resolved CB-12110. - Resolution: Fixed > cordova-plugin-compat@1.1.0 release, Nov 2, 2016 > > > Key: CB-12110 > URL: https://issues.apache.org/jira/browse/CB-12110 > Project: Apache Cordova > Issue Type: Task > Components: cordova-plugin-compat >Reporter: Steve Gill >Assignee: Steve Gill >Priority: Major > Fix For: cordova-plugin-compat@1.1.0 > > > "Following steps at > https://github.com/apache/cordova-coho/blob/master/docs/plugins-release-process.md"; -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Resolved] (CB-13542) Plugins Release, Mon Nov 06 2017
[ https://issues.apache.org/jira/browse/CB-13542?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Steve Gill resolved CB-13542. - Resolution: Fixed > Plugins Release, Mon Nov 06 2017 > > > Key: CB-13542 > URL: https://issues.apache.org/jira/browse/CB-13542 > Project: Apache Cordova > Issue Type: Task > Components: AllPlugins >Reporter: Steve Gill >Assignee: Steve Gill >Priority: Major > > Following steps at > https://github.com/apache/cordova-coho/blob/master/docs/plugins-release-process.md > Generated automatically using cordova-coho. -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Resolved] (CB-13879) Updated Android Gradle plugin to 3.0.1
[ https://issues.apache.org/jira/browse/CB-13879?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Steve Gill resolved CB-13879. - Resolution: Fixed > Updated Android Gradle plugin to 3.0.1 > -- > > Key: CB-13879 > URL: https://issues.apache.org/jira/browse/CB-13879 > Project: Apache Cordova > Issue Type: Improvement > Components: cordova-android >Reporter: Steve Gill >Assignee: Steve Gill >Priority: Major > > The current android gradle plugin is set to 3.0.0. Some plugins are seeing > issues with this version and the latest version of playservices. Going to > update this. -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Resolved] (CB-13912) Cordova-Android Platform Release Feb 20, 2018
[ https://issues.apache.org/jira/browse/CB-13912?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Steve Gill resolved CB-13912. - Resolution: Fixed > Cordova-Android Platform Release Feb 20, 2018 > - > > Key: CB-13912 > URL: https://issues.apache.org/jira/browse/CB-13912 > Project: Apache Cordova > Issue Type: Task >Reporter: Steve Gill >Assignee: Steve Gill >Priority: Major > > Thinking version 7.1.0. > Changes: > * :arrow_up: Bump gradle tools dependency to 3.0.1 for project template > * CB-13879 updated gradle plugin > * Update android_sdk.js > * CB-13831: (android) Update `android-versions` to 1.3.0 to support SDK 27. > * CB-13800: (android) Drop pre-KitKat specific code > * CB-13724: Updated the Android Tooling required for the latest version on > both the test project, and the template > * CB-13724: Bump Target SDK to API 27 > * CB-13646: End of an era. Using the deprecated NDK by default breaks the > build. Crosswalk users need to specify the Gradle parameters to keep it > working. > * CB-12218: (android) Fix consistency of null result message > * CB-13571: (android) Prevent crash with unrecognized android version > * CB-13721 (Android): fix build apps that use cdvHelpers.getConfigPreference > * CB-12914: Test needs SDK bumps > * Forgot to bump AndroidManifest.xml for play store reasons > * CB-13621: eslint error > * CB-13622: Testing commit > * CB-13621: Wrote similar warning to CB-12948 on iOS. We no longer support > update. > * Update JS snapshot to version 7.1.0-dev (via coho) > * Set VERSION to 7.1.0-dev (via coho) -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Created] (CB-13912) Cordova-Android Platform Release Feb 20, 2018
Steve Gill created CB-13912: --- Summary: Cordova-Android Platform Release Feb 20, 2018 Key: CB-13912 URL: https://issues.apache.org/jira/browse/CB-13912 Project: Apache Cordova Issue Type: Task Reporter: Steve Gill Assignee: Steve Gill Thinking version 7.1.0. Changes: * :arrow_up: Bump gradle tools dependency to 3.0.1 for project template * CB-13879 updated gradle plugin * Update android_sdk.js * CB-13831: (android) Update `android-versions` to 1.3.0 to support SDK 27. * CB-13800: (android) Drop pre-KitKat specific code * CB-13724: Updated the Android Tooling required for the latest version on both the test project, and the template * CB-13724: Bump Target SDK to API 27 * CB-13646: End of an era. Using the deprecated NDK by default breaks the build. Crosswalk users need to specify the Gradle parameters to keep it working. * CB-12218: (android) Fix consistency of null result message * CB-13571: (android) Prevent crash with unrecognized android version * CB-13721 (Android): fix build apps that use cdvHelpers.getConfigPreference * CB-12914: Test needs SDK bumps * Forgot to bump AndroidManifest.xml for play store reasons * CB-13621: eslint error * CB-13622: Testing commit * CB-13621: Wrote similar warning to CB-12948 on iOS. We no longer support update. * Update JS snapshot to version 7.1.0-dev (via coho) * Set VERSION to 7.1.0-dev (via coho) -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Created] (CB-13879) Updated Android Gradle plugin to 3.0.1
Steve Gill created CB-13879: --- Summary: Updated Android Gradle plugin to 3.0.1 Key: CB-13879 URL: https://issues.apache.org/jira/browse/CB-13879 Project: Apache Cordova Issue Type: Improvement Components: cordova-android Reporter: Steve Gill Assignee: Steve Gill The current android gradle plugin is set to 3.0.0. Some plugins are seeing issues with this version and the latest version of playservices. Going to update this. -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-13797) Fetch failing to install plugin dependencies
[ https://issues.apache.org/jira/browse/CB-13797?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16357754#comment-16357754 ] Steve Gill commented on CB-13797: - I can't reproduce this. I tried with cordova@8 from npm and my local dev. I added cordova-android and installed code-push. No issues. Than I tried restoring code-push via config.xml/package.json. No issue. > Fetch failing to install plugin dependencies > > > Key: CB-13797 > URL: https://issues.apache.org/jira/browse/CB-13797 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-fetch > Environment: cordova@8.0.0 > cordova-common@2.2.1 > cordova-lib@8.0.0 > cordova-fetch@1.3.0 > npm@5.6.0 > node@9.4.0 > >Reporter: Darryl Pogue >Priority: Critical > > I'm currently unable to install Microsoft's cordova-plugin-code-push due to > some incredibly confusing errors when installing the plugin dependencies. > The plugin [lists 3 > dependencies|https://github.com/Microsoft/cordova-plugin-code-push/blob/e828a5eacd42dcd81bacf121a3e62735c3500227/plugin.xml#L10-L12] > in plugin.xml. > Cordova successfully installs the first (code-push) dependency. > Cordova attempts to install the second (cordova-plugin-device) dependency. It > appears that the npm install is successful. > At the end of the npm install, cordova-fetch [attempts to > discover|https://github.com/apache/cordova-fetch/blob/master/index.js#L100] > what was just installed. Rather than finding "cordova-plugin-device", it > finds "code-push" for a second time. > Then it fails with the following confusing error message: > {noformat} > Failed to install 'cordova-plugin-code-push': Error: Expected plugin to have > ID "cordova-plugin-dialogs" but got "code-push".{noformat} > The full verbose output from {{cordova prepare}} is below: > {noformat} > Discovered plugin "cordova-plugin-code-push" in config.xml. Adding it to the > project > No scripts found for hook "before_plugin_add". > Calling plugman.fetch on plugin "cordova-plugin-code-push@^1.11.2" > Running command: npm install cordova-plugin-code-push@^1.11.2 --production > --no-save > Command finished with error code 0: npm > install,cordova-plugin-code-push@^1.11.2,--production,--no-save > Copying plugin "/PROJECT/node_modules/cordova-plugin-code-push" => > "/PROJECT/plugins/cordova-plugin-code-push" > Calling plugman.install on plugin "/PROJECT/plugins/cordova-plugin-code-push" > for platform "android > Installing "cordova-plugin-code-push" for android > Running command: /PROJECT/platforms/android/cordova/version > Command finished with error code 0: > /PROJECT/platforms/android/cordova/version > Dependencies detected, iterating through them... > Requesting plugin "code-push@2.0.4". > Plugin dependency "code-push" not fetched, retrieving then installing. > Running command: npm install code-push@2.0.4 --production --no-save > Command finished with error code 0: npm > install,code-push@2.0.4,--production,--no-save > Copying plugin "/PROJECT/node_modules/code-push" => > "/PROJECT/plugins/code-push" > Installing "code-push" for android > Finding scripts for "before_plugin_install" hook from plugin code-push on > android platform only. > No scripts found for hook "before_plugin_install". > Install start for "code-push" on android. > Beginning processing of action stack for android project... > Action stack processing complete. > Install complete for code-push on android. > Finding scripts for "after_plugin_install" hook from plugin code-push on > android platform only. > No scripts found for hook "after_plugin_install". > Requesting plugin "cordova-plugin-dialogs@>=1.1.1". > Plugin dependency "cordova-plugin-dialogs" not fetched, retrieving then > installing. > Running command: npm install cordova-plugin-dialogs@>=1.1.1 --production > --no-save > Command finished with error code 0: npm > install,cordova-plugin-dialogs@>=1.1.1,--production,--no-save > Copying plugin "/PROJECT/node_modules/code-push" => > "/PROJECT/plugins/code-push" > Failed to install 'cordova-plugin-code-push': Error: Expected plugin to have > ID "cordova-plugin-dialogs" but got "code-push". > at checkID (/PROJECT/node_modules/cordova-lib/src/plugman/fetch.js:215:15) > at /PROJECT/node_modules/cordova-lib/src/plugman/fetch.js:199:9 > at _fulfilled (/PROJECT/node_modules/cordova-lib/node_modules/q/q.js:787:54) > at self.promiseDispatch.done > (/PROJECT/node_modules/cordova-lib/node_modules/q/q.js:816:30) > at Promise.promise.promiseDispatch > (/PROJECT/node_modules/cordova-lib/node_modules/q/q.js:749:13) > at /PROJECT/node_modules/cordova-lib/node_modules/q/q.js:557:44 > at flush (/PROJECT/node_modules/cordova-lib/node_modules/q/q.js:108:17) > at process._tickCallback (internal/process/next_tick.js:150:11) > Failed to restore plugi
[jira] [Resolved] (CB-13689) Cordova-Browser@5.0.3 Platform Release Dec 18, 2017
[ https://issues.apache.org/jira/browse/CB-13689?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Steve Gill resolved CB-13689. - Resolution: Fixed > Cordova-Browser@5.0.3 Platform Release Dec 18, 2017 > --- > > Key: CB-13689 > URL: https://issues.apache.org/jira/browse/CB-13689 > Project: Apache Cordova > Issue Type: Task >Reporter: Steve Gill >Assignee: Steve Gill > > "Following steps at > https://github.com/apache/cordova-coho/blob/master/docs/platforms-release-process.md"; -- This message was sent by Atlassian JIRA (v6.4.14#64029) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Resolved] (CB-13599) cordova-common release Nov 21, 2017
[ https://issues.apache.org/jira/browse/CB-13599?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Steve Gill resolved CB-13599. - Resolution: Fixed > cordova-common release Nov 21, 2017 > --- > > Key: CB-13599 > URL: https://issues.apache.org/jira/browse/CB-13599 > Project: Apache Cordova > Issue Type: Task > Components: cordova-common >Reporter: Steve Gill >Assignee: Steve Gill > > "Following steps at > https://github.com/apache/cordova-coho/blob/master/docs/tools-release-process.md"; -- This message was sent by Atlassian JIRA (v6.4.14#64029) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Resolved] (CB-13681) Plugins Release, Fri Dec 15 2017
[ https://issues.apache.org/jira/browse/CB-13681?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Steve Gill resolved CB-13681. - Resolution: Fixed > Plugins Release, Fri Dec 15 2017 > > > Key: CB-13681 > URL: https://issues.apache.org/jira/browse/CB-13681 > Project: Apache Cordova > Issue Type: Task > Components: AllPlugins >Reporter: Steve Gill >Assignee: Steve Gill > > Following steps at > https://github.com/apache/cordova-coho/blob/master/docs/plugins-release-process.md > Generated automatically using cordova-coho. -- This message was sent by Atlassian JIRA (v6.4.14#64029) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Updated] (CB-13689) Cordova-Browser@5.0.3 Platform Release Dec 18, 2017
[ https://issues.apache.org/jira/browse/CB-13689?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Steve Gill updated CB-13689: Summary: Cordova-Browser@5.0.3 Platform Release Dec 18, 2017 (was: Cordova-Browser@5.02 Platform Release Dec 18, 2017) > Cordova-Browser@5.0.3 Platform Release Dec 18, 2017 > --- > > Key: CB-13689 > URL: https://issues.apache.org/jira/browse/CB-13689 > Project: Apache Cordova > Issue Type: Task >Reporter: Steve Gill >Assignee: Steve Gill > > "Following steps at > https://github.com/apache/cordova-coho/blob/master/docs/platforms-release-process.md"; -- This message was sent by Atlassian JIRA (v6.4.14#64029) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-13689) Cordova-Browser@5.02 Platform Release Dec 18, 2017
[ https://issues.apache.org/jira/browse/CB-13689?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16299061#comment-16299061 ] Steve Gill commented on CB-13689: - Doing a quick 5.0.3 release for browser due to not merging master into branch before release > Cordova-Browser@5.02 Platform Release Dec 18, 2017 > -- > > Key: CB-13689 > URL: https://issues.apache.org/jira/browse/CB-13689 > Project: Apache Cordova > Issue Type: Task >Reporter: Steve Gill >Assignee: Steve Gill > > "Following steps at > https://github.com/apache/cordova-coho/blob/master/docs/platforms-release-process.md"; -- This message was sent by Atlassian JIRA (v6.4.14#64029) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Closed] (CB-13674) Tools Release Dec 12, 2017
[ https://issues.apache.org/jira/browse/CB-13674?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Steve Gill closed CB-13674. --- Resolution: Fixed > Tools Release Dec 12, 2017 > -- > > Key: CB-13674 > URL: https://issues.apache.org/jira/browse/CB-13674 > Project: Apache Cordova > Issue Type: Task >Reporter: Steve Gill >Assignee: Steve Gill > > Following steps at > https://github.com/apache/cordova-coho/blob/master/docs/tools-release-process.md -- This message was sent by Atlassian JIRA (v6.4.14#64029) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Created] (CB-13689) Cordova-Browser@5.02 Platform Release Dec 18, 2017
Steve Gill created CB-13689: --- Summary: Cordova-Browser@5.02 Platform Release Dec 18, 2017 Key: CB-13689 URL: https://issues.apache.org/jira/browse/CB-13689 Project: Apache Cordova Issue Type: Task Reporter: Steve Gill "Following steps at https://github.com/apache/cordova-coho/blob/master/docs/platforms-release-process.md"; -- This message was sent by Atlassian JIRA (v6.4.14#64029) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Assigned] (CB-13689) Cordova-Browser@5.02 Platform Release Dec 18, 2017
[ https://issues.apache.org/jira/browse/CB-13689?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Steve Gill reassigned CB-13689: --- Assignee: Steve Gill > Cordova-Browser@5.02 Platform Release Dec 18, 2017 > -- > > Key: CB-13689 > URL: https://issues.apache.org/jira/browse/CB-13689 > Project: Apache Cordova > Issue Type: Task >Reporter: Steve Gill >Assignee: Steve Gill > > "Following steps at > https://github.com/apache/cordova-coho/blob/master/docs/platforms-release-process.md"; -- This message was sent by Atlassian JIRA (v6.4.14#64029) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Comment Edited] (CB-13681) Plugins Release, Fri Dec 15 2017
[ https://issues.apache.org/jira/browse/CB-13681?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16293522#comment-16293522 ] Steve Gill edited comment on CB-13681 at 12/16/17 1:19 AM: --- cordova-plugin-battery-status, cordova-plugin-camera, cordova-plugin-contacts, cordova-plugin-device, cordova-plugin-dialogs, cordova-plugin-file, cordova-plugin-geolocation, cordova-plugin-globalization, cordova-plugin-inappbrowser, cordova-plugin-media, cordova-plugin-media-capture, cordova-plugin-network-information, cordova-plugin-splashscreen, cordova-plugin-statusbar, cordova-plugin-screen-orientation, cordova-plugin-vibration was (Author: stevegill): cordova-plugin-battery-status, cordova-plugin-camera, cordova-plugin-contacts, cordova-plugin-device, cordova-plugin-dialogs, cordova- plugin-file, cordova-plugin-geolocation, cordova-plugin-globalization, cordova-plugin-inappbrowser, cordova-plugin-media, cordova-plugin-media-capture, cordova-plugin-network-i nformation, cordova-plugin-splashscreen, cordova-plugin-statusbar, cordova-plugin-screen-orientation, cordova-plugin-vibration > Plugins Release, Fri Dec 15 2017 > > > Key: CB-13681 > URL: https://issues.apache.org/jira/browse/CB-13681 > Project: Apache Cordova > Issue Type: Task > Components: AllPlugins >Reporter: Steve Gill >Assignee: Steve Gill > > Following steps at > https://github.com/apache/cordova-coho/blob/master/docs/plugins-release-process.md > Generated automatically using cordova-coho. -- This message was sent by Atlassian JIRA (v6.4.14#64029) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-13681) Plugins Release, Fri Dec 15 2017
[ https://issues.apache.org/jira/browse/CB-13681?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16293522#comment-16293522 ] Steve Gill commented on CB-13681: - cordova-plugin-battery-status, cordova-plugin-camera, cordova-plugin-contacts, cordova-plugin-device, cordova-plugin-dialogs, cordova- plugin-file, cordova-plugin-geolocation, cordova-plugin-globalization, cordova-plugin-inappbrowser, cordova-plugin-media, cordova-plugin-media-capture, cordova-plugin-network-i nformation, cordova-plugin-splashscreen, cordova-plugin-statusbar, cordova-plugin-screen-orientation, cordova-plugin-vibration > Plugins Release, Fri Dec 15 2017 > > > Key: CB-13681 > URL: https://issues.apache.org/jira/browse/CB-13681 > Project: Apache Cordova > Issue Type: Task > Components: AllPlugins >Reporter: Steve Gill >Assignee: Steve Gill > > Following steps at > https://github.com/apache/cordova-coho/blob/master/docs/plugins-release-process.md > Generated automatically using cordova-coho. -- This message was sent by Atlassian JIRA (v6.4.14#64029) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Created] (CB-13681) Plugins Release, Fri Dec 15 2017
Steve Gill created CB-13681: --- Summary: Plugins Release, Fri Dec 15 2017 Key: CB-13681 URL: https://issues.apache.org/jira/browse/CB-13681 Project: Apache Cordova Issue Type: Task Components: AllPlugins Reporter: Steve Gill Assignee: Steve Gill Following steps at https://github.com/apache/cordova-coho/blob/master/docs/plugins-release-process.md Generated automatically using cordova-coho. -- This message was sent by Atlassian JIRA (v6.4.14#64029) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-13674) Tools Release Dec 12, 2017
[ https://issues.apache.org/jira/browse/CB-13674?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16291446#comment-16291446 ] Steve Gill commented on CB-13674: - cordova-lib: Setting version to 8.0.0 cordova-plugman: Setting version to 12.0.0 cordova-cli: Setting version to 8.0.0 cordova-common: Setting version to 2.2.1 cordova-fetch: Setting version to 1.3.0 cordova-create: Setting version to 1.1.2 > Tools Release Dec 12, 2017 > -- > > Key: CB-13674 > URL: https://issues.apache.org/jira/browse/CB-13674 > Project: Apache Cordova > Issue Type: Task >Reporter: Steve Gill >Assignee: Steve Gill > > Following steps at > https://github.com/apache/cordova-coho/blob/master/docs/tools-release-process.md -- This message was sent by Atlassian JIRA (v6.4.14#64029) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Created] (CB-13674) Tools Release Dec 12, 2017
Steve Gill created CB-13674: --- Summary: Tools Release Dec 12, 2017 Key: CB-13674 URL: https://issues.apache.org/jira/browse/CB-13674 Project: Apache Cordova Issue Type: Task Reporter: Steve Gill Assignee: Steve Gill Following steps at https://github.com/apache/cordova-coho/blob/master/docs/tools-release-process.md -- This message was sent by Atlassian JIRA (v6.4.14#64029) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Assigned] (CB-13599) cordova-common release Nov 21, 2017
[ https://issues.apache.org/jira/browse/CB-13599?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Steve Gill reassigned CB-13599: --- Assignee: Steve Gill > cordova-common release Nov 21, 2017 > --- > > Key: CB-13599 > URL: https://issues.apache.org/jira/browse/CB-13599 > Project: Apache Cordova > Issue Type: Task > Components: cordova-common >Reporter: Steve Gill >Assignee: Steve Gill > > "Following steps at > https://github.com/apache/cordova-coho/blob/master/docs/tools-release-process.md"; -- This message was sent by Atlassian JIRA (v6.4.14#64029) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Created] (CB-13599) cordova-common release Nov 21, 2017
Steve Gill created CB-13599: --- Summary: cordova-common release Nov 21, 2017 Key: CB-13599 URL: https://issues.apache.org/jira/browse/CB-13599 Project: Apache Cordova Issue Type: Task Components: cordova-common Reporter: Steve Gill "Following steps at https://github.com/apache/cordova-coho/blob/master/docs/tools-release-process.md"; -- This message was sent by Atlassian JIRA (v6.4.14#64029) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Resolved] (CB-13558) Unable to upload AAR to bintray
[ https://issues.apache.org/jira/browse/CB-13558?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Steve Gill resolved CB-13558. - Resolution: Fixed done. https://bintray.com/cordova/maven/cordova-android > Unable to upload AAR to bintray > --- > > Key: CB-13558 > URL: https://issues.apache.org/jira/browse/CB-13558 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-android >Reporter: Joe Bowser >Assignee: Steve Gill > > I was unable to upload to bintray with the old version of Gradle that was > saved on the framework project. When I updated it, I now get a 401 > Unauthorized Error. This was found when releasing Cordova-Android 6.4.0 > (CB-13528) -- This message was sent by Atlassian JIRA (v6.4.14#64029) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Created] (CB-13542) Plugins Release, Mon Nov 06 2017
Steve Gill created CB-13542: --- Summary: Plugins Release, Mon Nov 06 2017 Key: CB-13542 URL: https://issues.apache.org/jira/browse/CB-13542 Project: Apache Cordova Issue Type: Task Components: AllPlugins Reporter: Steve Gill Assignee: Steve Gill Following steps at https://github.com/apache/cordova-coho/blob/master/docs/plugins-release-process.md Generated automatically using cordova-coho. -- This message was sent by Atlassian JIRA (v6.4.14#64029) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Updated] (CB-13532) Cordova fails to find platform/plugin versions in package.json devDependencies
[ https://issues.apache.org/jira/browse/CB-13532?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Steve Gill updated CB-13532: Labels: tools-next (was: ) > Cordova fails to find platform/plugin versions in package.json devDependencies > -- > > Key: CB-13532 > URL: https://issues.apache.org/jira/browse/CB-13532 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-lib >Reporter: Darryl Pogue >Priority: Major > Labels: tools-next > > Cordova only looks at the {{dependencies}} section of package.json, and > ignores anything specified in {{devDependencies}}. This results in the > default pinned versions for platforms/plugins being used. > Code in question: > https://github.com/apache/cordova-lib/blob/da8ebf6cb81dd84c22e24fdf0baff9837a544b2d/src/cordova/platform/addHelper.js#L109-L113 > This is wrong because Cordova (and its related bits) is not a dependency of > my application code, it is a build tool that belongs in devDependencies. -- This message was sent by Atlassian JIRA (v6.4.14#64029) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Assigned] (CB-13511) update coho to work with apache repos that moved over to github
[ https://issues.apache.org/jira/browse/CB-13511?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Steve Gill reassigned CB-13511: --- Assignee: Steve Gill > update coho to work with apache repos that moved over to github > --- > > Key: CB-13511 > URL: https://issues.apache.org/jira/browse/CB-13511 > Project: Apache Cordova > Issue Type: Improvement >Reporter: Steve Gill >Assignee: Steve Gill >Priority: Major > > We don't need the apache git repos anymore since our repos have been moved > over to github proper. Update coho to reflect that -- This message was sent by Atlassian JIRA (v6.4.14#64029) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Resolved] (CB-13511) update coho to work with apache repos that moved over to github
[ https://issues.apache.org/jira/browse/CB-13511?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Steve Gill resolved CB-13511. - Resolution: Fixed > update coho to work with apache repos that moved over to github > --- > > Key: CB-13511 > URL: https://issues.apache.org/jira/browse/CB-13511 > Project: Apache Cordova > Issue Type: Improvement >Reporter: Steve Gill >Assignee: Steve Gill >Priority: Major > > We don't need the apache git repos anymore since our repos have been moved > over to github proper. Update coho to reflect that -- This message was sent by Atlassian JIRA (v6.4.14#64029) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Resolved] (CB-13481) file:///android_asset/ shouldn't require READ_EXTERNAL_STORAGE permission
[ https://issues.apache.org/jira/browse/CB-13481?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Steve Gill resolved CB-13481. - Resolution: Fixed merged. Thanks! > file:///android_asset/ shouldn't require READ_EXTERNAL_STORAGE permission > - > > Key: CB-13481 > URL: https://issues.apache.org/jira/browse/CB-13481 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-plugin-file >Affects Versions: Master > Environment: cordova-android 6.3.0. > Running on Android 6.0. >Reporter: Ibrahim M. Ghazal >Priority: Major > > On Android 6+, trying to read a file from > {{cordova.file.applicationDirectory}} ({{file:///android_asset/}}) opens the > runtime permissions window and asks the user "Allow AppName to access photos, > media, and files on your device?". This is obviously incorrect as the app > always has the permission to read its own assets. > Sample code that shows the issue: > {code} > function log(a) {console.log(a);}; > resolveLocalFileSystemURL(cordova.file.applicationDirectory, > function(applicationDirectory) { > applicationDirectory.getFile('www/index.js', {}, log, log); > }, log); > {code} -- This message was sent by Atlassian JIRA (v6.4.14#64029) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Updated] (CB-12810) keep existing formatting in package.json
[ https://issues.apache.org/jira/browse/CB-12810?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Steve Gill updated CB-12810: Labels: backlog cordova-8.0.0 cordova-next tools-next (was: backlog cordova-8.0.0 cordova-next) > keep existing formatting in package.json > > > Key: CB-12810 > URL: https://issues.apache.org/jira/browse/CB-12810 > Project: Apache Cordova > Issue Type: Improvement > Components: cordova-lib >Affects Versions: 7.0.0 >Reporter: Steve Gill >Priority: Minor > Labels: backlog, cordova-8.0.0, cordova-next, tools-next > > We will write our own indentation in package.json. For commands that shell > out to cordova-fetch and therefore npm, we have no control over it (cordova > platform/plugin add/rm). > We could theoretically keep indentaiton for commands where we write to > package.json (also platform/plugin add/rm to cordova key & during restore > when we sync config.xml & package.json). > This issue is probably not worth implementing. > npm@5 seems like it will respect existing formatting. > Previous issue with npm formatting: https://github.com/npm/npm/issues/5694 > npm5 respecting indentation: https://github.com/npm/npm/issues/16244 -- This message was sent by Atlassian JIRA (v6.4.14#64029) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Updated] (CB-13009) cordova prepare unnecessarily edits config.xml and package.json
[ https://issues.apache.org/jira/browse/CB-13009?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Steve Gill updated CB-13009: Labels: tools-next (was: ) > cordova prepare unnecessarily edits config.xml and package.json > --- > > Key: CB-13009 > URL: https://issues.apache.org/jira/browse/CB-13009 > Project: Apache Cordova > Issue Type: Improvement > Components: cordova-cli >Affects Versions: 7.0.1 > Environment: Mac OSX 10.12.5 > Node 8.1.2 > npm 5.0.3 >Reporter: Christian Tschanz >Priority: Minor > Labels: tools-next > > I crafted my config.xml file by hand (and added comments) to make it more > readable and maintainable. I also removed all '^' or '~' from the versions of > the engines/plugins to fix the version to one specific one (I will manually > test new versions and update if possible). I also removed the '^' from the > package.json file it generates. > When running 'cordova prepare' it will completely re-create the config.xml > file and therefore re-format it. It will also re-add the '^' to all versions. > It will also add the '^' to the versions in the package.json file. > This is VERY annoying. Previous versions did not behave like this. They only > edited the config.xml if explicitly told to do so. I really, really want to > fix the versions to a specific one and don't want it to always add the '^'. I > would also prefer it if it the 'prepare' command would not re-create the > config.xml file as there is no need for that and it kills all formatting and > comments. > At the moment I hope it respects the 'package-lock' file when installing > plugins because I can't have it install newer versions automatically. Sadly > many plugins are not as stable and well maintained for such an automatic > update to work well in large projects. -- This message was sent by Atlassian JIRA (v6.4.14#64029) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Created] (CB-13511) update coho to work with apache repos that moved over to github
Steve Gill created CB-13511: --- Summary: update coho to work with apache repos that moved over to github Key: CB-13511 URL: https://issues.apache.org/jira/browse/CB-13511 Project: Apache Cordova Issue Type: Improvement Reporter: Steve Gill We don't need the apache git repos anymore since our repos have been moved over to github proper. Update coho to reflect that -- This message was sent by Atlassian JIRA (v6.4.14#64029) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-13228) cordova-browser@5 doesn't add with cordova<7
[ https://issues.apache.org/jira/browse/CB-13228?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16213205#comment-16213205 ] Steve Gill commented on CB-13228: - Browser release is out. It should work now. > cordova-browser@5 doesn't add with cordova<7 > > > Key: CB-13228 > URL: https://issues.apache.org/jira/browse/CB-13228 > Project: Apache Cordova > Issue Type: Bug >Affects Versions: browser@5.0.0 >Reporter: Steve Gill >Assignee: Steve Gill > Labels: browser-next, easy-fix > Fix For: 5.0.1 > > > {code} > cordova platform add browser@latest --nofetch > Warning: using prerelease version 7.0.2-dev (cordova-lib@7.0.2-dev) > Adding browser project... > Unable to load PlatformApi from platform. Error: Cannot find module > 'cordova-common' > Error: Uncaught, unspecified "error" event. (The platform "browser" does not > appear to be a valid cordova platform. It is missing API.js. browser not > supported.) > {code} > I believe cordova-common wasn't properly bundled into cordova-browser@5. > Works fine if I add it locally. Easy fix -- This message was sent by Atlassian JIRA (v6.4.14#64029) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Resolved] (CB-13228) cordova-browser@5 doesn't add with cordova<7
[ https://issues.apache.org/jira/browse/CB-13228?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Steve Gill resolved CB-13228. - Resolution: Fixed > cordova-browser@5 doesn't add with cordova<7 > > > Key: CB-13228 > URL: https://issues.apache.org/jira/browse/CB-13228 > Project: Apache Cordova > Issue Type: Bug >Affects Versions: browser@5.0.0 >Reporter: Steve Gill >Assignee: Steve Gill > Labels: browser-next, easy-fix > Fix For: 5.0.1 > > > {code} > cordova platform add browser@latest --nofetch > Warning: using prerelease version 7.0.2-dev (cordova-lib@7.0.2-dev) > Adding browser project... > Unable to load PlatformApi from platform. Error: Cannot find module > 'cordova-common' > Error: Uncaught, unspecified "error" event. (The platform "browser" does not > appear to be a valid cordova platform. It is missing API.js. browser not > supported.) > {code} > I believe cordova-common wasn't properly bundled into cordova-browser@5. > Works fine if I add it locally. Easy fix -- This message was sent by Atlassian JIRA (v6.4.14#64029) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Resolved] (CB-13444) Cordova-Browser@5.0.1 Platform Release Oct 13, 2017
[ https://issues.apache.org/jira/browse/CB-13444?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Steve Gill resolved CB-13444. - Resolution: Fixed > Cordova-Browser@5.0.1 Platform Release Oct 13, 2017 > --- > > Key: CB-13444 > URL: https://issues.apache.org/jira/browse/CB-13444 > Project: Apache Cordova > Issue Type: Task > Components: cordova-browser >Reporter: Steve Gill >Assignee: Steve Gill > > "Following steps at > https://github.com/apache/cordova-coho/blob/master/docs/platforms-release-process.md"; -- This message was sent by Atlassian JIRA (v6.4.14#64029) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Resolved] (CB-13435) Merges files not copied
[ https://issues.apache.org/jira/browse/CB-13435?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Steve Gill resolved CB-13435. - Resolution: Fixed > Merges files not copied > --- > > Key: CB-13435 > URL: https://issues.apache.org/jira/browse/CB-13435 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-browser >Affects Versions: browser@5.0.0 >Reporter: Paolo Macco >Assignee: Steve Gill > Labels: browser-next > > The files in the merges/ folder are not copied in the specific > platform folder (tested with browser cordova-browser 5.0.0 and cordova 7.1.0) -- This message was sent by Atlassian JIRA (v6.4.14#64029) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-13435) Merges files not copied
[ https://issues.apache.org/jira/browse/CB-13435?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16205348#comment-16205348 ] Steve Gill commented on CB-13435: - PR with fix https://github.com/apache/cordova-browser/pull/46 > Merges files not copied > --- > > Key: CB-13435 > URL: https://issues.apache.org/jira/browse/CB-13435 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-browser >Affects Versions: browser@5.0.0 >Reporter: Paolo Macco >Assignee: Steve Gill > Labels: browser-next > > The files in the merges/ folder are not copied in the specific > platform folder (tested with browser cordova-browser 5.0.0 and cordova 7.1.0) -- This message was sent by Atlassian JIRA (v6.4.14#64029) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Assigned] (CB-13435) Merges files not copied
[ https://issues.apache.org/jira/browse/CB-13435?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Steve Gill reassigned CB-13435: --- Assignee: Steve Gill > Merges files not copied > --- > > Key: CB-13435 > URL: https://issues.apache.org/jira/browse/CB-13435 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-browser >Affects Versions: browser@5.0.0 >Reporter: Paolo Macco >Assignee: Steve Gill > Labels: browser-next > > The files in the merges/ folder are not copied in the specific > platform folder (tested with browser cordova-browser 5.0.0 and cordova 7.1.0) -- This message was sent by Atlassian JIRA (v6.4.14#64029) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-13435) Merges files not copied
[ https://issues.apache.org/jira/browse/CB-13435?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16204388#comment-16204388 ] Steve Gill commented on CB-13435: - I just replicated the issue. > Merges files not copied > --- > > Key: CB-13435 > URL: https://issues.apache.org/jira/browse/CB-13435 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-browser >Affects Versions: browser@5.0.0 >Reporter: Paolo Macco > Labels: browser-next > > The files in the merges/ folder are not copied in the specific > platform folder (tested with browser cordova-browser 5.0.0 and cordova 7.1.0) -- This message was sent by Atlassian JIRA (v6.4.14#64029) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Assigned] (CB-13228) cordova-browser@5 doesn't add with cordova<7
[ https://issues.apache.org/jira/browse/CB-13228?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Steve Gill reassigned CB-13228: --- Assignee: Steve Gill > cordova-browser@5 doesn't add with cordova<7 > > > Key: CB-13228 > URL: https://issues.apache.org/jira/browse/CB-13228 > Project: Apache Cordova > Issue Type: Bug >Affects Versions: browser@5.0.0 >Reporter: Steve Gill >Assignee: Steve Gill > Labels: browser-next, easy-fix > Fix For: 5.0.1 > > > {code} > cordova platform add browser@latest --nofetch > Warning: using prerelease version 7.0.2-dev (cordova-lib@7.0.2-dev) > Adding browser project... > Unable to load PlatformApi from platform. Error: Cannot find module > 'cordova-common' > Error: Uncaught, unspecified "error" event. (The platform "browser" does not > appear to be a valid cordova platform. It is missing API.js. browser not > supported.) > {code} > I believe cordova-common wasn't properly bundled into cordova-browser@5. > Works fine if I add it locally. Easy fix -- This message was sent by Atlassian JIRA (v6.4.14#64029) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Updated] (CB-13435) Merges files not copied
[ https://issues.apache.org/jira/browse/CB-13435?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Steve Gill updated CB-13435: Labels: browser-next (was: ) > Merges files not copied > --- > > Key: CB-13435 > URL: https://issues.apache.org/jira/browse/CB-13435 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-browser >Affects Versions: browser@5.0.0 >Reporter: Paolo Macco > Labels: browser-next > > The files in the merges/ folder are not copied in the specific > platform folder (tested with browser cordova-browser 5.0.0 and cordova 7.1.0) -- This message was sent by Atlassian JIRA (v6.4.14#64029) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Created] (CB-13444) Cordova-Browser@5.0.1 Platform Release Oct 13, 2017
Steve Gill created CB-13444: --- Summary: Cordova-Browser@5.0.1 Platform Release Oct 13, 2017 Key: CB-13444 URL: https://issues.apache.org/jira/browse/CB-13444 Project: Apache Cordova Issue Type: Task Components: cordova-browser Reporter: Steve Gill Assignee: Steve Gill "Following steps at https://github.com/apache/cordova-coho/blob/master/docs/platforms-release-process.md"; -- This message was sent by Atlassian JIRA (v6.4.14#64029) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-13228) cordova-browser@5 doesn't add with cordova<7
[ https://issues.apache.org/jira/browse/CB-13228?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16204317#comment-16204317 ] Steve Gill commented on CB-13228: - Sorry guys, need to do a browser release to fix this. I'll start it today > cordova-browser@5 doesn't add with cordova<7 > > > Key: CB-13228 > URL: https://issues.apache.org/jira/browse/CB-13228 > Project: Apache Cordova > Issue Type: Bug >Affects Versions: 5.0.0 >Reporter: Steve Gill > Labels: browser-next, easy-fix > Fix For: 5.0.1 > > > {code} > cordova platform add browser@latest --nofetch > Warning: using prerelease version 7.0.2-dev (cordova-lib@7.0.2-dev) > Adding browser project... > Unable to load PlatformApi from platform. Error: Cannot find module > 'cordova-common' > Error: Uncaught, unspecified "error" event. (The platform "browser" does not > appear to be a valid cordova platform. It is missing API.js. browser not > supported.) > {code} > I believe cordova-common wasn't properly bundled into cordova-browser@5. > Works fine if I add it locally. Easy fix -- This message was sent by Atlassian JIRA (v6.4.14#64029) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Resolved] (CB-12895) Replace jshint with eslint in our tools + platforms
[ https://issues.apache.org/jira/browse/CB-12895?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Steve Gill resolved CB-12895. - Resolution: Fixed > Replace jshint with eslint in our tools + platforms > --- > > Key: CB-12895 > URL: https://issues.apache.org/jira/browse/CB-12895 > Project: Apache Cordova > Issue Type: Improvement > Components: AllComponents >Reporter: Steve Gill >Assignee: Audrey So >Priority: Minor > Labels: cordova-next > > Based on this proposal > https://github.com/cordova/cordova-discuss/pull/70#issuecomment-306649308 > JSHint does minimal checks and JSCS has been deprecated in favor of ESLint. > + > +I suggest to replace the current style checkers with ESLint. This allows to > set much more strict styling rules than at at this moment. > + > +I recommend using a popular preset, such as > [airbnb-base](https://www.npmjs.com/package/eslint-config-airbnb-base). > Example configuration: > + > +```yaml > +root: true > + > +extends: airbnb-base > +``` > + > +Many styling issues could be fixed by simply running: > + > +``` > +./node_modules/.bin/eslint --fix . > +``` > + > + > + > +Optionally the indent could be set to 4 instead of 2, because that's used > in the current code base. -- This message was sent by Atlassian JIRA (v6.4.14#64029) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Resolved] (CB-13380) Tools Release Oct 2, 2017
[ https://issues.apache.org/jira/browse/CB-13380?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Steve Gill resolved CB-13380. - Resolution: Fixed > Tools Release Oct 2, 2017 > - > > Key: CB-13380 > URL: https://issues.apache.org/jira/browse/CB-13380 > Project: Apache Cordova > Issue Type: Task >Reporter: Steve Gill >Assignee: Steve Gill > > "Following steps at > https://github.com/apache/cordova-coho/blob/master/docs/tools-release-process.md"; -- This message was sent by Atlassian JIRA (v6.4.14#64029) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Closed] (CB-13419) Unable to fetch cordova-ios@4.5.2
[ https://issues.apache.org/jira/browse/CB-13419?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Steve Gill closed CB-13419. --- Resolution: Invalid Assignee: Steve Gill cordova-ios@4.5.2 isn't released yet. We are currently testing the release. It should be up in a few days. Keep an eye on http://cordova.apache.org/blog/ for the release blog post. You can use the release candidate if you can't wait. {code} cordova platform add https://github.com/apache/cordova-ios#4.5.2 {code} > Unable to fetch cordova-ios@4.5.2 > - > > Key: CB-13419 > URL: https://issues.apache.org/jira/browse/CB-13419 > Project: Apache Cordova > Issue Type: Bug >Reporter: Siddhesh >Assignee: Steve Gill >Priority: Critical > > Hi > I am new to cordova development. In my project build script, I am trying to > fetch cordova-ios@4.5.2 (as I am using XCode 9 to build the app). From git > hub i can see that 4.5.2 was released today, and has the iOS XCode 9 fix. > On executing > cordova platform add ios@4.5.2 > I get following: > Using cordova-fetch for cordova-ios@4.5.2 > Error: Failed to fetch platform cordova-ios@4.5.2 > Probably this is either a connection problem, or platform spec is incorrect. > Check your connection and platform name/version/URL. > Error: npm: Command failed with exit code 1 Error output: > npm ERR! Darwin 16.7.0 > npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" > "cordova-ios@4.5.2" "--save" > npm ERR! node v6.11.4 > npm ERR! npm v3.10.10 > npm ERR! code ETARGET > npm ERR! notarget No compatible version found: cordova-ios@4.5.2 > npm ERR! notarget Valid install targets: > npm ERR! notarget 4.6.0-nightly.2017.10.9.7b7964f3, > 4.6.0-nightly.2017.10.5.7b7964f3, 4.6.0-nightly.2017.10.4.b1627508, > 4.6.0-nightly.2017.10.3.b1627508, 4.6.0-nightly.2017.10.2.b1627508, > 4.6.0-nightly.2017.9.30.b1627508, 4.6.0-nightly.2017.9.29.b1627508, > 4.6.0-nightly.2017.9.25.7ab03155, 4.6.0-nightly.2017.9.24.7ab03155, > 4.6.0-nightly.2017.9.23.7ab03155, 4.6.0-nightly.2017.9.22.7ab03155, > 4.6.0-nightly.2017.9.21.b8835c63, 4.6.0-nightly.2017.9.20.a20aeddb, > 4.6.0-nightly.2017.9.17.d778549a, 4.6.0-nightly.2017.9.16.d778549a, > 4.6.0-nightly.2017.9.15.d778549a, 4.6.0-nightly.2017.9.14.d778549a, > 4.6.0-nightly.2017.9.13.d778549a, 4.6.0-nightly.2017.9.12.d778549a, > 4.6.0-nightly.2017.9.9.d778549a, 4.6.0-nightly.2017.9.7.d778549a, 4.5.1, > 4.5.0, 4.5.0-nightly.2017.9.5.371da486, 4.5.0-nightly.2017.9.4.371da486, > 4.5.0-nightly.2017.9.3.371da486, 4.5.0-nightly.2017.8.22.077b1dc3, > 4.5.0-nightly.2017.8.21.077b1dc3, 4.5.0-nightly.2017.8.19.077b1dc3, > 4.5.0-nightly.2017.8.18.077b1dc3, 4.5.0-nightly.2017.8.16.077b1dc3, > 4.5.0-nightly.2017.8.15.077b1dc3, 4.5.0-nightly.2017.8.14.077b1dc3, > 4.5.0-nightly.2017.8.13.077b1dc3, 4.5.0-nightly.2017.8.11.0dfe4ca5, > 4.5.0-nightly.2017.8.10.d44cec62, 4.5.0-nightly.2017.8.9.d44cec62, > 4.5.0-nightly.2017.8.8.8edd13aa, 4.5.0-nightly.2017.8.1.8edd13aa, > 4.5.0-nightly.2017.7.31.8edd13aa, 4.5.0-nightly.2017.7.29.8edd13aa, > 4.5.0-nightly.2017.7.28.8edd13aa, 4.5.0-nightly.2017.7.27.8edd13aa, > 4.5.0-nightly.2017.7.26.8edd13aa, 4.5.0-nightly.2017.7.24.8edd13aa, > 4.5.0-nightly.2017.7.22.8edd13aa, 4.5.0-nightly.2017.7.18.8edd13aa, > 4.5.0-nightly.2017.7.15.83435d56, 4.5.0-nightly.2017.7.14.26beb94e, > 4.5.0-nightly.2017.7.13.26beb94e, 4.5.0-nightly.2017.7.11.26beb94e, > 4.5.0-nightly.2017.7.10.26beb94e, 4.5.0-nightly.2017.7.9.26beb94e, > 4.5.0-nightly.2017.7.8.26beb94e, 4.5.0-nightly.2017.7.7.26beb94e, > 4.5.0-nightly.2017.7.4.17d6b834, 4.5.0-nightly.2017.7.1.17d6b834, > 4.5.0-nightly.2017.6.29.17d6b834, 4.5.0-nightly.2017.6.28.17d6b834, > 4.5.0-nightly.2017.6.27.17d6b834, 4.5.0-nightly.2017.6.26.17d6b834, > 4.5.0-nightly.2017.6.25.17d6b834, 4.5.0-nightly.2017.6.24.4490abf2, > 4.5.0-nightly.2017.6.23.4490abf2, 4.5.0-nightly.2017.6.22.4490abf2, > 4.5.0-nightly.2017.6.21.4490abf2, 4.5.0-nightly.2017.6.20.4490abf2, > 4.5.0-nightly.2017.6.19.4490abf2, 4.5.0-nightly.2017.6.18.df5441df, > 4.5.0-nightly.2017.6.17.df5441df, 4.5.0-nightly.2017.6.16.df5441df, > 4.5.0-nightly.2017.6.15.df5441df, 4.5.0-nightly.2017.6.14.8c77a0b9, > 4.5.0-nightly.2017.6.12.8c77a0b9, 4.5.0-nightly.2017.6.11.8c77a0b9, > 4.5.0-nightly.2017.6.10.27d2919c, 4.5.0-nightly.2017.6.7.571c2351, > 4.5.0-nightly.2017.6.6.571c2351, 4.5.0-nightly.2017.6.5.571c2351, > 4.5.0-nightly.2017.6.4.571c2351, 4.5.0-nightly.2017.6.3.571c2351, > 4.5.0-nightly.2017.6.2.571c2351, 4.5.0-nightly.2017.6.1.77b14bda, > 4.5.0-nightly.2017.5.30.a9532aed, 4.5.0-nightly.2017.5.27.a9532aed, > 4.5.0-nightly.2017.5.26.a9532aed, 4.5.0-nightly.2017.5.25.d7ec584f, > 4.5.0-nightly.2017.5.24.3507af4a, 4.5.0-nightly.2017.5.23.3507af4a, > 4.5.0-nightly.2017.5.22.3507af4a, 4.5.0-nightly.2017.5.21.3507af4a, > 4.5.0-nightly.2017.5.20.
[jira] [Commented] (CB-13404) android-versions module missing
[ https://issues.apache.org/jira/browse/CB-13404?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16193450#comment-16193450 ] Steve Gill commented on CB-13404: - so, phonegap 6.5.0, uses older style of fetching (not cordova-fetch) under the hood this method doesn't run `npm install` under the hood. Instead it runs `npm cache-add`. This requires us to checkin `node_modules` into git (for installing via gitURL) and add the module to `bundleDependencies` in `package.json` so it gets bundled into npm release. Looks like cordova-android@6.3.0 did the checkin to git but didn't add it to `bundleDependencies` in `package.json`. https://github.com/apache/cordova-android/blob/master/package.json#L40 possible solutions for you for now: 1) update to phonegap@7.0.1. This uses cordova-fetch by default and won't have this problem since it runs npm install under the hood 2) update your engine tag to pull android from git instead of npm. `https://github.com/apache/cordova-android.git#6.3.0"; />` 3) Not tested, but may work, use nofetch flag when you run prepare `phonegap prepare --nofetch` once cordova@8 lands, we won't be bundling deps in git or in package.json as we are dropping the old fetch method. It is recommend you update > android-versions module missing > --- > > Key: CB-13404 > URL: https://issues.apache.org/jira/browse/CB-13404 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-android >Affects Versions: 6.3.0 >Reporter: Doug Davies >Assignee: Joe Bowser > > I just updated cordova-android from 6.2.3 to 6.3.0. Now when I type > “phonegap emulate android” I get the error "Error: Cannot find module > ‘android-versions’". I think it’s coming from > platforms/android/cordova/lib/emulator.js:var android_versions = > require(‘android-versions’); > If I look in platforms/android/cordova/node_modules I do not see > android-versions installed. > I use the following in my config.xml to have cordova-android installed. > > And then use "phonegap prepare". -- This message was sent by Atlassian JIRA (v6.4.14#64029) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Deleted] (CB-3232) "cordova platform add blackberry" fails on 2.7.1-rc.1
[ https://issues.apache.org/jira/browse/CB-3232?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Steve Gill deleted CB-3232: --- > "cordova platform add blackberry" fails on 2.7.1-rc.1 > - > > Key: CB-3232 > URL: https://issues.apache.org/jira/browse/CB-3232 > Project: Apache Cordova > Issue Type: Bug >Reporter: Michael Brooks >Assignee: Michael Brooks > > The following error is thrown when running {{$ cordova platform add > blackberry}}: > {code} > [Error: An error occured during creation of blackberry sub-project. Creating > BlackBerry project... > Updating config.xml ... > sed: > /Users/mwbrooks/Dropbox/Development/sandbox/myapp/platforms/blackberry/www/config.xml: > No such file or directory > Cleaning up ... > Remember to update the project.properties file inside your application > directory! > ] > {code} -- This message was sent by Atlassian JIRA (v6.4.14#64029) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Resolved] (CB-13308) Error on installation of a plugin's dependency that is also a direct dependency
[ https://issues.apache.org/jira/browse/CB-13308?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Steve Gill resolved CB-13308. - Resolution: Fixed > Error on installation of a plugin's dependency that is also a direct > dependency > --- > > Key: CB-13308 > URL: https://issues.apache.org/jira/browse/CB-13308 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-lib >Affects Versions: cordova@7.0.0 > Environment: I'm using the following versions on Ubuntu Linux: > {quote}✔ ~ > $ node --version > v8.3.0 > ✔ ~ > $ npm --version > 5.4.2 > ✔ ~ > $ cordova --version > 7.0.2-nightly.2017.9.20.596da5df > (cordova-lib@7.0.2-nightly.2017.9.20.701c15fe){quote} >Reporter: Mathis Hofer >Assignee: Steve Gill > Labels: tools-next > > h1. Summary > I'm using the plugins cordova-plugin-device and > cordova-plugin-background-mode (which itself depends on > cordova-plugin-device) in a project. The following error occurred, when the > background-mode plugins was defined before the device plugin in config.xml: > {quote}Failed to install 'cordova-plugin-background-mode': Error > at > /home/mhofer/.nvm/versions/node/v8.3.0/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/fetch.js:215:37 > at _rejected > (/home/mhofer/.nvm/versions/node/v8.3.0/lib/node_modules/cordova/node_modules/cordova-fetch/node_modules/q/q.js:864:24) > at > /home/mhofer/.nvm/versions/node/v8.3.0/lib/node_modules/cordova/node_modules/cordova-fetch/node_modules/q/q.js:890:30 > at Promise.when > (/home/mhofer/.nvm/versions/node/v8.3.0/lib/node_modules/cordova/node_modules/cordova-fetch/node_modules/q/q.js:1142:31) > at Promise.promise.promiseDispatch > (/home/mhofer/.nvm/versions/node/v8.3.0/lib/node_modules/cordova/node_modules/cordova-fetch/node_modules/q/q.js:808:41) > at > /home/mhofer/.nvm/versions/node/v8.3.0/lib/node_modules/cordova/node_modules/cordova-fetch/node_modules/q/q.js:624:44 > at runSingle > (/home/mhofer/.nvm/versions/node/v8.3.0/lib/node_modules/cordova/node_modules/cordova-fetch/node_modules/q/q.js:137:13) > at flush > (/home/mhofer/.nvm/versions/node/v8.3.0/lib/node_modules/cordova/node_modules/cordova-fetch/node_modules/q/q.js:125:13) > at _combinedTickCallback (internal/process/next_tick.js:131:7) > at process._tickCallback (internal/process/next_tick.js:180:9){quote} > This error does not happen, if cordova-plugin-device is not defined as direct > dependency, or if it is defined before background-mode in config.xml. > h1. Steps to reproduce > I setup a brand new project: > {quote}✔ ~ > $ cordova create hello com.example.hello HelloWorld > Warning: using prerelease version 7.0.2-nightly.2017.9.20.596da5df > (cordova-lib@7.0.2-nightly.2017.9.20.701c15fe) > Creating a new cordova project. > ✔ ~ > $ cd hello/ > ✔ ~/hello > $ cordova platform add android > Warning: using prerelease version 7.0.2-nightly.2017.9.20.596da5df > (cordova-lib@7.0.2-nightly.2017.9.20.701c15fe) > Using cordova-fetch for cordova-android@6.3.0-nightly.2017.9.20.dddb2837 > Warning: using prerelease platform android@6.3.0-nightly.2017.9.20.dddb2837. > Use 'cordova platform add android@latest' to add the latest published version > instead. > Adding android project... > Creating Cordova project for the Android platform: > Path: platforms/android > Package: com.example.hello > Name: HelloWorld > Activity: MainActivity > Android target: android-26 > Subproject Path: CordovaLib > Android project created with cordova-android@6.3.0-nightly.2017.9.20.dddb2837 > Discovered plugin "cordova-plugin-whitelist" in config.xml. Adding it to the > project > Installing "cordova-plugin-whitelist" for android > This plugin is only applicable for versions of cordova-android greater than > 4.0. If you have a previous platform version, you do *not* need this plugin > since the whitelist will be built in. > Adding cordova-plugin-whitelist to package.json > Saved plugin info for "cordova-plugin-whitelist" to config.xml > --save flag or autosave detected > Saving android@~6.3.0-nightly.2017.9.20.dddb2837 into config.xml file ...}} > {quote} > I add the device plugin: > {quote}✔ ~/hello > $ cordova plugin add cordova-plugin-device > Warning: using prerelease version 7.0.2-nightly.2017.9.20.596da5df > (cordova-lib@7.0.2-nightly.2017.9.20.701c15fe) > Installing "cordova-plugin-device" for android > Adding cordova-plugin-device to package.json > Saved plugin info for "cordova-plugin-device" to config.xml > ✔ ~/hello > $ cat package.json > { > "name": "com.example.hello", > "displayName": "HelloWorld", > "version": "1.0.0", > "description": "A sample Apache Cordova application that responds to the > deviceready event.", > "main": "index.js", > "scripts": { > "test": "echo
[jira] [Commented] (CB-13252) Nightly causing npm symbolic link loop issues
[ https://issues.apache.org/jira/browse/CB-13252?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16189301#comment-16189301 ] Steve Gill commented on CB-13252: - It is happening because we run `npm install cordova-plugin-device` from within the node_modules directory in cordova-fetch. In npm@5+, if you run npm install in the node_modules directory and that module already exists, it creates a broken symlink. Running it in the root of the project won't cause this issue. So I switched cordova-fetch to that. Definitely a npm bug IMO. Didn't exist before npm@5 Solved this bug with this PR. https://github.com/apache/cordova-fetch/pull/5 > Nightly causing npm symbolic link loop issues > - > > Key: CB-13252 > URL: https://issues.apache.org/jira/browse/CB-13252 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-fetch >Affects Versions: 7.0.2 >Reporter: Darryl Pogue > Labels: tools-next > Attachments: cordova.log > > > Reproducible test case: https://github.com/dpogue/cordova-eloop (running with > npm 5.4.0) > Cordova prepare somehow decides to update the package.json to point a plugin > at {{file:node_modules/cordova-plugin-}}, leading to npm trying to > install from a folder into the same folder and throwing ELOOP errors. -- This message was sent by Atlassian JIRA (v6.4.14#64029) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-13308) Error on installation of a plugin's dependency that is also a direct dependency
[ https://issues.apache.org/jira/browse/CB-13308?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16189300#comment-16189300 ] Steve Gill commented on CB-13308: - Solved this bug with this PR. https://github.com/apache/cordova-fetch/pull/5 Appreciate you sending such detailed reproduce steps. Really helped out. It is happening because we run `npm install cordova-plugin-device` from within the node_modules directory in cordova-fetch. In npm@5+, if you run npm install in the node_modules directory and that module already exists, it creates a broken symlink. Running it in the root of the project won't cause this issue. So I switched cordova-fetch to that. Definitely a npm bug IMO. Didn't exist before npm@5 > Error on installation of a plugin's dependency that is also a direct > dependency > --- > > Key: CB-13308 > URL: https://issues.apache.org/jira/browse/CB-13308 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-lib >Affects Versions: cordova@7.0.0 > Environment: I'm using the following versions on Ubuntu Linux: > {quote}✔ ~ > $ node --version > v8.3.0 > ✔ ~ > $ npm --version > 5.4.2 > ✔ ~ > $ cordova --version > 7.0.2-nightly.2017.9.20.596da5df > (cordova-lib@7.0.2-nightly.2017.9.20.701c15fe){quote} >Reporter: Mathis Hofer >Assignee: Steve Gill > Labels: tools-next > > h1. Summary > I'm using the plugins cordova-plugin-device and > cordova-plugin-background-mode (which itself depends on > cordova-plugin-device) in a project. The following error occurred, when the > background-mode plugins was defined before the device plugin in config.xml: > {quote}Failed to install 'cordova-plugin-background-mode': Error > at > /home/mhofer/.nvm/versions/node/v8.3.0/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/fetch.js:215:37 > at _rejected > (/home/mhofer/.nvm/versions/node/v8.3.0/lib/node_modules/cordova/node_modules/cordova-fetch/node_modules/q/q.js:864:24) > at > /home/mhofer/.nvm/versions/node/v8.3.0/lib/node_modules/cordova/node_modules/cordova-fetch/node_modules/q/q.js:890:30 > at Promise.when > (/home/mhofer/.nvm/versions/node/v8.3.0/lib/node_modules/cordova/node_modules/cordova-fetch/node_modules/q/q.js:1142:31) > at Promise.promise.promiseDispatch > (/home/mhofer/.nvm/versions/node/v8.3.0/lib/node_modules/cordova/node_modules/cordova-fetch/node_modules/q/q.js:808:41) > at > /home/mhofer/.nvm/versions/node/v8.3.0/lib/node_modules/cordova/node_modules/cordova-fetch/node_modules/q/q.js:624:44 > at runSingle > (/home/mhofer/.nvm/versions/node/v8.3.0/lib/node_modules/cordova/node_modules/cordova-fetch/node_modules/q/q.js:137:13) > at flush > (/home/mhofer/.nvm/versions/node/v8.3.0/lib/node_modules/cordova/node_modules/cordova-fetch/node_modules/q/q.js:125:13) > at _combinedTickCallback (internal/process/next_tick.js:131:7) > at process._tickCallback (internal/process/next_tick.js:180:9){quote} > This error does not happen, if cordova-plugin-device is not defined as direct > dependency, or if it is defined before background-mode in config.xml. > h1. Steps to reproduce > I setup a brand new project: > {quote}✔ ~ > $ cordova create hello com.example.hello HelloWorld > Warning: using prerelease version 7.0.2-nightly.2017.9.20.596da5df > (cordova-lib@7.0.2-nightly.2017.9.20.701c15fe) > Creating a new cordova project. > ✔ ~ > $ cd hello/ > ✔ ~/hello > $ cordova platform add android > Warning: using prerelease version 7.0.2-nightly.2017.9.20.596da5df > (cordova-lib@7.0.2-nightly.2017.9.20.701c15fe) > Using cordova-fetch for cordova-android@6.3.0-nightly.2017.9.20.dddb2837 > Warning: using prerelease platform android@6.3.0-nightly.2017.9.20.dddb2837. > Use 'cordova platform add android@latest' to add the latest published version > instead. > Adding android project... > Creating Cordova project for the Android platform: > Path: platforms/android > Package: com.example.hello > Name: HelloWorld > Activity: MainActivity > Android target: android-26 > Subproject Path: CordovaLib > Android project created with cordova-android@6.3.0-nightly.2017.9.20.dddb2837 > Discovered plugin "cordova-plugin-whitelist" in config.xml. Adding it to the > project > Installing "cordova-plugin-whitelist" for android > This plugin is only applicable for versions of cordova-android greater than > 4.0. If you have a previous platform version, you do *not* need this plugin > since the whitelist will be built in. > Adding cordova-plugin-whitelist to package.json > Saved plugin info for "cordova-plugin-whitelist" to config.xml > --save flag or autosave detected > Saving android@~6.3.0-nightly.2017.9.20.dddb2837 into config.xml file ...}} > {quote} > I add the device plugin: > {quote}✔ ~/hello >
[jira] [Assigned] (CB-13308) Error on installation of a plugin's dependency that is also a direct dependency
[ https://issues.apache.org/jira/browse/CB-13308?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Steve Gill reassigned CB-13308: --- Assignee: Steve Gill > Error on installation of a plugin's dependency that is also a direct > dependency > --- > > Key: CB-13308 > URL: https://issues.apache.org/jira/browse/CB-13308 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-lib >Affects Versions: cordova@7.0.0 > Environment: I'm using the following versions on Ubuntu Linux: > {quote}✔ ~ > $ node --version > v8.3.0 > ✔ ~ > $ npm --version > 5.4.2 > ✔ ~ > $ cordova --version > 7.0.2-nightly.2017.9.20.596da5df > (cordova-lib@7.0.2-nightly.2017.9.20.701c15fe){quote} >Reporter: Mathis Hofer >Assignee: Steve Gill > Labels: tools-next > > h1. Summary > I'm using the plugins cordova-plugin-device and > cordova-plugin-background-mode (which itself depends on > cordova-plugin-device) in a project. The following error occurred, when the > background-mode plugins was defined before the device plugin in config.xml: > {quote}Failed to install 'cordova-plugin-background-mode': Error > at > /home/mhofer/.nvm/versions/node/v8.3.0/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/fetch.js:215:37 > at _rejected > (/home/mhofer/.nvm/versions/node/v8.3.0/lib/node_modules/cordova/node_modules/cordova-fetch/node_modules/q/q.js:864:24) > at > /home/mhofer/.nvm/versions/node/v8.3.0/lib/node_modules/cordova/node_modules/cordova-fetch/node_modules/q/q.js:890:30 > at Promise.when > (/home/mhofer/.nvm/versions/node/v8.3.0/lib/node_modules/cordova/node_modules/cordova-fetch/node_modules/q/q.js:1142:31) > at Promise.promise.promiseDispatch > (/home/mhofer/.nvm/versions/node/v8.3.0/lib/node_modules/cordova/node_modules/cordova-fetch/node_modules/q/q.js:808:41) > at > /home/mhofer/.nvm/versions/node/v8.3.0/lib/node_modules/cordova/node_modules/cordova-fetch/node_modules/q/q.js:624:44 > at runSingle > (/home/mhofer/.nvm/versions/node/v8.3.0/lib/node_modules/cordova/node_modules/cordova-fetch/node_modules/q/q.js:137:13) > at flush > (/home/mhofer/.nvm/versions/node/v8.3.0/lib/node_modules/cordova/node_modules/cordova-fetch/node_modules/q/q.js:125:13) > at _combinedTickCallback (internal/process/next_tick.js:131:7) > at process._tickCallback (internal/process/next_tick.js:180:9){quote} > This error does not happen, if cordova-plugin-device is not defined as direct > dependency, or if it is defined before background-mode in config.xml. > h1. Steps to reproduce > I setup a brand new project: > {quote}✔ ~ > $ cordova create hello com.example.hello HelloWorld > Warning: using prerelease version 7.0.2-nightly.2017.9.20.596da5df > (cordova-lib@7.0.2-nightly.2017.9.20.701c15fe) > Creating a new cordova project. > ✔ ~ > $ cd hello/ > ✔ ~/hello > $ cordova platform add android > Warning: using prerelease version 7.0.2-nightly.2017.9.20.596da5df > (cordova-lib@7.0.2-nightly.2017.9.20.701c15fe) > Using cordova-fetch for cordova-android@6.3.0-nightly.2017.9.20.dddb2837 > Warning: using prerelease platform android@6.3.0-nightly.2017.9.20.dddb2837. > Use 'cordova platform add android@latest' to add the latest published version > instead. > Adding android project... > Creating Cordova project for the Android platform: > Path: platforms/android > Package: com.example.hello > Name: HelloWorld > Activity: MainActivity > Android target: android-26 > Subproject Path: CordovaLib > Android project created with cordova-android@6.3.0-nightly.2017.9.20.dddb2837 > Discovered plugin "cordova-plugin-whitelist" in config.xml. Adding it to the > project > Installing "cordova-plugin-whitelist" for android > This plugin is only applicable for versions of cordova-android greater than > 4.0. If you have a previous platform version, you do *not* need this plugin > since the whitelist will be built in. > Adding cordova-plugin-whitelist to package.json > Saved plugin info for "cordova-plugin-whitelist" to config.xml > --save flag or autosave detected > Saving android@~6.3.0-nightly.2017.9.20.dddb2837 into config.xml file ...}} > {quote} > I add the device plugin: > {quote}✔ ~/hello > $ cordova plugin add cordova-plugin-device > Warning: using prerelease version 7.0.2-nightly.2017.9.20.596da5df > (cordova-lib@7.0.2-nightly.2017.9.20.701c15fe) > Installing "cordova-plugin-device" for android > Adding cordova-plugin-device to package.json > Saved plugin info for "cordova-plugin-device" to config.xml > ✔ ~/hello > $ cat package.json > { > "name": "com.example.hello", > "displayName": "HelloWorld", > "version": "1.0.0", > "description": "A sample Apache Cordova application that responds to the > deviceready event.", > "main": "index.js", > "scripts": { > "test
[jira] [Commented] (CB-13308) Error on installation of a plugin's dependency that is also a direct dependency
[ https://issues.apache.org/jira/browse/CB-13308?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16189104#comment-16189104 ] Steve Gill commented on CB-13308: - I can reproduce this with node 8.4 and npm 5.4 but not with npm 4.x. Investigating further. > Error on installation of a plugin's dependency that is also a direct > dependency > --- > > Key: CB-13308 > URL: https://issues.apache.org/jira/browse/CB-13308 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-lib >Affects Versions: cordova@7.0.0 > Environment: I'm using the following versions on Ubuntu Linux: > {quote}✔ ~ > $ node --version > v8.3.0 > ✔ ~ > $ npm --version > 5.4.2 > ✔ ~ > $ cordova --version > 7.0.2-nightly.2017.9.20.596da5df > (cordova-lib@7.0.2-nightly.2017.9.20.701c15fe){quote} >Reporter: Mathis Hofer > Labels: tools-next > > h1. Summary > I'm using the plugins cordova-plugin-device and > cordova-plugin-background-mode (which itself depends on > cordova-plugin-device) in a project. The following error occurred, when the > background-mode plugins was defined before the device plugin in config.xml: > {quote}Failed to install 'cordova-plugin-background-mode': Error > at > /home/mhofer/.nvm/versions/node/v8.3.0/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/fetch.js:215:37 > at _rejected > (/home/mhofer/.nvm/versions/node/v8.3.0/lib/node_modules/cordova/node_modules/cordova-fetch/node_modules/q/q.js:864:24) > at > /home/mhofer/.nvm/versions/node/v8.3.0/lib/node_modules/cordova/node_modules/cordova-fetch/node_modules/q/q.js:890:30 > at Promise.when > (/home/mhofer/.nvm/versions/node/v8.3.0/lib/node_modules/cordova/node_modules/cordova-fetch/node_modules/q/q.js:1142:31) > at Promise.promise.promiseDispatch > (/home/mhofer/.nvm/versions/node/v8.3.0/lib/node_modules/cordova/node_modules/cordova-fetch/node_modules/q/q.js:808:41) > at > /home/mhofer/.nvm/versions/node/v8.3.0/lib/node_modules/cordova/node_modules/cordova-fetch/node_modules/q/q.js:624:44 > at runSingle > (/home/mhofer/.nvm/versions/node/v8.3.0/lib/node_modules/cordova/node_modules/cordova-fetch/node_modules/q/q.js:137:13) > at flush > (/home/mhofer/.nvm/versions/node/v8.3.0/lib/node_modules/cordova/node_modules/cordova-fetch/node_modules/q/q.js:125:13) > at _combinedTickCallback (internal/process/next_tick.js:131:7) > at process._tickCallback (internal/process/next_tick.js:180:9){quote} > This error does not happen, if cordova-plugin-device is not defined as direct > dependency, or if it is defined before background-mode in config.xml. > h1. Steps to reproduce > I setup a brand new project: > {quote}✔ ~ > $ cordova create hello com.example.hello HelloWorld > Warning: using prerelease version 7.0.2-nightly.2017.9.20.596da5df > (cordova-lib@7.0.2-nightly.2017.9.20.701c15fe) > Creating a new cordova project. > ✔ ~ > $ cd hello/ > ✔ ~/hello > $ cordova platform add android > Warning: using prerelease version 7.0.2-nightly.2017.9.20.596da5df > (cordova-lib@7.0.2-nightly.2017.9.20.701c15fe) > Using cordova-fetch for cordova-android@6.3.0-nightly.2017.9.20.dddb2837 > Warning: using prerelease platform android@6.3.0-nightly.2017.9.20.dddb2837. > Use 'cordova platform add android@latest' to add the latest published version > instead. > Adding android project... > Creating Cordova project for the Android platform: > Path: platforms/android > Package: com.example.hello > Name: HelloWorld > Activity: MainActivity > Android target: android-26 > Subproject Path: CordovaLib > Android project created with cordova-android@6.3.0-nightly.2017.9.20.dddb2837 > Discovered plugin "cordova-plugin-whitelist" in config.xml. Adding it to the > project > Installing "cordova-plugin-whitelist" for android > This plugin is only applicable for versions of cordova-android greater than > 4.0. If you have a previous platform version, you do *not* need this plugin > since the whitelist will be built in. > Adding cordova-plugin-whitelist to package.json > Saved plugin info for "cordova-plugin-whitelist" to config.xml > --save flag or autosave detected > Saving android@~6.3.0-nightly.2017.9.20.dddb2837 into config.xml file ...}} > {quote} > I add the device plugin: > {quote}✔ ~/hello > $ cordova plugin add cordova-plugin-device > Warning: using prerelease version 7.0.2-nightly.2017.9.20.596da5df > (cordova-lib@7.0.2-nightly.2017.9.20.701c15fe) > Installing "cordova-plugin-device" for android > Adding cordova-plugin-device to package.json > Saved plugin info for "cordova-plugin-device" to config.xml > ✔ ~/hello > $ cat package.json > { > "name": "com.example.hello", > "displayName": "HelloWorld", > "version": "1.0.0", > "description": "A sample Apache Cordova application tha
[jira] [Commented] (CB-13380) Tools Release Oct 2, 2017
[ https://issues.apache.org/jira/browse/CB-13380?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16189010#comment-16189010 ] Steve Gill commented on CB-13380: - plugman@1.5.0 > Tools Release Oct 2, 2017 > - > > Key: CB-13380 > URL: https://issues.apache.org/jira/browse/CB-13380 > Project: Apache Cordova > Issue Type: Task >Reporter: Steve Gill >Assignee: Steve Gill > > "Following steps at > https://github.com/apache/cordova-coho/blob/master/docs/tools-release-process.md"; -- This message was sent by Atlassian JIRA (v6.4.14#64029) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Resolved] (CB-13294) Plugins Release Sept 17, 2017
[ https://issues.apache.org/jira/browse/CB-13294?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Steve Gill resolved CB-13294. - Resolution: Fixed > Plugins Release Sept 17, 2017 > - > > Key: CB-13294 > URL: https://issues.apache.org/jira/browse/CB-13294 > Project: Apache Cordova > Issue Type: Task >Reporter: Steve Gill >Assignee: Steve Gill > > Following steps at > https://github.com/apache/cordova-coho/blob/master/docs/plugins-release-process.md > Releasing console, compat, device-motion and device-orientation. -- This message was sent by Atlassian JIRA (v6.4.14#64029) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-13380) Tools Release Oct 2, 2017
[ https://issues.apache.org/jira/browse/CB-13380?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16188951#comment-16188951 ] Steve Gill commented on CB-13380: - cordova-lib@7.1.0, cordova-cli@7.1.0, cordova-fetch@1.2.0 cordova-node-xcode@0.9.4 (IMO this should not be using a 0 as a major version but instead jump to 1.0.0. Proper semver compliance) cordova-js@4.2.2 cordova-common@2.1.1 > Tools Release Oct 2, 2017 > - > > Key: CB-13380 > URL: https://issues.apache.org/jira/browse/CB-13380 > Project: Apache Cordova > Issue Type: Task >Reporter: Steve Gill >Assignee: Steve Gill > > "Following steps at > https://github.com/apache/cordova-coho/blob/master/docs/tools-release-process.md"; -- This message was sent by Atlassian JIRA (v6.4.14#64029) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Created] (CB-13380) Tools Release Oct 2, 2017
Steve Gill created CB-13380: --- Summary: Tools Release Oct 2, 2017 Key: CB-13380 URL: https://issues.apache.org/jira/browse/CB-13380 Project: Apache Cordova Issue Type: Task Reporter: Steve Gill Assignee: Steve Gill "Following steps at https://github.com/apache/cordova-coho/blob/master/docs/tools-release-process.md"; -- This message was sent by Atlassian JIRA (v6.4.14#64029) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Updated] (CB-13308) Error on installation of a plugin's dependency that is also a direct dependency
[ https://issues.apache.org/jira/browse/CB-13308?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Steve Gill updated CB-13308: Labels: tools-next (was: ) > Error on installation of a plugin's dependency that is also a direct > dependency > --- > > Key: CB-13308 > URL: https://issues.apache.org/jira/browse/CB-13308 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-lib >Affects Versions: cordova@7.0.0 > Environment: I'm using the following versions on Ubuntu Linux: > {quote}✔ ~ > $ node --version > v8.3.0 > ✔ ~ > $ npm --version > 5.4.2 > ✔ ~ > $ cordova --version > 7.0.2-nightly.2017.9.20.596da5df > (cordova-lib@7.0.2-nightly.2017.9.20.701c15fe){quote} >Reporter: Mathis Hofer > Labels: tools-next > > h1. Summary > I'm using the plugins cordova-plugin-device and > cordova-plugin-background-mode (which itself depends on > cordova-plugin-device) in a project. The following error occurred, when the > background-mode plugins was defined before the device plugin in config.xml: > {quote}Failed to install 'cordova-plugin-background-mode': Error > at > /home/mhofer/.nvm/versions/node/v8.3.0/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/fetch.js:215:37 > at _rejected > (/home/mhofer/.nvm/versions/node/v8.3.0/lib/node_modules/cordova/node_modules/cordova-fetch/node_modules/q/q.js:864:24) > at > /home/mhofer/.nvm/versions/node/v8.3.0/lib/node_modules/cordova/node_modules/cordova-fetch/node_modules/q/q.js:890:30 > at Promise.when > (/home/mhofer/.nvm/versions/node/v8.3.0/lib/node_modules/cordova/node_modules/cordova-fetch/node_modules/q/q.js:1142:31) > at Promise.promise.promiseDispatch > (/home/mhofer/.nvm/versions/node/v8.3.0/lib/node_modules/cordova/node_modules/cordova-fetch/node_modules/q/q.js:808:41) > at > /home/mhofer/.nvm/versions/node/v8.3.0/lib/node_modules/cordova/node_modules/cordova-fetch/node_modules/q/q.js:624:44 > at runSingle > (/home/mhofer/.nvm/versions/node/v8.3.0/lib/node_modules/cordova/node_modules/cordova-fetch/node_modules/q/q.js:137:13) > at flush > (/home/mhofer/.nvm/versions/node/v8.3.0/lib/node_modules/cordova/node_modules/cordova-fetch/node_modules/q/q.js:125:13) > at _combinedTickCallback (internal/process/next_tick.js:131:7) > at process._tickCallback (internal/process/next_tick.js:180:9){quote} > This error does not happen, if cordova-plugin-device is not defined as direct > dependency, or if it is defined before background-mode in config.xml. > h1. Steps to reproduce > I setup a brand new project: > {quote}✔ ~ > $ cordova create hello com.example.hello HelloWorld > Warning: using prerelease version 7.0.2-nightly.2017.9.20.596da5df > (cordova-lib@7.0.2-nightly.2017.9.20.701c15fe) > Creating a new cordova project. > ✔ ~ > $ cd hello/ > ✔ ~/hello > $ cordova platform add android > Warning: using prerelease version 7.0.2-nightly.2017.9.20.596da5df > (cordova-lib@7.0.2-nightly.2017.9.20.701c15fe) > Using cordova-fetch for cordova-android@6.3.0-nightly.2017.9.20.dddb2837 > Warning: using prerelease platform android@6.3.0-nightly.2017.9.20.dddb2837. > Use 'cordova platform add android@latest' to add the latest published version > instead. > Adding android project... > Creating Cordova project for the Android platform: > Path: platforms/android > Package: com.example.hello > Name: HelloWorld > Activity: MainActivity > Android target: android-26 > Subproject Path: CordovaLib > Android project created with cordova-android@6.3.0-nightly.2017.9.20.dddb2837 > Discovered plugin "cordova-plugin-whitelist" in config.xml. Adding it to the > project > Installing "cordova-plugin-whitelist" for android > This plugin is only applicable for versions of cordova-android greater than > 4.0. If you have a previous platform version, you do *not* need this plugin > since the whitelist will be built in. > Adding cordova-plugin-whitelist to package.json > Saved plugin info for "cordova-plugin-whitelist" to config.xml > --save flag or autosave detected > Saving android@~6.3.0-nightly.2017.9.20.dddb2837 into config.xml file ...}} > {quote} > I add the device plugin: > {quote}✔ ~/hello > $ cordova plugin add cordova-plugin-device > Warning: using prerelease version 7.0.2-nightly.2017.9.20.596da5df > (cordova-lib@7.0.2-nightly.2017.9.20.701c15fe) > Installing "cordova-plugin-device" for android > Adding cordova-plugin-device to package.json > Saved plugin info for "cordova-plugin-device" to config.xml > ✔ ~/hello > $ cat package.json > { > "name": "com.example.hello", > "displayName": "HelloWorld", > "version": "1.0.0", > "description": "A sample Apache Cordova application that responds to the > deviceready event.", > "main": "index.js", > "scripts": { > "test": "echo \"Error: no test specifie
[jira] [Commented] (CB-13308) Error on installation of a plugin's dependency that is also a direct dependency
[ https://issues.apache.org/jira/browse/CB-13308?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16186678#comment-16186678 ] Steve Gill commented on CB-13308: - I believe this might be related to CB-13252 > Error on installation of a plugin's dependency that is also a direct > dependency > --- > > Key: CB-13308 > URL: https://issues.apache.org/jira/browse/CB-13308 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-lib >Affects Versions: cordova@7.0.0 > Environment: I'm using the following versions on Ubuntu Linux: > {quote}✔ ~ > $ node --version > v8.3.0 > ✔ ~ > $ npm --version > 5.4.2 > ✔ ~ > $ cordova --version > 7.0.2-nightly.2017.9.20.596da5df > (cordova-lib@7.0.2-nightly.2017.9.20.701c15fe){quote} >Reporter: Mathis Hofer > Labels: tools-next > > h1. Summary > I'm using the plugins cordova-plugin-device and > cordova-plugin-background-mode (which itself depends on > cordova-plugin-device) in a project. The following error occurred, when the > background-mode plugins was defined before the device plugin in config.xml: > {quote}Failed to install 'cordova-plugin-background-mode': Error > at > /home/mhofer/.nvm/versions/node/v8.3.0/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/fetch.js:215:37 > at _rejected > (/home/mhofer/.nvm/versions/node/v8.3.0/lib/node_modules/cordova/node_modules/cordova-fetch/node_modules/q/q.js:864:24) > at > /home/mhofer/.nvm/versions/node/v8.3.0/lib/node_modules/cordova/node_modules/cordova-fetch/node_modules/q/q.js:890:30 > at Promise.when > (/home/mhofer/.nvm/versions/node/v8.3.0/lib/node_modules/cordova/node_modules/cordova-fetch/node_modules/q/q.js:1142:31) > at Promise.promise.promiseDispatch > (/home/mhofer/.nvm/versions/node/v8.3.0/lib/node_modules/cordova/node_modules/cordova-fetch/node_modules/q/q.js:808:41) > at > /home/mhofer/.nvm/versions/node/v8.3.0/lib/node_modules/cordova/node_modules/cordova-fetch/node_modules/q/q.js:624:44 > at runSingle > (/home/mhofer/.nvm/versions/node/v8.3.0/lib/node_modules/cordova/node_modules/cordova-fetch/node_modules/q/q.js:137:13) > at flush > (/home/mhofer/.nvm/versions/node/v8.3.0/lib/node_modules/cordova/node_modules/cordova-fetch/node_modules/q/q.js:125:13) > at _combinedTickCallback (internal/process/next_tick.js:131:7) > at process._tickCallback (internal/process/next_tick.js:180:9){quote} > This error does not happen, if cordova-plugin-device is not defined as direct > dependency, or if it is defined before background-mode in config.xml. > h1. Steps to reproduce > I setup a brand new project: > {quote}✔ ~ > $ cordova create hello com.example.hello HelloWorld > Warning: using prerelease version 7.0.2-nightly.2017.9.20.596da5df > (cordova-lib@7.0.2-nightly.2017.9.20.701c15fe) > Creating a new cordova project. > ✔ ~ > $ cd hello/ > ✔ ~/hello > $ cordova platform add android > Warning: using prerelease version 7.0.2-nightly.2017.9.20.596da5df > (cordova-lib@7.0.2-nightly.2017.9.20.701c15fe) > Using cordova-fetch for cordova-android@6.3.0-nightly.2017.9.20.dddb2837 > Warning: using prerelease platform android@6.3.0-nightly.2017.9.20.dddb2837. > Use 'cordova platform add android@latest' to add the latest published version > instead. > Adding android project... > Creating Cordova project for the Android platform: > Path: platforms/android > Package: com.example.hello > Name: HelloWorld > Activity: MainActivity > Android target: android-26 > Subproject Path: CordovaLib > Android project created with cordova-android@6.3.0-nightly.2017.9.20.dddb2837 > Discovered plugin "cordova-plugin-whitelist" in config.xml. Adding it to the > project > Installing "cordova-plugin-whitelist" for android > This plugin is only applicable for versions of cordova-android greater than > 4.0. If you have a previous platform version, you do *not* need this plugin > since the whitelist will be built in. > Adding cordova-plugin-whitelist to package.json > Saved plugin info for "cordova-plugin-whitelist" to config.xml > --save flag or autosave detected > Saving android@~6.3.0-nightly.2017.9.20.dddb2837 into config.xml file ...}} > {quote} > I add the device plugin: > {quote}✔ ~/hello > $ cordova plugin add cordova-plugin-device > Warning: using prerelease version 7.0.2-nightly.2017.9.20.596da5df > (cordova-lib@7.0.2-nightly.2017.9.20.701c15fe) > Installing "cordova-plugin-device" for android > Adding cordova-plugin-device to package.json > Saved plugin info for "cordova-plugin-device" to config.xml > ✔ ~/hello > $ cat package.json > { > "name": "com.example.hello", > "displayName": "HelloWorld", > "version": "1.0.0", > "description": "A sample Apache Cordova application that responds to the > deviceready event.", > "main"
[jira] [Created] (CB-13303) cordova fetch should use --production flag by default
Steve Gill created CB-13303: --- Summary: cordova fetch should use --production flag by default Key: CB-13303 URL: https://issues.apache.org/jira/browse/CB-13303 Project: Apache Cordova Issue Type: Task Components: cordova-fetch Reporter: Steve Gill This should speed up cordova-fetch. When installing platforms and plugins, run npm install --production under the hood so we don't fetch dev dependencies. -- This message was sent by Atlassian JIRA (v6.4.14#64029) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Created] (CB-13302) review existing fetch logic
Steve Gill created CB-13302: --- Summary: review existing fetch logic Key: CB-13302 URL: https://issues.apache.org/jira/browse/CB-13302 Project: Apache Cordova Issue Type: Task Components: cordova-lib Reporter: Steve Gill Going to review the existing fetch logic and package.json/config.xml writes and try to optimize. -- This message was sent by Atlassian JIRA (v6.4.14#64029) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Resolved] (CB-13206) local plugin fails to fetch/install during restore
[ https://issues.apache.org/jira/browse/CB-13206?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Steve Gill resolved CB-13206. - Resolution: Fixed > local plugin fails to fetch/install during restore > --- > > Key: CB-13206 > URL: https://issues.apache.org/jira/browse/CB-13206 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-lib >Affects Versions: cordova@7.0.1 >Reporter: Steve Gill >Assignee: Steve Gill > Labels: backlog, tools-next > Fix For: cordova@7.1.0 > > > Looks like the logic in determinePluginTarget function in > src/cordova/plugin/add.js is a little messed up. Line 231 seems to be the > culprit. > {code} > cordova prepare > Warning: using prerelease version 7.0.2-dev (cordova-lib@7.0.2-dev) > Discovered plugin "phonegap-plugin-push" in config.xml. Adding it to the > project > Failed to restore plugin "phonegap-plugin-push" from config.xml. You might > need to try adding it again. Error: Failed to fetch plugin > phonegap-plugin-push@../../../phonegap/phonegap-plugin-push 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 ERR! addLocal Could not install > /Users/steveng/repo/cordova/phonegap/phonegap-plugin-push > npm ERR! path /Users/steveng/repo/cordova/phonegap/phonegap-plugin-push > npm ERR! code ENOENT > npm ERR! errno -2 > npm ERR! syscall open > npm ERR! enoent ENOENT: no such file or directory, open > '/Users/steveng/repo/cordova/phonegap/phonegap-plugin-push' > 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 > {code} -- This message was sent by Atlassian JIRA (v6.4.14#64029) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Created] (CB-13294) Plugins Release Sept 17, 2017
Steve Gill created CB-13294: --- Summary: Plugins Release Sept 17, 2017 Key: CB-13294 URL: https://issues.apache.org/jira/browse/CB-13294 Project: Apache Cordova Issue Type: Task Reporter: Steve Gill Assignee: Steve Gill Following steps at https://github.com/apache/cordova-coho/blob/master/docs/plugins-release-process.md Releasing console, compat, device-motion and device-orientation. -- This message was sent by Atlassian JIRA (v6.4.14#64029) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Created] (CB-13293) already fetched platforms shouldn't call fetch code
Steve Gill created CB-13293: --- Summary: already fetched platforms shouldn't call fetch code Key: CB-13293 URL: https://issues.apache.org/jira/browse/CB-13293 Project: Apache Cordova Issue Type: Bug Components: cordova-lib Reporter: Steve Gill Fix For: cordova@7.1.0 adding a platform that has already been added/fetched will still call cordova-fetch before realizing the platform is already installed. Need to check if platform is added first. -- This message was sent by Atlassian JIRA (v6.4.14#64029) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Updated] (CB-13254) node 4 with cordova-cli causes platform add issues
[ https://issues.apache.org/jira/browse/CB-13254?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Steve Gill updated CB-13254: Labels: tools-next (was: ) > node 4 with cordova-cli causes platform add issues > -- > > Key: CB-13254 > URL: https://issues.apache.org/jira/browse/CB-13254 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-cli >Reporter: Shazron Abdullah > Labels: tools-next > > From [~jcesarmobile] in dev@: > {code} > I'm trying to do cordova platform add > https://github.com/apache/cordova-ios#4.5.0 and getting this error > Using CLI 7.0.1: > cordova platform add https://github.com/apache/cordova-ios#4.5.0 > Using cordova-fetch for https://github.com/apache/cordova-ios#4.5.0 > Adding ios project... > Using this version of Cordova with older version of cordova-ios is > deprecated. Upgrade to cordova-ios@4.0.0 or newer. > Error: Your ios platform does not have Api.js > Using nightly CLI: > cordova platform add https://github.com/apache/cordova-ios#4.5.0 > Warning: using prerelease version 7.0.2-nightly.2017.9.7.596da5df > (cordova-lib@7.0.2-nightly.2017.9.7.6f5be6a7) > Using cordova-fetch for https://github.com/apache/cordova-ios#4.5.0 > Adding ios project... > Unable to load PlatformApi from platform. Error: Cannot find module 'unorm' > Error: Uncaught, unspecified "error" event. (The platform "ios" does not > appear to be a valid cordova platform. It is missing API.js. ios not > supported.) > node -v > v4.4.7 > npm -v > 2.15.8 > {code} -- This message was sent by Atlassian JIRA (v6.4.14#64029) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-13252) Nightly causing npm symbolic link loop issues
[ https://issues.apache.org/jira/browse/CB-13252?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16156450#comment-16156450 ] Steve Gill commented on CB-13252: - still no luck reproducing. using nightly `7.0.2-nightly.2017.9.7.596da5df` node 8.4.0 and npm 5.4.0 > Nightly causing npm symbolic link loop issues > - > > Key: CB-13252 > URL: https://issues.apache.org/jira/browse/CB-13252 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-fetch >Affects Versions: 7.0.2 >Reporter: Darryl Pogue > Labels: tools-next > Attachments: cordova.log > > > Reproducible test case: https://github.com/dpogue/cordova-eloop (running with > npm 5.4.0) > Cordova prepare somehow decides to update the package.json to point a plugin > at {{file:node_modules/cordova-plugin-}}, leading to npm trying to > install from a folder into the same folder and throwing ELOOP errors. -- This message was sent by Atlassian JIRA (v6.4.14#64029) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-13252) Nightly causing npm symbolic link loop issues
[ https://issues.apache.org/jira/browse/CB-13252?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16156323#comment-16156323 ] Steve Gill commented on CB-13252: - I can't seem to reproduce it. Tried with cordova 7.0.1, nightly and master. I cloned your repo down and copied it into a blank cordova project. Then ran cordova prepare. plugins installed fine and package.json wasn't modified. Tried with npm@5.4.0. Anything I miss? What node version? Can you run cordova prepare -d and share the output > Nightly causing npm symbolic link loop issues > - > > Key: CB-13252 > URL: https://issues.apache.org/jira/browse/CB-13252 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-fetch >Affects Versions: 7.0.2 >Reporter: Darryl Pogue > Labels: tools-next > > Reproducible test case: https://github.com/dpogue/cordova-eloop (running with > npm 5.4.0) > Cordova prepare somehow decides to update the package.json to point a plugin > at {{file:node_modules/cordova-plugin-}}, leading to npm trying to > install from a folder into the same folder and throwing ELOOP errors. -- This message was sent by Atlassian JIRA (v6.4.14#64029) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Updated] (CB-13252) Nightly causing npm symbolic link loop issues
[ https://issues.apache.org/jira/browse/CB-13252?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Steve Gill updated CB-13252: Labels: tools-next (was: ) > Nightly causing npm symbolic link loop issues > - > > Key: CB-13252 > URL: https://issues.apache.org/jira/browse/CB-13252 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-fetch >Affects Versions: 7.0.2 >Reporter: Darryl Pogue > Labels: tools-next > > Reproducible test case: https://github.com/dpogue/cordova-eloop (running with > npm 5.4.0) > Cordova prepare somehow decides to update the package.json to point a plugin > at {{file:node_modules/cordova-plugin-}}, leading to npm trying to > install from a folder into the same folder and throwing ELOOP errors. -- This message was sent by Atlassian JIRA (v6.4.14#64029) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Assigned] (CB-13230) Remove service worker from cordova-browser
[ https://issues.apache.org/jira/browse/CB-13230?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Steve Gill reassigned CB-13230: --- Assignee: Jesse MacFadyen (was: Herm Wong) > Remove service worker from cordova-browser > -- > > Key: CB-13230 > URL: https://issues.apache.org/jira/browse/CB-13230 > Project: Apache Cordova > Issue Type: Bug >Affects Versions: 5.0.0 >Reporter: Steve Gill >Assignee: Jesse MacFadyen > Labels: browser-next > Fix For: 5.1.0 > > > It doesn't make sense to include service workers by default in > cordova-browser. We are better off documenting how to add service workers so > our users can do that. I think we need to delete > https://github.com/apache/cordova-browser/blob/master/bin/template/www/cordova-sw.js > and remove any references to cordova-sw.js > https://github.com/apache/cordova-browser/search?utf8=%E2%9C%93&q=cordova-sw.js&type= -- This message was sent by Atlassian JIRA (v6.4.14#64029) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Closed] (CB-11733) Cordova Ubuntu Platform Release
[ https://issues.apache.org/jira/browse/CB-11733?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Steve Gill closed CB-11733. --- Resolution: Won't Fix > Cordova Ubuntu Platform Release > --- > > Key: CB-11733 > URL: https://issues.apache.org/jira/browse/CB-11733 > Project: Apache Cordova > Issue Type: Task > Components: cordova-ubuntu >Reporter: David Barth >Assignee: David Barth > > Following steps at > https://github.com/apache/cordova-coho/blob/master/docs/platforms-release-process.md -- This message was sent by Atlassian JIRA (v6.4.14#64029) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Resolved] (CB-13232) add test for local path cordova.require in cordova.js
[ https://issues.apache.org/jira/browse/CB-13232?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Steve Gill resolved CB-13232. - Resolution: Fixed > add test for local path cordova.require in cordova.js > - > > Key: CB-13232 > URL: https://issues.apache.org/jira/browse/CB-13232 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-js >Affects Versions: cordova-js@4.2.1 >Reporter: Steve Gill >Assignee: Steve Gill > Labels: tools-next > Fix For: cordova-js@4.2.2 > > > Cordova.js has a unique way to handle local requires. Add a test to make sure > we don't break it in the future. > This issue is in response to https://github.com/apache/cordova-js/pull/146 -- This message was sent by Atlassian JIRA (v6.4.14#64029) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Updated] (CB-9626) Cordova-Lib requires NPM as a dependency
[ https://issues.apache.org/jira/browse/CB-9626?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Steve Gill updated CB-9626: --- Labels: backlog tools-next (was: tools-next) > Cordova-Lib requires NPM as a dependency > > > Key: CB-9626 > URL: https://issues.apache.org/jira/browse/CB-9626 > Project: Apache Cordova > Issue Type: Wish > Components: cordova-lib >Reporter: Robert Baker > Labels: backlog, tools-next > > I'm using NPM 3.x (3.3.2) and cordova-create is installing NPM 2.x in my node > modules folder. > There should be a way around this, I rather not have a copy of NPM > (especially an older copy) in my node_modules. > NPM 3.x is stable, included in node 5. -- This message was sent by Atlassian JIRA (v6.4.14#64029) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-9626) Cordova-Lib requires NPM as a dependency
[ https://issues.apache.org/jira/browse/CB-9626?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16149471#comment-16149471 ] Steve Gill commented on CB-9626: The plan is to remove the pacakged npm dep for cordova@8. cordova@7+ doesn't use the packaged npm dep for installing plugins. It uses the npm you have installed on your system. Using --nofetch will use the npm packaged with cordova-lib (aka npm@2). > Cordova-Lib requires NPM as a dependency > > > Key: CB-9626 > URL: https://issues.apache.org/jira/browse/CB-9626 > Project: Apache Cordova > Issue Type: Wish > Components: cordova-lib >Reporter: Robert Baker > Labels: backlog, tools-next > > I'm using NPM 3.x (3.3.2) and cordova-create is installing NPM 2.x in my node > modules folder. > There should be a way around this, I rather not have a copy of NPM > (especially an older copy) in my node_modules. > NPM 3.x is stable, included in node 5. -- This message was sent by Atlassian JIRA (v6.4.14#64029) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Updated] (CB-9626) Cordova-Lib requires NPM as a dependency
[ https://issues.apache.org/jira/browse/CB-9626?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Steve Gill updated CB-9626: --- Labels: tools-next (was: ) > Cordova-Lib requires NPM as a dependency > > > Key: CB-9626 > URL: https://issues.apache.org/jira/browse/CB-9626 > Project: Apache Cordova > Issue Type: Wish > Components: cordova-lib >Reporter: Robert Baker > Labels: backlog, tools-next > > I'm using NPM 3.x (3.3.2) and cordova-create is installing NPM 2.x in my node > modules folder. > There should be a way around this, I rather not have a copy of NPM > (especially an older copy) in my node_modules. > NPM 3.x is stable, included in node 5. -- This message was sent by Atlassian JIRA (v6.4.14#64029) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Created] (CB-13232) add test for local path cordova.require in cordova.js
Steve Gill created CB-13232: --- Summary: add test for local path cordova.require in cordova.js Key: CB-13232 URL: https://issues.apache.org/jira/browse/CB-13232 Project: Apache Cordova Issue Type: Bug Components: cordova-js Affects Versions: cordova-js@4.2.1 Reporter: Steve Gill Assignee: Steve Gill Fix For: cordova-js@4.2.2 Cordova.js has a unique way to handle local requires. Add a test to make sure we don't break it in the future. This issue is in response to https://github.com/apache/cordova-js/pull/146 -- This message was sent by Atlassian JIRA (v6.4.14#64029) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Closed] (CB-13214) Browser@5 and cordova-serve@2 Release
[ https://issues.apache.org/jira/browse/CB-13214?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Steve Gill closed CB-13214. --- Resolution: Fixed > Browser@5 and cordova-serve@2 Release > - > > Key: CB-13214 > URL: https://issues.apache.org/jira/browse/CB-13214 > Project: Apache Cordova > Issue Type: Task >Reporter: Steve Gill >Assignee: Steve Gill > Labels: browser-next > > "Following steps at > https://github.com/apache/cordova-coho/blob/master/docs/tools-release-process.md"; -- This message was sent by Atlassian JIRA (v6.4.14#64029) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Created] (CB-13230) Remove service worker from cordova-browser
Steve Gill created CB-13230: --- Summary: Remove service worker from cordova-browser Key: CB-13230 URL: https://issues.apache.org/jira/browse/CB-13230 Project: Apache Cordova Issue Type: Bug Affects Versions: 5.0.0 Reporter: Steve Gill Fix For: 5.1.0 It doesn't make sense to include service workers by default in cordova-browser. We are better off documenting how to add service workers so our users can do that. I think we need to delete https://github.com/apache/cordova-browser/blob/master/bin/template/www/cordova-sw.js and remove any references to cordova-sw.js https://github.com/apache/cordova-browser/search?utf8=%E2%9C%93&q=cordova-sw.js&type= -- This message was sent by Atlassian JIRA (v6.4.14#64029) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Created] (CB-13228) cordova-browser@5 doesn't add with cordova<7
Steve Gill created CB-13228: --- Summary: cordova-browser@5 doesn't add with cordova<7 Key: CB-13228 URL: https://issues.apache.org/jira/browse/CB-13228 Project: Apache Cordova Issue Type: Bug Affects Versions: 5.0.0 Reporter: Steve Gill Fix For: 5.0.1 {code} cordova platform add browser@latest --nofetch Warning: using prerelease version 7.0.2-dev (cordova-lib@7.0.2-dev) Adding browser project... Unable to load PlatformApi from platform. Error: Cannot find module 'cordova-common' Error: Uncaught, unspecified "error" event. (The platform "browser" does not appear to be a valid cordova platform. It is missing API.js. browser not supported.) {code} I believe cordova-common wasn't properly bundled into cordova-browser@5. Works fine if I add it locally. Easy fix -- This message was sent by Atlassian JIRA (v6.4.14#64029) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Assigned] (CB-13214) Browser@5 and cordova-serve@2 Release
[ https://issues.apache.org/jira/browse/CB-13214?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Steve Gill reassigned CB-13214: --- Assignee: Steve Gill > Browser@5 and cordova-serve@2 Release > - > > Key: CB-13214 > URL: https://issues.apache.org/jira/browse/CB-13214 > Project: Apache Cordova > Issue Type: Task >Reporter: Steve Gill >Assignee: Steve Gill > Labels: browser-next > > "Following steps at > https://github.com/apache/cordova-coho/blob/master/docs/tools-release-process.md"; -- This message was sent by Atlassian JIRA (v6.4.14#64029) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Resolved] (CB-13042) Run Apache RAT / add license headers
[ https://issues.apache.org/jira/browse/CB-13042?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Steve Gill resolved CB-13042. - Resolution: Fixed > Run Apache RAT / add license headers > > > Key: CB-13042 > URL: https://issues.apache.org/jira/browse/CB-13042 > Project: Apache Cordova > Issue Type: Task > Components: cordova-browser >Reporter: Filip Maj >Assignee: Jesse MacFadyen > Labels: browser-next > > bin/template/cordova/Api.js is missing it. run RAT to see if we're good. -- This message was sent by Atlassian JIRA (v6.4.14#64029) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Closed] (CB-11809) when running `cordova run`, cordova-browser platform requires google-chrome (does not support other browsers)
[ https://issues.apache.org/jira/browse/CB-11809?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Steve Gill closed CB-11809. --- Resolution: Fixed > when running `cordova run`, cordova-browser platform requires google-chrome > (does not support other browsers) > - > > Key: CB-11809 > URL: https://issues.apache.org/jira/browse/CB-11809 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-browser, cordova-cli >Affects Versions: 6.3.1 >Reporter: Cássio Hideki Kanashiro Oseki >Assignee: Jesse MacFadyen > Labels: backlog, browser-next > > cordova run needs a very specific browser to run, and does nothing if this > very specific browser doesn't exist the expected places > [empjustine@artemis conservo]$ ~/node_modules/.bin/cordova run browser > Running command: /home/empjustine/conservo/platforms/browser/cordova/build > Cleaning Browser project > Running command: /home/empjustine/conservo/platforms/browser/cordova/run > --nobuild > Static file server running @ http://localhost:8000/index.html > CTRL + C to shut down > Error executing "google-chrome > --user-data-dir=/tmp/temp_chrome_user_data_dir_for_cordova > http://localhost:8000/index.html": /bin/sh: google-chrome: command not found > [empjustine@artemis conservo]$ -- This message was sent by Atlassian JIRA (v6.4.14#64029) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Resolved] (CB-13216) [browser] Assets are not copied to platform_www on plugin install
[ https://issues.apache.org/jira/browse/CB-13216?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Steve Gill resolved CB-13216. - Resolution: Fixed > [browser] Assets are not copied to platform_www on plugin install > - > > Key: CB-13216 > URL: https://issues.apache.org/jira/browse/CB-13216 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-browser >Reporter: Alexander Sorokin >Assignee: Jesse MacFadyen > Labels: backlog, browser-next > > When installing a plugin with an tag, for example, > cordova-plugin-test-framework: > {noformat} > > {noformat} > The tag is unrecognized and assets are not copied to platform's www folder. > Here's an example of output: > {noformat} > cordova plugin add > cordova-plugin-test-framework@https://github.com/apache/cordova-plugin-test-framework > Warning: using prerelease version 7.0.2-dev (cordova-lib@7.0.2-dev) > Installing "cordova-plugin-test-framework" for browser > unrecognized type asset > Adding cordova-plugin-test-framework to package.json > Saved plugin info for "cordova-plugin-test-framework" to config.xml > {noformat} -- This message was sent by Atlassian JIRA (v6.4.14#64029) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-12905) LaunchBrowser promise in linux, not resolved until the browser process terminates.
[ https://issues.apache.org/jira/browse/CB-12905?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16140676#comment-16140676 ] Steve Gill commented on CB-12905: - Left a comment on https://github.com/apache/cordova-serve/pull/2 > LaunchBrowser promise in linux, not resolved until the browser process > terminates. > -- > > Key: CB-12905 > URL: https://issues.apache.org/jira/browse/CB-12905 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-serve >Affects Versions: 6.5.0, 7.0.1 > Environment: OS: Ubuntu 16.04.2 LTS > cordova: 6.5.0 > simulate: 0.3.12 > node: v7.10.0 > npm: 4.6.1 >Reporter: Pavel Yakovlev >Priority: Minor > > LaunchBrowser promise in linux, not resolved until the browser process > terminates. -- This message was sent by Atlassian JIRA (v6.4.14#64029) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Assigned] (CB-12905) LaunchBrowser promise in linux, not resolved until the browser process terminates.
[ https://issues.apache.org/jira/browse/CB-12905?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Steve Gill reassigned CB-12905: --- Assignee: Steve Gill > LaunchBrowser promise in linux, not resolved until the browser process > terminates. > -- > > Key: CB-12905 > URL: https://issues.apache.org/jira/browse/CB-12905 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-serve >Affects Versions: 6.5.0, 7.0.1 > Environment: OS: Ubuntu 16.04.2 LTS > cordova: 6.5.0 > simulate: 0.3.12 > node: v7.10.0 > npm: 4.6.1 >Reporter: Pavel Yakovlev >Assignee: Steve Gill >Priority: Minor > > LaunchBrowser promise in linux, not resolved until the browser process > terminates. -- This message was sent by Atlassian JIRA (v6.4.14#64029) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Created] (CB-13214) Browser@5 and cordova-serve@2 Release
Steve Gill created CB-13214: --- Summary: Browser@5 and cordova-serve@2 Release Key: CB-13214 URL: https://issues.apache.org/jira/browse/CB-13214 Project: Apache Cordova Issue Type: Task Reporter: Steve Gill "Following steps at https://github.com/apache/cordova-coho/blob/master/docs/tools-release-process.md"; -- This message was sent by Atlassian JIRA (v6.4.14#64029) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org