tradle / tim

mobile and web app that talks to Tradle backend infrastructure and the blockchain. Tim stands for Trust in Motion
GNU General Public License v3.0
20 stars 12 forks source link

Not all documents with the same type have the same set of fields in different countries #23

Closed pgmemk closed 5 years ago

pgmemk commented 5 years ago

For example: DL in the Philippines does not have a date of issue and in the US, UK it does.

Right now I added a hack for Philippines.

We need to create a mapping of the document types to the list of the fields (that are the props in tradle.PhotoID) for the documents for different countries. We can use the US set of props as default templates. Mappings are gonna be created only for docs with a different set of fields. The file with a mapping could be in S3 and loaded at app start.

pgmemk commented 5 years ago

Moved to https://github.com/tradle/issues/issues/337