{"id":20277364,"url":"https://github.com/bitjson/qrscanner-test","last_synced_at":"2025-03-04T01:41:54.606Z","repository":{"id":69519813,"uuid":"70072378","full_name":"bitjson/qrscanner-test","owner":"bitjson","description":"Simple test project for cordova-plugin-qrscanner","archived":false,"fork":false,"pushed_at":"2016-10-06T00:48:24.000Z","size":27,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-14T06:47:11.684Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"CSS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bitjson.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-10-05T15:15:09.000Z","updated_at":"2017-09-11T07:53:57.000Z","dependencies_parsed_at":"2023-02-26T05:00:43.052Z","dependency_job_id":null,"html_url":"https://github.com/bitjson/qrscanner-test","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitjson%2Fqrscanner-test","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitjson%2Fqrscanner-test/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitjson%2Fqrscanner-test/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitjson%2Fqrscanner-test/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bitjson","download_url":"https://codeload.github.com/bitjson/qrscanner-test/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241768282,"owners_count":20017117,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-14T13:18:06.645Z","updated_at":"2025-03-04T01:41:54.600Z","avatar_url":"https://github.com/bitjson.png","language":"CSS","readme":"# qrscanner-test\n\nThis is a test project for `cordova-plugin-qrscanner`. It can be used to confirm that the plugin can be built on your development environment.\n\n## Install\n\nBe sure you've followed the Cordova project's instructions for setting up your development environment, then run:\n\n```bash\ngit clone https://github.com/bitjson/qrscanner-test\ncd qrscanner-test\ncordova prepare\n```\n\n## Run\n\n### Android\n\n```bash\nadb devices\n# (get the device id from the output)\ncordova run android --target= #(device id goes here)\n```\n\n### iOS\n```bash\ncordova run ios\n```\n\n### Browser\n```bash\ncordova run browser\n```\n\n## What it should do\n\nWhen the app loads, the scanner should already be showing, and the first scan should be active. If a QR code is scanned, scanning will stop, and an alert will display the contents. (The video preview will remain active.) Completely close and reload the app to start scanning again.\n\n## How this repo was created\n\n```bash\ncordova create qrscanner-test\ncd qrscanner-test\ncordova platform add android ios browser --save\ncordova plugin add cordova-plugin-qrscanner --save\n\nvi www/index.html\n# add the following attribute to the body element\n#    style=\"background: none transparent;\"\n\nvi www/js/index.js\n# add the following at the bottom of the receivedEvent function:\n#    window.QRScanner.scan(function(err, contents){\n#      err \u0026\u0026 console.err(err);\n#      window.alert(contents);\n#    });\n#    window.QRScanner.show();\n\nprintf 'hooks\\nplatforms\\nplugins' \u003e .gitignore\n```\n\nNow it's possible to follow the instructions from the [Run section](#Run).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbitjson%2Fqrscanner-test","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbitjson%2Fqrscanner-test","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbitjson%2Fqrscanner-test/lists"}