on 2022 Nov 08 12:34 PM
Hello,
I have built a custom MDK offline app.I want to update the data that is cached on the device for the offline app through defining requests at regular intervals when device is connected to internet. I see that we have the option to set the "Local data expiration", "Data refresh internal" in "Mobile Offline Access" feature. I entered some values in both these fields to test if the data updates work. I couldn't see any URL calls going to the backend for data updates in network trace.
Please let me know if the approach that I am following is correct and suggest the correct approach of doing data updates.
Regards,
Karan Shaheri.
Request clarification before answering.
You would need to call your Download action at regular intervals while the client is running. Once it goes to the background, the OS takes over and determines if and when it would trigger your Download. It may run for a short period or the OS may delay the triggering. If the app is closed then no sync will be possible since the offline store will be closed.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
bill.froelich jitendrakumar.kansal : Can you please guide on the above question. How can I achieve the above scenario?
Regards,
Karan Shaheri.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
70 | |
21 | |
9 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.