{"action":"created","issue":{"url":"https://api.github.com/repos/flutter/flutter/issues/25659","repository_url":"https://api.github.com/repos/flutter/flutter","labels_url":"https://api.github.com/repos/flutter/flutter/issues/25659/labels{/name}","comments_url":"https://api.github.com/repos/flutter/flutter/issues/25659/comments","events_url":"https://api.github.com/repos/flutter/flutter/issues/25659/events","html_url":"https://github.com/flutter/flutter/issues/25659","id":393463159,"node_id":"MDU6SXNzdWUzOTM0NjMxNTk=","number":25659,"title":"Android support for content:// uri in the File class.","user":{"login":"andyduke","id":52318,"node_id":"MDQ6VXNlcjUyMzE4","avatar_url":"https://avatars1.githubusercontent.com/u/52318?v=4","gravatar_id":"","url":"https://api.github.com/users/andyduke","html_url":"https://github.com/andyduke","followers_url":"https://api.github.com/users/andyduke/followers","following_url":"https://api.github.com/users/andyduke/following{/other_user}","gists_url":"https://api.github.com/users/andyduke/gists{/gist_id}","starred_url":"https://api.github.com/users/andyduke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andyduke/subscriptions","organizations_url":"https://api.github.com/users/andyduke/orgs","repos_url":"https://api.github.com/users/andyduke/repos","events_url":"https://api.github.com/users/andyduke/events{/privacy}","received_events_url":"https://api.github.com/users/andyduke/received_events","type":"User","site_admin":false},"labels":[{"id":527275775,"node_id":"MDU6TGFiZWw1MjcyNzU3NzU=","url":"https://api.github.com/repos/flutter/flutter/labels/p:%20first%20party","name":"p: first party","color":"fbca04","default":false},{"id":284439562,"node_id":"MDU6TGFiZWwyODQ0Mzk1NjI=","url":"https://api.github.com/repos/flutter/flutter/labels/plugin","name":"plugin","color":"fbca04","default":false},{"id":283479235,"node_id":"MDU6TGFiZWwyODM0NzkyMzU=","url":"https://api.github.com/repos/flutter/flutter/labels/severe:%20new%20feature","name":"severe: new feature","color":"ffff00","default":false},{"id":730779154,"node_id":"MDU6TGFiZWw3MzA3NzkxNTQ=","url":"https://api.github.com/repos/flutter/flutter/labels/would%20be%20a%20good%20package","name":"would be a good package","color":"000000","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/flutter/flutter/milestones/10","html_url":"https://github.com/flutter/flutter/milestone/10","labels_url":"https://api.github.com/repos/flutter/flutter/milestones/10/labels","id":1594868,"node_id":"MDk6TWlsZXN0b25lMTU5NDg2OA==","number":10,"title":"Future","description":"P4: These are for features we are interested in but explicitly punting for the foreseeable future. Typically this is for features that go beyond the scope of our initial goal of having a solid UI framework for making applications for Android and iOS phones and tablets. We are extremely unlikely to work on issues in this milestone.\r\n\r\nThe date on this milestone is utterly arbitrary and just intended to sort the milestone appropriately.","creator":{"login":"Hixie","id":551196,"node_id":"MDQ6VXNlcjU1MTE5Ng==","avatar_url":"https://avatars2.githubusercontent.com/u/551196?v=4","gravatar_id":"","url":"https://api.github.com/users/Hixie","html_url":"https://github.com/Hixie","followers_url":"https://api.github.com/users/Hixie/followers","following_url":"https://api.github.com/users/Hixie/following{/other_user}","gists_url":"https://api.github.com/users/Hixie/gists{/gist_id}","starred_url":"https://api.github.com/users/Hixie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hixie/subscriptions","organizations_url":"https://api.github.com/users/Hixie/orgs","repos_url":"https://api.github.com/users/Hixie/repos","events_url":"https://api.github.com/users/Hixie/events{/privacy}","received_events_url":"https://api.github.com/users/Hixie/received_events","type":"User","site_admin":false},"open_issues":153,"closed_issues":87,"state":"open","created_at":"2016-02-20T17:00:30Z","updated_at":"2018-12-21T15:23:11Z","due_on":"2033-01-01T08:00:00Z","closed_at":null},"comments":1,"created_at":"2018-12-21T13:42:23Z","updated_at":"2018-12-23T18:38:34Z","closed_at":null,"author_association":"NONE","body":"Flutter does not support content:// uri in Android. I cannot use such a uri in the File class to read the attached file in Gmail (for example, when opening an attached file from an email through a flutter application via deep linking).\r\n\r\nYou can write a plugin that will read files at such a URI, but this will not be a cross-platform code, since you will have to remember that in Android, content:// uri files must be read through the plugin, and in iOS via File class.\r\n\r\nIt would be nice to support this type of uri in the File class on Android."},"comment":{"url":"https://api.github.com/repos/flutter/flutter/issues/comments/449655859","html_url":"https://github.com/flutter/flutter/issues/25659#issuecomment-449655859","issue_url":"https://api.github.com/repos/flutter/flutter/issues/25659","id":449655859,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0OTY1NTg1OQ==","user":{"login":"andyduke","id":52318,"node_id":"MDQ6VXNlcjUyMzE4","avatar_url":"https://avatars1.githubusercontent.com/u/52318?v=4","gravatar_id":"","url":"https://api.github.com/users/andyduke","html_url":"https://github.com/andyduke","followers_url":"https://api.github.com/users/andyduke/followers","following_url":"https://api.github.com/users/andyduke/following{/other_user}","gists_url":"https://api.github.com/users/andyduke/gists{/gist_id}","starred_url":"https://api.github.com/users/andyduke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andyduke/subscriptions","organizations_url":"https://api.github.com/users/andyduke/orgs","repos_url":"https://api.github.com/users/andyduke/repos","events_url":"https://api.github.com/users/andyduke/events{/privacy}","received_events_url":"https://api.github.com/users/andyduke/received_events","type":"User","site_admin":false},"created_at":"2018-12-23T18:38:34Z","updated_at":"2018-12-23T18:38:34Z","author_association":"NONE","body":"> > You can write a plugin that will read files at such a URI, but this will not be a cross-platform code,\r\n> \r\n> That's common that the platform implementation between Android and iOS are different.\r\n> Why do you think that would be a problem in this case?\r\n\r\nBecause you have to check the platform in the dart-code, and read the file differently on different platforms. What is the advantage of Flutter then? After all, this difference can be hidden inside the file management classes."}}
{"actor":{"display_login":"andyduke"}}