{"action":"created","issue":{"url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/4500","repository_url":"https://api.github.com/repos/mapbox/mapbox-gl-native","labels_url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/4500/labels{/name}","comments_url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/4500/comments","events_url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/4500/events","html_url":"https://github.com/mapbox/mapbox-gl-native/issues/4500","id":144106811,"number":4500,"title":"onMapReady not getting called when offline when a (largish) offline region is present","user":{"login":"tnightingale","id":169635,"avatar_url":"https://avatars.githubusercontent.com/u/169635?v=3","gravatar_id":"","url":"https://api.github.com/users/tnightingale","html_url":"https://github.com/tnightingale","followers_url":"https://api.github.com/users/tnightingale/followers","following_url":"https://api.github.com/users/tnightingale/following{/other_user}","gists_url":"https://api.github.com/users/tnightingale/gists{/gist_id}","starred_url":"https://api.github.com/users/tnightingale/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tnightingale/subscriptions","organizations_url":"https://api.github.com/users/tnightingale/orgs","repos_url":"https://api.github.com/users/tnightingale/repos","events_url":"https://api.github.com/users/tnightingale/events{/privacy}","received_events_url":"https://api.github.com/users/tnightingale/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mapbox/mapbox-gl-native/labels/Android","name":"Android","color":"5319e7"}],"state":"open","locked":false,"assignee":{"login":"tobrun","id":2151639,"avatar_url":"https://avatars.githubusercontent.com/u/2151639?v=3","gravatar_id":"","url":"https://api.github.com/users/tobrun","html_url":"https://github.com/tobrun","followers_url":"https://api.github.com/users/tobrun/followers","following_url":"https://api.github.com/users/tobrun/following{/other_user}","gists_url":"https://api.github.com/users/tobrun/gists{/gist_id}","starred_url":"https://api.github.com/users/tobrun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tobrun/subscriptions","organizations_url":"https://api.github.com/users/tobrun/orgs","repos_url":"https://api.github.com/users/tobrun/repos","events_url":"https://api.github.com/users/tobrun/events{/privacy}","received_events_url":"https://api.github.com/users/tobrun/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/mapbox/mapbox-gl-native/milestones/26","html_url":"https://github.com/mapbox/mapbox-gl-native/milestones/android-v4.0.0","labels_url":"https://api.github.com/repos/mapbox/mapbox-gl-native/milestones/26/labels","id":1520788,"number":26,"title":"android-v4.0.0","description":"","creator":{"login":"bleege","id":989928,"avatar_url":"https://avatars.githubusercontent.com/u/989928?v=3","gravatar_id":"","url":"https://api.github.com/users/bleege","html_url":"https://github.com/bleege","followers_url":"https://api.github.com/users/bleege/followers","following_url":"https://api.github.com/users/bleege/following{/other_user}","gists_url":"https://api.github.com/users/bleege/gists{/gist_id}","starred_url":"https://api.github.com/users/bleege/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bleege/subscriptions","organizations_url":"https://api.github.com/users/bleege/orgs","repos_url":"https://api.github.com/users/bleege/repos","events_url":"https://api.github.com/users/bleege/events{/privacy}","received_events_url":"https://api.github.com/users/bleege/received_events","type":"User","site_admin":false},"open_issues":3,"closed_issues":332,"state":"open","created_at":"2016-01-19T23:39:55Z","updated_at":"2016-03-29T19:09:26Z","due_on":null,"closed_at":null},"comments":8,"created_at":"2016-03-28T23:08:53Z","updated_at":"2016-03-29T19:09:49Z","closed_at":null,"body":"Following up on #4486: Turns out the issue that I encountered only seems to occur when a offline region larger than a particular size has been downloaded. In my test case this occurs with a region of 87.353 megabytes but **not** with a region of 74.243 megabytes.\r\n\r\nTesting steps are mostly the same as I outlined in #4486. The difference being that a OfflineRegion of ~87MB (or probably larger) is downloaded the first time application is loaded with the WiFi enabled.\r\n\r\n@zugaldia, @jfirebaugh does that make sense?\r\n\r\nI am putting together a test Activity in the TestApp to demonstrate."},"comment":{"url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/comments/203055779","html_url":"https://github.com/mapbox/mapbox-gl-native/issues/4500#issuecomment-203055779","issue_url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/4500","id":203055779,"user":{"login":"tobrun","id":2151639,"avatar_url":"https://avatars.githubusercontent.com/u/2151639?v=3","gravatar_id":"","url":"https://api.github.com/users/tobrun","html_url":"https://github.com/tobrun","followers_url":"https://api.github.com/users/tobrun/followers","following_url":"https://api.github.com/users/tobrun/following{/other_user}","gists_url":"https://api.github.com/users/tobrun/gists{/gist_id}","starred_url":"https://api.github.com/users/tobrun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tobrun/subscriptions","organizations_url":"https://api.github.com/users/tobrun/orgs","repos_url":"https://api.github.com/users/tobrun/repos","events_url":"https://api.github.com/users/tobrun/events{/privacy}","received_events_url":"https://api.github.com/users/tobrun/received_events","type":"User","site_admin":false},"created_at":"2016-03-29T19:09:49Z","updated_at":"2016-03-29T19:09:49Z","body":"@jfirebaugh \r\nI was able to reproduce it locally with:\r\n - Running with internet just once, turn off WiFi\r\n - Kill app (open task launcher, swipe app out of screen)\r\n - Open app, go to related activity\r\n   - if not reproducible go back to step 2\r\n\r\nI had to go through 4 iterations before being able to reproduce."}}