{"action":"created","issue":{"url":"https://api.github.com/repos/Slowyn/react-native-underline-tabbar/issues/26","repository_url":"https://api.github.com/repos/Slowyn/react-native-underline-tabbar","labels_url":"https://api.github.com/repos/Slowyn/react-native-underline-tabbar/issues/26/labels{/name}","comments_url":"https://api.github.com/repos/Slowyn/react-native-underline-tabbar/issues/26/comments","events_url":"https://api.github.com/repos/Slowyn/react-native-underline-tabbar/issues/26/events","html_url":"https://github.com/Slowyn/react-native-underline-tabbar/issues/26","id":293772747,"number":26,"title":"Not showing Advanced Tabs in Android","user":{"login":"parmeet9891","id":16643650,"avatar_url":"https://avatars1.githubusercontent.com/u/16643650?v=4","gravatar_id":"","url":"https://api.github.com/users/parmeet9891","html_url":"https://github.com/parmeet9891","followers_url":"https://api.github.com/users/parmeet9891/followers","following_url":"https://api.github.com/users/parmeet9891/following{/other_user}","gists_url":"https://api.github.com/users/parmeet9891/gists{/gist_id}","starred_url":"https://api.github.com/users/parmeet9891/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/parmeet9891/subscriptions","organizations_url":"https://api.github.com/users/parmeet9891/orgs","repos_url":"https://api.github.com/users/parmeet9891/repos","events_url":"https://api.github.com/users/parmeet9891/events{/privacy}","received_events_url":"https://api.github.com/users/parmeet9891/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-02T04:50:46Z","updated_at":"2018-02-02T07:04:54Z","closed_at":null,"author_association":"NONE","body":"In IOS, its working fine\r\nBut in android, it gives error in this area : \r\n\r\n    `const containerStyle = {\r\n    paddingHorizontal: 20,\r\n    paddingVertical: 5,\r\n    borderRadius: 25,\r\n    flexDirection: 'row',\r\n    alignItems: 'center',\r\n    backgroundColor: **styles.backgroundColor**,\r\n    opacity: **styles.opacity**,\r\n    transform: [{ scale: **styles.opacity** }],\r\n  };`\r\n\r\nand says **undefined is not an object (evaluating 'styles.textColor')**\r\nAnd when i put any random colors here, the error will disappear but shows nothing (no tabs)."},"comment":{"url":"https://api.github.com/repos/Slowyn/react-native-underline-tabbar/issues/comments/362504096","html_url":"https://github.com/Slowyn/react-native-underline-tabbar/issues/26#issuecomment-362504096","issue_url":"https://api.github.com/repos/Slowyn/react-native-underline-tabbar/issues/26","id":362504096,"user":{"login":"Slowyn","id":7250604,"avatar_url":"https://avatars0.githubusercontent.com/u/7250604?v=4","gravatar_id":"","url":"https://api.github.com/users/Slowyn","html_url":"https://github.com/Slowyn","followers_url":"https://api.github.com/users/Slowyn/followers","following_url":"https://api.github.com/users/Slowyn/following{/other_user}","gists_url":"https://api.github.com/users/Slowyn/gists{/gist_id}","starred_url":"https://api.github.com/users/Slowyn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Slowyn/subscriptions","organizations_url":"https://api.github.com/users/Slowyn/orgs","repos_url":"https://api.github.com/users/Slowyn/repos","events_url":"https://api.github.com/users/Slowyn/events{/privacy}","received_events_url":"https://api.github.com/users/Slowyn/received_events","type":"User","site_admin":false},"created_at":"2018-02-02T07:04:54Z","updated_at":"2018-02-02T07:04:54Z","author_association":"OWNER","body":"Hi @parmeet9891! That's pretty interesting catch. The trick is that problem doesn't appear in Debugger mode. I've researched and found out that this code\r\n```js\r\n[...Array(6).keys()]\r\n```\r\ndoesn't work properly and returns an empty array. I have fixed the problem into [example repository](https://github.com/Slowyn/UnderlineTabBarExample) and a bit refactored code increasing the readability.\r\nThanks for reporting!"}}
{"actor":{"display_login":"Slowyn"}}