{"action":"created","issue":{"url":"https://api.github.com/repos/CruCentralCoast/CruiOS/issues/139","repository_url":"https://api.github.com/repos/CruCentralCoast/CruiOS","labels_url":"https://api.github.com/repos/CruCentralCoast/CruiOS/issues/139/labels{/name}","comments_url":"https://api.github.com/repos/CruCentralCoast/CruiOS/issues/139/comments","events_url":"https://api.github.com/repos/CruCentralCoast/CruiOS/issues/139/events","html_url":"https://github.com/CruCentralCoast/CruiOS/issues/139","id":262982279,"number":139,"title":"FCM: Add device type","user":{"login":"fedorareis","id":6193007,"avatar_url":"https://avatars2.githubusercontent.com/u/6193007?v=4","gravatar_id":"","url":"https://api.github.com/users/fedorareis","html_url":"https://github.com/fedorareis","followers_url":"https://api.github.com/users/fedorareis/followers","following_url":"https://api.github.com/users/fedorareis/following{/other_user}","gists_url":"https://api.github.com/users/fedorareis/gists{/gist_id}","starred_url":"https://api.github.com/users/fedorareis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fedorareis/subscriptions","organizations_url":"https://api.github.com/users/fedorareis/orgs","repos_url":"https://api.github.com/users/fedorareis/repos","events_url":"https://api.github.com/users/fedorareis/events{/privacy}","received_events_url":"https://api.github.com/users/fedorareis/received_events","type":"User","site_admin":false},"labels":[{"id":657345769,"url":"https://api.github.com/repos/CruCentralCoast/CruiOS/labels/Priority:%20Critical","name":"Priority: Critical","color":"b60205","default":false},{"id":394437502,"url":"https://api.github.com/repos/CruCentralCoast/CruiOS/labels/Type:%20Improvement","name":"Type: Improvement","color":"66a229","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/CruCentralCoast/CruiOS/milestones/1","html_url":"https://github.com/CruCentralCoast/CruiOS/milestone/1","labels_url":"https://api.github.com/repos/CruCentralCoast/CruiOS/milestones/1/labels","id":2776041,"number":1,"title":"1.4 Release","description":"","creator":{"login":"tydahlwave","id":4985998,"avatar_url":"https://avatars1.githubusercontent.com/u/4985998?v=4","gravatar_id":"","url":"https://api.github.com/users/tydahlwave","html_url":"https://github.com/tydahlwave","followers_url":"https://api.github.com/users/tydahlwave/followers","following_url":"https://api.github.com/users/tydahlwave/following{/other_user}","gists_url":"https://api.github.com/users/tydahlwave/gists{/gist_id}","starred_url":"https://api.github.com/users/tydahlwave/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tydahlwave/subscriptions","organizations_url":"https://api.github.com/users/tydahlwave/orgs","repos_url":"https://api.github.com/users/tydahlwave/repos","events_url":"https://api.github.com/users/tydahlwave/events{/privacy}","received_events_url":"https://api.github.com/users/tydahlwave/received_events","type":"User","site_admin":false},"open_issues":12,"closed_issues":64,"state":"open","created_at":"2017-09-18T23:54:54Z","updated_at":"2017-10-06T21:38:33Z","due_on":"2017-09-25T07:00:00Z","closed_at":null},"comments":0,"created_at":"2017-10-05T01:51:45Z","updated_at":"2017-10-06T21:42:56Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"Everywhere in the app that an FCM token is uploaded to the server a device type needs to be selected. The device type should be \"iPhone\". I don't know if it makes a difference but the field on the server is a Selection field. The three models that need this information are User, Ride, and Passenger."},"comment":{"url":"https://api.github.com/repos/CruCentralCoast/CruiOS/issues/comments/334877350","html_url":"https://github.com/CruCentralCoast/CruiOS/issues/139#issuecomment-334877350","issue_url":"https://api.github.com/repos/CruCentralCoast/CruiOS/issues/139","id":334877350,"user":{"login":"fedorareis","id":6193007,"avatar_url":"https://avatars2.githubusercontent.com/u/6193007?v=4","gravatar_id":"","url":"https://api.github.com/users/fedorareis","html_url":"https://github.com/fedorareis","followers_url":"https://api.github.com/users/fedorareis/followers","following_url":"https://api.github.com/users/fedorareis/following{/other_user}","gists_url":"https://api.github.com/users/fedorareis/gists{/gist_id}","starred_url":"https://api.github.com/users/fedorareis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fedorareis/subscriptions","organizations_url":"https://api.github.com/users/fedorareis/orgs","repos_url":"https://api.github.com/users/fedorareis/repos","events_url":"https://api.github.com/users/fedorareis/events{/privacy}","received_events_url":"https://api.github.com/users/fedorareis/received_events","type":"User","site_admin":false},"created_at":"2017-10-06T21:42:56Z","updated_at":"2017-10-06T21:42:56Z","author_association":"CONTRIBUTOR","body":"After talking with @kyle-fletcher I am bumping this to critical and making it part of the 1.4 milestone. The Android app is almost ready for an initial release also and as such we will need to start handling push notifications based on device type. This means we need this data for all users and will be required sooner than later. Once the change is in place device type will be made a required field on the server per CruCentralCoast/Keystone#33"}}
{"actor":{"display_login":"fedorareis"}}