You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/08/23 12:37:21 UTC
[jira] [Commented] (CB-11176) Fix windows-splashscreen
compatibility with older plugin versions
[ https://issues.apache.org/jira/browse/CB-11176?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15432711#comment-15432711 ]
ASF GitHub Bot commented on CB-11176:
-------------------------------------
Github user cadesalaberry commented on a diff in the pull request:
https://github.com/apache/cordova-windows/pull/172#discussion_r75856167
--- Diff: cordova-js-src/exec.js ---
@@ -41,6 +41,20 @@ var execProxy = require('cordova/exec/proxy');
*/
module.exports = function (success, fail, service, action, args) {
+ // Handle the case when we have an old version of splashscreen plugin to avoid the API calls failures
+ if (service === 'SplashScreen') {
+ var pluginsVersions = require("cordova/plugin_list").metadata;
+ var splashscreenVersion = pluginsVersions['cordova-plugin-splashscreen'];
+ var MIN_SPLASHSCREEN_SUPPORTED_VER = 4;
--- End diff --
From this line, should I understand that the next 4.x.x release here https://github.com/apache/cordova-plugin-splashscreen/releases will be fully compatible with windows ?
> Fix windows-splashscreen compatibility with older plugin versions
> -----------------------------------------------------------------
>
> Key: CB-11176
> URL: https://issues.apache.org/jira/browse/CB-11176
> Project: Apache Cordova
> Issue Type: Bug
> Components: Windows
> Reporter: Sergey Shakhnazarov
> Assignee: Sergey Shakhnazarov
>
> Manual splashscreen hiding using {{AutoHideSplashScreen=false}} preference with a {{navigator.splashscreen.hide()}} call does not work with updated {{cordova-windows}} and an old {{cordova-plugin-splashscreen}} (<4).
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org