{"action":"created","issue":{"url":"https://api.github.com/repos/expo/expo/issues/1782","repository_url":"https://api.github.com/repos/expo/expo","labels_url":"https://api.github.com/repos/expo/expo/issues/1782/labels{/name}","comments_url":"https://api.github.com/repos/expo/expo/issues/1782/comments","events_url":"https://api.github.com/repos/expo/expo/issues/1782/events","html_url":"https://github.com/expo/expo/issues/1782","id":325466052,"number":1782,"title":"Barcode scanner not working on some android devices with expo v27","user":{"login":"frecson","id":17090976,"avatar_url":"https://avatars0.githubusercontent.com/u/17090976?v=4","gravatar_id":"","url":"https://api.github.com/users/frecson","html_url":"https://github.com/frecson","followers_url":"https://api.github.com/users/frecson/followers","following_url":"https://api.github.com/users/frecson/following{/other_user}","gists_url":"https://api.github.com/users/frecson/gists{/gist_id}","starred_url":"https://api.github.com/users/frecson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/frecson/subscriptions","organizations_url":"https://api.github.com/users/frecson/orgs","repos_url":"https://api.github.com/users/frecson/repos","events_url":"https://api.github.com/users/frecson/events{/privacy}","received_events_url":"https://api.github.com/users/frecson/received_events","type":"User","site_admin":false},"labels":[{"id":658877619,"url":"https://api.github.com/repos/expo/expo/labels/project:%20misc-libraries","name":"project: misc-libraries","color":"f9d0c4","default":false}],"state":"open","locked":false,"assignee":{"login":"esamelson","id":19958240,"avatar_url":"https://avatars1.githubusercontent.com/u/19958240?v=4","gravatar_id":"","url":"https://api.github.com/users/esamelson","html_url":"https://github.com/esamelson","followers_url":"https://api.github.com/users/esamelson/followers","following_url":"https://api.github.com/users/esamelson/following{/other_user}","gists_url":"https://api.github.com/users/esamelson/gists{/gist_id}","starred_url":"https://api.github.com/users/esamelson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/esamelson/subscriptions","organizations_url":"https://api.github.com/users/esamelson/orgs","repos_url":"https://api.github.com/users/esamelson/repos","events_url":"https://api.github.com/users/esamelson/events{/privacy}","received_events_url":"https://api.github.com/users/esamelson/received_events","type":"User","site_admin":false},"assignees":[{"login":"esamelson","id":19958240,"avatar_url":"https://avatars1.githubusercontent.com/u/19958240?v=4","gravatar_id":"","url":"https://api.github.com/users/esamelson","html_url":"https://github.com/esamelson","followers_url":"https://api.github.com/users/esamelson/followers","following_url":"https://api.github.com/users/esamelson/following{/other_user}","gists_url":"https://api.github.com/users/esamelson/gists{/gist_id}","starred_url":"https://api.github.com/users/esamelson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/esamelson/subscriptions","organizations_url":"https://api.github.com/users/esamelson/orgs","repos_url":"https://api.github.com/users/esamelson/repos","events_url":"https://api.github.com/users/esamelson/events{/privacy}","received_events_url":"https://api.github.com/users/esamelson/received_events","type":"User","site_admin":false}],"milestone":null,"comments":6,"created_at":"2018-05-22T21:15:29Z","updated_at":"2018-05-24T22:34:45Z","closed_at":null,"author_association":"NONE","body":"### Issue\r\n\r\nHi! I hope someone could help me! \r\n\r\nI have made an app with expo for iOS and Android devices. One of the main functions of the app is to scan a QR code, I’m using the BarCodeScanner component. The app is working fine in iOS devices, but is not working in some Android versions. To be more specific I made a lot of tests in Huawei P20 models and Huawei Mate 10 with android versions 8.0, 8.1 and 7.0 and the latest version of expo installed in the devices (2.5.2). I have checked some other posts about this issue, some people resolved it by downgrading the expo version to 22, but I want to know if there is not another solution because from 22 to 27 (my actual version) there is a lot of time. I’m using expo v27.0.1. Even the Expo app isn’t working on these android versions when I try to scan the QR code for my project.\r\n\r\nMy code to scan the QR is similar to this example: https://snack.expo.io/Skxzn6-5b\r\n  \r\n### Environment\r\n\r\n  OS: macOS High Sierra 10.13.1\r\n  Node: 8.11.1\r\n  npm: 5.8.0\r\n  Watchman: 4.9.0\r\n  Xcode: Xcode 9.2 Build version 9C40b\r\n  Android Studio: 3.1 AI-173.4720617\r\n\r\nPackages: (wanted => installed)\r\n  expo: ^27.0.1 => 27.0.1\r\n  react: 16.3.1 => 16.3.1\r\n  react-native: https://github.com/expo/react-native/archive/sdk-27.0.0.tar.gz => 0.55.2\r\n\r\n### Expected Behavior\r\n\r\nIn my app: Scan the QR code and make some things when the QR is detected.\r\nIn Expo app: Scan the QR generated for my project and open the app when is detected (the normal behavior of Expo QR reader in Android).\r\n\r\n### Actual Behavior\r\n\r\nWith the expo app I can’t scan the QR generated by my project, nothing happens, I just put the camera in front of the QR to read the code and nothing happens, just like if there was not code in front of the camera, so, because the expo app isn’t working either, I think the problem is not with the code of my app. When I run my app is the same thing, nothing happens, no error, no action, no logs, nothing, it just doesn’t work. It’s working with a Galaxy S5 with android 6.0.1 but not with the other versions I mentioned above.\r\n\r\n### Reproducible Demo\r\n\r\nThe last Expo app version isn't working, even the basic example in snack isn't working either: https://snack.expo.io/Skxzn6-5b\r\n\r\nI think the issue is about the android versions I'm using and the version of Expo, the camera api used in Expo maybe has bugs with the latest versions of android.\r\n\r\nThanks!"},"comment":{"url":"https://api.github.com/repos/expo/expo/issues/comments/391886607","html_url":"https://github.com/expo/expo/issues/1782#issuecomment-391886607","issue_url":"https://api.github.com/repos/expo/expo/issues/1782","id":391886607,"user":{"login":"frecson","id":17090976,"avatar_url":"https://avatars0.githubusercontent.com/u/17090976?v=4","gravatar_id":"","url":"https://api.github.com/users/frecson","html_url":"https://github.com/frecson","followers_url":"https://api.github.com/users/frecson/followers","following_url":"https://api.github.com/users/frecson/following{/other_user}","gists_url":"https://api.github.com/users/frecson/gists{/gist_id}","starred_url":"https://api.github.com/users/frecson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/frecson/subscriptions","organizations_url":"https://api.github.com/users/frecson/orgs","repos_url":"https://api.github.com/users/frecson/repos","events_url":"https://api.github.com/users/frecson/events{/privacy}","received_events_url":"https://api.github.com/users/frecson/received_events","type":"User","site_admin":false},"created_at":"2018-05-24T22:34:45Z","updated_at":"2018-05-24T22:34:45Z","author_association":"NONE","body":"@brentvatne it didn't work! The same thing happens, is not detecting the QR. I made the test with Huawei P20 pro, Android 8.1.0\r\n\r\nThanks for your help!"}}
{"actor":{"display_login":"frecson"}}