{"action":"created","issue":{"url":"https://api.github.com/repos/HaxeFlixel/flixel/issues/1852","repository_url":"https://api.github.com/repos/HaxeFlixel/flixel","labels_url":"https://api.github.com/repos/HaxeFlixel/flixel/issues/1852/labels{/name}","comments_url":"https://api.github.com/repos/HaxeFlixel/flixel/issues/1852/comments","events_url":"https://api.github.com/repos/HaxeFlixel/flixel/issues/1852/events","html_url":"https://github.com/HaxeFlixel/flixel/issues/1852","id":154738228,"number":1852,"title":"Auto fullscreen on non-desktop platforms","user":{"login":"buckle2000","id":10850402,"avatar_url":"https://avatars.githubusercontent.com/u/10850402?v=3","gravatar_id":"","url":"https://api.github.com/users/buckle2000","html_url":"https://github.com/buckle2000","followers_url":"https://api.github.com/users/buckle2000/followers","following_url":"https://api.github.com/users/buckle2000/following{/other_user}","gists_url":"https://api.github.com/users/buckle2000/gists{/gist_id}","starred_url":"https://api.github.com/users/buckle2000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/buckle2000/subscriptions","organizations_url":"https://api.github.com/users/buckle2000/orgs","repos_url":"https://api.github.com/users/buckle2000/repos","events_url":"https://api.github.com/users/buckle2000/events{/privacy}","received_events_url":"https://api.github.com/users/buckle2000/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-05-13T15:26:07Z","updated_at":"2016-05-13T16:10:36Z","closed_at":null,"body":"see [here](https://github.com/HaxeFlixel/flixel/blob/dev/flixel/FlxGame.hx#L178) and [here](https://github.com/HaxeFlixel/flixel/blob/dev/flixel/FlxGame.hx#L236)\r\nI tested on flash using debug flash player and it worked (get fullscreen)\r\nuse `FlxG.stage.allowsFullScreen` to check fullscreen support rather than `#if desktop`?\r\n\r\n<bountysource-plugin>\r\n---\r\nWant to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/34203586-auto-fullscreen-on-non-desktop-platforms?utm_campaign=plugin&utm_content=tracker%2F254189&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F254189&utm_medium=issues&utm_source=github).\r\n</bountysource-plugin>"},"comment":{"url":"https://api.github.com/repos/HaxeFlixel/flixel/issues/comments/219088478","html_url":"https://github.com/HaxeFlixel/flixel/issues/1852#issuecomment-219088478","issue_url":"https://api.github.com/repos/HaxeFlixel/flixel/issues/1852","id":219088478,"user":{"login":"buckle2000","id":10850402,"avatar_url":"https://avatars.githubusercontent.com/u/10850402?v=3","gravatar_id":"","url":"https://api.github.com/users/buckle2000","html_url":"https://github.com/buckle2000","followers_url":"https://api.github.com/users/buckle2000/followers","following_url":"https://api.github.com/users/buckle2000/following{/other_user}","gists_url":"https://api.github.com/users/buckle2000/gists{/gist_id}","starred_url":"https://api.github.com/users/buckle2000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/buckle2000/subscriptions","organizations_url":"https://api.github.com/users/buckle2000/orgs","repos_url":"https://api.github.com/users/buckle2000/repos","events_url":"https://api.github.com/users/buckle2000/events{/privacy}","received_events_url":"https://api.github.com/users/buckle2000/received_events","type":"User","site_admin":false},"created_at":"2016-05-13T16:10:36Z","updated_at":"2016-05-13T16:10:36Z","body":"Also, `FlxG.scaleMode.scale`, `FlxG.scaleMode.deviceSize` and `FlxG.scaleMode.offset` remain the same value after `FlxG.fullscreen = true`"}}