{"action":"created","issue":{"url":"https://api.github.com/repos/JavaJens/TextSecure/issues/40","labels_url":"https://api.github.com/repos/JavaJens/TextSecure/issues/40/labels{/name}","comments_url":"https://api.github.com/repos/JavaJens/TextSecure/issues/40/comments","events_url":"https://api.github.com/repos/JavaJens/TextSecure/issues/40/events","html_url":"https://github.com/JavaJens/TextSecure/pull/40","id":110033066,"number":40,"title":"Make FORCE_WEBSOCKETS option configurable at runtime (not build-time)","user":{"login":"xmikos","id":3603985,"avatar_url":"https://avatars.githubusercontent.com/u/3603985?v=3","gravatar_id":"","url":"https://api.github.com/users/xmikos","html_url":"https://github.com/xmikos","followers_url":"https://api.github.com/users/xmikos/followers","following_url":"https://api.github.com/users/xmikos/following{/other_user}","gists_url":"https://api.github.com/users/xmikos/gists{/gist_id}","starred_url":"https://api.github.com/users/xmikos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xmikos/subscriptions","organizations_url":"https://api.github.com/users/xmikos/orgs","repos_url":"https://api.github.com/users/xmikos/repos","events_url":"https://api.github.com/users/xmikos/events{/privacy}","received_events_url":"https://api.github.com/users/xmikos/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":17,"created_at":"2015-10-06T15:19:53Z","updated_at":"2015-11-11T16:58:15Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/JavaJens/TextSecure/pulls/40","html_url":"https://github.com/JavaJens/TextSecure/pull/40","diff_url":"https://github.com/JavaJens/TextSecure/pull/40.diff","patch_url":"https://github.com/JavaJens/TextSecure/pull/40.patch"},"body":"This is simple change that will make it possible to use WebSocket instead of GCM even on devices which _have_ Google Play Services installed. Now it is needed to maintain two builds (one with FORCE_WEBSOCKETS build-time option enabled and one without it) for this purposes, this would make only one universal build sufficient.\r\n\r\nYou will find the _Force WebSocket_ option in Advanced Settings."},"comment":{"url":"https://api.github.com/repos/JavaJens/TextSecure/issues/comments/155846067","html_url":"https://github.com/JavaJens/TextSecure/pull/40#issuecomment-155846067","issue_url":"https://api.github.com/repos/JavaJens/TextSecure/issues/40","id":155846067,"user":{"login":"mimi89999","id":8530546,"avatar_url":"https://avatars.githubusercontent.com/u/8530546?v=3","gravatar_id":"","url":"https://api.github.com/users/mimi89999","html_url":"https://github.com/mimi89999","followers_url":"https://api.github.com/users/mimi89999/followers","following_url":"https://api.github.com/users/mimi89999/following{/other_user}","gists_url":"https://api.github.com/users/mimi89999/gists{/gist_id}","starred_url":"https://api.github.com/users/mimi89999/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mimi89999/subscriptions","organizations_url":"https://api.github.com/users/mimi89999/orgs","repos_url":"https://api.github.com/users/mimi89999/repos","events_url":"https://api.github.com/users/mimi89999/events{/privacy}","received_events_url":"https://api.github.com/users/mimi89999/received_events","type":"User","site_admin":false},"created_at":"2015-11-11T16:58:15Z","updated_at":"2015-11-11T16:58:15Z","body":"What I wanted to say is that it would be great to allow users to change from GCM to WebSocket and vice-versa (for various reason: privacy, comparing performance) without having to rebuild the app."}}