Mobile App SSL Cordova.js Issue

Author: (johangel)

Hi, i'm developing a mobile app in uniface on a server with SSL configuration for tomcat, the problem arises when the user call a method or plugin of cordova in the app, it show an error of mixed content like this  I want to know if anyone have this same problem or where is the cordova.js file to place it manually in the set state trigger Or, is any way to configurate the tomcat service to allow this kind of content?


  1. Hello and welcome to the forum. The problem you are describing already has been recognized as BUG#31517 (Mobile apps: The HTTPS version does not work when calling Cordova objects) and the lab is currently working on a fix. If everything goes according to plan then this should be resolved in one of the next patches. I'll provide another update here as soon as I know more. In the meantime you could have a look at the workaround for BUG#31517. Hope this helps. Kind regards, Daniel Iseli Uniface Technical Support

    Author: diseli (
  2. Hi, thaks for your answer, i already have a workaround for this. In the tomcat 8 server.xml file add a connector to a new port that only accept http request, and in the web.xml file comment the line of "<transport-guarantee>". This allows me to call that services without the error. Thanks.

    Author: johangel (
  3. Hi, Thanks for your reply. And you are welcome. It's good to hear that you could find another workaround for this problem. Daniel

    Author: diseli (
  4. Hi, Just a quick update: if everything goes according to plan then BUG#31517 will be fixed with the next patch (G403) that is scheduled for next week. It is possible that in case some problems are encountered during testing that the fix has to be postponed the following patch (G404) that is scheduled two weeks later. Hope this helps. Daniel

    Author: diseli (