{"action":"created","issue":{"url":"https://api.github.com/repos/MCMrARM/revolution-irc/issues/9","repository_url":"https://api.github.com/repos/MCMrARM/revolution-irc","labels_url":"https://api.github.com/repos/MCMrARM/revolution-irc/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/MCMrARM/revolution-irc/issues/9/comments","events_url":"https://api.github.com/repos/MCMrARM/revolution-irc/issues/9/events","html_url":"https://github.com/MCMrARM/revolution-irc/issues/9","id":262548913,"node_id":"MDU6SXNzdWUyNjI1NDg5MTM=","number":9,"title":"Target Android O","user":{"login":"MCMrARM","id":5191659,"node_id":"MDQ6VXNlcjUxOTE2NTk=","avatar_url":"https://avatars2.githubusercontent.com/u/5191659?v=4","gravatar_id":"","url":"https://api.github.com/users/MCMrARM","html_url":"https://github.com/MCMrARM","followers_url":"https://api.github.com/users/MCMrARM/followers","following_url":"https://api.github.com/users/MCMrARM/following{/other_user}","gists_url":"https://api.github.com/users/MCMrARM/gists{/gist_id}","starred_url":"https://api.github.com/users/MCMrARM/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MCMrARM/subscriptions","organizations_url":"https://api.github.com/users/MCMrARM/orgs","repos_url":"https://api.github.com/users/MCMrARM/repos","events_url":"https://api.github.com/users/MCMrARM/events{/privacy}","received_events_url":"https://api.github.com/users/MCMrARM/received_events","type":"User","site_admin":false},"labels":[{"id":672321996,"node_id":"MDU6TGFiZWw2NzIzMjE5OTY=","url":"https://api.github.com/repos/MCMrARM/revolution-irc/labels/enhancement","name":"enhancement","color":"84b6eb","default":true},{"id":709805417,"node_id":"MDU6TGFiZWw3MDk4MDU0MTc=","url":"https://api.github.com/repos/MCMrARM/revolution-irc/labels/low%20priority","name":"low priority","color":"bfdadc","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":19,"created_at":"2017-10-03T19:04:04Z","updated_at":"2018-06-25T21:23:11Z","closed_at":null,"author_association":"OWNER","body":"I'd really love to target Android O instead of N but the new notification channel system introduced in O has a fundamental flaw that makes it harder for this application to adapt it.\r\nAfter creating a notification channel you can't change it in an way. To make things even worse, the channel is stored on the device forever and even if you delete and recreate it, it's settings will be restored. The recommended (and in fact, the only) way to change settings is to direct the user to the Settings app and let user manage the channel options there. But, you can't change the LED color or vibration pattern settings in that menu. The new Settings interface is way more annoying for the user, as currently the options are easily accessible under the notification options in the app and this would require adding an ugly link to go to settings to change those.\r\n\r\nSolutions I can think of:\r\n1. Wait for the next Android release, hope that it becomes more advanced (why do I doubt that...) and then make some sort of a broken Android O support workaround while properly supporting the next release.\r\n2. Create a new unique notification channel every time the settings are changed. Con: we waste a small amount of storage each time.\r\n3. Use the NotificationListenerService to edit the channels. Con: requires to be enabled manually by the user in settings, and can be suspicious as it gives the app full notification access."},"comment":{"url":"https://api.github.com/repos/MCMrARM/revolution-irc/issues/comments/400100237","html_url":"https://github.com/MCMrARM/revolution-irc/issues/9#issuecomment-400100237","issue_url":"https://api.github.com/repos/MCMrARM/revolution-irc/issues/9","id":400100237,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMDEwMDIzNw==","user":{"login":"MCMrARM","id":5191659,"node_id":"MDQ6VXNlcjUxOTE2NTk=","avatar_url":"https://avatars2.githubusercontent.com/u/5191659?v=4","gravatar_id":"","url":"https://api.github.com/users/MCMrARM","html_url":"https://github.com/MCMrARM","followers_url":"https://api.github.com/users/MCMrARM/followers","following_url":"https://api.github.com/users/MCMrARM/following{/other_user}","gists_url":"https://api.github.com/users/MCMrARM/gists{/gist_id}","starred_url":"https://api.github.com/users/MCMrARM/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MCMrARM/subscriptions","organizations_url":"https://api.github.com/users/MCMrARM/orgs","repos_url":"https://api.github.com/users/MCMrARM/repos","events_url":"https://api.github.com/users/MCMrARM/events{/privacy}","received_events_url":"https://api.github.com/users/MCMrARM/received_events","type":"User","site_admin":false},"created_at":"2018-06-25T21:23:11Z","updated_at":"2018-06-25T21:23:11Z","author_association":"OWNER","body":"Also, as for guidelines. It's guidelines, as in the clues you should follow in most of the cases. However, if you have got a good reason to, it's alright to make an exception. I believe in this case, in-app notification settings are fully fine."}}
{"actor":{"display_login":"MCMrARM"}}