Giter Club home page Giter Club logo

covidwatch-ios-tcn's People

Contributors

andreasink2 avatar bobclemmons avatar haydenridd avatar ibeckermayer avatar jamespetrie avatar jeffctown avatar madhavajay avatar therealnikhil avatar zssz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

covidwatch-ios-tcn's Issues

Infection Double Post

Seems that when you mark "submit report" on the iOS app its double posting.

Data in firestore emulator:

{
  "documents": [
    {
      "name": "projects/tagstwo-431e3/databases/(default)/documents/signed_reports/mhsCQ3X2BDycCsMGMqS0",
      "fields": {
        "memo_type": {
          "integerValue": "1"
        },
        "signature_bytes": {
          "bytesValue": "7A2hwNBjDnV2Gm0FGubvqT9yKkOfH1rJhznze6fyv+NpcOJ4ltTxpRgFA69QEkC6qMiWgX+jp93tt+0i8ywsCA=="
        },
        "end_index": {
          "integerValue": "2"
        },
        "report_verification_public_key_bytes": {
          "bytesValue": "hjDyCSrbqKPQNzBBVzycUHk9dMSdZ4JdaYnwbxp1Tlc="
        },
        "start_index": {
          "integerValue": "1"
        },
        "temporary_contact_key_bytes": {
          "bytesValue": "1wh/jCS2D5aVK6lqdPRmDhgLBMmWeIdg4TyTNiOQIpQ="
        },
        "memo_data": {
          "bytesValue": "SGVsbG8sIFdvcmxkIQ=="
        },
        "timestamp": {
          "timestampValue": "2020-04-28T03:36:22.499Z"
        }
      },
      "createTime": "2020-04-28T03:36:22.593625Z",
      "updateTime": "2020-04-28T03:36:22.593625Z"
    },
    {
      "name": "projects/tagstwo-431e3/databases/(default)/documents/signed_reports/qq8tyhqyFumg1kEnWPTC",
      "fields": {
        "memo_type": {
          "integerValue": "1"
        },
        "signature_bytes": {
          "bytesValue": "36sFnlj7vDHsvUpXdeyKTU8JpmaD0MAMQJS7hXJ/jAaAhodxvxBqLQOVEhSLWUoQDmsHoacxoxWnssuft1GMAw=="
        },
        "end_index": {
          "integerValue": "2"
        },
        "report_verification_public_key_bytes": {
          "bytesValue": "hjDyCSrbqKPQNzBBVzycUHk9dMSdZ4JdaYnwbxp1Tlc="
        },
        "start_index": {
          "integerValue": "1"
        },
        "temporary_contact_key_bytes": {
          "bytesValue": "1wh/jCS2D5aVK6lqdPRmDhgLBMmWeIdg4TyTNiOQIpQ="
        },
        "memo_data": {
          "bytesValue": "SGVsbG8sIFdvcmxkIQ=="
        },
        "timestamp": {
          "timestampValue": "2020-04-28T03:36:22.499Z"
        }
      },
      "createTime": "2020-04-28T03:36:22.593615Z",
      "updateTime": "2020-04-28T03:36:22.593615Z"
    }
  ]
}

Cloud function emulator logs:

functions: Beginning execution of "submitReport"
i  functions: Beginning execution of "submitReport"
>  { memo_type: 1,
>    temporary_contact_key_bytes: '1wh/jCS2D5aVK6lqdPRmDhgLBMmWeIdg4TyTNiOQIpQ=',
>    end_index: 2,
>    report_verification_public_key_bytes: 'hjDyCSrbqKPQNzBBVzycUHk9dMSdZ4JdaYnwbxp1Tlc=',
>    signature_bytes:
>     '7A2hwNBjDnV2Gm0FGubvqT9yKkOfH1rJhznze6fyv+NpcOJ4ltTxpRgFA69QEkC6qMiWgX+jp93tt+0i8ywsCA==',
>    memo_data: 'SGVsbG8sIFdvcmxkIQ==',
>    start_index: 1 }
>  Call TCN Rust symptom data
>  Report JSON received:  Report {
>    temporary_contact_key_bytes: '1wh/jCS2D5aVK6lqdPRmDhgLBMmWeIdg4TyTNiOQIpQ=',
>    memo_data: 'SGVsbG8sIFdvcmxkIQ==',
>    memo_type: 1,
>    start_index: 1,
>    end_index: 2,
>    signature_bytes:
>     '7A2hwNBjDnV2Gm0FGubvqT9yKkOfH1rJhznze6fyv+NpcOJ4ltTxpRgFA69QEkC6qMiWgX+jp93tt+0i8ywsCA==',
>    report_verification_public_key_bytes: 'hjDyCSrbqKPQNzBBVzycUHk9dMSdZ4JdaYnwbxp1Tlc=' }
>  { memo_type: 1,
>    temporary_contact_key_bytes: '1wh/jCS2D5aVK6lqdPRmDhgLBMmWeIdg4TyTNiOQIpQ=',
>    end_index: 2,
>    report_verification_public_key_bytes: 'hjDyCSrbqKPQNzBBVzycUHk9dMSdZ4JdaYnwbxp1Tlc=',
>    signature_bytes:
>     '36sFnlj7vDHsvUpXdeyKTU8JpmaD0MAMQJS7hXJ/jAaAhodxvxBqLQOVEhSLWUoQDmsHoacxoxWnssuft1GMAw==',
>    memo_data: 'SGVsbG8sIFdvcmxkIQ==',
>    start_index: 1 }
>  Call TCN Rust symptom data
>  Report JSON received:  Report {
>    temporary_contact_key_bytes: '1wh/jCS2D5aVK6lqdPRmDhgLBMmWeIdg4TyTNiOQIpQ=',
>    memo_data: 'SGVsbG8sIFdvcmxkIQ==',
>    memo_type: 1,
>    start_index: 1,
>    end_index: 2,
>    signature_bytes:
>     '36sFnlj7vDHsvUpXdeyKTU8JpmaD0MAMQJS7hXJ/jAaAhodxvxBqLQOVEhSLWUoQDmsHoacxoxWnssuft1GMAw==',
>    report_verification_public_key_bytes: 'hjDyCSrbqKPQNzBBVzycUHk9dMSdZ4JdaYnwbxp1Tlc=' }
i  functions: Finished "submitReport" in ~1s
i  functions: Finished "submitReport" in ~1s

Low priority: There's some odd issue going on with git (related to the case-change of the project name, I believe).

For some reason, git can only recognize commands from the base directory. See the example for clarification:

$ git status
On branch feature/FixProjectAfterCaseChange
Your branch is up to date with 'origin/feature/FixProjectAfterCaseChange'.

Changes not staged for commit:
  (use "git add <file>..." to update what will be committed)
  (use "git restore <file>..." to discard changes in working directory)
	modified:   CovidWatch iOS/UIComponents/LargeText.swift

no changes added to commit (use "git add" and/or "git commit -a")

$ cd CovidWatch\ iOS

$ git status
On branch feature/FixProjectAfterCaseChange
Your branch is up to date with 'origin/feature/FixProjectAfterCaseChange'.

Changes not staged for commit:
  (use "git add <file>..." to update what will be committed)
  (use "git restore <file>..." to discard changes in working directory)
	modified:   ../CovidWatch iOS/UIComponents/LargeText.swift

no changes added to commit (use "git add" and/or "git commit -a")

$ git add UIComponents/LargeText.swift

$ git status
On branch feature/FixProjectAfterCaseChange
Your branch is up to date with 'origin/feature/FixProjectAfterCaseChange'.

Changes not staged for commit:
  (use "git add <file>..." to update what will be committed)
  (use "git restore <file>..." to discard changes in working directory)
	modified:   ../CovidWatch iOS/UIComponents/LargeText.swift

no changes added to commit (use "git add" and/or "git commit -a")

Make Hamburger Menu Toggleable

We need to make the Hamburger Menu appear or disappear depending on a parameter so that it can be set to false when onboarding.

Discovering new devices in the background

Hi there,

I'm working on a similar application, that is (as far as I understand your project) is probably trying to give even more privacy guarantees. However, the bluetooth part seems very similarr, and I'm trying to find out if you have found a solution to continue to scan for new devices on iOS, while the app is in the background.

Our project: https://github.com/ito-org
Our Protocol Description: https://github.com/ito-org/STRICT

I'd love it if we could collaborate at least on a technical level, and at least ensure that the bluetooth advertisements are compatible / readable by the other apps.

Home Screen Warning

The home screen warning appears after submitting your infection, however this doesn't check that the server returns a 201, as I ran this against my local dev server and it failed but I still saw the "you have reported banner", so we should check the result before displaying the warning.

https://imgur.com/a/91PHmLF

Update README.md

Can we do this for:

covidwatch-ios
covidwatch-ios-minimal
tcn-client-ios
We want the following out of our README.md

How to Setup

This is the "Onboarding from scratch" for anyone new to read and should work
Explanation of what it does

How it interfaces with other COVIDWatch / external repos

How testing works

How to Contribute

Style guides etc
Badges
Lets add some cool badges:
https://gist.github.com/tterb/982ae14a9307b80117dbf49f624ce0e8

FAQ
When people are unsure lets populate this with some obvious answers

Contributors / Contacts

Link to the COVIDWatch Slack or how to email to get access / invites
@name's of people you can contact for help regarding the project.

Heres an example of some stuff I did in the cloud functions readme:

https://github.com/covid19risk/covidwatch-cloud-functions

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.