When you are ready to publish the changes you’ve made, either on the UI Editor or the Variables section, you can click ‘Publish’ on the dashboard to put the change into effect.
Once you publish your changes, we’ll wait for the user to open the app the next time to sync the changes. This avoids both draining battery and negatively influencing user experience by syncing changes in real time and changing the app during an existing session.
Thus, when a user opens the app the Leanplum SDK is initialized, we contact our servers looking for anything that has changed since the last sync. If anything has changed since the last time we checked, those changes will be synced back to the app – at which point that value will be changed for those users.