ericcornelissen / NervousFish

An app for your :iphone: to exchange public-keys in a secure manner.
GNU Lesser General Public License v3.0
2 stars 4 forks source link

Contacts part of the database #57

Closed ericcornelissen closed 7 years ago

ericcornelissen commented 7 years ago

What

With this pull request a GSON implementation of the database will be added which, for now, is capable of:

Why

We want to store the contacts on the phone so they can be viewed/used at a later point in time

How

The database adapter in the PR is implemented using Google's gson, as a result the database is implemented in JSON files.

Alternative implementation

We have considered using other simple text-based database implementation (such as .csv) but felt that a JSON implementation is the right combination of simple and extensible.

Notes

TheBonheurs commented 7 years ago

@ericcornelissen Here is the link, I also had made a comment about it in #59 https://github.com/ericcornelissen/NervousFish/pull/59/files/999f4c96e64c457960824fb15a67f99fc4b2106e#diff-c5abb3af466f8817cb122941c6e88cb4R141