{"action":"created","issue":{"url":"https://api.github.com/repos/crosswalk-project/crosswalk/issues/2921","labels_url":"https://api.github.com/repos/crosswalk-project/crosswalk/issues/2921/labels{/name}","comments_url":"https://api.github.com/repos/crosswalk-project/crosswalk/issues/2921/comments","events_url":"https://api.github.com/repos/crosswalk-project/crosswalk/issues/2921/events","html_url":"https://github.com/crosswalk-project/crosswalk/pull/2921","id":64141177,"number":2921,"title":"[Android] Configure download url of crosswalk library apk","user":{"login":"lincsoon","id":1285835,"avatar_url":"https://avatars.githubusercontent.com/u/1285835?v=3","gravatar_id":"","url":"https://api.github.com/users/lincsoon","html_url":"https://github.com/lincsoon","followers_url":"https://api.github.com/users/lincsoon/followers","following_url":"https://api.github.com/users/lincsoon/following{/other_user}","gists_url":"https://api.github.com/users/lincsoon/gists{/gist_id}","starred_url":"https://api.github.com/users/lincsoon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lincsoon/subscriptions","organizations_url":"https://api.github.com/users/lincsoon/orgs","repos_url":"https://api.github.com/users/lincsoon/repos","events_url":"https://api.github.com/users/lincsoon/events{/privacy}","received_events_url":"https://api.github.com/users/lincsoon/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":12,"created_at":"2015-03-25T01:13:57Z","updated_at":"2015-03-26T03:07:15Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/crosswalk-project/crosswalk/pulls/2921","html_url":"https://github.com/crosswalk-project/crosswalk/pull/2921","diff_url":"https://github.com/crosswalk-project/crosswalk/pull/2921.diff","patch_url":"https://github.com/crosswalk-project/crosswalk/pull/2921.patch"},"body":"When crosswalk app running on shared mode, there's a built-in updater to help to download and update crosswalk library apk. By default, the updater will get library apk from Google Play Store.\r\n\r\nBy this feature, the developer of crosswalk app could self-deploy library apk according to their own requirements, and specify the download url of apk in the app. The updater will fetch the library apk using android download manager.\r\n\r\nSetup Method 1: define a meta-data item with the name of \"xwalk_apk_url\" under application tag in AndroidManifest.xml. For example,\r\n\r\n```\r\n<application android:name=\"org.xwalk.core.XWalkApplication\">\r\n    <meta-data android:name=\"xwalk_apk_url\"\r\n               android:value=\"http://host/XWalkRuntimeLib.apk\" />\r\n    ...\r\n</application>\r\n```\r\n\r\nSetup Method 2: use --xwalk-apk-url option for make_apk.py. For example,\r\n\r\n```\r\nmake_apk.py --xwalk-apk-url=http://host/XWalkRuntimeLib.apk ...\r\n```"},"comment":{"url":"https://api.github.com/repos/crosswalk-project/crosswalk/issues/comments/86317497","html_url":"https://github.com/crosswalk-project/crosswalk/pull/2921#issuecomment-86317497","issue_url":"https://api.github.com/repos/crosswalk-project/crosswalk/issues/2921","id":86317497,"user":{"login":"crosswalk-trybot","id":6804778,"avatar_url":"https://avatars.githubusercontent.com/u/6804778?v=3","gravatar_id":"","url":"https://api.github.com/users/crosswalk-trybot","html_url":"https://github.com/crosswalk-trybot","followers_url":"https://api.github.com/users/crosswalk-trybot/followers","following_url":"https://api.github.com/users/crosswalk-trybot/following{/other_user}","gists_url":"https://api.github.com/users/crosswalk-trybot/gists{/gist_id}","starred_url":"https://api.github.com/users/crosswalk-trybot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crosswalk-trybot/subscriptions","organizations_url":"https://api.github.com/users/crosswalk-trybot/orgs","repos_url":"https://api.github.com/users/crosswalk-trybot/repos","events_url":"https://api.github.com/users/crosswalk-trybot/events{/privacy}","received_events_url":"https://api.github.com/users/crosswalk-trybot/received_events","type":"User","site_admin":false},"created_at":"2015-03-26T03:07:15Z","updated_at":"2015-03-26T03:07:15Z","body":"The patch series with lincsoon/crosswalk@22287f1190f5aecff11a68144f27f3dc7b260933 as head will be tested soon."}}