{"action":"created","issue":{"url":"https://api.github.com/repos/electron/electron/issues/9162","repository_url":"https://api.github.com/repos/electron/electron","labels_url":"https://api.github.com/repos/electron/electron/issues/9162/labels{/name}","comments_url":"https://api.github.com/repos/electron/electron/issues/9162/comments","events_url":"https://api.github.com/repos/electron/electron/issues/9162/events","html_url":"https://github.com/electron/electron/issues/9162","id":220926382,"number":9162,"title":"Android support","user":{"login":"brysgo","id":57716,"avatar_url":"https://avatars0.githubusercontent.com/u/57716?v=3","gravatar_id":"","url":"https://api.github.com/users/brysgo","html_url":"https://github.com/brysgo","followers_url":"https://api.github.com/users/brysgo/followers","following_url":"https://api.github.com/users/brysgo/following{/other_user}","gists_url":"https://api.github.com/users/brysgo/gists{/gist_id}","starred_url":"https://api.github.com/users/brysgo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brysgo/subscriptions","organizations_url":"https://api.github.com/users/brysgo/orgs","repos_url":"https://api.github.com/users/brysgo/repos","events_url":"https://api.github.com/users/brysgo/events{/privacy}","received_events_url":"https://api.github.com/users/brysgo/received_events","type":"User","site_admin":false},"labels":[{"id":533517500,"url":"https://api.github.com/repos/electron/electron/labels/triage/discussion","name":"triage/discussion","color":"fef2c0","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2017-04-11T11:53:41Z","updated_at":"2017-05-04T17:23:12Z","closed_at":null,"body":"I totally understand why #562 was closed, but with android apps making their way to chromebooks, I think the android question should be reopened (given their [popularity](http://www.theverge.com/2016/5/19/11711714/chromebooks-outsold-macs-us-idc-figures)).\r\n\r\nWith tighter security through app sandboxing and fine grained permissions, mobile operating systems are an obvious choice for the future of desktops and laptops. While this will no doubt complicate our development environments a bit, it seems like bringing over extensible code editors/IDEs (at least a couple of which are written in electron) would be an obvious place to start."},"comment":{"url":"https://api.github.com/repos/electron/electron/issues/comments/299252595","html_url":"https://github.com/electron/electron/issues/9162#issuecomment-299252595","issue_url":"https://api.github.com/repos/electron/electron/issues/9162","id":299252595,"user":{"login":"brysgo","id":57716,"avatar_url":"https://avatars0.githubusercontent.com/u/57716?v=3","gravatar_id":"","url":"https://api.github.com/users/brysgo","html_url":"https://github.com/brysgo","followers_url":"https://api.github.com/users/brysgo/followers","following_url":"https://api.github.com/users/brysgo/following{/other_user}","gists_url":"https://api.github.com/users/brysgo/gists{/gist_id}","starred_url":"https://api.github.com/users/brysgo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brysgo/subscriptions","organizations_url":"https://api.github.com/users/brysgo/orgs","repos_url":"https://api.github.com/users/brysgo/repos","events_url":"https://api.github.com/users/brysgo/events{/privacy}","received_events_url":"https://api.github.com/users/brysgo/received_events","type":"User","site_admin":false},"created_at":"2017-05-04T17:23:12Z","updated_at":"2017-05-04T17:23:12Z","body":"> Part of the problem is that much of the native functionality can't be abstracted out to a common interface without severely limiting desktop . For example, when it comes to file systems on mobile, file access varies so it's already had to be simplified to abstract out the differences between iOS/Android. In electron you can prompt the user for a save location with a dialog and save literally anywhere you have permissions. iOS doesn't have a file browser as app files are segregated per app. If you do try and abstract it out for electron too, you're either severely limiting desktop functionality or you have more than 1 API, and then you're back where you started.\r\n\r\nJust because the action of selecting a file is different on both platforms, doesn't mean they couldn't have a unified API. For instance, if you had your file prompt include a recommended location, the file picker could use that location on desktop to start at, but automatically choose the location on mobile.\r\n> \r\n> Cordova already has as cli which does this and they now support Windows/OSX/Ubuntu as targets. However, plugins will only work if the plugin maintainer has added code for these platforms. Where they have, you will generally find that the API's are based around the least flexible platform (usually iOS) and this is the limiting factor.\r\n\r\nI am much more a fan of the graceful degradation approach than being limited by the weakest link."}}
{"actor":{"display_login":"brysgo"}}