One supposed advantage of a template-based app is to not have to update the app to show new screens or content. Unfortunately, we have found that we have to delete and reload the app everytime we add to content by adding to a template listing, e.g., a new video. There is no equivalent to a webpage "reload" button. It should be automatic anyway. Is there any way to force it to automatically update when there is a change in a template's content?
Template App Auto-Reload
Any DOM updates to the pushed documents are tracked automatically and the corresponding views are updated. There isn't a need to explicit call reload to refresh a views.
e.g
If you were displaying your videos as <lockup> inside a <shelf> and you wanted to add a new video at the end, you can run the following script:
// lastLockup is the DOM node for the last lockup in the shelf and newLockupStr is the stringified markup for the new lockup
lastLockup.insertAdjacentHTML('afterend', newLockupStr);
If you wanted to reload the whole app however, you could use the App.reload API (reload)
I'm exactly in the same situation.
I am going toward a solution that uses the storage api to put a key to identify the whole server side code version and force a refresh if the "official release number" has changed and then store the new value in the local persistent storage of the Apple TV.
Any hint on a better solution?