{"id":19856949,"url":"https://github.com/johnvuko/flutter_brother_printer","last_synced_at":"2025-08-01T17:37:51.743Z","repository":{"id":45739073,"uuid":"287519526","full_name":"johnvuko/flutter_brother_printer","owner":"johnvuko","description":null,"archived":false,"fork":false,"pushed_at":"2025-05-21T17:06:16.000Z","size":10167,"stargazers_count":11,"open_issues_count":1,"forks_count":7,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-05-21T18:25:45.083Z","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/johnvuko.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,"zenodo":null}},"created_at":"2020-08-14T11:41:38.000Z","updated_at":"2025-05-21T17:06:19.000Z","dependencies_parsed_at":"2024-07-22T10:48:19.100Z","dependency_job_id":"040d6c9e-5a00-4194-a6c0-c4ad3f7d8e86","html_url":"https://github.com/johnvuko/flutter_brother_printer","commit_stats":null,"previous_names":["johnvuko/flutter_brother_printer"],"tags_count":20,"template":false,"template_full_name":null,"purl":"pkg:github/johnvuko/flutter_brother_printer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnvuko%2Fflutter_brother_printer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnvuko%2Fflutter_brother_printer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnvuko%2Fflutter_brother_printer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnvuko%2Fflutter_brother_printer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/johnvuko","download_url":"https://codeload.github.com/johnvuko/flutter_brother_printer/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnvuko%2Fflutter_brother_printer/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268268927,"owners_count":24223155,"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","status":"online","status_checked_at":"2025-08-01T02:00:08.611Z","response_time":67,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-12T14:17:03.079Z","updated_at":"2025-08-01T17:37:51.734Z","avatar_url":"https://github.com/johnvuko.png","language":"Objective-C","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Pub Likes](https://img.shields.io/pub/likes/brother_printer)](https://pub.dev/packages/brother_printer)\n[![Pub Popularity](https://img.shields.io/pub/popularity/brother_printer)](https://pub.dev/packages/brother_printer)\n[![Pub Points](https://img.shields.io/pub/points/brother_printer)](https://pub.dev/packages/brother_printer)\n\n# brother_printer\n\nBrother printer SDK for Flutter using native SDK v4.\n\n## Installation\n\nBe sure to read requirements of the native SDK:\nhttps://support.brother.com/g/s/es/htmldoc/mobilesdk/\n\nAdd this to your package's pubspec.yaml file:\n\n```\ndependencies:\n  brother_printer: ^0.2.5\n```\n\n### iOS\n\nIn the `Podfile` uncomment:\n\n```\n    platform :ios, '13.0'\n```\n\nIn the `Info.plist` add:\n\n```\n    \u003ckey\u003eNSBluetoothAlwaysUsageDescription\u003c/key\u003e\n    \u003cstring\u003eBluetooth is required for connection to your printer.\u003c/string\u003e\n    \u003ckey\u003eNSBluetoothPeripheralUsageDescription\u003c/key\u003e\n    \u003cstring\u003eBluetooth is required for connection to your printer.\u003c/string\u003e\n    \u003ckey\u003eNSLocalNetworkUsageDescription\u003c/key\u003e\n    \u003cstring\u003e${PRODUCT_NAME} uses the local network to discover printers on your network.\u003c/string\u003e\n    \u003ckey\u003eUISupportedExternalAccessoryProtocols\u003c/key\u003e\n    \u003carray\u003e\n        \u003cstring\u003ecom.brother.ptcbp\u003c/string\u003e\n    \u003c/array\u003e\n    \u003ckey\u003eNSBonjourServices\u003c/key\u003e\n    \u003carray\u003e\n        \u003cstring\u003e_printer._tcp\u003c/string\u003e\n        \u003cstring\u003e_pdl-datastream._tcp\u003c/string\u003e\n        \u003cstring\u003e_ipp._tcp\u003c/string\u003e\n    \u003c/array\u003e\n```\n\n### Android\n\nConnection doesn't seem to work on emulator.\n\nAdd permissions:\n\n```\n    \u003cuses-permission android:name=\"android.permission.ACCESS_NETWORK_STATE\" /\u003e\n    \u003cuses-permission android:name=\"android.permission.ACCESS_WIFI_STATE\" /\u003e\n    \u003cuses-permission android:name=\"android.permission.INTERNET\" /\u003e\n    \u003cuses-permission android:name=\"android.permission.BLUETOOTH\" /\u003e\n    \u003cuses-permission android:name=\"android.permission.BLUETOOTH_CONNECT\" /\u003e\n    \u003cuses-permission android:name=\"android.permission.WRITE_EXTERNAL_STORAGE\" /\u003e\n\n    \u003cuses-permission android:name=\"android.permission.BLUETOOTH_ADMIN\" /\u003e\n\n    \u003cuses-permission\n        android:name=\"android.permission.BLUETOOTH_SCAN\"\n        android:usesPermissionFlags=\"neverForLocation\"\n        tools:targetApi=\"s\" /\u003e\n\n    \u003cuses-permission android:name=\"android.permission.ACCESS_COARSE_LOCATION\" /\u003e\n    \u003cuses-permission android:name=\"android.permission.ACCESS_FINE_LOCATION\" /\u003e\n```\n\nYou have to manually authorized the location permission on the device (will be improve later).\n\n#### Warning\n\nYou may have some crash in release mode, you can add this to your `android/app/build.gradle`:\n\n```\n    buildTypes {\n        release {\n            minifyEnabled false\n            shrinkResources false\n\n            signingConfig signingConfigs.release\n        }\n    }\n```\n\n\n## Notes\n\nThere are difference between what return the iOS version and the Android version\n\n```\n    print('${device.model.nameAndroid} - ${device.source} - ${device.modelName} - ${device.ipAddress} - ${device.printerName} - ${device.macAddress} - ${device.nodeName} - ${device.serialNumber} - ${device.bleAdvertiseLocalName}');\n\n    # iOS\n    QL-820NWB - BrotherDeviceSource.network - Brother QL-820NWB - 10.0.0.1 - Brother QL-820NWB - b0:68:e6:97:db:42 - BRWB068E697DB42 - K9Z195606 - null\n    QL-820NWB - BrotherDeviceSource.bluetooth - QL-820NWB - null - QL-820NWB5606 - null - null - 806FB0BABE7C - null\n\n    Network: modelName, ipAddress, printerName, network macAddress, nodeName, serialNumber\n    Bluetooth: modelName, printerName, serialNumber\n\n    # Android\n    QL-820NWB - BrotherDeviceSource.network - Brother QL-820NWB - 10.0.0.1 - null - B0:68:E6:97:DB:42 - BRWB068E697DB42 - null - null\n    QL-820NWB - BrotherDeviceSource.bluetooth - null - null - QL-820NWB5606 - 80:6F:B0:BA:BE:7D - null - null - null\n\n    Network: modelName, ipAddress, network macAddress, serialNumber\n    Bluetooth: printerName, bluetooth macAddress\n```\n\n## Author\n\n- [Jonathan VUKOVICH](https://github.com/johnvuko)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohnvuko%2Fflutter_brother_printer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjohnvuko%2Fflutter_brother_printer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohnvuko%2Fflutter_brother_printer/lists"}