08-14-2019 06:04 AM
Using the mobile app for Street Surveying we have found that if we clear the local data when launching the app that all images are trying to download to the device. The time taken to do this is continiously growning.
We can of course not wipe the local data which prevents this but when we do an update to the mobile form we have to clear local data.
Is there a way to prevent download sync of images when we clear local data?
It has got to a stage now where if we clear local data some users will experience a timeout error because sync is taking too long.
08-20-2019 09:29 AM
Hi ckinane please try to use lazy loading for the images. In the How to setup a Mobile App - Part 2 tutorial there is an example on how to set a lazy loading field for the full size image and a "normal" sync for the thumbnailed images
In your shell use:
<Field Name="image" Type="Binary" LazyLoading="True"/>
Please consider that it will only work if you are using an "online" data source, if you are forcing a complete sync to get full offline capabilities you’ll do need all the files saved to your device.