{"action":"created","issue":{"url":"https://api.github.com/repos/fxbox/app/issues/60","repository_url":"https://api.github.com/repos/fxbox/app","labels_url":"https://api.github.com/repos/fxbox/app/issues/60/labels{/name}","comments_url":"https://api.github.com/repos/fxbox/app/issues/60/comments","events_url":"https://api.github.com/repos/fxbox/app/issues/60/events","html_url":"https://github.com/fxbox/app/issues/60","id":146505601,"number":60,"title":"Make Cordova the default build","user":{"login":"michielbdejong","id":408412,"avatar_url":"https://avatars.githubusercontent.com/u/408412?v=3","gravatar_id":"","url":"https://api.github.com/users/michielbdejong","html_url":"https://github.com/michielbdejong","followers_url":"https://api.github.com/users/michielbdejong/followers","following_url":"https://api.github.com/users/michielbdejong/following{/other_user}","gists_url":"https://api.github.com/users/michielbdejong/gists{/gist_id}","starred_url":"https://api.github.com/users/michielbdejong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michielbdejong/subscriptions","organizations_url":"https://api.github.com/users/michielbdejong/orgs","repos_url":"https://api.github.com/users/michielbdejong/repos","events_url":"https://api.github.com/users/michielbdejong/events{/privacy}","received_events_url":"https://api.github.com/users/michielbdejong/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-04-07T04:14:21Z","updated_at":"2016-04-07T07:24:10Z","closed_at":null,"body":"Some Foxboxes don't use any hosted services. In the [current box-client discovery proposal](https://github.com/fxbox/RFC/pull/12#discussion_r58482270), this will be the default build for Foxbox.\r\n\r\nSome other Foxboxes will use Mozilla-hosted services, and others still will use self-hosted services (hosted by the end-user or their friend, or by a hardware-vendor, OEM, etc.).\r\n\r\nTo discover and interact with all these Foxboxes, this app has to support not only the DNS-server+registration_server+LetsEncrypt discovery flow, but also the mDNS + TOFU discovery flow.\r\n\r\nThere are two ways to build this app: as a Cordova app, or as a statically-hosted (client-side) web app. \r\n\r\nWe obviously love using web apps rather than Cordova apps whenever possible, but in this case that comes at the price of functionality: only the Cordova build of this app will be able to support mDNS + TOFU discovery.\r\n\r\nThat's why I propose to make the Cordova build the default way to build this app, and make \"deploy to gh-pages\" only an option, adding a warning that \"not all Foxboxes will be supported\".\r\n\r\nI wanted to get some feedback to see if anyone sees any alternative paths of action here, before moving forward with updating the readme with this change. Will also post a link to this issue to the mailing list."},"comment":{"url":"https://api.github.com/repos/fxbox/app/issues/comments/206734527","html_url":"https://github.com/fxbox/app/issues/60#issuecomment-206734527","issue_url":"https://api.github.com/repos/fxbox/app/issues/60","id":206734527,"user":{"login":"michielbdejong","id":408412,"avatar_url":"https://avatars.githubusercontent.com/u/408412?v=3","gravatar_id":"","url":"https://api.github.com/users/michielbdejong","html_url":"https://github.com/michielbdejong","followers_url":"https://api.github.com/users/michielbdejong/followers","following_url":"https://api.github.com/users/michielbdejong/following{/other_user}","gists_url":"https://api.github.com/users/michielbdejong/gists{/gist_id}","starred_url":"https://api.github.com/users/michielbdejong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michielbdejong/subscriptions","organizations_url":"https://api.github.com/users/michielbdejong/orgs","repos_url":"https://api.github.com/users/michielbdejong/repos","events_url":"https://api.github.com/users/michielbdejong/events{/privacy}","received_events_url":"https://api.github.com/users/michielbdejong/received_events","type":"User","site_admin":false},"created_at":"2016-04-07T07:24:10Z","updated_at":"2016-04-07T07:24:10Z","body":"Once that (for privacy and resilience reasons) don't rely on fxbox/dns-server, fxbox/registration_server, and LetsEncrypt. They will announce their presence using just mDNS on the local network (nothing gets published over the public internet), and use a self-signed cert for https://foxbox-1.local, which has not been signed by any CA."}}