add namespace to compatible with gradle 8#3
Conversation
|
Failed to handle method call |
|
USB printing not working in android when update android targetSdkVersion 33 to 34 So any have solution? |
We are using Android targetSdkVersion 34 and it seems working. Would you describe the issue in more detail? |
This issue exists from the original code and we are trying to fix. Please check if it still exists in current update. |
I got this type error when printing using USB in targetSdkVersion 34 but It work fine targetSdkVersion 33 ESC POS Printer(10201): Request for device: vendor_id: 1110, product_id: 2056 E/MethodChannel#com.sersoluciones.flutter_pos_printer_platform(10201): at android.app.ActivityThread.main(ActivityThread.java:8839) |
|
Still unable to re-produce. |
|
Can you please update the project in the latest version? Its error for namespace issue |
|
facing this issue in Android 14 not below 13 it is working fine. E/MethodChannel#com.sersoluciones.flutter_pos_printer_platform( 6657): Failed to handle method call |
|
Hello guys I have fixed several issues for Android 14+, one issue that you solved related to lateinit, onAttachedToActivity was not being called due to a change in flutter, now it is properly called. Additionally, a fix for the USB service PendingIntent was added in the lasted 1.2.2 that caused crashes also. I will review the remaining changes, and may or may not close this pull request If I apply your changes manually. Thank you all for your contributions. |
|
Hi, I am facing multiple issues on Android, both bluetooth and USB. The application crashes with trying to connect to USB printer. Also, when we try to print the ticket on a bluetooth printer, nothing gets printed(Printer connection works fine, but nothing gets printed). The same however, works fine on IOS/Windows. I am using the same code as that in example. Find below the output from flutter doctor. |
When compile with Flutter 3.24, it requires higher Gradle version.
This patch added namespace that is required by Gradle 8