PreviewInDevices on Production Server

PreviewInDevices on Production Server

  

Hi Guys,

I am using mobile device preview on our dev server (outsystemscloud) without a problem.

Today I tried to use it on the production server and I got an error saying this is switched off on production environments and I could override this by means of a Site setting (PreviewInDevices.AvailableInProductionMode).  I set this to TRUE and it now brings up my mobile application in preview mode as expected.

The problem is now that when the code runs, it fails on a call to the MobileUtilities GetNetworkType() method:

The mobile app previews fine on the dev environment but not on production.

Does anyone have a clue what could be happening?

Regards,

Lester

Solution

Hi Lester,

You need to install the new version of Silk UI Mobile to fix it.

There were some breaking changes in Google Chrome.

Cheers,

José

Solution

José Costa wrote:

Hi Lester,

You need to install the new version of Silk UI Mobile to fix it.

There were some breaking changes in Google Chrome.

Cheers,

José

Thanks Jose,

The dev and production both seemed to be the same release when I was deploying but when I forced the update it made the difference and now prod works as well.

Cheers,

Lester