What Happens During a Refresh

Refreshing is a simple way to troubleshoot most issues that occur with the mobile app. Here is what actually happens when the app is refreshed.

The refresh call retrieves the latest copy of all studies the user is enrolled in, including the surveys and triggers that belong to those.

The server holds a compacted, mobile-friendly copy of each study, ready to be sent as the response with minimal processing. Some settings in the triggers require additional processing, such as rolling enrollment which involves looking up the participant's enrollment date and adjusting the trigger's date range based on this.

Once the latest copy of the studies is loaded, the device iterates over all of the studies and triggers to determine which have been removed/updated/added and adjusts its scheduled events accordingly.