Hi,

I have an mobile application with offline sync. It has two Screens - Screen 1 and Screen 2. The Problem I am facing is that the Offline Sync Mechanism shoots every time I switch between pages. I just want it to shoot on the splash page and not while I switch between pages. How can I do that?


Regards,

Manthan Shah.

Hi Nathan,

You can configure the moments sync should be started automatically.

Open the OfflineDataSyncConfiguration action from Logic > Client Actions > OfflineDataSync and set the variables in the flow to True, for all conditions when sync should run automatically.

Regards,

Daniel

Hi,

I have tried your method but it still syncs on  Screen 1 and Screen 2. 


Regards,

Manthan Shah.

Hi,

Can you share the OML than I can have a look at it.

Regards,

Daniel

Also make sure you are not calling TriggerOffLineDataSync or OffLineDataSync client actions in your own code.

Also not one of your client actions calling server action ServerDataSync directly.