{"action":"created","issue":{"url":"https://api.github.com/repos/clovisnicolas/flutter_lamp/issues/6","repository_url":"https://api.github.com/repos/clovisnicolas/flutter_lamp","labels_url":"https://api.github.com/repos/clovisnicolas/flutter_lamp/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/clovisnicolas/flutter_lamp/issues/6/comments","events_url":"https://api.github.com/repos/clovisnicolas/flutter_lamp/issues/6/events","html_url":"https://github.com/clovisnicolas/flutter_lamp/issues/6","id":347355518,"node_id":"MDU6SXNzdWUzNDczNTU1MTg=","number":6,"title":"Flashlight not working on Android","user":{"login":"AlexBacich","id":32237903,"node_id":"MDQ6VXNlcjMyMjM3OTAz","avatar_url":"https://avatars3.githubusercontent.com/u/32237903?v=4","gravatar_id":"","url":"https://api.github.com/users/AlexBacich","html_url":"https://github.com/AlexBacich","followers_url":"https://api.github.com/users/AlexBacich/followers","following_url":"https://api.github.com/users/AlexBacich/following{/other_user}","gists_url":"https://api.github.com/users/AlexBacich/gists{/gist_id}","starred_url":"https://api.github.com/users/AlexBacich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlexBacich/subscriptions","organizations_url":"https://api.github.com/users/AlexBacich/orgs","repos_url":"https://api.github.com/users/AlexBacich/repos","events_url":"https://api.github.com/users/AlexBacich/events{/privacy}","received_events_url":"https://api.github.com/users/AlexBacich/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-08-03T11:09:04Z","updated_at":"2019-01-02T15:22:05Z","closed_at":null,"author_association":"NONE","body":"Flash isn't working.\r\nTried to start on example - it gives an error: \r\n\r\nE/MethodChannel#github.com/clovisnicolas/flutter_lamp(31729): Failed to handle method call\r\nE/MethodChannel#github.com/clovisnicolas/flutter_lamp(31729): java.lang.RuntimeException: getParameters failed (empty parameters)\r\nE/MethodChannel#github.com/clovisnicolas/flutter_lamp(31729): \tat android.hardware.Camera.native_getParameters(Native Method)\r\nE/MethodChannel#github.com/clovisnicolas/flutter_lamp(31729): \tat android.hardware.Camera.getParameters(Camera.java:2027)\r\nE/MethodChannel#github.com/clovisnicolas/flutter_lamp(31729): \tat plugins.flutter.lamp.lamp.LampPlugin.turn(LampPlugin.java:63)\r\nE/MethodChannel#github.com/clovisnicolas/flutter_lamp(31729): \tat plugins.flutter.lamp.lamp.LampPlugin.onMethodCall(LampPlugin.java:34)\r\nE/MethodChannel#github.com/clovisnicolas/flutter_lamp(31729): \tat io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:191)\r\nE/MethodChannel#github.com/clovisnicolas/flutter_lamp(31729): \tat io.flutter.view.FlutterNativeView.handlePlatformMessage(FlutterNativeView.java:152)\r\nE/MethodChannel#github.com/clovisnicolas/flutter_lamp(31729): \tat android.os.MessageQueue.nativePollOnce(Native Method)\r\nE/MethodChannel#github.com/clovisnicolas/flutter_lamp(31729): \tat android.os.MessageQueue.next(MessageQueue.java:375)\r\nE/MethodChannel#github.com/clovisnicolas/flutter_lamp(31729): \tat android.os.Looper.loop(Looper.java:225)\r\nE/MethodChannel#github.com/clovisnicolas/flutter_lamp(31729): \tat android.app.ActivityThread.main(ActivityThread.java:6589)\r\nE/MethodChannel#github.com/clovisnicolas/flutter_lamp(31729): \tat java.lang.reflect.Method.invoke(Native Method)\r\nE/MethodChannel#github.com/clovisnicolas/flutter_lamp(31729): \tat com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:240)\r\nE/MethodChannel#github.com/clovisnicolas/flutter_lamp(31729): \tat com.android.internal.os.ZygoteInit.main(ZygoteInit.java:767)"},"comment":{"url":"https://api.github.com/repos/clovisnicolas/flutter_lamp/issues/comments/450891243","html_url":"https://github.com/clovisnicolas/flutter_lamp/issues/6#issuecomment-450891243","issue_url":"https://api.github.com/repos/clovisnicolas/flutter_lamp/issues/6","id":450891243,"node_id":"MDEyOklzc3VlQ29tbWVudDQ1MDg5MTI0Mw==","user":{"login":"markflarup","id":5603004,"node_id":"MDQ6VXNlcjU2MDMwMDQ=","avatar_url":"https://avatars1.githubusercontent.com/u/5603004?v=4","gravatar_id":"","url":"https://api.github.com/users/markflarup","html_url":"https://github.com/markflarup","followers_url":"https://api.github.com/users/markflarup/followers","following_url":"https://api.github.com/users/markflarup/following{/other_user}","gists_url":"https://api.github.com/users/markflarup/gists{/gist_id}","starred_url":"https://api.github.com/users/markflarup/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markflarup/subscriptions","organizations_url":"https://api.github.com/users/markflarup/orgs","repos_url":"https://api.github.com/users/markflarup/repos","events_url":"https://api.github.com/users/markflarup/events{/privacy}","received_events_url":"https://api.github.com/users/markflarup/received_events","type":"User","site_admin":false},"created_at":"2019-01-02T15:22:05Z","updated_at":"2019-01-02T15:22:05Z","author_association":"NONE","body":"I have tried to make this plugin work on a Nexus 5 running Nougat (7.1.2) without any luck. I have granted my application permissions to use the camera without affecting the outcome. The flash is working as I can toggle it from the dropdown menu. \r\nHowever, when I run it on a Oneplus5 with Oreo I can make it work. Has anybody else encountered a similar problem?\r\n\r\nThe only outcome I get in the terminal is the initial check: `I/flutter (16233): Device has flash ? true`\r\n\r\nI have specified version `lamp: 0.0.6` as dependency."}}
{"actor":{"display_login":"markflarup"}}