{"action":"created","issue":{"url":"https://api.github.com/repos/instructure/canvas-android/issues/408","repository_url":"https://api.github.com/repos/instructure/canvas-android","labels_url":"https://api.github.com/repos/instructure/canvas-android/issues/408/labels{/name}","comments_url":"https://api.github.com/repos/instructure/canvas-android/issues/408/comments","events_url":"https://api.github.com/repos/instructure/canvas-android/issues/408/events","html_url":"https://github.com/instructure/canvas-android/pull/408","id":532345517,"node_id":"MDExOlB1bGxSZXF1ZXN0MzQ4NjE0MjQx","number":408,"title":"[Flutter-Parent] Clean up api prefs to make it easier in tests","user":{"login":"CalvinKern","id":3641528,"node_id":"MDQ6VXNlcjM2NDE1Mjg=","avatar_url":"https://avatars2.githubusercontent.com/u/3641528?v=4","gravatar_id":"","url":"https://api.github.com/users/CalvinKern","html_url":"https://github.com/CalvinKern","followers_url":"https://api.github.com/users/CalvinKern/followers","following_url":"https://api.github.com/users/CalvinKern/following{/other_user}","gists_url":"https://api.github.com/users/CalvinKern/gists{/gist_id}","starred_url":"https://api.github.com/users/CalvinKern/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CalvinKern/subscriptions","organizations_url":"https://api.github.com/users/CalvinKern/orgs","repos_url":"https://api.github.com/users/CalvinKern/repos","events_url":"https://api.github.com/users/CalvinKern/events{/privacy}","received_events_url":"https://api.github.com/users/CalvinKern/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"JordanMarshall","id":6033874,"node_id":"MDQ6VXNlcjYwMzM4NzQ=","avatar_url":"https://avatars1.githubusercontent.com/u/6033874?v=4","gravatar_id":"","url":"https://api.github.com/users/JordanMarshall","html_url":"https://github.com/JordanMarshall","followers_url":"https://api.github.com/users/JordanMarshall/followers","following_url":"https://api.github.com/users/JordanMarshall/following{/other_user}","gists_url":"https://api.github.com/users/JordanMarshall/gists{/gist_id}","starred_url":"https://api.github.com/users/JordanMarshall/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JordanMarshall/subscriptions","organizations_url":"https://api.github.com/users/JordanMarshall/orgs","repos_url":"https://api.github.com/users/JordanMarshall/repos","events_url":"https://api.github.com/users/JordanMarshall/events{/privacy}","received_events_url":"https://api.github.com/users/JordanMarshall/received_events","type":"User","site_admin":false},"assignees":[{"login":"JordanMarshall","id":6033874,"node_id":"MDQ6VXNlcjYwMzM4NzQ=","avatar_url":"https://avatars1.githubusercontent.com/u/6033874?v=4","gravatar_id":"","url":"https://api.github.com/users/JordanMarshall","html_url":"https://github.com/JordanMarshall","followers_url":"https://api.github.com/users/JordanMarshall/followers","following_url":"https://api.github.com/users/JordanMarshall/following{/other_user}","gists_url":"https://api.github.com/users/JordanMarshall/gists{/gist_id}","starred_url":"https://api.github.com/users/JordanMarshall/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JordanMarshall/subscriptions","organizations_url":"https://api.github.com/users/JordanMarshall/orgs","repos_url":"https://api.github.com/users/JordanMarshall/repos","events_url":"https://api.github.com/users/JordanMarshall/events{/privacy}","received_events_url":"https://api.github.com/users/JordanMarshall/received_events","type":"User","site_admin":false}],"milestone":null,"comments":7,"created_at":"2019-12-03T23:51:12Z","updated_at":"2019-12-05T20:26:19Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/instructure/canvas-android/pulls/408","html_url":"https://github.com/instructure/canvas-android/pull/408","diff_url":"https://github.com/instructure/canvas-android/pull/408.diff","patch_url":"https://github.com/instructure/canvas-android/pull/408.patch"},"body":"This will let anything using TestApp automatically setup any platform views (PlatformInfo, SharedPrefs, WebView).\r\nThe method TestApp uses is available for any test (including non-widget tests), so calling `setupPlatformViews()` will set up everything that is necessary for platform bridging things. This was made to be configurable so things can be turned on/off as needed, and adding more platform type things should be straightforward."},"comment":{"url":"https://api.github.com/repos/instructure/canvas-android/issues/comments/562302906","html_url":"https://github.com/instructure/canvas-android/pull/408#issuecomment-562302906","issue_url":"https://api.github.com/repos/instructure/canvas-android/issues/408","id":562302906,"node_id":"MDEyOklzc3VlQ29tbWVudDU2MjMwMjkwNg==","user":{"login":"JordanMarshall","id":6033874,"node_id":"MDQ6VXNlcjYwMzM4NzQ=","avatar_url":"https://avatars1.githubusercontent.com/u/6033874?v=4","gravatar_id":"","url":"https://api.github.com/users/JordanMarshall","html_url":"https://github.com/JordanMarshall","followers_url":"https://api.github.com/users/JordanMarshall/followers","following_url":"https://api.github.com/users/JordanMarshall/following{/other_user}","gists_url":"https://api.github.com/users/JordanMarshall/gists{/gist_id}","starred_url":"https://api.github.com/users/JordanMarshall/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JordanMarshall/subscriptions","organizations_url":"https://api.github.com/users/JordanMarshall/orgs","repos_url":"https://api.github.com/users/JordanMarshall/repos","events_url":"https://api.github.com/users/JordanMarshall/events{/privacy}","received_events_url":"https://api.github.com/users/JordanMarshall/received_events","type":"User","site_admin":false},"created_at":"2019-12-05T20:26:19Z","updated_at":"2019-12-05T20:26:19Z","author_association":"CONTRIBUTOR","body":">  In place of checking initPrefs, we could just check if mockPrefs is not null (instead of empty)\r\n👍 Works for me"}}
{"actor":{"display_login":"JordanMarshall"}}