Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,4 +71,7 @@
- Replaces flutter_blue with flutter_blu_plus

## 0.0.28
- Resolves issue where app UI freezes while calling printImage on iOS.
- Resolves issue where app UI freezes while calling printImage on iOS.

## 0.0.29
- Upgrades Android libs to v4.6.1 of the Brother SDK.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ Have an app built using another_brother let me know and I will add it here!
- QR Storage: https://play.google.com/store/apps/details?id=com.rouninlabs.qrstorage
- Speed Dater: https://youtu.be/z4jxO9HWze8
- 4.events: https://play.google.com/store/apps/details?id=com.fourevents.app
- PoachMe.dev: https://poachme.dev/#/devLand?reqCode=SAVETIME&

# Brother Hackathon
Feel free to use any of my GitHub repositories in your apps. You should also consider
Expand Down
2 changes: 1 addition & 1 deletion android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,6 @@ android {
dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.3.9'
implementation 'com.brother.sdk:printer:1.0.0'
implementation 'com.brother.sdk:printer:4.6.1'
implementation 'com.brother.typeb:print:1.0.0'
}
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,10 @@ fun customPaperInfoFromMap(map:Map<String, Any>?):CustomPaperInfo? {

val customPaperInfo:CustomPaperInfo = when(paperKind) {
PaperKind.DIE_CUT -> {
CustomPaperInfo.newCustomDiaCutPaper(printerModel,
CustomPaperInfo.newCustomDieCutPaper(printerModel,
unit, tapeWidth, tapeLength, rightMargin, leftMargin, topMargin, bottomMargin, labelPitch)
//CustomPaperInfo.newCustomDiaCutPaper(printerModel,
// unit, tapeWidth, tapeLength, rightMargin, leftMargin, topMargin, bottomMargin, labelPitch)
}
PaperKind.MARKED_ROLL -> {
CustomPaperInfo.newCustomMarkRollPaper(printerModel,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ class GetPdfPagesMethodCall(val flutterAssets: FlutterPlugin.FlutterAssets, val
val started: Boolean = printer.startCommunication()
}

val pages = printer.getPDFPages(filePath)
val pages = printer.getPDFFilePages(filePath)

// End Communication
if (isOneTime) {
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: another_brother
description: A flutter plugin for printing with the Brother label and TypeB printers.
version: 0.0.28
version: 0.0.29
repository: https://github.com/CodeMinion/another_brother

environment:
Expand Down