google / exposure-notifications-verification-server

Verification component for COVID-19 Exposure Notifications.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add agency image and background color to app sync

mikehelmick opened this issue · comments

TL;DR

The agency image (a png) and background color will be published on the appsync URL from Google.

Consume these values and inject them into the user-report Webview.

first draft of sync data

"agencyHeaderStyle": 1,
      "agencyHeaderTextColor": [
        0.2235294117647059,
        0.396078431372549,
        0.6745098039215687
      ],
      "agencyColor": [
        1,
        1,
        1
      ],
      "agencyImage": "https://www.gstatic.com/exposurenotifications/PA.png"

The agency color is being change to be more web friendly, i.e. #ffffff