{"action":"created","issue":{"url":"https://api.github.com/repos/NativeScript/android-runtime/issues/730","repository_url":"https://api.github.com/repos/NativeScript/android-runtime","labels_url":"https://api.github.com/repos/NativeScript/android-runtime/issues/730/labels{/name}","comments_url":"https://api.github.com/repos/NativeScript/android-runtime/issues/730/comments","events_url":"https://api.github.com/repos/NativeScript/android-runtime/issues/730/events","html_url":"https://github.com/NativeScript/android-runtime/issues/730","id":215921595,"number":730,"title":"Shrink each Runtime sizes to ~3megs.  (Instant-Apps)","user":{"login":"NathanaelA","id":850871,"avatar_url":"https://avatars3.githubusercontent.com/u/850871?v=4","gravatar_id":"","url":"https://api.github.com/users/NathanaelA","html_url":"https://github.com/NathanaelA","followers_url":"https://api.github.com/users/NathanaelA/followers","following_url":"https://api.github.com/users/NathanaelA/following{/other_user}","gists_url":"https://api.github.com/users/NathanaelA/gists{/gist_id}","starred_url":"https://api.github.com/users/NathanaelA/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NathanaelA/subscriptions","organizations_url":"https://api.github.com/users/NathanaelA/orgs","repos_url":"https://api.github.com/users/NathanaelA/repos","events_url":"https://api.github.com/users/NathanaelA/events{/privacy}","received_events_url":"https://api.github.com/users/NathanaelA/received_events","type":"User","site_admin":false},"labels":[{"id":213419078,"url":"https://api.github.com/repos/NativeScript/android-runtime/labels/T:Feature","name":"T:Feature","color":"bfe5bf","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-03-22T00:47:48Z","updated_at":"2017-07-24T10:38:05Z","closed_at":"2017-07-24T10:38:05Z","body":"Are there any steps we can take to aggressively shrink the runtime sizes at all?   \r\n\r\nI was looking into google Instant-Apps and they have the requirement that they MUST be < 4Megs in size.   -- https://developer.android.com/topic/instant-apps/prepare.html\r\n\r\nBy splitting the app into separate runtimes; the basic Arm version we might be able to squeeze under the 4m size, not 100% sure as classes.dex and the code modules would probably take up more than the additional 200k of space that would be currently available -- it would be a very tight squeeze.   However, x86 and the Arm64 the runtimes themselves are currently each > 4megs.    \r\n\r\nSo Android team, any thoughts on what might be able to be done to shrink the compiled runtimes.   Are they compiled for size or speed; any debug code that we can strip out?   \r\n \r\nAny thoughts?    This just might not be doable by NS;  but it would be a cool feature if we could do it...\r\n\r\nI should probably note; these runtimes could be specific for IA apps...   So we could take shortcuts or disable certain functionality that is needed for general usage.."},"comment":{"url":"https://api.github.com/repos/NativeScript/android-runtime/issues/comments/317384429","html_url":"https://github.com/NativeScript/android-runtime/issues/730#issuecomment-317384429","issue_url":"https://api.github.com/repos/NativeScript/android-runtime/issues/730","id":317384429,"user":{"login":"Plamen5kov","id":5918351,"avatar_url":"https://avatars3.githubusercontent.com/u/5918351?v=4","gravatar_id":"","url":"https://api.github.com/users/Plamen5kov","html_url":"https://github.com/Plamen5kov","followers_url":"https://api.github.com/users/Plamen5kov/followers","following_url":"https://api.github.com/users/Plamen5kov/following{/other_user}","gists_url":"https://api.github.com/users/Plamen5kov/gists{/gist_id}","starred_url":"https://api.github.com/users/Plamen5kov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Plamen5kov/subscriptions","organizations_url":"https://api.github.com/users/Plamen5kov/orgs","repos_url":"https://api.github.com/users/Plamen5kov/repos","events_url":"https://api.github.com/users/Plamen5kov/events{/privacy}","received_events_url":"https://api.github.com/users/Plamen5kov/received_events","type":"User","site_admin":false},"created_at":"2017-07-24T10:38:05Z","updated_at":"2017-07-24T10:38:05Z","body":"Users can configure the project, by playing around with the gradle project properties. This includes, but it's not limited to shrinking the project size."}}
{"actor":{"display_login":"Plamen5kov"}}