Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-25745] Show in-app changelog when upgrading the Titanium SDK

GitHub Issuen/a
TypeStory
PriorityNone
StatusOpen
ResolutionUnresolved
Affected Version/sn/a
Fix Version/sn/a
Componentsn/a
Labelsn/a
ReporterHans Knöchel
AssigneeUnknown
Created2018-02-03T19:32:14.000+0000
Updated2018-02-28T19:55:44.000+0000

Description

Writing down a few ideas that popped into my head recently. This one covers a functionality that displays a modal window when launching the app for the first time after an SDK update (e.g. 7.0.2 to 7.1.0) with a change log of the tickets that have been addressed. It's meant to improve the general developer experience by letting devs know what actually changed (especially cool for new features that are being introduced or breaking changes that can be overseen). Technically, it could be pretty simple:

In the CLI, we are already able to detect if the version inside the tiapp.xml changed

Inside that, we prepare a precompile flag that is passed to the native build, e.g. SDK_UPDATE=7.1.0. This can then be loaded by the app

The app then check for the constant, and if available, it constructs a simple dialog that a) displays the message, e.g. "Welcome to 7.1.0, would you like to check out the changelog?" and "Don't show this again" in case they do not want to receive this kind of updates again.

Discussion welcome.

Comments

  1. Michael Gangolf 2018-02-03

    Interesting idea! One thing to add: it should of course only happen in dev-mode, so it won't appear in a live app! Another good point to add the changelog would be the place in the CLI when you download/upade the new SDK. So when it is ready, show a output in the console. People update the SDK when they get informed that there is a new SDK (e.g. in the appc-blog) and the changelog is listed there so it might be annoying or even a scary feeling when you have a popup in your app that suddenly shows a changelog( "is it visible in the store app?"). Or they download it via appc studio and (I think) the changelog is listed there already? Put a popup in the atom plugin if there is a SDK change detected.

JSON Source