[jira] [Commented] (CB-13818) Need to update android_sdk.js to Support Android 8.0
[ https://issues.apache.org/jira/browse/CB-13818?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16340624#comment-16340624 ] ASF GitHub Bot commented on CB-13818: - codecov-io commented on issue #431: CB-13818: (android) Update android_sdk.js to support Android Oreo 8.0 (API 26) emulator URL: https://github.com/apache/cordova-android/pull/431#issuecomment-360697826 # [Codecov](https://codecov.io/gh/apache/cordova-android/pull/431?src=pr=h1) Report > Merging [#431](https://codecov.io/gh/apache/cordova-android/pull/431?src=pr=desc) into [master](https://codecov.io/gh/apache/cordova-android/commit/cc08e9d84a3f7cf76a623006c6a7e48814d74cec?src=pr=desc) will **not change** coverage. > The diff coverage is `n/a`. [![Impacted file tree graph](https://codecov.io/gh/apache/cordova-android/pull/431/graphs/tree.svg?height=150=650=q14nMf6C5a=pr)](https://codecov.io/gh/apache/cordova-android/pull/431?src=pr=tree) ```diff @@ Coverage Diff @@ ## master #431 +/- ## === Coverage 43.95% 43.95% === Files 17 17 Lines1711 1711 Branches 318 318 === Hits 752 752 Misses959 959 ``` | [Impacted Files](https://codecov.io/gh/apache/cordova-android/pull/431?src=pr=tree) | Coverage Δ | | |---|---|---| | [bin/templates/cordova/lib/android\_sdk.js](https://codecov.io/gh/apache/cordova-android/pull/431/diff?src=pr=tree#diff-YmluL3RlbXBsYXRlcy9jb3Jkb3ZhL2xpYi9hbmRyb2lkX3Nkay5qcw==) | `73.52% <ø> (ø)` | :arrow_up: | -- [Continue to review full report at Codecov](https://codecov.io/gh/apache/cordova-android/pull/431?src=pr=continue). > **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta) > `Δ = absolute (impact)`, `ø = not affected`, `? = missing data` > Powered by [Codecov](https://codecov.io/gh/apache/cordova-android/pull/431?src=pr=footer). Last update [cc08e9d...8563c8b](https://codecov.io/gh/apache/cordova-android/pull/431?src=pr=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments). 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 > Need to update android_sdk.js to Support Android 8.0 > - > > Key: CB-13818 > URL: https://issues.apache.org/jira/browse/CB-13818 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-android >Affects Versions: cordova-android-7.0.0 > Environment: Cordova 7.1.0 > >Reporter: Zhao Bin >Assignee: Joe Bowser >Priority: Critical > Labels: easyfix > Fix For: cordova-android-7.0.0 > > Attachments: android_sdk.js error.png > > > Currently I am working on a Cordova project and I am migrating to the new > Android 8.0 emulator. > Need to update android_sdk.js to add support for Android 8.0 emulator > cordova-android / bin / templates / cordova / lib / android_sdk.js Line 53: > module.exports.version_string_to_api_level = { > '4.0': 14, > '4.0.3': 15, > '4.1': 16, > '4.2': 17, > '4.3': 18, > '4.4': 19, > '4.4W': 20, > '5.0': 21, > '5.1': 22, > '6.0': 23, > '7.0': 24, > '7.1.1': 25 > }; > This causes exception in emulator.js Line 210 > {color:#5fdfff}var{color}{color:#dfdfdf} project_target > {color}{color:#ff1f7f}={color}{color:#dfdfdf} > check_reqs.{color}{color:#9fdf2f}get_target{color}{color:#dfdfdf}().{color}{color:#5fdfff}replace{color}{color:#dfdfdf}({color}{color:#dfdf7f}'android-'{color}{color:#dfdfdf}, > {color}{color:#dfdf7f}''{color}{color:#dfdfdf});{color} > > {color:#33}I added '8.0': 26 in android_sdk.js and then it works.{color} > {color:#33}module.exports.version_string_to_api_level = { > '4.0': 14, > '4.0.3': 15, > '4.1': 16, > '4.2': 17, > '4.3': 18, > '4.4': 19, > '4.4W': 20, > '5.0': 21, > '5.1': 22, > '6.0': 23, > '7.0': 24, > '7.1.1': 25,{color} > {color:#33} '8.0': 26 > };{color} -- 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-13415) Importing corrupt images using the Camera plugin crashes the app
[ https://issues.apache.org/jira/browse/CB-13415?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16340593#comment-16340593 ] ASF GitHub Bot commented on CB-13415: - alpesh12 commented on issue #310: CB-13415 (iOS) Importing corrupt images using the Camera plugin crashes the app URL: https://github.com/apache/cordova-plugin-camera/pull/310#issuecomment-360689353 @jcesarmobile Can you please check with travis test its failed because of "**The Sauce VMs failed to start the browser or device**." 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 > Importing corrupt images using the Camera plugin crashes the app > > > Key: CB-13415 > URL: https://issues.apache.org/jira/browse/CB-13415 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-plugin-camera > Environment: Android: OS 7.0, Phone Model: Moto G5 Plus > iOS: OS 10.1.1 (14B150) >Reporter: Shemrick Flannigan >Priority: Critical > Labels: android, camera, cameraui, ios > > ISSUE > Importing corrupt images using the Camera plugin crashes the app > Current Behavior > # Importing a corrupt image using the Cordova Camera plugin crashes the > Cordova app which uses the plugin > Expected Behavior > # Importing a corrupt image using the Cordova Camera plugin: > #* Throws an exception which can be caught by the Cordova app which uses the > plugin > #* Does not crash the Cordova app which uses the plugin > #* Allows the Cordova app which uses the plugin to render a Toast error > message relaying the error > # # Platforms affected > #* Android > #* iOS > REFERENCES > # [Sample corrupt image which crashes the app | > https://www.dropbox.com/s/e7dz007svtvscbc/Corrupt_Image_4.7MB_13500x13500.D2.jpg?dl=0] > # [Technique used to wrap the call in a Try/Catch block in a callable inner > class to prevent an app crash | > https://stackoverflow.com/questions/19183174/phonegap-video-capture-crashes] > ADDITIONAL INFORMATION > # Importing corrupt images does not crash apps which do not use the Camera > plugin, such as: > #* Yelp mobile app > #* Slack mobile app -- 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-13818) Need to update android_sdk.js to Support Android 8.0
[ https://issues.apache.org/jira/browse/CB-13818?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16340538#comment-16340538 ] Zhao Bin commented on CB-13818: --- Thank you for your comments. I am working on the PR now. > Need to update android_sdk.js to Support Android 8.0 > - > > Key: CB-13818 > URL: https://issues.apache.org/jira/browse/CB-13818 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-android >Affects Versions: cordova-android-7.0.0 > Environment: Cordova 7.1.0 > >Reporter: Zhao Bin >Assignee: Joe Bowser >Priority: Critical > Labels: easyfix > Fix For: cordova-android-7.0.0 > > Attachments: android_sdk.js error.png > > > Currently I am working on a Cordova project and I am migrating to the new > Android 8.0 emulator. > Need to update android_sdk.js to add support for Android 8.0 emulator > cordova-android / bin / templates / cordova / lib / android_sdk.js Line 53: > module.exports.version_string_to_api_level = { > '4.0': 14, > '4.0.3': 15, > '4.1': 16, > '4.2': 17, > '4.3': 18, > '4.4': 19, > '4.4W': 20, > '5.0': 21, > '5.1': 22, > '6.0': 23, > '7.0': 24, > '7.1.1': 25 > }; > This causes exception in emulator.js Line 210 > {color:#5fdfff}var{color}{color:#dfdfdf} project_target > {color}{color:#ff1f7f}={color}{color:#dfdfdf} > check_reqs.{color}{color:#9fdf2f}get_target{color}{color:#dfdfdf}().{color}{color:#5fdfff}replace{color}{color:#dfdfdf}({color}{color:#dfdf7f}'android-'{color}{color:#dfdfdf}, > {color}{color:#dfdf7f}''{color}{color:#dfdfdf});{color} > > {color:#33}I added '8.0': 26 in android_sdk.js and then it works.{color} > {color:#33}module.exports.version_string_to_api_level = { > '4.0': 14, > '4.0.3': 15, > '4.1': 16, > '4.2': 17, > '4.3': 18, > '4.4': 19, > '4.4W': 20, > '5.0': 21, > '5.1': 22, > '6.0': 23, > '7.0': 24, > '7.1.1': 25,{color} > {color:#33} '8.0': 26 > };{color} -- 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-13818) Need to update android_sdk.js to Support Android 8.0
[ https://issues.apache.org/jira/browse/CB-13818?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16340326#comment-16340326 ] Jan Piotrowski (Sujan) commented on CB-13818: - That sounds like a nice little change. Do you want to try your hand on creating a PR for this yourself? The file is at https://github.com/apache/cordova-android/blob/master/bin/templates/cordova/lib/android_sdk.js#L65 and can be edited in the Github UI with little effort. > Need to update android_sdk.js to Support Android 8.0 > - > > Key: CB-13818 > URL: https://issues.apache.org/jira/browse/CB-13818 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-android >Affects Versions: cordova-android-7.0.0 > Environment: Cordova 7.1.0 > >Reporter: Zhao Bin >Assignee: Joe Bowser >Priority: Critical > Labels: easyfix > Fix For: cordova-android-7.0.0 > > Attachments: android_sdk.js error.png > > > Currently I am working on a Cordova project and I am migrating to the new > Android 8.0 emulator. > Need to update android_sdk.js to add support for Android 8.0 emulator > cordova-android / bin / templates / cordova / lib / android_sdk.js Line 53: > module.exports.version_string_to_api_level = { > '4.0': 14, > '4.0.3': 15, > '4.1': 16, > '4.2': 17, > '4.3': 18, > '4.4': 19, > '4.4W': 20, > '5.0': 21, > '5.1': 22, > '6.0': 23, > '7.0': 24, > '7.1.1': 25 > }; > This causes exception in emulator.js Line 210 > {color:#5fdfff}var{color}{color:#dfdfdf} project_target > {color}{color:#ff1f7f}={color}{color:#dfdfdf} > check_reqs.{color}{color:#9fdf2f}get_target{color}{color:#dfdfdf}().{color}{color:#5fdfff}replace{color}{color:#dfdfdf}({color}{color:#dfdf7f}'android-'{color}{color:#dfdfdf}, > {color}{color:#dfdf7f}''{color}{color:#dfdfdf});{color} > > {color:#33}I added '8.0': 26 in android_sdk.js and then it works.{color} > {color:#33}module.exports.version_string_to_api_level = { > '4.0': 14, > '4.0.3': 15, > '4.1': 16, > '4.2': 17, > '4.3': 18, > '4.4': 19, > '4.4W': 20, > '5.0': 21, > '5.1': 22, > '6.0': 23, > '7.0': 24, > '7.1.1': 25,{color} > {color:#33} '8.0': 26 > };{color} -- 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-13819) iPhone in-app browser freezes after send auth request to keycloak server
[ https://issues.apache.org/jira/browse/CB-13819?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jan Piotrowski (Sujan) updated CB-13819: Component/s: cordova-plugin-inappbrowser > iPhone in-app browser freezes after send auth request to keycloak server > > > Key: CB-13819 > URL: https://issues.apache.org/jira/browse/CB-13819 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-ios, cordova-plugin-inappbrowser >Affects Versions: cordova-ios 4.5.0 >Reporter: Jens Stein >Assignee: Suraj Pindoria >Priority: Major > > ios in-app browser of cordova-plugin-inappbrowser freezes screen after send > auth request to keycloak server during test on physical iphone 6. in-app > browser seems to close prematurely before receiving response from keycloak. > platform: ios > ionic-angular": "3.8.0, cordova-ios": "~4.5.3", > cordova-plugin-inappbrowser": "^1.7.2, keycloak-js: "3.4.0" > keycloak client in ionic app: > {code:java} > static keycloakConfigLoginSwitch = { > 'url': ENV.URL.authServer, > 'realm': ENV.INSTANCE.realm, > 'clientId': 'theClientId' > }; > static initUsingLoginSwitch(): Promise { > let keycloakAuth: Keycloak.KeycloakInstance = > Keycloak(KeycloakService.keycloakConfigLoginSwitch); > KeycloakService.auth.loggedIn = false; > return new Promise((resolve, reject) => { > keycloakAuth.init(\{ onLoad: 'login-required', checkLoginIframe: false }) > .success((loggedIn: boolean) => { > // IN APP BROWSER WINDOW FREEZES > if (loggedIn) { > // next steps > } else { > reject('Keycloak did not authenticate client'); > } > }) > .error((error) => { > reject(error); > }); > }); > {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] [Commented] (CB-13822) Cached JS file
[ https://issues.apache.org/jira/browse/CB-13822?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16340322#comment-16340322 ] Jan Piotrowski (Sujan) commented on CB-13822: - Which JS files are cached where? > Cached JS file > -- > > Key: CB-13822 > URL: https://issues.apache.org/jira/browse/CB-13822 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-cli > Environment: Mac OSX - El Capitan 10.11.6 > Cordova version: 7.1.0 > Target platform: iOS > Target device: iPad (MD523B/A) running 10.2.1 >Reporter: Sadik Yalcin >Priority: Critical > Labels: build > > The JS files are cached and there is no way of removing the cache. Only > solution is to remove the platform and re-add it. I've tried clean, build, > run, increment JS version in HTML and nothing helps. -- 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-13830) Cordova-Android@7.0.0 fails to add a plugin previously removed
[ https://issues.apache.org/jira/browse/CB-13830?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16340321#comment-16340321 ] Jan Piotrowski (Sujan) commented on CB-13830: - The output you posted shows you adding the plugin 3 times. Correct? > Cordova-Android@7.0.0 fails to add a plugin previously removed > -- > > Key: CB-13830 > URL: https://issues.apache.org/jira/browse/CB-13830 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-android >Affects Versions: cordova-android-7.0.0 > Environment: macOS 10.12.6 > node 9.4.0 > Cordova 8.0.0 > >Reporter: Enrico Giordani >Assignee: Joe Bowser >Priority: Critical > > Removing a plugin and than adding it again, causes an error: > {code} > $ cordova create testapp > $ cd testapp > $ cordova platform add android > Using cordova-fetch for cordova-android@~7.0.0 > Adding android project... > Creating Cordova project for the Android platform: > Path: platforms/android > Package: io.cordova.hellocordova > Name: HelloCordova > Activity: MainActivity > Android target: android-26 > Subproject Path: CordovaLib > Subproject Path: app > Android project created with cordova-android@7.0.0 > Android Studio project detected > Android Studio project detected > 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@~7.0.0 into config.xml file ... > {code} > {code} > $ cordova plugin add cordova-plugin-camera > Installing "cordova-plugin-camera" for android > Android Studio project detected > Subproject Path: CordovaLib > Subproject Path: app > Adding cordova-plugin-camera to package.json > Saved plugin info for "cordova-plugin-camera" to config.xml > {code} > {code} > $ cordova plugin add cordova-plugin-camera > Installing "cordova-plugin-camera" for android > Android Studio project detected > Subproject Path: CordovaLib > Subproject Path: app > Adding cordova-plugin-camera to package.json > Saved plugin info for "cordova-plugin-camera" to config.xml > {code} > {code} > $ cordova plugin add cordova-plugin-camera > Installing "cordova-plugin-camera" for android > Android Studio project detected > Error during processing of action! Attempting to revert... > Failed to install 'cordova-plugin-camera': CordovaError: Uh oh! > "/Users/enrico/tmp/testapp/platforms/android/app/src/main/res/xml/provider_paths.xml" > already exists! > at copyNewFile > (/Users/enrico/tmp/testapp/platforms/android/cordova/lib/pluginHandlers.js:261:45) > at install > (/Users/enrico/tmp/testapp/platforms/android/cordova/lib/pluginHandlers.js:51:17) > at ActionStack.process > (/Users/enrico/tmp/testapp/platforms/android/cordova/node_modules/cordova-common/src/ActionStack.js:56:25) > at PluginManager.doOperation > (/Users/enrico/tmp/testapp/platforms/android/cordova/node_modules/cordova-common/src/PluginManager.js:114:20) > at PluginManager.addPlugin > (/Users/enrico/tmp/testapp/platforms/android/cordova/node_modules/cordova-common/src/PluginManager.js:144:17) > at /Users/enrico/tmp/testapp/platforms/android/cordova/Api.js:247:74 > at _fulfilled > (/Users/enrico/tmp/testapp/platforms/android/cordova/node_modules/q/q.js:854:54) > at self.promiseDispatch.done > (/Users/enrico/tmp/testapp/platforms/android/cordova/node_modules/q/q.js:883:30) > at Promise.promise.promiseDispatch > (/Users/enrico/tmp/testapp/platforms/android/cordova/node_modules/q/q.js:816:13) > at > /Users/enrico/tmp/testapp/platforms/android/cordova/node_modules/q/q.js:570:49 > (node:5722) UnhandledPromiseRejectionWarning: CordovaError: Uh oh! > "/Users/enrico/tmp/testapp/platforms/android/app/src/main/res/xml/provider_paths.xml" > already exists! > at copyNewFile > (/Users/enrico/tmp/testapp/platforms/android/cordova/lib/pluginHandlers.js:261:45) > at install > (/Users/enrico/tmp/testapp/platforms/android/cordova/lib/pluginHandlers.js:51:17) > at ActionStack.process > (/Users/enrico/tmp/testapp/platforms/android/cordova/node_modules/cordova-common/src/ActionStack.js:56:25) > at PluginManager.doOperation > (/Users/enrico/tmp/testapp/platforms/android/cordova/node_modules/cordova-common/src/PluginManager.js:114:20) > at PluginManager.addPlugin > (/Users/enrico/tmp/testapp/platforms/android/cordova/node_modules/cordova-common/src/PluginManager.js:144:17) > at
[jira] [Updated] (CB-13830) Cordova-Android@7.0.0 fails to add a plugin previously removed
[ https://issues.apache.org/jira/browse/CB-13830?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jan Piotrowski (Sujan) updated CB-13830: Description: Removing a plugin and than adding it again, causes an error: {code} $ cordova create testapp $ cd testapp $ cordova platform add android Using cordova-fetch for cordova-android@~7.0.0 Adding android project... Creating Cordova project for the Android platform: Path: platforms/android Package: io.cordova.hellocordova Name: HelloCordova Activity: MainActivity Android target: android-26 Subproject Path: CordovaLib Subproject Path: app Android project created with cordova-android@7.0.0 Android Studio project detected Android Studio project detected 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@~7.0.0 into config.xml file ... {code} {code} $ cordova plugin add cordova-plugin-camera Installing "cordova-plugin-camera" for android Android Studio project detected Subproject Path: CordovaLib Subproject Path: app Adding cordova-plugin-camera to package.json Saved plugin info for "cordova-plugin-camera" to config.xml {code} {code} $ cordova plugin add cordova-plugin-camera Installing "cordova-plugin-camera" for android Android Studio project detected Subproject Path: CordovaLib Subproject Path: app Adding cordova-plugin-camera to package.json Saved plugin info for "cordova-plugin-camera" to config.xml {code} {code} $ cordova plugin add cordova-plugin-camera Installing "cordova-plugin-camera" for android Android Studio project detected Error during processing of action! Attempting to revert... Failed to install 'cordova-plugin-camera': CordovaError: Uh oh! "/Users/enrico/tmp/testapp/platforms/android/app/src/main/res/xml/provider_paths.xml" already exists! at copyNewFile (/Users/enrico/tmp/testapp/platforms/android/cordova/lib/pluginHandlers.js:261:45) at install (/Users/enrico/tmp/testapp/platforms/android/cordova/lib/pluginHandlers.js:51:17) at ActionStack.process (/Users/enrico/tmp/testapp/platforms/android/cordova/node_modules/cordova-common/src/ActionStack.js:56:25) at PluginManager.doOperation (/Users/enrico/tmp/testapp/platforms/android/cordova/node_modules/cordova-common/src/PluginManager.js:114:20) at PluginManager.addPlugin (/Users/enrico/tmp/testapp/platforms/android/cordova/node_modules/cordova-common/src/PluginManager.js:144:17) at /Users/enrico/tmp/testapp/platforms/android/cordova/Api.js:247:74 at _fulfilled (/Users/enrico/tmp/testapp/platforms/android/cordova/node_modules/q/q.js:854:54) at self.promiseDispatch.done (/Users/enrico/tmp/testapp/platforms/android/cordova/node_modules/q/q.js:883:30) at Promise.promise.promiseDispatch (/Users/enrico/tmp/testapp/platforms/android/cordova/node_modules/q/q.js:816:13) at /Users/enrico/tmp/testapp/platforms/android/cordova/node_modules/q/q.js:570:49 (node:5722) UnhandledPromiseRejectionWarning: CordovaError: Uh oh! "/Users/enrico/tmp/testapp/platforms/android/app/src/main/res/xml/provider_paths.xml" already exists! at copyNewFile (/Users/enrico/tmp/testapp/platforms/android/cordova/lib/pluginHandlers.js:261:45) at install (/Users/enrico/tmp/testapp/platforms/android/cordova/lib/pluginHandlers.js:51:17) at ActionStack.process (/Users/enrico/tmp/testapp/platforms/android/cordova/node_modules/cordova-common/src/ActionStack.js:56:25) at PluginManager.doOperation (/Users/enrico/tmp/testapp/platforms/android/cordova/node_modules/cordova-common/src/PluginManager.js:114:20) at PluginManager.addPlugin (/Users/enrico/tmp/testapp/platforms/android/cordova/node_modules/cordova-common/src/PluginManager.js:144:17) at /Users/enrico/tmp/testapp/platforms/android/cordova/Api.js:247:74 at _fulfilled (/Users/enrico/tmp/testapp/platforms/android/cordova/node_modules/q/q.js:854:54) at self.promiseDispatch.done (/Users/enrico/tmp/testapp/platforms/android/cordova/node_modules/q/q.js:883:30) at Promise.promise.promiseDispatch (/Users/enrico/tmp/testapp/platforms/android/cordova/node_modules/q/q.js:816:13) at /Users/enrico/tmp/testapp/platforms/android/cordova/node_modules/q/q.js:570:49 (node:5722) 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: 1) (node:5722) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will
[jira] [Updated] (CB-13830) Cordova-Android@7.0.0 fails to add a plugin previously removed
[ https://issues.apache.org/jira/browse/CB-13830?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jan Piotrowski (Sujan) updated CB-13830: Description: Removing a plugin and than adding it again, causes an error: {code} *$ cordova create testapp* *$ cd testapp* *$ cordova platform add android* Using cordova-fetch for cordova-android@~7.0.0 Adding android project... Creating Cordova project for the Android platform: Path: platforms/android Package: io.cordova.hellocordova Name: HelloCordova Activity: MainActivity Android target: android-26 Subproject Path: CordovaLib Subproject Path: app Android project created with cordova-android@7.0.0 Android Studio project detected Android Studio project detected 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@~7.0.0 into config.xml file ... *$ cordova plugin add cordova-plugin-camera* Installing "cordova-plugin-camera" for android Android Studio project detected Subproject Path: CordovaLib Subproject Path: app Adding cordova-plugin-camera to package.json Saved plugin info for "cordova-plugin-camera" to config.xml *$ cordova plugin add cordova-plugin-camera* Installing "cordova-plugin-camera" for android Android Studio project detected Subproject Path: CordovaLib Subproject Path: app Adding cordova-plugin-camera to package.json Saved plugin info for "cordova-plugin-camera" to config.xml *$ cordova plugin add cordova-plugin-camera* Installing "cordova-plugin-camera" for android Android Studio project detected Error during processing of action! Attempting to revert... Failed to install 'cordova-plugin-camera': CordovaError: Uh oh! "/Users/enrico/tmp/testapp/platforms/android/app/src/main/res/xml/provider_paths.xml" already exists! at copyNewFile (/Users/enrico/tmp/testapp/platforms/android/cordova/lib/pluginHandlers.js:261:45) at install (/Users/enrico/tmp/testapp/platforms/android/cordova/lib/pluginHandlers.js:51:17) at ActionStack.process (/Users/enrico/tmp/testapp/platforms/android/cordova/node_modules/cordova-common/src/ActionStack.js:56:25) at PluginManager.doOperation (/Users/enrico/tmp/testapp/platforms/android/cordova/node_modules/cordova-common/src/PluginManager.js:114:20) at PluginManager.addPlugin (/Users/enrico/tmp/testapp/platforms/android/cordova/node_modules/cordova-common/src/PluginManager.js:144:17) at /Users/enrico/tmp/testapp/platforms/android/cordova/Api.js:247:74 at _fulfilled (/Users/enrico/tmp/testapp/platforms/android/cordova/node_modules/q/q.js:854:54) at self.promiseDispatch.done (/Users/enrico/tmp/testapp/platforms/android/cordova/node_modules/q/q.js:883:30) at Promise.promise.promiseDispatch (/Users/enrico/tmp/testapp/platforms/android/cordova/node_modules/q/q.js:816:13) at /Users/enrico/tmp/testapp/platforms/android/cordova/node_modules/q/q.js:570:49 (node:5722) UnhandledPromiseRejectionWarning: CordovaError: Uh oh! "/Users/enrico/tmp/testapp/platforms/android/app/src/main/res/xml/provider_paths.xml" already exists! at copyNewFile (/Users/enrico/tmp/testapp/platforms/android/cordova/lib/pluginHandlers.js:261:45) at install (/Users/enrico/tmp/testapp/platforms/android/cordova/lib/pluginHandlers.js:51:17) at ActionStack.process (/Users/enrico/tmp/testapp/platforms/android/cordova/node_modules/cordova-common/src/ActionStack.js:56:25) at PluginManager.doOperation (/Users/enrico/tmp/testapp/platforms/android/cordova/node_modules/cordova-common/src/PluginManager.js:114:20) at PluginManager.addPlugin (/Users/enrico/tmp/testapp/platforms/android/cordova/node_modules/cordova-common/src/PluginManager.js:144:17) at /Users/enrico/tmp/testapp/platforms/android/cordova/Api.js:247:74 at _fulfilled (/Users/enrico/tmp/testapp/platforms/android/cordova/node_modules/q/q.js:854:54) at self.promiseDispatch.done (/Users/enrico/tmp/testapp/platforms/android/cordova/node_modules/q/q.js:883:30) at Promise.promise.promiseDispatch (/Users/enrico/tmp/testapp/platforms/android/cordova/node_modules/q/q.js:816:13) at /Users/enrico/tmp/testapp/platforms/android/cordova/node_modules/q/q.js:570:49 (node:5722) 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: 1) (node:5722) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process
[jira] [Updated] (CB-13830) Cordova-Android@7.0.0 fails to add a plugin previously removed
[ https://issues.apache.org/jira/browse/CB-13830?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jan Piotrowski (Sujan) updated CB-13830: Description: Removing a plugin and than adding it again, causes an error: {code} *$ cordova create testapp* *$ cd testapp* *$ cordova platform add android* Using cordova-fetch for cordova-android@~7.0.0 Adding android project... Creating Cordova project for the Android platform: Path: platforms/android Package: io.cordova.hellocordova Name: HelloCordova Activity: MainActivity Android target: android-26 Subproject Path: CordovaLib Subproject Path: app Android project created with cordova-android@7.0.0 Android Studio project detected Android Studio project detected 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@~7.0.0 into config.xml file ... *$ cordova plugin add cordova-plugin-camera* Installing "cordova-plugin-camera" for android Android Studio project detected Subproject Path: CordovaLib Subproject Path: app Adding cordova-plugin-camera to package.json Saved plugin info for "cordova-plugin-camera" to config.xml *$ cordova plugin add cordova-plugin-camera* Installing "cordova-plugin-camera" for android Android Studio project detected Subproject Path: CordovaLib Subproject Path: app Adding cordova-plugin-camera to package.json Saved plugin info for "cordova-plugin-camera" to config.xml *$ cordova plugin add cordova-plugin-camera* Installing "cordova-plugin-camera" for android Android Studio project detected Error during processing of action! Attempting to revert... Failed to install 'cordova-plugin-camera': CordovaError: Uh oh! "/Users/enrico/tmp/testapp/platforms/android/app/src/main/res/xml/provider_paths.xml" already exists! at copyNewFile (/Users/enrico/tmp/testapp/platforms/android/cordova/lib/pluginHandlers.js:261:45) at install (/Users/enrico/tmp/testapp/platforms/android/cordova/lib/pluginHandlers.js:51:17) at ActionStack.process (/Users/enrico/tmp/testapp/platforms/android/cordova/node_modules/cordova-common/src/ActionStack.js:56:25) at PluginManager.doOperation (/Users/enrico/tmp/testapp/platforms/android/cordova/node_modules/cordova-common/src/PluginManager.js:114:20) at PluginManager.addPlugin (/Users/enrico/tmp/testapp/platforms/android/cordova/node_modules/cordova-common/src/PluginManager.js:144:17) at /Users/enrico/tmp/testapp/platforms/android/cordova/Api.js:247:74 at _fulfilled (/Users/enrico/tmp/testapp/platforms/android/cordova/node_modules/q/q.js:854:54) at self.promiseDispatch.done (/Users/enrico/tmp/testapp/platforms/android/cordova/node_modules/q/q.js:883:30) at Promise.promise.promiseDispatch (/Users/enrico/tmp/testapp/platforms/android/cordova/node_modules/q/q.js:816:13) at /Users/enrico/tmp/testapp/platforms/android/cordova/node_modules/q/q.js:570:49 (node:5722) UnhandledPromiseRejectionWarning: CordovaError: Uh oh! "/Users/enrico/tmp/testapp/platforms/android/app/src/main/res/xml/provider_paths.xml" already exists! at copyNewFile (/Users/enrico/tmp/testapp/platforms/android/cordova/lib/pluginHandlers.js:261:45) at install (/Users/enrico/tmp/testapp/platforms/android/cordova/lib/pluginHandlers.js:51:17) at ActionStack.process (/Users/enrico/tmp/testapp/platforms/android/cordova/node_modules/cordova-common/src/ActionStack.js:56:25) at PluginManager.doOperation (/Users/enrico/tmp/testapp/platforms/android/cordova/node_modules/cordova-common/src/PluginManager.js:114:20) at PluginManager.addPlugin (/Users/enrico/tmp/testapp/platforms/android/cordova/node_modules/cordova-common/src/PluginManager.js:144:17) at /Users/enrico/tmp/testapp/platforms/android/cordova/Api.js:247:74 at _fulfilled (/Users/enrico/tmp/testapp/platforms/android/cordova/node_modules/q/q.js:854:54) at self.promiseDispatch.done (/Users/enrico/tmp/testapp/platforms/android/cordova/node_modules/q/q.js:883:30) at Promise.promise.promiseDispatch (/Users/enrico/tmp/testapp/platforms/android/cordova/node_modules/q/q.js:816:13) at /Users/enrico/tmp/testapp/platforms/android/cordova/node_modules/q/q.js:570:49 (node:5722) 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: 1) (node:5722) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process
[jira] [Commented] (CB-13832) IOS app gets logged out when using "_system" as target
[ https://issues.apache.org/jira/browse/CB-13832?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16340319#comment-16340319 ] Jan Piotrowski (Sujan) commented on CB-13832: - What does "logged out" mean here? How are you logged in, to what? Your website opened in an InAppBrowser? > IOS app gets logged out when using "_system" as target > -- > > Key: CB-13832 > URL: https://issues.apache.org/jira/browse/CB-13832 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-plugin-inappbrowser >Reporter: Agnosco >Priority: Major > > I have cordova 7.1.0 and IOS 10+ > I'm logged in my ios app and have an external link in the app. So, to open > the link in safari I have -"cordova.InAppBrowser.open(url, '_system', > 'location=no');". It opens the url link in safari but I got logged out from > app when I tried to go back to app. > It works fine with target '_blank'. Is it a desired behavior? It used to work > in previous version of cordova-plugin-inappbrowser 1.3.0. -- 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-13829) Fix tests that were broken since CB-13237
[ https://issues.apache.org/jira/browse/CB-13829?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16340283#comment-16340283 ] Jan Piotrowski (Sujan) commented on CB-13829: - PR is ready to be reviewed. > Fix tests that were broken since CB-13237 > - > > Key: CB-13829 > URL: https://issues.apache.org/jira/browse/CB-13829 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-windows >Affects Versions: 6.0.0 >Reporter: Jan Piotrowski (Sujan) >Assignee: Jan Piotrowski (Sujan) >Priority: Major > > CB-13237 introduced a major breaking change (by default the projects built > are not Windows10/UWP and not 8.1 any more) and also broke the e2e-tests in > the process (which wasn't noticed because the running of tests was broken > even before by the switch from jasmine-node to jasmine and so CI didn'T > report the test breakage). -- 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-12510) Generate .sln files with widget.name
[ https://issues.apache.org/jira/browse/CB-12510?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jan Piotrowski (Sujan) updated CB-12510: Summary: Generate .sln files with widget.name (was: cannot rename windows cordova project) > Generate .sln files with widget.name > > > Key: CB-12510 > URL: https://issues.apache.org/jira/browse/CB-12510 > Project: Apache Cordova > Issue Type: Wish > Components: cordova-windows >Reporter: Ali Mustafa >Priority: Minor > Labels: windows > > building Cordova app for windows generates CordovaApp.sln even though I > specified another name under widget tag in config.xml. -- 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-12628) Capability declarations in config.xml are ignored for package.appxmanifest
[ https://issues.apache.org/jira/browse/CB-12628?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jan Piotrowski (Sujan) updated CB-12628: Description: Capability declarations for Windows (UAP 10.0 and others) are not merged into the resulting package.appxmanifest files of the windows project. To reproduce: 1. cordova create windows-cat-test 2. Add the following entry to config.xml (this snippet would work in a plugin.xml of a cordova plugin): {code} {code} 3. cordova platform add windows => The privateNetworkClientServer Capability is not merged into any package.appxmanifest was: Capability declarations for Windows (UAP 10.0 and others) are not merged into the resulting package.appxmanifest files of the windows project. To reproduce: 1. cordova create windows-cat-test 2. Add the following entry to config.xml (this snippet would work in a plugin.xml of a cordova plugin): " " 3. cordova platform add windows => The privateNetworkClientServer Capability is not merged into any package.appxmanifest > Capability declarations in config.xml are ignored for package.appxmanifest > -- > > Key: CB-12628 > URL: https://issues.apache.org/jira/browse/CB-12628 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-windows >Affects Versions: 6.5.0 > Environment: cordova@6.5.0, cordova-windows@5.0.0 (and below) >Reporter: Peter Juras >Assignee: Nikita Matrosov >Priority: Major > Labels: windows > > Capability declarations for Windows (UAP 10.0 and others) are not merged into > the resulting package.appxmanifest files of the windows project. > To reproduce: > 1. cordova create windows-cat-test > 2. Add the following entry to config.xml (this snippet would work in a > plugin.xml of a cordova plugin): > {code} > > > > > > {code} > 3. cordova platform add windows > => The privateNetworkClientServer Capability is not merged into any > package.appxmanifest -- 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-13834) Fix tests failure with VS17 caused by CB-12499
[ https://issues.apache.org/jira/browse/CB-13834?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jan Piotrowski (Sujan) reassigned CB-13834: --- Assignee: (was: Jesse MacFadyen) > Fix tests failure with VS17 caused by CB-12499 > -- > > Key: CB-13834 > URL: https://issues.apache.org/jira/browse/CB-13834 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-windows >Reporter: Jan Piotrowski (Sujan) >Priority: Major > > The file `Default.rd.xml` introduced by CB-12499 is unfortunately causing > test failures on AppVeyor when Visual Studio 2017 is used to build with > params `--release --bundle --archs="x64 x86 arm"`. > > {code:java} > Started > Creating Cordova Windows Project: > Path: testcreate 応用 > Namespace: com.test.app > Name: 応用 > Windows project created with cordova-windows@5.1.0-dev > Building project: C:\projects\cordova-windows\testcreate > 応用\CordovaApp.Windows10.jsproj > Configuration : release > Platform : x64 > Patching 10 in prebuild event... > Injected base.js reference to the www/index.html > Removing /( > *)(