Commit Graph

12 Commits

Author SHA1 Message Date
9ea64fb460 adds firebase connection and notifications
- notification handler pushes background and
  foreground notifications to the phone directly
- firebase connection pushes remote notifications
  in background and foreground
- firebase unique token currently logged only, should
  be send directly to server via rest
2021-12-30 13:08:52 +01:00
51bf245f00 fixes early call to context in first fragment 2021-12-29 23:38:35 +01:00
6e3f3c44af adds stub for notifications 2021-12-29 23:22:12 +01:00
734b64ce3b adds rest list receiver, adds local code storage
- rest class now receives a list as well as single
  messages
- adds support for threaded singleton which takes
  care of continuous checking of the bump server
  to get the most up-to-date list of messages
- adds local data class with tests to get locally saved
  code in preferences
2021-12-29 19:42:43 +01:00
7e4cfceab4 adds list functionality
- adds rest connection with gets a JSON Object
  with a "messages" list inside it.
- test case, which pushes a new message
  and gets an entire list. checking that the
  first element is "hello" and the last element
  to be the new element just pushed
2021-12-17 16:10:29 +01:00
c46c664cdb restful push and pop with cryptography
- integration test pushing and poping
  a message and comparing decrypted
  strings passes
- integration test comparing encrypted
  and decrypted string passes
2021-12-17 12:15:54 +01:00
10ba4cf31b adds rest communication
- test cases for push and pop
- rest singleton instantiated in MainApplication
  access through context
- pop and peek work, push needs encryption process
  still
2021-12-16 12:21:17 +01:00
3d42f0ca2e adds integer parse for fernet iteration 2021-12-14 22:02:19 +01:00
8c16ff344e token decryption successfull 2021-12-13 23:44:35 +01:00
941cc2dc3f adds fernet key decryption analogous to python
- first fragment currently auto-starts process
  to decrypt static message
- token parsed from message correctly
- token validation not yet sucessfull
2021-12-13 23:41:08 +01:00
9e12972677 updates app name, fixes first camera access 2021-12-12 15:51:52 +01:00
59044e0554 initial android app setup, adds fragments, camera
- scans in camera view for qr code
- camera view inside fragment
- fragment 1 passed to camera fragment
- prints qr code to log
2021-12-12 15:44:30 +01:00