[jira] [Updated] (CB-13913) Default Splash Screen Not changing
[ https://issues.apache.org/jira/browse/CB-13913?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Manoj updated CB-13913: --- Remaining Estimate: 6h (was: 96h) Original Estimate: 6h (was: 96h) > Default Splash Screen Not changing > -- > > Key: CB-13913 > URL: https://issues.apache.org/jira/browse/CB-13913 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-plugin-splashscreen >Affects Versions: cordova-android-7.0.0 > Environment: * Creating a simple hellow world app using Phonegap > * Icons changes as I replace with custom images > * Splash Screen shows default icons >Reporter: Manoj >Priority: Major > Original Estimate: 6h > Remaining Estimate: 6h > > I am using Splash Screen and it show default *CORDOVA ICON WITH GREY > BACKGROUND* before app launches. > -- 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-13913) Default Splash Screen Not changing
Manoj created CB-13913: -- Summary: Default Splash Screen Not changing Key: CB-13913 URL: https://issues.apache.org/jira/browse/CB-13913 Project: Apache Cordova Issue Type: Bug Components: cordova-plugin-splashscreen Affects Versions: cordova-android-7.0.0 Environment: * Creating a simple hellow world app using Phonegap * Icons changes as I replace with custom images * Splash Screen shows default icons Reporter: Manoj I am using Splash Screen and it show default *CORDOVA ICON WITH GREY BACKGROUND* before app launches. -- 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-13896) Cordova-Windows Platform Release 6.0.0, February 19/20, 2018
[ https://issues.apache.org/jira/browse/CB-13896?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16370704#comment-16370704 ] Jan Piotrowski (Sujan) commented on CB-13896: - Followed all the steps and create a release successfully, mail to dev mailing list regarding VOTE is sent. Writing the blog post now. > Cordova-Windows Platform Release 6.0.0, February 19/20, 2018 > > > Key: CB-13896 > URL: https://issues.apache.org/jira/browse/CB-13896 > Project: Apache Cordova > Issue Type: Task > Components: cordova-windows >Reporter: Jan Piotrowski (Sujan) >Assignee: Jan Piotrowski (Sujan) >Priority: Major > > Following steps at > https://github.com/apache/cordova-coho/blob/master/docs/platforms-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] [Commented] (CB-13503) Problems with using plugins from local file system
[ https://issues.apache.org/jira/browse/CB-13503?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16370470#comment-16370470 ] ASF GitHub Bot commented on CB-13503: - stevengill closed pull request #13: CB-13503 fix trimID bug when using file:path/to/plugin URL: https://github.com/apache/cordova-fetch/pull/13 This is a PR merged from a forked repository. As GitHub hides the original diff on merge, it is displayed below for the sake of provenance: As this is a foreign pull request (from a fork), the diff is supplied below (as it won't show otherwise due to GitHub magic): diff --git a/index.js b/index.js index 9f4694c..8bb6326 100644 --- a/index.js +++ b/index.js @@ -145,7 +145,7 @@ function getJsonDiff (obj1, obj2) { * get the moduleID of the installed module. * * @param {String} targettarget that was passed into cordova-fetch. - * can be moduleID, moduleID@version or gitURL + * can be moduleID, moduleID@version, gitURL or relative path (file:relative/path) * * @return {String} ID moduleID without version. */ @@ -166,6 +166,11 @@ function trimID (target) { } // If local path exists, try to get plugin id from package.json or set target to final directory +if (target.startsWith('file:')) { +// If target starts with file: prefix, strip it +target = target.substring(5); +} + if (fs.existsSync(target)) { var pluginId; var pkgJsonPath = path.join(target, 'package.json'); diff --git a/spec/fetch.spec.js b/spec/fetch.spec.js index ab08eab..7d3c6b7 100644 --- a/spec/fetch.spec.js +++ b/spec/fetch.spec.js @@ -208,6 +208,7 @@ describe('test trimID method for npm and git', function () { beforeEach(function () { tmpDir = helpers.tmpDir('plug_trimID'); +shell.cp('-R', 'spec/support', path.join(tmpDir, 'support')); process.chdir(tmpDir); }); @@ -284,6 +285,26 @@ describe('test trimID method for npm and git', function () { .fin(done); }, 3); +it('should fetch same plugin twice in a row if using a relative path', function (done) { +fetch('file:support/dummy-local-plugin', tmpDir, opts) +.then(function (result) { +expect(result).toBeDefined(); +expect(fs.existsSync(result)).toBe(true); +expect(result).toMatch('test-plugin'); +return fetch('file:support/dummy-local-plugin', tmpDir, opts); +}) +.then(function (result) { +expect(result).toBeDefined(); +expect(fs.existsSync(result)).toBe(true); +expect(result).toMatch('test-plugin'); +}) +.fail(function (err) { +console.error(err); +expect(err).toBeUndefined(); +}) +.fin(done); +}, 3); + it('should fetch from git+http successfully', function (done) { fetch('git+http://gitbox.apache.org/repos/asf/cordova-plugin-dialogs.git', tmpDir, opts) .then(function () { diff --git a/spec/support/dummy-local-plugin/package.json b/spec/support/dummy-local-plugin/package.json new file mode 100644 index 000..77cb898 --- /dev/null +++ b/spec/support/dummy-local-plugin/package.json @@ -0,0 +1,9 @@ +{ + "name": "test-plugin", + "version": "1.0.0", + "description": "This plugin allows you to stream audio and video in a fullscreen, native player on iOS and Android.", + "main": "index.js", + "scripts": { +"test": "echo \"Error: no test specified\" && exit 1" + } +} diff --git a/spec/support/dummy-local-plugin/plugin.xml b/spec/support/dummy-local-plugin/plugin.xml new file mode 100755 index 000..b15d7b7 --- /dev/null +++ b/spec/support/dummy-local-plugin/plugin.xml @@ -0,0 +1,14 @@ + +http://apache.org/cordova/ns/plugins/1.0"; + xmlns:android="http://schemas.android.com/apk/res/android"; + id="test-plugin" + version="1.0.0"> + + test plugin + + + + + + This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org > Problems with using plugins from local file system > -- > > Key: CB-13503 > URL: https://issues.apache.org/jira/browse/CB-13503 > Project: Apache Cordova > Issue Type: Bug > Components: AllPlatforms, cordova-fetch >Affects Versions: cordova@7.1.0 >Reporter: Mark Veenstra >Priority: Blocker > > I am struggling to get up and running with {{cord
[jira] [Commented] (CB-10872) Add documentation for the Browser platform
[ https://issues.apache.org/jira/browse/CB-10872?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16370450#comment-16370450 ] Gandhirajan commented on CB-10872: -- I will look into this > Add documentation for the Browser platform > -- > > Key: CB-10872 > URL: https://issues.apache.org/jira/browse/CB-10872 > Project: Apache Cordova > Issue Type: Improvement > Components: cordova-browser > Environment: Browser Platform >Reporter: Robert Posener >Priority: Critical > Labels: browser-next > > TOC under Platforms is missing Browser > Config.xml is missing Browser > Customize Icons is missing Browser > [~filmaj] notes: cordova-browser README.md once-over. Do the PWA notes apply? > feels like this section could use more ellaboration. -- 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] [Commented] (CB-8006) coho repo-clone -r dist -r dist/dev fails silently when svn isn't installed
[ https://issues.apache.org/jira/browse/CB-8006?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16370261#comment-16370261 ] Jan Piotrowski (Sujan) commented on CB-8006: Still an issue today. > coho repo-clone -r dist -r dist/dev fails silently when svn isn't installed > --- > > Key: CB-8006 > URL: https://issues.apache.org/jira/browse/CB-8006 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-coho >Reporter: Steve Gill >Priority: Major > > should make noise! -- 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-13911) coho leaks local path into `cordova.js`
Jan Piotrowski (Sujan) created CB-13911: --- Summary: coho leaks local path into `cordova.js` Key: CB-13911 URL: https://issues.apache.org/jira/browse/CB-13911 Project: Apache Cordova Issue Type: Bug Components: cordova-coho Reporter: Jan Piotrowski (Sujan) e.g. https://github.com/apache/cordova-windows/blob/b1fbd9d1ac357cba98d4425e3c55355c2469fe1c/template/www/cordova.js#L831 When building on another system, this causes unnecessary changes during the release 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] [Updated] (CB-13910) [Android] 26 mobile-spec auto test failures with cordova-android 7.1.0-dev
[ https://issues.apache.org/jira/browse/CB-13910?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jan Piotrowski (Sujan) updated CB-13910: Environment: !Screenshot_20180220-171147.png|width=500! (was: !Screenshot_20180220-171147.png! ) > [Android] 26 mobile-spec auto test failures with cordova-android 7.1.0-dev > -- > > Key: CB-13910 > URL: https://issues.apache.org/jira/browse/CB-13910 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-mobile-spec > Environment: !Screenshot_20180220-171147.png|width=500! >Reporter: Jan Piotrowski (Sujan) >Priority: Major > Attachments: Screenshot_20180220-171128.png, > Screenshot_20180220-171147.png > > > !Screenshot_20180220-171128.png! -- 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] [Updated] (CB-13910) [Android] 26 mobile-spec auto test failures with cordova-android 7.1.0-dev
[ https://issues.apache.org/jira/browse/CB-13910?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jan Piotrowski (Sujan) updated CB-13910: Description: !Screenshot_20180220-171128.png|width=500! was: !Screenshot_20180220-171128.png! > [Android] 26 mobile-spec auto test failures with cordova-android 7.1.0-dev > -- > > Key: CB-13910 > URL: https://issues.apache.org/jira/browse/CB-13910 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-mobile-spec > Environment: !Screenshot_20180220-171147.png|width=500! >Reporter: Jan Piotrowski (Sujan) >Priority: Major > Attachments: Screenshot_20180220-171128.png, > Screenshot_20180220-171147.png > > > !Screenshot_20180220-171128.png|width=500! -- 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-13910) [Android] 26 mobile-spec auto test failures with cordova-android 7.1.0-dev
Jan Piotrowski (Sujan) created CB-13910: --- Summary: [Android] 26 mobile-spec auto test failures with cordova-android 7.1.0-dev Key: CB-13910 URL: https://issues.apache.org/jira/browse/CB-13910 Project: Apache Cordova Issue Type: Bug Components: cordova-mobile-spec Environment: !Screenshot_20180220-171147.png! Reporter: Jan Piotrowski (Sujan) Attachments: Screenshot_20180220-171128.png, Screenshot_20180220-171147.png !Screenshot_20180220-171128.png! -- 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-13909) InAppBrowser (location feature's) has an issue for android
Mosab Abubakr created CB-13909: -- Summary: InAppBrowser (location feature's) has an issue for android Key: CB-13909 URL: https://issues.apache.org/jira/browse/CB-13909 Project: Apache Cordova Issue Type: Bug Components: cordova-plugin-inappbrowser Affects Versions: cordova-android-7.0.0 Reporter: Mosab Abubakr Fix For: Master Hello, I have to report for an issue for inappbrowser plugin, related to location feature's. As of documentation for inappbrowser plugin: * *location*: Set to {{yes}} or {{no}} to turn the {{InAppBrowser}}'s location bar on or off. If set the location to(off), this work well on IOS devices. but for android it will hide the toolbar itself like *hidden feature.* (in another word: location:off for android same result as hidden: yes) this will hide the browser, so the location feature work for android if it set to on, and it work as *hidden if is set to off.* *So, we need to hide location bar for android by set location to (off) same as ios.* Please fix this issue. Regards -- 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-13900) Splashscreen get resized on iOS at startup
[ https://issues.apache.org/jira/browse/CB-13900?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16370108#comment-16370108 ] Thomas Fétiveau commented on CB-13900: -- [~jcesarmobile] a video of the same issue on my first project and on a iPhone SE (ios 11) : https://www.dropbox.com/s/sl3jqwuhi7kimk0/video-1518783758__1_.mp4 > Splashscreen get resized on iOS at startup > -- > > Key: CB-13900 > URL: https://issues.apache.org/jira/browse/CB-13900 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-plugin-splashscreen >Reporter: Thomas Fétiveau >Priority: Major > > I'm using the following setting in my config.xml for iOS : > > > > > > > At startup, the splashscreen get displayed once with a given size and then > right after with a unzoomed size. The effect is not nice. > > Why is this happening ? -- 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-13899) Cannot change status bar background color on android
[ https://issues.apache.org/jira/browse/CB-13899?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16370019#comment-16370019 ] Thomas Fétiveau commented on CB-13899: -- Super, it works, thanks ! > Cannot change status bar background color on android > > > Key: CB-13899 > URL: https://issues.apache.org/jira/browse/CB-13899 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-plugin-splashscreen >Reporter: Thomas Fétiveau >Priority: Major > > I can't change the color of the splashscreen background on Android 7.0. It's > always black. > I have set this in my config.xml but it does not have any effect : > -- 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-13908) [Windows] cordova/bin scripts create an unrunnable project
Jan Piotrowski (Sujan) created CB-13908: --- Summary: [Windows] cordova/bin scripts create an unrunnable project Key: CB-13908 URL: https://issues.apache.org/jira/browse/CB-13908 Project: Apache Cordova Issue Type: Bug Components: cordova-coho, cordova-windows Reporter: Jan Piotrowski (Sujan) Assignee: Jesse MacFadyen Platform release guide, "What to test" tells you to: {code} ./cordova-android/bin/create ./androidTest2 org.apache.cordova.test2 androidTest2 (cd androidTest2 && ./cordova/build) (cd androidTest2 && ./cordova/run --device) (cd androidTest2 && ./cordova/run --emulator) {code} If you run this for cordova-windows, the build will unfortunately possibly fail: {code} C:\Projects\Cordova\cordova-windows\bin\windowsTest2\cordova (6.0.x -> origin) λ build ENV var VSINSTALLDIR is set C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\ Building project: C:\Projects\Cordova\cordova-windows\bin\windowsTest2\CordovaApp.Windows10.jsproj Configuration : debug Platform : anycpu Buildflags: /p:AppxBundle=Never MSBuildTools : C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin buildProject spawn: C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin\msbuild [ 'C:\\Projects\\Cordova\\cordova-windows\\bin\\windowsTest2\\CordovaApp.Windows10.jsproj', '/clp:NoSummary;NoItemAndPropertyList;Verbosity=minimal', '/nologo', '/p:Configuration=debug', '/p:Platform=anycpu', '/p:AppxBundle=Never' ] { stdio: 'inherit' } C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\Microsoft\VisualStudio\v15.0\JavaScript\Microsoft.VisualStudio.JavaScript.UAP.targets(84,3): error : "10.0.10240.0" is not a supported value for TargetPlatformVersion. Please change it on the Project Property page. [C:\Projects\Cordova\cordova-windows\bin\windowsTest2\CordovaApp.Windows10.jsproj] C:\Projects\Cordova\cordova-windows\bin\windowsTest2\cordova\node_modules\q\q.js:155 throw e; ^ Error at C:\Projects\Cordova\cordova-windows\bin\windowsTest2\cordova\lib\build.js:83:29 at _rejected (C:\Projects\Cordova\cordova-windows\bin\windowsTest2\cordova\node_modules\q\q.js:864:24) at C:\Projects\Cordova\cordova-windows\bin\windowsTest2\cordova\node_modules\q\q.js:890:30 at Promise.when (C:\Projects\Cordova\cordova-windows\bin\windowsTest2\cordova\node_modules\q\q.js:1142:31) at Promise.promise.promiseDispatch (C:\Projects\Cordova\cordova-windows\bin\windowsTest2\cordova\node_modules\q\q.js:808:41) at C:\Projects\Cordova\cordova-windows\bin\windowsTest2\cordova\node_modules\q\q.js:624:44 at runSingle (C:\Projects\Cordova\cordova-windows\bin\windowsTest2\cordova\node_modules\q\q.js:137:13) at flush (C:\Projects\Cordova\cordova-windows\bin\windowsTest2\cordova\node_modules\q\q.js:125:13) at _combinedTickCallback (internal/process/next_tick.js:73:7) at process._tickCallback (internal/process/next_tick.js:104:9) {code} This will only succeed if you have this super old version 10.0.10240.0 of the UAP target installed. To get it to run with current tooling, you also have to run the `prepare` script first which will update the file to reference a current version of the target. -- 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-13900) Splashscreen get resized on iOS at startup
[ https://issues.apache.org/jira/browse/CB-13900?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16370007#comment-16370007 ] Thomas Fétiveau commented on CB-13900: -- [~jcesarmobile] just so that you see the problem, here is a video of it on the first project: https://www.dropbox.com/s/141ok32o9t1qqdw/20180220_133624.mp4 > Splashscreen get resized on iOS at startup > -- > > Key: CB-13900 > URL: https://issues.apache.org/jira/browse/CB-13900 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-plugin-splashscreen >Reporter: Thomas Fétiveau >Priority: Major > > I'm using the following setting in my config.xml for iOS : > > > > > > > At startup, the splashscreen get displayed once with a given size and then > right after with a unzoomed size. The effect is not nice. > > Why is this happening ? -- 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-13900) Splashscreen get resized on iOS at startup
[ https://issues.apache.org/jira/browse/CB-13900?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16370006#comment-16370006 ] Thomas Fétiveau commented on CB-13900: -- [~jcesarmobile] ok version 5.0.2 did not change anything, still having the same issue. > Splashscreen get resized on iOS at startup > -- > > Key: CB-13900 > URL: https://issues.apache.org/jira/browse/CB-13900 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-plugin-splashscreen >Reporter: Thomas Fétiveau >Priority: Major > > I'm using the following setting in my config.xml for iOS : > > > > > > > At startup, the splashscreen get displayed once with a given size and then > right after with a unzoomed size. The effect is not nice. > > Why is this happening ? -- 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-13900) Splashscreen get resized on iOS at startup
[ https://issues.apache.org/jira/browse/CB-13900?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16370004#comment-16370004 ] jcesarmobile commented on CB-13900: --- Can you please try with 5.0.2? That is latest version > Splashscreen get resized on iOS at startup > -- > > Key: CB-13900 > URL: https://issues.apache.org/jira/browse/CB-13900 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-plugin-splashscreen >Reporter: Thomas Fétiveau >Priority: Major > > I'm using the following setting in my config.xml for iOS : > > > > > > > At startup, the splashscreen get displayed once with a given size and then > right after with a unzoomed size. The effect is not nice. > > Why is this happening ? -- 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-13900) Splashscreen get resized on iOS at startup
[ https://issues.apache.org/jira/browse/CB-13900?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16370003#comment-16370003 ] Thomas Fétiveau commented on CB-13900: -- [~jcesarmobile] so far I've spotted it only in iPhone SE (iOS 11.2) for the first project and iPhone 4 (iOS 10.3.3) for the second project. > Splashscreen get resized on iOS at startup > -- > > Key: CB-13900 > URL: https://issues.apache.org/jira/browse/CB-13900 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-plugin-splashscreen >Reporter: Thomas Fétiveau >Priority: Major > > I'm using the following setting in my config.xml for iOS : > > > > > > > At startup, the splashscreen get displayed once with a given size and then > right after with a unzoomed size. The effect is not nice. > > Why is this happening ? -- 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-13900) Splashscreen get resized on iOS at startup
[ https://issues.apache.org/jira/browse/CB-13900?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16369997#comment-16369997 ] Thomas Fétiveau commented on CB-13900: -- [~jcesarmobile] I have exactly the same problem happening on a second project with the following cordova versions: $ cordova plugin list com.bunkerpalace.cordova.YoutubeVideoPlayer 1.0.1 "CordovaYoutubeVideoPlayer" cordova-plugin-camera 3.0.0 "Camera" cordova-plugin-device 2.0.1 "Device" cordova-plugin-inappbrowser 1.7.2 "InAppBrowser" cordova-plugin-ios-disableshaketoedit 1.0.0 "iOS Disable Shake to Edit" cordova-plugin-network-information 1.3.4 "Network Information" cordova-plugin-splashscreen 4.1.0 "Splashscreen" cordova-plugin-statusbar 2.4.0 "StatusBar" cordova-plugin-whitelist 1.3.3 "Whitelist" cordova-plugin-wkwebview-engine 1.1.4 "Cordova WKWebView Engine" $ cordova platform list Installed platforms: android 6.3.0 ios 4.5.4 > Splashscreen get resized on iOS at startup > -- > > Key: CB-13900 > URL: https://issues.apache.org/jira/browse/CB-13900 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-plugin-splashscreen >Reporter: Thomas Fétiveau >Priority: Major > > I'm using the following setting in my config.xml for iOS : > > > > > > > At startup, the splashscreen get displayed once with a given size and then > right after with a unzoomed size. The effect is not nice. > > Why is this happening ? -- 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-13899) Cannot change status bar background color on android
[ https://issues.apache.org/jira/browse/CB-13899?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=1636#comment-1636 ] jcesarmobile commented on CB-13899: --- Looking at the code, it can pick a color from the "backgroundColor" preference, that preference is used to set the webview's background color. If not present, defaults to black. > Cannot change status bar background color on android > > > Key: CB-13899 > URL: https://issues.apache.org/jira/browse/CB-13899 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-plugin-splashscreen >Reporter: Thomas Fétiveau >Priority: Major > > I can't change the color of the splashscreen background on Android 7.0. It's > always black. > I have set this in my config.xml but it does not have any effect : > -- 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-13907) Platform release, Test: Create project command doesn't work on Windows
Jan Piotrowski (Sujan) created CB-13907: --- Summary: Platform release, Test: Create project command doesn't work on Windows Key: CB-13907 URL: https://issues.apache.org/jira/browse/CB-13907 Project: Apache Cordova Issue Type: Bug Components: cordova-coho Reporter: Jan Piotrowski (Sujan) https://github.com/apache/cordova-coho/blob/master/docs/platforms-release-process.md#what-to-test, 3) asks you to run `./cordova-android/bin/create ./androidTest2 org.apache.cordova.test2 androidTest2` This only gives you: {code} C:\Projects\Cordova λ ./cordova-windows/bin/create ./windowsTest2 org.apache.cordova.test2 windowsTest2 '.' is not recognized as an internal or external command, operable program or batch file. {code} on Windows. If you go into that folder and run `create` it will create the project in that folder directly, which at least works but still is ugly as you have a test project in a location where you don't want it. -- 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-13899) Cannot change status bar background color on android
[ https://issues.apache.org/jira/browse/CB-13899?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16369994#comment-16369994 ] Thomas Fétiveau commented on CB-13899: -- ah... then why Android is displaying a black background? what can I do to change it? [~jcesarmobile] > Cannot change status bar background color on android > > > Key: CB-13899 > URL: https://issues.apache.org/jira/browse/CB-13899 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-plugin-splashscreen >Reporter: Thomas Fétiveau >Priority: Major > > I can't change the color of the splashscreen background on Android 7.0. It's > always black. > I have set this in my config.xml but it does not have any effect : > -- 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-13900) Splashscreen get resized on iOS at startup
[ https://issues.apache.org/jira/browse/CB-13900?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16369993#comment-16369993 ] jcesarmobile commented on CB-13900: --- can you try with 5.0.2? Also, in which device is this happening? > Splashscreen get resized on iOS at startup > -- > > Key: CB-13900 > URL: https://issues.apache.org/jira/browse/CB-13900 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-plugin-splashscreen >Reporter: Thomas Fétiveau >Priority: Major > > I'm using the following setting in my config.xml for iOS : > > > > > > > At startup, the splashscreen get displayed once with a given size and then > right after with a unzoomed size. The effect is not nice. > > Why is this happening ? -- 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] [Updated] (CB-13906) [Windows] 27 mobile-spec auto tests are failing
[ https://issues.apache.org/jira/browse/CB-13906?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jan Piotrowski (Sujan) updated CB-13906: Attachment: mobilespec-windows-failures.txt > [Windows] 27 mobile-spec auto tests are failing > --- > > Key: CB-13906 > URL: https://issues.apache.org/jira/browse/CB-13906 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-mobile-spec >Reporter: Jan Piotrowski (Sujan) >Priority: Critical > Attachments: image-2018-02-20-13-12-40-538.png, > mobilespec-windows-failures.txt > > > !image-2018-02-20-13-12-40-538.png! -- 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-13906) [Windows] 27 mobile-spec auto tests are failing
[ https://issues.apache.org/jira/browse/CB-13906?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16369991#comment-16369991 ] Jan Piotrowski (Sujan) commented on CB-13906: - Attached is a copy of the "Failures" list: [^mobilespec-windows-failures.txt] > [Windows] 27 mobile-spec auto tests are failing > --- > > Key: CB-13906 > URL: https://issues.apache.org/jira/browse/CB-13906 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-mobile-spec >Reporter: Jan Piotrowski (Sujan) >Priority: Critical > Attachments: image-2018-02-20-13-12-40-538.png, > mobilespec-windows-failures.txt > > > !image-2018-02-20-13-12-40-538.png! -- 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-13900) Splashscreen get resized on iOS at startup
[ https://issues.apache.org/jira/browse/CB-13900?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16369990#comment-16369990 ] Thomas Fétiveau commented on CB-13900: -- [~jcesarmobile] see below: $ cordova plugin list cordova-plugin-ble-central 1.1.4 "BLE" cordova-plugin-browsersync 0.1.7 "cordova-plugin-browsersync" cordova-plugin-camera 4.0.2 "Camera" cordova-plugin-compat 1.2.0 "Compat" cordova-plugin-device 2.0.1 "Device" cordova-plugin-email 1.2.6 "EmailComposer" cordova-plugin-facebook4 1.9.1 "Facebook Connect" cordova-plugin-fastrde-checkgps 0.9.9 "checkGPS" cordova-plugin-file 6.0.1 "File" cordova-plugin-geolocation 4.0.1 "Geolocation" cordova-plugin-inappbrowser 2.0.1 "InAppBrowser" cordova-plugin-ionic-keyboard 2.0.5 "cordova-plugin-ionic-keyboard" cordova-plugin-ionic-webview 1.1.16 "cordova-plugin-ionic-webview" cordova-plugin-ios-disableshaketoedit 1.0.0 "iOS Disable Shake to Edit" cordova-plugin-network-information 2.0.1 "Network Information" cordova-plugin-request-location-accuracy 2.2.2 "Request Location Accuracy" cordova-plugin-splashscreen 5.0.1 "Splashscreen" cordova-plugin-statusbar 2.4.1 "StatusBar" cordova-plugin-whitelist 1.3.3 "Whitelist" cordova-universal-links-plugin 1.2.1 "Universal Links Plugin" cordova.plugins.diagnostic 3.9.2 "Diagnostic" org.flybuy.cordova.background-location-services 1.1.1 "CDVBackgroundLocationServices" $ cordova platform list Installed platforms: android 6.4.0 ios 4.5.4 > Splashscreen get resized on iOS at startup > -- > > Key: CB-13900 > URL: https://issues.apache.org/jira/browse/CB-13900 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-plugin-splashscreen >Reporter: Thomas Fétiveau >Priority: Major > > I'm using the following setting in my config.xml for iOS : > > > > > > > At startup, the splashscreen get displayed once with a given size and then > right after with a unzoomed size. The effect is not nice. > > Why is this happening ? -- 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-13906) [Windows] 27 mobile-spec auto tests are failing
Jan Piotrowski (Sujan) created CB-13906: --- Summary: [Windows] 27 mobile-spec auto tests are failing Key: CB-13906 URL: https://issues.apache.org/jira/browse/CB-13906 Project: Apache Cordova Issue Type: Bug Components: cordova-mobile-spec Reporter: Jan Piotrowski (Sujan) Attachments: image-2018-02-20-13-12-40-538.png !image-2018-02-20-13-12-40-538.png! -- 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-4134) Add coho command for creating release bugs
[ https://issues.apache.org/jira/browse/CB-4134?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16369977#comment-16369977 ] Jan Piotrowski (Sujan) commented on CB-4134: Uh, that was nice. Is this still in use/existance? > Add coho command for creating release bugs > -- > > Key: CB-4134 > URL: https://issues.apache.org/jira/browse/CB-4134 > Project: Apache Cordova > Issue Type: Improvement > Components: cordova-coho >Reporter: Andrew Grieve >Assignee: Jeffrey Willms >Priority: Major > > Based off of cordova-labs/jira branch > RC1 template: https://issues.apache.org/jira/browse/CB-3906 > Release template: https://issues.apache.org/jira/browse/CB-3981 -- 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-5630) ReleaseNotes.md should be Automated by Coho, it's stupid tedious right now
[ https://issues.apache.org/jira/browse/CB-5630?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jan Piotrowski (Sujan) resolved CB-5630. Resolution: Fixed This is a step of the release processes right now, so seems to have been automated at some point in time. > ReleaseNotes.md should be Automated by Coho, it's stupid tedious right now > -- > > Key: CB-5630 > URL: https://issues.apache.org/jira/browse/CB-5630 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-coho >Reporter: Joe Bowser >Priority: Major > > After doing the RELEASENOTES.md for 3.3.0, I realized that this need to be > automated so that this gets done each release. -- 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-11395) Add Screen Orientation Plugin to Coho
[ https://issues.apache.org/jira/browse/CB-11395?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16369950#comment-16369950 ] Jan Piotrowski (Sujan) commented on CB-11395: - docs-translation-process.md was taken care of in another issue and is now gone. > Add Screen Orientation Plugin to Coho > - > > Key: CB-11395 > URL: https://issues.apache.org/jira/browse/CB-11395 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-coho, cordova-plugin-screen-orientation >Reporter: Tony Homer >Assignee: Tony Homer >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] [Updated] (CB-12706) Verify coho npm-link works through createmobilespec
[ https://issues.apache.org/jira/browse/CB-12706?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jan Piotrowski (Sujan) updated CB-12706: Component/s: cordova-mobile-spec > Verify coho npm-link works through createmobilespec > --- > > Key: CB-12706 > URL: https://issues.apache.org/jira/browse/CB-12706 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-coho, cordova-mobile-spec >Reporter: Shazron Abdullah >Priority: Major > > Right now, several of us have npm-link issues when trying to use > createmobilespec. Needs to be tested on a clean repo clone. > `coho npm-link` steps needs to be verified and made reliable, if possible. > I know there are issues with npm link, perhaps test also with the new > `--use-yarn` option, although in my tests yarn had problems as well, but need > to verify. -- 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-12706) Verify coho npm-link works through createmobilespec
[ https://issues.apache.org/jira/browse/CB-12706?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16369933#comment-16369933 ] Jan Piotrowski (Sujan) commented on CB-12706: - I had problems at first as well, but checking out the needed repos and running `npm install` in all of them fixed it so I could successfully create a mobilespec project. > Verify coho npm-link works through createmobilespec > --- > > Key: CB-12706 > URL: https://issues.apache.org/jira/browse/CB-12706 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-coho >Reporter: Shazron Abdullah >Priority: Major > > Right now, several of us have npm-link issues when trying to use > createmobilespec. Needs to be tested on a clean repo clone. > `coho npm-link` steps needs to be verified and made reliable, if possible. > I know there are issues with npm link, perhaps test also with the new > `--use-yarn` option, although in my tests yarn had problems as well, but need > to verify. -- 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-12707) Update platform release docs on Coho
[ https://issues.apache.org/jira/browse/CB-12707?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16369930#comment-16369930 ] Jan Piotrowski (Sujan) commented on CB-12707: - 2 seems quite important as it is for quite a few of the tests and I couldn't find any docs about it :( > Update platform release docs on Coho > > > Key: CB-12707 > URL: https://issues.apache.org/jira/browse/CB-12707 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-coho >Reporter: Shazron Abdullah >Assignee: Shazron Abdullah >Priority: Major > > 1. Add note about {{--developmentTeam}} flag for cordova build and cordova > run for iOS. > 2. Add note about {{--variable FILETRANSFER_SERVER=}} and how to run it if > the online one doesn't work. The server is in a branch on the cordova-labs > repo. -- 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-12793) Coho Release May 11, 2017
[ https://issues.apache.org/jira/browse/CB-12793?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jan Piotrowski (Sujan) resolved CB-12793. - Resolution: Fixed > Coho Release May 11, 2017 > - > > Key: CB-12793 > URL: https://issues.apache.org/jira/browse/CB-12793 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-coho >Reporter: Shazron Abdullah >Assignee: Shazron Abdullah >Priority: Major > > Following steps at > https://github.com/apache/cordova-coho/blob/master/docs/coho-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] [Created] (CB-13905) [Windows] Tests with external URLs fail because of `http://`
Jan Piotrowski (Sujan) created CB-13905: --- Summary: [Windows] Tests with external URLs fail because of `http://` Key: CB-13905 URL: https://issues.apache.org/jira/browse/CB-13905 Project: Apache Cordova Issue Type: Bug Components: cordova-mobile-spec Reporter: Jan Piotrowski (Sujan) Attachments: image-2018-02-20-11-57-42-825.png Creating a mobile-spec project for Windows with: {code} ./cordova-mobile-spec/createmobilespec/createmobilespec.js --windows --forceplugins {code} shows lots of errors like these during creation: {code} Access rules must begin with "https://";, the following rule will be ignored: http://audio.ibeat.org Access rules must begin with "https://";, the following rule will be ignored: http://whatheaders.com Access rules must begin with "https://";, the following rule will be ignored: http://*.apache.org Access rules must begin with "https://";, the following rule will be ignored: http://www.google.com Access rules must begin with "https://";, the following rule will be ignored: http://google.co.uk Access rules must begin with "https://";, the following rule will be ignored: http://techslides.com Access rules must begin with "https://";, the following rule will be ignored: http://example.com The following navigation rule had an invalid URI scheme and will be ignored: "http://example.com". The following navigation rule had an invalid URI scheme and will be ignored: "cdvfile:*". The following navigation rule had an invalid URI scheme and will be ignored: "data:*". Access rules must begin with "https://";, the following rule will be ignored: http://audio.ibeat.org Access rules must begin with "https://";, the following rule will be ignored: http://whatheaders.com Access rules must begin with "https://";, the following rule will be ignored: http://*.apache.org Access rules must begin with "https://";, the following rule will be ignored: http://www.google.com Access rules must begin with "https://";, the following rule will be ignored: http://google.co.uk Access rules must begin with "https://";, the following rule will be ignored: http://techslides.com Access rules must begin with "https://";, the following rule will be ignored: http://example.com {code} Those also repeat when running the created project with `cordova run windows --archs=x86`: {code} Access rules must begin with "https://";, the following rule will be ignored: http://audio.ibeat.org Access rules must begin with "https://";, the following rule will be ignored: http://whatheaders.com Access rules must begin with "https://";, the following rule will be ignored: http://*.apache.org Access rules must begin with "https://";, the following rule will be ignored: http://www.google.com Access rules must begin with "https://";, the following rule will be ignored: http://google.co.uk Access rules must begin with "https://";, the following rule will be ignored: http://techslides.com Access rules must begin with "https://";, the following rule will be ignored: http://example.com The following navigation rule had an invalid URI scheme and will be ignored: "http://example.com". The following navigation rule had an invalid URI scheme and will be ignored: "cdvfile:*". The following navigation rule had an invalid URI scheme and will be ignored: "data:*". Access rules must begin with "https://";, the following rule will be ignored: http://audio.ibeat.org Access rules must begin with "https://";, the following rule will be ignored: http://whatheaders.com Access rules must begin with "https://";, the following rule will be ignored: http://*.apache.org Access rules must begin with "https://";, the following rule will be ignored: http://www.google.com Access rules must begin with "https://";, the following rule will be ignored: http://google.co.uk Access rules must begin with "https://";, the following rule will be ignored: http://techslides.com Access rules must begin with "https://";, the following rule will be ignored: http://example.com Tests will use the following file transfer server address: http://rwswbpiopr.localtunnel.me {code} And as a result the automates tests using those URLs also fail: !image-2018-02-20-11-57-42-825.png! -- 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-13807) `coho repo-update -r android` doesn't work if coho was linked locally
[ https://issues.apache.org/jira/browse/CB-13807?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16369919#comment-16369919 ] Jan Piotrowski (Sujan) commented on CB-13807: - As an alternative solution it might be worth trying it executing the second command in the main folder (where coho is checked out) instead of creating the `cordova-repos` subfolder and doing it there might also help. > `coho repo-update -r android` doesn't work if coho was linked locally > - > > Key: CB-13807 > URL: https://issues.apache.org/jira/browse/CB-13807 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-coho >Reporter: Jan Piotrowski (Sujan) >Priority: Major > > Following these steps > 1. > https://github.com/apache/cordova-coho/blob/master/README.md#alternately-you-could-also-clone--use-coho > 2. > https://github.com/apache/cordova-coho/blob/master/README.md#cloningupdating-cordova-repositories > 3. > https://github.com/apache/cordova-coho/blob/master/docs/platforms-release-process.md#update-and-pin-dependencies > doesn't actually work: > I ran step 1 in `C:\Projects\Cordova`, step 2 created > `C:\Projects\Cordova\cordova-repos`. > Step 3 then gives: > {code} > C:\Projects\Cordova\cordova-repos > λ coho repo-update -r windows > Running from C:\Projects\Cordova > ./ = Executing: git clone > https://github.com/apache/cordova-windows.git > Cloning into 'cordova-windows'... > remote: Counting objects: 7530, done. > remote: Compressing objects: 100% (8/8), done. > remote: Total 7530 (delta 0), reused 3 (delta 0), pack-reused 7522 > Receiving objects: 100% (7530/7530), 37.56 MiB | 2.03 MiB/s, done. > Resolving deltas: 100% (4087/4087), done. > ./ = Successfully cloned 1 repositories. > cordova-windows/ === Executing: git remote update origin > cordova-windows/ === Executing: git branch -r --list origin/master > origin/master > cordova-windows/ === Already up-to-date: cordova-windows > {code} > Instead of updating ` C:\Projects\Cordova/cordova-repos/cordova-windows` that > it created in step 2, this creates another `cordova-windows` clone/checkout > in `C:\Projects\Cordova`. -- 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] [Updated] (CB-13809) Release, "Prepare release" step doesn't work
[ https://issues.apache.org/jira/browse/CB-13809?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jan Piotrowski (Sujan) updated CB-13809: Summary: Release, "Prepare release" step doesn't work (was: Release, "Prepare release" step doesn't work and description incomplete) > Release, "Prepare release" step doesn't work > > > Key: CB-13809 > URL: https://issues.apache.org/jira/browse/CB-13809 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-coho >Reporter: Jan Piotrowski (Sujan) >Priority: Major > > https://github.com/apache/cordova-coho/blob/master/docs/platforms-release-process.md#prepare-release > {code} > sujan@LenovoX1:/mnt/c/Projects/Cordova/cordova-repos$ for l in > cordova-windows; do ( cd $l; v="$(grep '"version"' package.json | cut -d'"' > -f4)"; if [[ $v = *-dev ]]; then v2="${v%-dev}"; echo "$l: Setting version to > $v2"; sed -i '' -E 's/version":.*/version": "'$v2'",/' package.json; fi) ; > done > cordova-windows: Setting version to 5.1.0 > sed: can't read s/version":.*/version": "5.1.0",/: No such file or directory > {code} -- 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] [Issue Comment Deleted] (CB-13809) Release, "Prepare release" step doesn't work and description incomplete
[ https://issues.apache.org/jira/browse/CB-13809?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jan Piotrowski (Sujan) updated CB-13809: Comment: was deleted (was: Re 2: Text was misleading, by comparing it with other release instructions I found out how this actually works and will rewrite it to match reality.) > Release, "Prepare release" step doesn't work and description incomplete > --- > > Key: CB-13809 > URL: https://issues.apache.org/jira/browse/CB-13809 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-coho >Reporter: Jan Piotrowski (Sujan) >Priority: Major > > https://github.com/apache/cordova-coho/blob/master/docs/platforms-release-process.md#prepare-release > 1. > {code} > sujan@LenovoX1:/mnt/c/Projects/Cordova/cordova-repos$ for l in > cordova-windows; do ( cd $l; v="$(grep '"version"' package.json | cut -d'"' > -f4)"; if [[ $v = *-dev ]]; then v2="${v%-dev}"; echo "$l: Setting version to > $v2"; sed -i '' -E 's/version":.*/version": "'$v2'",/' package.json; fi) ; > done > cordova-windows: Setting version to 5.1.0 > sed: can't read s/version":.*/version": "5.1.0",/: No such file or directory > {code} > 2. Text before headline says "Increase the version within package.json using > SemVer ...", but the command doesn't really do this if I understood > correctly. If one should actually change the version somehow manually, this > could be clearer. -- 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] [Updated] (CB-13809) Release, "Prepare release" step doesn't work and description incomplete
[ https://issues.apache.org/jira/browse/CB-13809?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jan Piotrowski (Sujan) updated CB-13809: Description: https://github.com/apache/cordova-coho/blob/master/docs/platforms-release-process.md#prepare-release {code} sujan@LenovoX1:/mnt/c/Projects/Cordova/cordova-repos$ for l in cordova-windows; do ( cd $l; v="$(grep '"version"' package.json | cut -d'"' -f4)"; if [[ $v = *-dev ]]; then v2="${v%-dev}"; echo "$l: Setting version to $v2"; sed -i '' -E 's/version":.*/version": "'$v2'",/' package.json; fi) ; done cordova-windows: Setting version to 5.1.0 sed: can't read s/version":.*/version": "5.1.0",/: No such file or directory {code} was: https://github.com/apache/cordova-coho/blob/master/docs/platforms-release-process.md#prepare-release 1. {code} sujan@LenovoX1:/mnt/c/Projects/Cordova/cordova-repos$ for l in cordova-windows; do ( cd $l; v="$(grep '"version"' package.json | cut -d'"' -f4)"; if [[ $v = *-dev ]]; then v2="${v%-dev}"; echo "$l: Setting version to $v2"; sed -i '' -E 's/version":.*/version": "'$v2'",/' package.json; fi) ; done cordova-windows: Setting version to 5.1.0 sed: can't read s/version":.*/version": "5.1.0",/: No such file or directory {code} 2. Text before headline says "Increase the version within package.json using SemVer ...", but the command doesn't really do this if I understood correctly. If one should actually change the version somehow manually, this could be clearer. > Release, "Prepare release" step doesn't work and description incomplete > --- > > Key: CB-13809 > URL: https://issues.apache.org/jira/browse/CB-13809 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-coho >Reporter: Jan Piotrowski (Sujan) >Priority: Major > > https://github.com/apache/cordova-coho/blob/master/docs/platforms-release-process.md#prepare-release > {code} > sujan@LenovoX1:/mnt/c/Projects/Cordova/cordova-repos$ for l in > cordova-windows; do ( cd $l; v="$(grep '"version"' package.json | cut -d'"' > -f4)"; if [[ $v = *-dev ]]; then v2="${v%-dev}"; echo "$l: Setting version to > $v2"; sed -i '' -E 's/version":.*/version": "'$v2'",/' package.json; fi) ; > done > cordova-windows: Setting version to 5.1.0 > sed: can't read s/version":.*/version": "5.1.0",/: No such file or directory > {code} -- 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-13904) [Windows] Can't run project using `cordova-plugin-globalization` with `cordova run windows`
Jan Piotrowski (Sujan) created CB-13904: --- Summary: [Windows] Can't run project using `cordova-plugin-globalization` with `cordova run windows` Key: CB-13904 URL: https://issues.apache.org/jira/browse/CB-13904 Project: Apache Cordova Issue Type: Bug Components: cordova-plugin-globalization Reporter: Jan Piotrowski (Sujan) Created a project with mobilespec: {code} ./cordova-mobile-spec/createmobilespec/createmobilespec.js --windows --forceplugins {code} This includes `cordova-plugin-globalization` which is causing an exception when trying to run it with `cordova run windows` as instructed by the output of mobilespec (and usual usage): {code} λ cd mobilespec && cordova run windows ... Building project: C:\Projects\Cordova\mobilespec\platforms\windows\CordovaApp.Windows10.jsproj Configuration : debug Platform : anycpu Buildflags: /p:AppxBundle=Never MSBuildTools : C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin buildProject spawn: C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin\msbuild [ 'C:\\Projects\\Cordova\\mobilespec\\platforms\\windows\\CordovaApp.Windows10.jsproj', '/clp:NoSummary;NoItemAndPropertyList;Verbosity=minimal', '/nologo', '/p:Configuration=debug', '/p:Platform=anycpu', '/p:AppxBundle=Never' ] { stdio: 'inherit' } prebuild.js: Patching platform `10` - Injected `base.js` reference to `/www/index.html` - Removing /( *)(\s*<\/script>)(\s*)/ from /www/index.html - Removing /( *)(\s*<\/script>)(\s*)/ from /www/index.html C:\Projects\Cordova\mobilespec\platforms\windows\CordovaApp.Windows10.jsproj(86,9): error : The following component requires .NET Native compilation which is not available when targeting ' Windows10' and 'AnyCPU'. Consider changing the targeted processor architecture to one of the following: 'x86, x64, ARM' (if you are using command line this could be done by adding '--archs ' parameter, for example: 'cordova build windows --archs=x64'). C:\Projects\Cordova\mobilespec\platforms\windows\plugins\cordova-plugin-globalization\GlobalizationProxy.winmd (node:13872) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): code: Error: C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin\msbuild.exe: Command failed with exit code 1 No valid MSBuild was detected for the selected target: Error: C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin\msbuild.exe: Command failed with exit code 1 (node:13872) DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code. {code} Running `cordova run windows --archs=x86` does work though. -- 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-13895) cordova-plugin-camera not working on device
[ https://issues.apache.org/jira/browse/CB-13895?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16369909#comment-16369909 ] jcesarmobile commented on CB-13895: --- Which plugin version did you install? which Cordova CLI version are you using? In which platform are you testing? What code are you using? > cordova-plugin-camera not working on device > --- > > Key: CB-13895 > URL: https://issues.apache.org/jira/browse/CB-13895 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-plugin-camera >Reporter: mahmoud hussein >Priority: Major > Attachments: Untitled.png > > > I am trying to use cordova-plugin-camera into my app. > navigator.camera get undefined. > Any help? > (I tried to implement cordova-plugin-device and it is working find) > Please see attached picture. > Thank you, -- 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-13894) Show gallery and camera option sametime
[ https://issues.apache.org/jira/browse/CB-13894?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] jcesarmobile closed CB-13894. - Resolution: Invalid Closing because this is a question, not an issue. This is not implemented by the plugin, you have to provide a dialog for choosing yourself. > Show gallery and camera option sametime > --- > > Key: CB-13894 > URL: https://issues.apache.org/jira/browse/CB-13894 > Project: Apache Cordova > Issue Type: Bug > Components: AllPlatforms >Affects Versions: cordova-android-7.0.0 >Reporter: Santhosh Kumar Krishnan >Priority: Major > Fix For: Master > > > How do i show Camera and Gallery option sametime -- 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-13899) Cannot change status bar background color on android
[ https://issues.apache.org/jira/browse/CB-13899?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] jcesarmobile closed CB-13899. - Resolution: Invalid That preference is browser only > Cannot change status bar background color on android > > > Key: CB-13899 > URL: https://issues.apache.org/jira/browse/CB-13899 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-plugin-splashscreen >Reporter: Thomas Fétiveau >Priority: Major > > I can't change the color of the splashscreen background on Android 7.0. It's > always black. > I have set this in my config.xml but it does not have any effect : > -- 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-13900) Splashscreen get resized on iOS at startup
[ https://issues.apache.org/jira/browse/CB-13900?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16369907#comment-16369907 ] jcesarmobile commented on CB-13900: --- which plugin version are you using? > Splashscreen get resized on iOS at startup > -- > > Key: CB-13900 > URL: https://issues.apache.org/jira/browse/CB-13900 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-plugin-splashscreen >Reporter: Thomas Fétiveau >Priority: Major > > I'm using the following setting in my config.xml for iOS : > > > > > > > At startup, the splashscreen get displayed once with a given size and then > right after with a unzoomed size. The effect is not nice. > > Why is this happening ? -- 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-13902) prepare-platform-release-branch: `grunt` dependency is unclear
[ https://issues.apache.org/jira/browse/CB-13902?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16369418#comment-16369418 ] Jan Piotrowski (Sujan) edited comment on CB-13902 at 2/20/18 10:08 AM: --- Even when globally installed I get an error as it also has to be installed locally in `cordova-js`: {code} λ coho prepare-platform-release-branch --version 6.0.0 -r windows Running from C:\Projects\Cordova cordova-windows/ === Executing: git remote update origin cordova-windows/ === Executing: git branch -r --list origin/master origin/master cordova-windows/ === Already up-to-date: cordova-windows cordova-windows/ === Executing: git branch -r --list origin/6.0.x cordova-windows/ === Executing: git checkout 6.0.x Already on '6.0.x' cordova-js/ Executing: git remote update origin cordova-js/ Executing: git branch -r --list origin/master origin/master cordova-js/ Already up-to-date: cordova-js cordova-js/ Executing: grunt compile:windows --platformVersion=6.0.0 grunt-cli: The grunt command line interface (v1.2.0) Fatal error: Unable to find local grunt. If you're seeing this message, grunt hasn't been installed locally to your project. For more information about installing and configuring grunt, please see the Getting Started guide: http://gruntjs.com/getting-started (node:12108) UnhandledPromiseRejectionWarning: Error: cmd: Command failed with exit code 99 at ChildProcess.whenDone (C:\Projects\Cordova\cordova-coho\src\superspawn.js:144:23) at ChildProcess.emit (events.js:160:13) at maybeClose (internal/child_process.js:943:16) at Process.ChildProcess._handle.onexit (internal/child_process.js:220:5) (node:12108) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 13) (node:12108) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code. {code} Running `npm install` in `cordova-js` fixes this (as long as you are using node4, with node5 it deletes `node_modules` again, see https://issues.apache.org/jira/browse/CB-13494) was (Author: sujan12): Even when globally installed I get an error as it also has to be installed locally in `cordova-js`: {code} λ coho prepare-platform-release-branch --version 6.0.0 -r windows Running from C:\Projects\Cordova cordova-windows/ === Executing: git remote update origin cordova-windows/ === Executing: git branch -r --list origin/master origin/master cordova-windows/ === Already up-to-date: cordova-windows cordova-windows/ === Executing: git branch -r --list origin/6.0.x cordova-windows/ === Executing: git checkout 6.0.x Already on '6.0.x' cordova-js/ Executing: git remote update origin cordova-js/ Executing: git branch -r --list origin/master origin/master cordova-js/ Already up-to-date: cordova-js cordova-js/ Executing: grunt compile:windows --platformVersion=6.0.0 grunt-cli: The grunt command line interface (v1.2.0) Fatal error: Unable to find local grunt. If you're seeing this message, grunt hasn't been installed locally to your project. For more information about installing and configuring grunt, please see the Getting Started guide: http://gruntjs.com/getting-started (node:12108) UnhandledPromiseRejectionWarning: Error: cmd: Command failed with exit code 99 at ChildProcess.whenDone (C:\Projects\Cordova\cordova-coho\src\superspawn.js:144:23) at ChildProcess.emit (events.js:160:13) at maybeClose (internal/child_process.js:943:16) at Process.ChildProcess._handle.onexit (internal/child_process.js:220:5) (node:12108) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 13) (node:12108) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code. {code} Running `npm install` does not really fix this as `node_modules' gets deleted when running the command somehow. > prepare-platform-release-branch: `grunt` dependency is unclear > -- > > Key: CB-13902 > URL: https://issues.apache.org/jira/browse/CB-13902 >
[jira] [Updated] (CB-13902) prepare-platform-release-branch: `grunt` dependency is unclear
[ https://issues.apache.org/jira/browse/CB-13902?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jan Piotrowski (Sujan) updated CB-13902: Description: Seems `coho prepare-platform-release-branch` needs grunt to be installed globally: {code} C:\Projects\Cordova\cordova-windows (6.0.x -> origin) (cordova-windows@6.0.0) λ coho prepare-platform-release-branch --version 6.0.0 -r windows Running from C:\Projects\Cordova cordova-windows/ === Executing: git remote update origin cordova-windows/ === Executing: git branch -r --list origin/master origin/master cordova-windows/ === Already up-to-date: cordova-windows cordova-windows/ === Executing: git branch -r --list origin/6.0.x cordova-windows/ === Executing: git checkout 6.0.x Already on '6.0.x' cordova-js/ Executing: git remote update origin cordova-js/ Executing: git branch -r --list origin/master origin/master cordova-js/ Already up-to-date: cordova-js cordova-js/ Executing: grunt compile:windows --platformVersion=6.0.0 (node:8516) UnhandledPromiseRejectionWarning: Error: grunt: Command failed with exit code ENOENT at ChildProcess.whenDone (C:\Projects\Cordova\cordova-coho\src\superspawn.js:144:23) at ChildProcess.emit (events.js:160:13) at Process.ChildProcess._handle.onexit (internal/child_process.js:207:12) at onErrorNT (internal/child_process.js:389:16) at process._tickCallback (internal/process/next_tick.js:152:19) (node:8516) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 13) (node:8516) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code. {code} This isn't mentioned anywhere or at least I couldn't find it. was: Seems `coho prepare-platform-release-branch` needs grunt to be installed globally: {code} C:\Projects\Cordova\cordova-windows (6.0.x -> origin) (cordova-windows@6.0.0) λ coho prepare-platform-release-branch --version 6.0.0 -r windows Running from C:\Projects\Cordova cordova-windows/ === Executing: git remote update origin cordova-windows/ === Executing: git branch -r --list origin/master origin/master cordova-windows/ === Already up-to-date: cordova-windows cordova-windows/ === Executing: git branch -r --list origin/6.0.x cordova-windows/ === Executing: git checkout 6.0.x Already on '6.0.x' cordova-js/ Executing: git remote update origin cordova-js/ Executing: git branch -r --list origin/master origin/master cordova-js/ Already up-to-date: cordova-js cordova-js/ Executing: grunt compile:windows --platformVersion=6.0.0 (node:8516) UnhandledPromiseRejectionWarning: Error: grunt: Command failed with exit code ENOENT at ChildProcess.whenDone (C:\Projects\Cordova\cordova-coho\src\superspawn.js:144:23) at ChildProcess.emit (events.js:160:13) at Process.ChildProcess._handle.onexit (internal/child_process.js:207:12) at onErrorNT (internal/child_process.js:389:16) at process._tickCallback (internal/process/next_tick.js:152:19) (node:8516) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 13) (node:8516) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code. {code} This isn't mentioned anywhere or at least I couldn't fint it. > prepare-platform-release-branch: `grunt` dependency is unclear > -- > > Key: CB-13902 > URL: https://issues.apache.org/jira/browse/CB-13902 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-coho >Reporter: Jan Piotrowski (Sujan) >Priority: Major > > Seems `coho prepare-platform-release-branch` needs grunt to be installed > globally: > {code} > C:\Projects\Cordova\cordova-windows (6.0.x -> origin) (cordova-windows@6.0.0) > λ coho prepare-platform-release-branch --version 6.0.0 -r windows > Running from C:\Projects\Cordova > cordova-windows/ === Executing: git remote update origin > cordova-windows/ === Executing: git branch -r --list origin/master > origin/master > cordova-windows/
[jira] [Closed] (CB-13903) `coho prepare-platform-release-branch` removes `cordova-js/node_modules` which contains `grunt` that is required for it to run
[ https://issues.apache.org/jira/browse/CB-13903?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jan Piotrowski (Sujan) closed CB-13903. --- Resolution: Duplicate See the linked issue: https://issues.apache.org/jira/browse/CB-13494 > `coho prepare-platform-release-branch` removes `cordova-js/node_modules` > which contains `grunt` that is required for it to run > -- > > Key: CB-13903 > URL: https://issues.apache.org/jira/browse/CB-13903 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-coho >Reporter: Jan Piotrowski (Sujan) >Priority: Major > > I am at the step in the platform release process where I should run `coho > prepare-platform-release-branch` and it is failing. > {code} > sujan@LenovoX1:/mnt/c/Projects/Cordova$ coho prepare-platform-release-branch > --version 6.0.0 -r windows > Running from /mnt/c/Projects/Cordova > cordova-windows/ === Executing: git remote update origin > cordova-windows/ === Executing: git branch -r --list origin/master > origin/master > cordova-windows/ === Already up-to-date: cordova-windows > cordova-windows/ === Executing: git branch -r --list origin/6.0.x > cordova-windows/ === Executing: git checkout 6.0.x > Already on '6.0.x' > cordova-js/ Executing: git stash save --all --quiet coho > stash > cordova-js/ Executing: git remote update origin > cordova-js/ Executing: git branch -r --list origin/master > origin/master > cordova-js/ Already up-to-date: cordova-js > cordova-js/ Executing: grunt compile:windows > --platformVersion=6.0.0 > grunt-cli: The grunt command line interface (v1.2.0) > Fatal error: Unable to find local grunt. > If you're seeing this message, grunt hasn't been installed locally to > your project. For more information about installing and configuring grunt, > please see the Getting Started guide: > http://gruntjs.com/getting-started > (node:360) UnhandledPromiseRejectionWarning: Unhandled promise rejection > (rejection id: 13): Error: grunt: Command failed with exit code 99 > (node:360) [DEP0018] DeprecationWarning: Unhandled promise rejections are > deprecated. In the future, promise rejections that are not handled will > terminate the Node.js process with a non-zero exit code. > {code} > Running the command fails. > {code} > sujan@LenovoX1:/mnt/c/Projects/Cordova$ cd cordova-js > sujan@LenovoX1:/mnt/c/Projects/Cordova/cordova-js$ npm install > npm WARN deprecated coffee-script@1.12.7: CoffeeScript on NPM has moved to > "coffeescript" (no hyphen) > npm WARN deprecated minimatch@0.2.14: Please update to minimatch 3.0.2 or > higher to avoid a RegExp DoS issue > npm WARN deprecated minimatch@0.4.0: Please update to minimatch 3.0.2 or > higher to avoid a RegExp DoS issue > npm WARN deprecated minimatch@0.3.0: Please update to minimatch 3.0.2 or > higher to avoid a RegExp DoS issue > npm notice created a lockfile as package-lock.json. You should commit this > file. > added 479 packages in 196.049s > {code} > So I switch over to install grunt via `npm install`. Then I run the failing > command manually to test: > {code} > sujan@LenovoX1:/mnt/c/Projects/Cordova/cordova-js$ grunt compile:windows > --platformVersion=6.0.0 > Running "compile:windows" (compile) task > generated cordova.windows.js @ 4450a4cea50616e080a82e8ede9e3d6a1fe3c3ec in > 22ms > Done. > {code} > Works, as it should, so now back to where I was before and run again: > {code} > sujan@LenovoX1:/mnt/c/Projects/Cordova/cordova-js$ cd .. > sujan@LenovoX1:/mnt/c/Projects/Cordova$ coho prepare-platform-release-branch > --version 6.0.0 -r windows > Running from /mnt/c/Projects/Cordova > cordova-windows/ === Executing: git remote update origin > cordova-windows/ === Executing: git branch -r --list origin/master > origin/master > cordova-windows/ === Already up-to-date: cordova-windows > cordova-windows/ === Executing: git branch -r --list origin/6.0.x > cordova-windows/ === Executing: git checkout 6.0.x > Already on '6.0.x' > cordova-js/ Executing: git stash save --all --quiet coho > stash > cordova-js/ Executing: git remote update origin > cordova-js/ Executing: git branch -r --list origin/master > origin/master > cordova-js/ Already up-to-date: cordova-js > cordova-js/ Executing: grunt compile:windows > --platformVersion=6.0.0 > grunt-cli: The grunt command line interface (v1.2.0) > Fatal error: Unable to find local grunt. > If you're seeing this message, grunt
[jira] [Commented] (CB-12653) Adding jasmine tests in coho for util files
[ https://issues.apache.org/jira/browse/CB-12653?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16369872#comment-16369872 ] Jan Piotrowski (Sujan) commented on CB-12653: - The PR is merged. Can/should this be resolved here [~auso] [~stevegill]? > Adding jasmine tests in coho for util files > --- > > Key: CB-12653 > URL: https://issues.apache.org/jira/browse/CB-12653 > Project: Apache Cordova > Issue Type: Test > Components: cordova-coho >Affects Versions: cordova@7 >Reporter: Audrey So >Assignee: Audrey So >Priority: Minor > Labels: coho, cordova@7 > Fix For: cordova@7 > > > Adding jasmine tests in coho to test util files -- 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