Github user rakatyal commented on a diff in the pull request:

    https://github.com/apache/cordova-windows/pull/172#discussion_r61619913
  
    --- 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;
    +        if (splashscreenVersion && parseInt(splashscreenVersion[0], 10) < 
MIN_SPLASHSCREEN_SUPPORTED_VER) {
    --- End diff --
    
    Is it supposed to not work for 4.x versions as well? 


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@cordova.apache.org
For additional commands, e-mail: dev-h...@cordova.apache.org

Reply via email to