Title: Thermal printer android issue · Issue #36 · CodingDevs/thermal_printer · GitHub
Open Graph Title: Thermal printer android issue · Issue #36 · CodingDevs/thermal_printer
X Title: Thermal printer android issue · Issue #36 · CodingDevs/thermal_printer
Description: I'm using Flutter 3.29.3 and JDK 23 to build an Android POS application. I'm trying to connect to a Bluetooth device, but the connection fails. The error message indicates that permissions are granted, and I have already added the necess...
Open Graph Description: I'm using Flutter 3.29.3 and JDK 23 to build an Android POS application. I'm trying to connect to a Bluetooth device, but the connection fails. The error message indicates that permissions are gran...
X Description: I'm using Flutter 3.29.3 and JDK 23 to build an Android POS application. I'm trying to connect to a Bluetooth device, but the connection fails. The error message indicates that permissions ...
Opengraph URL: https://github.com/CodingDevs/thermal_printer/issues/36
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Thermal printer android issue","articleBody":"I'm using Flutter 3.29.3 and JDK 23 to build an Android POS application. I'm trying to connect to a Bluetooth device, but the connection fails. The error message indicates that permissions are granted, and I have already added the necessary permissions in the AndroidManifest.xml file. Why is the Bluetooth device not connecting?\n\n \u003cuses-permission android:name=\"android.permission.BLUETOOTH_CONNECT\" /\u003e\n \u003cuses-permission android:name=\"android.permission.INTERNET\"/\u003e\n \u003cuses-permission android:name=\"android.permission.BLUETOOTH_ADVERTISE\" /\u003e\n \u003cuses-permission android:name=\"android.permission.BLUETOOTH\"/\u003e\n \u003cuses-permission android:name=\"android.permission.BLUETOOTH_ADMIN\"/\u003e\n \u003cuses-permission android:name=\"android.permission.BLUETOOTH_SCAN\"/\u003e\n \u003cuses-permission android:name=\"android.permission.BLUETOOTH_CONNECT\"/\u003e\n \u003cuses-permission android:name=\"android.permission.ACCESS_FINE_LOCATION\"/\u003e\n\n android/build.gradle\n\nplugins {\n id \"com.android.application\"\n id \"kotlin-android\"\n // The Flutter Gradle Plugin must be applied after the Android and Kotlin Gradle plugins.\n id \"dev.flutter.flutter-gradle-plugin\"\n}\n\ndef localProperties = new Properties()\ndef localPropertiesFile = rootProject.file(\"local.properties\")\nif (localPropertiesFile.exists()) {\n localPropertiesFile.withReader(\"UTF-8\") { reader -\u003e\n localProperties.load(reader)\n }\n}\n\ndef flutterVersionCode = localProperties.getProperty(\"flutter.versionCode\")\nif (flutterVersionCode == null) {\n flutterVersionCode = \"1\"\n}\n\ndef flutterVersionName = localProperties.getProperty(\"flutter.versionName\")\nif (flutterVersionName == null) {\n flutterVersionName = \"1.0\"\n}\n\nandroid {\n namespace = \"com.example.equal_pos_app\"\n compileSdk = 35\n ndkVersion = \"25.1.8937393\"\n buildFeatures {\n buildConfig = true\n }\n compileOptions {\n sourceCompatibility = JavaVersion.VERSION_1_8\n targetCompatibility = JavaVersion.VERSION_1_8\n }\n kotlinOptions {\n jvmTarget = JavaVersion.VERSION_1_8\n }\n defaultConfig {\n // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).\n applicationId = \"com.example.equal_pos_app\"\n // You can update the following values to match your application needs.\n // For more information, see: https://docs.flutter.dev/deployment/android#reviewing-the-gradle-build-configuration.\n minSdk = 22\n // targetSdk = 34\n multiDexEnabled true\n versionCode = flutterVersionCode.toInteger()\n versionName = flutterVersionName\n // minifyEnabled true\n //shrinkResources true\n targetSdk = 34\n \n }\n\n buildTypes {\n release {\n // TODO: Add your own signing config for the release build.\n // Signing with the debug keys for now, so `flutter run --release` works.\n signingConfig = signingConfigs.debug\n minifyEnabled true\n\n // Enables resource shrinking, which is performed by the\n // Android Gradle plugin.\n shrinkResources true\n }\n }\n}\n\nflutter {\n source = \"../..\"\n}\n\ndependencies {\n implementation 'androidx.core:core:1.15.0'\n implementation 'androidx.activity:activity-ktx:1.9.3'\n implementation 'com.google.android.gms:play-services-instantapps:18.1.0'\n implementation \"androidx.activity:activity:1.9.3\"\n}\n","author":{"url":"https://github.com/Sreeshks","@type":"Person","name":"Sreeshks"},"datePublished":"2025-04-26T08:20:05.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/36/thermal_printer/issues/36"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:96a0a7b2-9a5e-a1a1-5566-1511328ffa62 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BD76:1DF241:64607C6:853472A:6A5DDA8D |
| html-safe-nonce | e5f42c03b48182221a84a931f72c12622e7e7ce351bf6dde5e7f0428ef596468 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRDc2OjFERjI0MTo2NDYwN0M2Ojg1MzQ3MkE6NkE1RERBOEQiLCJ2aXNpdG9yX2lkIjoiNzUyNTkyMjc1MTkwNTY1MTM0MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | c7b6913f35082ed4a4a134c09466760bce9d7ddd69746b5b9ca14df621a990f7 |
| hovercard-subject-tag | issue:3021616858 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/CodingDevs/thermal_printer/36/issue_layout |
| twitter:image | https://opengraph.githubassets.com/c62748177c6e4b858b933c513e1abcc7df8c885013108acf85e0e748fe61b230/CodingDevs/thermal_printer/issues/36 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/c62748177c6e4b858b933c513e1abcc7df8c885013108acf85e0e748fe61b230/CodingDevs/thermal_printer/issues/36 |
| og:image:alt | I'm using Flutter 3.29.3 and JDK 23 to build an Android POS application. I'm trying to connect to a Bluetooth device, but the connection fails. The error message indicates that permissions are gran... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Sreeshks |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5290d7e14309ad1e76106a9c4237bd1041517e83ea182c8ab756752cb0c6940b |
| turbo-cache-control | no-preview |
| go-import | github.com/CodingDevs/thermal_printer git https://github.com/CodingDevs/thermal_printer.git |
| octolytics-dimension-user_id | 49113471 |
| octolytics-dimension-user_login | CodingDevs |
| octolytics-dimension-repository_id | 723475792 |
| octolytics-dimension-repository_nwo | CodingDevs/thermal_printer |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 723475792 |
| octolytics-dimension-repository_network_root_nwo | CodingDevs/thermal_printer |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 9c975978430e9ad293956f2bbdaf153b1bd84a99 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width