As well as helping predict the spread of COVID-19, the app could act as a digital version of government certificates permitting citizens to go to work or the store.