{"action":"closed","issue":{"url":"https://api.github.com/repos/GeekyAnts/NativeBase/issues/2187","repository_url":"https://api.github.com/repos/GeekyAnts/NativeBase","labels_url":"https://api.github.com/repos/GeekyAnts/NativeBase/issues/2187/labels{/name}","comments_url":"https://api.github.com/repos/GeekyAnts/NativeBase/issues/2187/comments","events_url":"https://api.github.com/repos/GeekyAnts/NativeBase/issues/2187/events","html_url":"https://github.com/GeekyAnts/NativeBase/issues/2187","id":347300458,"node_id":"MDU6SXNzdWUzNDczMDA0NTg=","number":2187,"title":"RN 0.56 - issue For components that can render Text","user":{"login":"chris-divvito","id":30251516,"node_id":"MDQ6VXNlcjMwMjUxNTE2","avatar_url":"https://avatars2.githubusercontent.com/u/30251516?v=4","gravatar_id":"","url":"https://api.github.com/users/chris-divvito","html_url":"https://github.com/chris-divvito","followers_url":"https://api.github.com/users/chris-divvito/followers","following_url":"https://api.github.com/users/chris-divvito/following{/other_user}","gists_url":"https://api.github.com/users/chris-divvito/gists{/gist_id}","starred_url":"https://api.github.com/users/chris-divvito/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chris-divvito/subscriptions","organizations_url":"https://api.github.com/users/chris-divvito/orgs","repos_url":"https://api.github.com/users/chris-divvito/repos","events_url":"https://api.github.com/users/chris-divvito/events{/privacy}","received_events_url":"https://api.github.com/users/chris-divvito/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-08-03T08:09:02Z","updated_at":"2018-08-06T09:34:23Z","closed_at":"2018-08-06T09:34:23Z","author_association":"NONE","body":"## node, npm, react-native, react and native-base version\r\nnode v8.11.1, rn 0.56.0, react 16.4.1, NB 2.7.2\r\n\r\n## Expected behaviour\r\nAble to pass strings directly to certain components, eg. `<Label>Text</Label>\r\n\r\n## Actual behaviour\r\nNot able to do that - get a redbox error\r\n`Invariant Violation: Invariant Violation: Invariant Violation: Invariant Violation: Text strings must be rendered within a <Text> component.`\r\n\r\n## Steps to reproduce should include code snippet and screenshot\r\nattempt to reproduce, for example,  the Form examples from the documentation on RN 0.56\r\n\r\n## Is the bug present in both iOS and Android or in any one of them?\r\nBoth\r\n\r\n## Any other additional info which would help us debug the issue quicker.\r\nThis is NOT a dupe of the earlier issue (https://github.com/GeekyAnts/NativeBase/issues/186) seen by some people with accidental characters from copying and pasting. This is an issue introduce in RN 0.56, and which is causing issues for some other libs (https://github.com/iyegoroff/react-native-text-gradient/issues/11) too, See https://github.com/facebook/react/pull/13211, which hopes to resolve the issue. Until then, not sure there's much NB can do about it, but putting it out there for anyone googling for the issue and so the NB team is aware of it.\r\n\r\nThat same library linked above have a temporary patch to remove the error in the meantime, too, on their github readme, https://github.com/iyegoroff/react-native-text-gradient#usage-with-rn--0560"}}
{"actor":{"display_login":"SupriyaKalghatgi"}}