{"id":18864317,"url":"https://github.com/devtronic/flutter_barcode_reader_mirror","last_synced_at":"2025-09-11T23:08:17.992Z","repository":{"id":121394077,"uuid":"241660141","full_name":"devtronic/flutter_barcode_reader_mirror","owner":"devtronic","description":null,"archived":false,"fork":false,"pushed_at":"2020-02-19T16:06:37.000Z","size":177,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-12-30T21:29:11.210Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Objective-C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/devtronic.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","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":"2020-02-19T16:06:28.000Z","updated_at":"2020-02-19T16:06:45.000Z","dependencies_parsed_at":"2023-05-02T17:13:19.938Z","dependency_job_id":null,"html_url":"https://github.com/devtronic/flutter_barcode_reader_mirror","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/devtronic%2Fflutter_barcode_reader_mirror","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devtronic%2Fflutter_barcode_reader_mirror/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devtronic%2Fflutter_barcode_reader_mirror/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devtronic%2Fflutter_barcode_reader_mirror/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/devtronic","download_url":"https://codeload.github.com/devtronic/flutter_barcode_reader_mirror/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239808525,"owners_count":19700451,"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-08T04:40:51.756Z","updated_at":"2025-02-20T09:13:53.014Z","avatar_url":"https://github.com/devtronic.png","language":"Objective-C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# This plugin is no longer maintained\n\nI no longer have time to maintain this plugin. In addition, other libraries have come along that I consider a better replacement, most notably the [MLKit based barcode detection plugin](https://pub.dev/packages/flutter_camera_ml_vision). \n\nIf someone is interested in taking over this plugin and maintaining it please contact me and I will transfer ownership.\n\n\n# Barcode Scanner\n\nA flutter plugin for scanning 2D barcodes and QR codes. \n\nThis provides a simple wrapper for two commonly used iOS and Android libraries:\n\niOS: https://github.com/mikebuss/MTBBarcodeScanner\n\nAndroid: https://github.com/dm77/barcodescanner\n\n### Features\n- [x] Scan 2D barcodes\n- [x] Scan QR codes\n- [x] Control the flash while scanning\n- [x] Permission handling\n- [ ] Support multiple barcode libraries\n\n## Getting Started\n\n### Android\nFor Android, you must do the following before you can use the plugin:\n\n* Add the camera permission to your AndroidManifest.xml\n     \n     `\u003cuses-permission android:name=\"android.permission.CAMERA\" /\u003e`\n\n* Add the BarcodeScanner activity to your AndroidManifest.xml. Do NOT modify the name.\n    \n     `\u003cactivity android:name=\"com.apptreesoftware.barcodescan.BarcodeScannerActivity\"/\u003e`\n     \n\n* This plugin is written in Kotlin. Therefore, you need to add Kotlin support to your project. See [installing the Kotlin plugin](https://kotlinlang.org/docs/tutorials/kotlin-android.html#installing-the-kotlin-plugin).\n\nEdit your project-level build.gradle file to look like this:\n\n\tbuildscript {\n\t    ext.kotlin_version = '1.3.21'\n\t    ...\n\t    dependencies {\n\t        ...\n\t        classpath \"org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version\"\n\t    }\n\t}\n\t...\n\nEdit your app-level build.gradle file to look like this:\n\n\tapply plugin: 'kotlin-android'\n\t...\n\tdependencies {\n\t    implementation \"org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version\"\n\t    ...\n\t}\n\nNow you can depend on the barcode_scan plugin in your pubspec.yaml file:\n\n\tdependencies:\n\t  ...\n\t  barcode_scan: any\n\nClick \"Packages get\" in Android Studio or run `flutter packages get` in your project folder.\n\n### iOS\nTo use on iOS, you must add the the camera usage description to your Info.plist\n\n    \u003ckey\u003eNSCameraUsageDescription\u003c/key\u003e\n    \u003cstring\u003eCamera permission is required for barcode scanning.\u003c/string\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevtronic%2Fflutter_barcode_reader_mirror","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevtronic%2Fflutter_barcode_reader_mirror","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevtronic%2Fflutter_barcode_reader_mirror/lists"}