{"action":"created","issue":{"url":"https://api.github.com/repos/moaazsidat/react-native-qrcode-scanner/issues/78","repository_url":"https://api.github.com/repos/moaazsidat/react-native-qrcode-scanner","labels_url":"https://api.github.com/repos/moaazsidat/react-native-qrcode-scanner/issues/78/labels{/name}","comments_url":"https://api.github.com/repos/moaazsidat/react-native-qrcode-scanner/issues/78/comments","events_url":"https://api.github.com/repos/moaazsidat/react-native-qrcode-scanner/issues/78/events","html_url":"https://github.com/moaazsidat/react-native-qrcode-scanner/issues/78","id":310211643,"number":78,"title":"Check The render Method of QRCodeScanner","user":{"login":"nagacoder","id":32693625,"avatar_url":"https://avatars3.githubusercontent.com/u/32693625?v=4","gravatar_id":"","url":"https://api.github.com/users/nagacoder","html_url":"https://github.com/nagacoder","followers_url":"https://api.github.com/users/nagacoder/followers","following_url":"https://api.github.com/users/nagacoder/following{/other_user}","gists_url":"https://api.github.com/users/nagacoder/gists{/gist_id}","starred_url":"https://api.github.com/users/nagacoder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nagacoder/subscriptions","organizations_url":"https://api.github.com/users/nagacoder/orgs","repos_url":"https://api.github.com/users/nagacoder/repos","events_url":"https://api.github.com/users/nagacoder/events{/privacy}","received_events_url":"https://api.github.com/users/nagacoder/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-03-31T04:30:59Z","updated_at":"2018-04-01T13:26:20Z","closed_at":null,"author_association":"NONE","body":"Android\r\ni am was import QRCodeScanner Component to my index page\r\nthis my example code \r\n`import React, {Component} from \"react\";`\r\n`import QRCodeScanner from 'react-native-qrcode-scanner';`\r\n`class QRCoder extends Component {`\r\n\r\n`  onSuccess(e) {`\r\n ` Linking.openURL(e.data).catch(err => console.error('An error occured', err));`\r\n`}`\r\n  `render() {`\r\n    `return (`\r\n     ` <QRCodeScanner/>`\r\n      `);`\r\n  `}`\r\n`}`\r\n\r\n`export default QRCoder;`\r\n\r\n\r\nand then i got an error \r\n\r\n\r\nInvariant Violation: Element type is invalid: expected a string( for built-in components) or a class/function (for composite components) but got: object. You likely forgot to export your component from the file it's defined in\r\n\r\nCheck The render Method of \"QRCodeScanner\"\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/moaazsidat/react-native-qrcode-scanner/issues/comments/377786791","html_url":"https://github.com/moaazsidat/react-native-qrcode-scanner/issues/78#issuecomment-377786791","issue_url":"https://api.github.com/repos/moaazsidat/react-native-qrcode-scanner/issues/78","id":377786791,"user":{"login":"yazpid","id":16179627,"avatar_url":"https://avatars1.githubusercontent.com/u/16179627?v=4","gravatar_id":"","url":"https://api.github.com/users/yazpid","html_url":"https://github.com/yazpid","followers_url":"https://api.github.com/users/yazpid/followers","following_url":"https://api.github.com/users/yazpid/following{/other_user}","gists_url":"https://api.github.com/users/yazpid/gists{/gist_id}","starred_url":"https://api.github.com/users/yazpid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yazpid/subscriptions","organizations_url":"https://api.github.com/users/yazpid/orgs","repos_url":"https://api.github.com/users/yazpid/repos","events_url":"https://api.github.com/users/yazpid/events{/privacy}","received_events_url":"https://api.github.com/users/yazpid/received_events","type":"User","site_admin":false},"created_at":"2018-04-01T13:26:20Z","updated_at":"2018-04-01T13:26:20Z","author_association":"NONE","body":"I'm have the same isssue like above. Also copied expamle from documentation."}}
{"actor":{"display_login":"yazpid"}}