{"action":"created","issue":{"url":"https://api.github.com/repos/Freeyourgadget/Gadgetbridge/issues/130","labels_url":"https://api.github.com/repos/Freeyourgadget/Gadgetbridge/issues/130/labels{/name}","comments_url":"https://api.github.com/repos/Freeyourgadget/Gadgetbridge/issues/130/comments","events_url":"https://api.github.com/repos/Freeyourgadget/Gadgetbridge/issues/130/events","html_url":"https://github.com/Freeyourgadget/Gadgetbridge/issues/130","id":108522911,"number":130,"title":"Pebble: Support reporting connection state to PebbleKit Apps","user":{"login":"ashimokawa","id":1254676,"avatar_url":"https://avatars.githubusercontent.com/u/1254676?v=3","gravatar_id":"","url":"https://api.github.com/users/ashimokawa","html_url":"https://github.com/ashimokawa","followers_url":"https://api.github.com/users/ashimokawa/followers","following_url":"https://api.github.com/users/ashimokawa/following{/other_user}","gists_url":"https://api.github.com/users/ashimokawa/gists{/gist_id}","starred_url":"https://api.github.com/users/ashimokawa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ashimokawa/subscriptions","organizations_url":"https://api.github.com/users/ashimokawa/orgs","repos_url":"https://api.github.com/users/ashimokawa/repos","events_url":"https://api.github.com/users/ashimokawa/events{/privacy}","received_events_url":"https://api.github.com/users/ashimokawa/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Freeyourgadget/Gadgetbridge/labels/pebble","name":"pebble","color":"fef2c0"}],"state":"open","locked":false,"assignee":{"login":"ashimokawa","id":1254676,"avatar_url":"https://avatars.githubusercontent.com/u/1254676?v=3","gravatar_id":"","url":"https://api.github.com/users/ashimokawa","html_url":"https://github.com/ashimokawa","followers_url":"https://api.github.com/users/ashimokawa/followers","following_url":"https://api.github.com/users/ashimokawa/following{/other_user}","gists_url":"https://api.github.com/users/ashimokawa/gists{/gist_id}","starred_url":"https://api.github.com/users/ashimokawa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ashimokawa/subscriptions","organizations_url":"https://api.github.com/users/ashimokawa/orgs","repos_url":"https://api.github.com/users/ashimokawa/repos","events_url":"https://api.github.com/users/ashimokawa/events{/privacy}","received_events_url":"https://api.github.com/users/ashimokawa/received_events","type":"User","site_admin":false},"milestone":null,"comments":3,"created_at":"2015-09-27T08:51:20Z","updated_at":"2015-10-02T14:12:33Z","closed_at":null,"body":"Some PebbleKit Apps such as \"Canvas for Pebble\" and \"Push to Pebble\" (any FOSS Apps???) request connection state though a content provider for which the official Pebble App is the authority.\r\n\r\nTo make them work, we must become the content authority for com.getpebble.android.state or com.getpebble.android.basalt.state which unfortunately would make Gadgetbridge mutual exclusive with the official Pebble App. While I personally don't care, it might scare off new users wanting to try both.\r\n\r\nAn alternative solution suggested by @danielegobbetti would be to build a new optional App which contains only the content authority and would communicate with Gadgetbridge. That App would also be mutual exclusive with the official App. That way users could choose to have Gadgetbridge with limited PebbleKit support (like it is now), or full support when removing the official App in favour of the optional to be created addon App."},"comment":{"url":"https://api.github.com/repos/Freeyourgadget/Gadgetbridge/issues/comments/145032421","html_url":"https://github.com/Freeyourgadget/Gadgetbridge/issues/130#issuecomment-145032421","issue_url":"https://api.github.com/repos/Freeyourgadget/Gadgetbridge/issues/130","id":145032421,"user":{"login":"glitchphan","id":14065496,"avatar_url":"https://avatars.githubusercontent.com/u/14065496?v=3","gravatar_id":"","url":"https://api.github.com/users/glitchphan","html_url":"https://github.com/glitchphan","followers_url":"https://api.github.com/users/glitchphan/followers","following_url":"https://api.github.com/users/glitchphan/following{/other_user}","gists_url":"https://api.github.com/users/glitchphan/gists{/gist_id}","starred_url":"https://api.github.com/users/glitchphan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/glitchphan/subscriptions","organizations_url":"https://api.github.com/users/glitchphan/orgs","repos_url":"https://api.github.com/users/glitchphan/repos","events_url":"https://api.github.com/users/glitchphan/events{/privacy}","received_events_url":"https://api.github.com/users/glitchphan/received_events","type":"User","site_admin":false},"created_at":"2015-10-02T14:12:33Z","updated_at":"2015-10-02T14:12:33Z","body":"Oops, you are right, only decline button."}}