{"action":"created","issue":{"url":"https://api.github.com/repos/EddyVerbruggen/nativescript-mapbox/issues/30","repository_url":"https://api.github.com/repos/EddyVerbruggen/nativescript-mapbox","labels_url":"https://api.github.com/repos/EddyVerbruggen/nativescript-mapbox/issues/30/labels{/name}","comments_url":"https://api.github.com/repos/EddyVerbruggen/nativescript-mapbox/issues/30/comments","events_url":"https://api.github.com/repos/EddyVerbruggen/nativescript-mapbox/issues/30/events","html_url":"https://github.com/EddyVerbruggen/nativescript-mapbox/pull/30","id":174807307,"number":30,"title":"Fix null on .show() android","user":{"login":"bradmartin","id":6006148,"avatar_url":"https://avatars.githubusercontent.com/u/6006148?v=3","gravatar_id":"","url":"https://api.github.com/users/bradmartin","html_url":"https://github.com/bradmartin","followers_url":"https://api.github.com/users/bradmartin/followers","following_url":"https://api.github.com/users/bradmartin/following{/other_user}","gists_url":"https://api.github.com/users/bradmartin/gists{/gist_id}","starred_url":"https://api.github.com/users/bradmartin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bradmartin/subscriptions","organizations_url":"https://api.github.com/users/bradmartin/orgs","repos_url":"https://api.github.com/users/bradmartin/repos","events_url":"https://api.github.com/users/bradmartin/events{/privacy}","received_events_url":"https://api.github.com/users/bradmartin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-09-02T17:13:30Z","updated_at":"2016-09-02T17:50:07Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/EddyVerbruggen/nativescript-mapbox/pulls/30","html_url":"https://github.com/EddyVerbruggen/nativescript-mapbox/pull/30","diff_url":"https://github.com/EddyVerbruggen/nativescript-mapbox/pull/30.diff","patch_url":"https://github.com/EddyVerbruggen/nativescript-mapbox/pull/30.patch"},"body":"- FrameLayout constructor fixed with context not activity.\r\n- getParent() returns null, the `android` prop on the `currentPage` is enough for *addView()* on the *ViewGroup*\r\n\r\nThese changes work locally, still working on a minor issue with the map not rendering until the device screen goes to sleep and then when I wake the screen the map shows and the `.show().then()` executes."},"comment":{"url":"https://api.github.com/repos/EddyVerbruggen/nativescript-mapbox/issues/comments/244443437","html_url":"https://github.com/EddyVerbruggen/nativescript-mapbox/pull/30#issuecomment-244443437","issue_url":"https://api.github.com/repos/EddyVerbruggen/nativescript-mapbox/issues/30","id":244443437,"user":{"login":"bradmartin","id":6006148,"avatar_url":"https://avatars.githubusercontent.com/u/6006148?v=3","gravatar_id":"","url":"https://api.github.com/users/bradmartin","html_url":"https://github.com/bradmartin","followers_url":"https://api.github.com/users/bradmartin/followers","following_url":"https://api.github.com/users/bradmartin/following{/other_user}","gists_url":"https://api.github.com/users/bradmartin/gists{/gist_id}","starred_url":"https://api.github.com/users/bradmartin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bradmartin/subscriptions","organizations_url":"https://api.github.com/users/bradmartin/orgs","repos_url":"https://api.github.com/users/bradmartin/repos","events_url":"https://api.github.com/users/bradmartin/events{/privacy}","received_events_url":"https://api.github.com/users/bradmartin/received_events","type":"User","site_admin":false},"created_at":"2016-09-02T17:50:07Z","updated_at":"2016-09-02T17:50:07Z","body":"Wrapping the `mapbox.show()` in a timeout resolves the issue of it not initally rendering on Android (tested Droid Turbo 2 on 6.0). "}}
{"actor":{"display_login":"bradmartin"}}