GijsWeterings / IdentityChain

GNU General Public License v3.0
6 stars 0 forks source link

Feature/network peer discovery #2

Closed GijsWeterings closed 6 years ago

GijsWeterings commented 6 years ago

This pr adds the ability for the app to discover peers on the same network. The device starts a service on app boot, which is visible for other devices. Based on that, a Recyclerview with all found items is added to the homescreen. For now, we automatically pick the first device we find on the network to connect, but this should be improved in the future (issue #3).

Additionally, this PR adds a free text input field on the homepage, where the payload can be configured. This is likely a temporary measure, until we have specific (structured) data to send. Warning, this freeform text is not sent with the bluetooth functionality (yet), see #4