Skip to main content

Hi, 

I'm currently working on a Mobile App (Android Device) with Uniface 9  (9.7.5.002) & Bootstrap 4 .  The App works just fine when using the http protocol, but as soon as I switch to  https instead, I get a white screen after the Uniface splash screen.   We use a self signed certificate for https and https is OK when using it in a web browser.    

Did someone encounter a similar problem ?  Is there a way to log what's happening to track the origin of the error ?  Thanks a lot 

Best Regards,


Georges


Additional Info : 

While testing the App with Android Studio , I noticed the Production APK from Buildozer always gives me a white screen in HTTS, but the Test APK works fine (So I had no chance to debug).    Sadly the same test APK doesn't work on my Android Device (Motorola G5S / Android 7.1.1) ...   

Hi, 

I'm currently working on a Mobile App (Android Device) with Uniface 9  (9.7.5.002) & Bootstrap 4 .  The App works just fine when using the http protocol, but as soon as I switch to  https instead, I get a white screen after the Uniface splash screen.   We use a self signed certificate for https and https is OK when using it in a web browser.    

Did someone encounter a similar problem ?  Is there a way to log what's happening to track the origin of the error ?  Thanks a lot 

Best Regards,


Georges


Additional Info : 

While testing the App with Android Studio , I noticed the Production APK from Buildozer always gives me a white screen in HTTS, but the Test APK works fine (So I had no chance to debug).    Sadly the same test APK doesn't work on my Android Device (Motorola G5S / Android 7.1.1) ...   

Hello Georges

We have had an issue. I copy the information below:

Patches G403 for Uniface 9.7 and F203 for Uniface 10.2
 contain a fix for

BUG: 31517 - Mobile apps: The HTTPS version does not work when calling Cordova objects
https://unifaceinfo.com/fixes/issuelist/31517.php

 

In fact an upgrade to Cordova 7 was done and uweb.def has been updated:

; JavaScript/CSS base for DSPs

[dsp]

javascript=uniface-app://cordova.js;$LIBURL/pouchdb.js;$LIBURL/uniface.js

has been changed into

; JavaScript/CSS base for DSPs

[dsp]

javascript=$LIBURL/pouchdb.js;$LIBURL/uniface.js

 

To use Cordova7 the SDK field in your mobile aps definition must be empty.

 

Hope this information helps.


Regards

Peter