Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
4cc24a0
Version 0.0.23
CodeMinion Jul 16, 2021
cbdcea1
Fixes exception after printing on iOS.
Sep 18, 2021
a73dba8
Version 0.0.24
CodeMinion Sep 18, 2021
e5e25c6
Removed tracked files.
CodeMinion Sep 18, 2021
9f6da11
Added Speed Dater to list of app made with another_brother
CodeMinion Sep 18, 2021
1b86d03
Version 0.0.25
CodeMinion Oct 9, 2021
5867630
Update README.md
CodeMinion Feb 16, 2022
c078c65
Added link to app built with another_brother
Feb 26, 2022
4ccc6f6
Updated readme
Feb 26, 2022
d71b821
Fixed typo in readme.
Mar 26, 2022
fe61afd
Added Bluetooth permissions for Android 12
May 28, 2022
351556a
Version 0.0.27
Jun 12, 2022
bb3880f
Deleted example
Jun 12, 2022
3832d67
Version 0.0.28
PoachMe Sep 18, 2022
8779261
Moved print calls to background thread on iOS
PoachMe Nov 8, 2022
f183cc4
Upgrades to Brother Printer SDK 4.6.1
PoachMe Nov 8, 2022
ee95cdb
Version 0.0.29
PoachMe Nov 8, 2022
9bb6ff2
Merge pull request #35 from CodeMinion/android-4-6-1-update
CodeMinion Nov 8, 2022
935ddfe
Added OkosHACCP to the list of apps built with another_brother
PoachMe Nov 16, 2022
ac7c9fc
Updated ReadMe
PoachMe Nov 19, 2022
dde25e4
Version 0.0.30
PoachMe Nov 26, 2022
13bd388
Added error interpretation from raw status structure on iOS
PoachMe Nov 30, 2022
0958c7c
Added serialization of iOS label info
PoachMe Dec 17, 2022
e81352c
Version 0.0.31
PoachMe Mar 7, 2023
738567b
Version 0.0.32
PoachMe Mar 19, 2023
32c1935
Version 0.0.33
PoachMe Mar 24, 2023
fb5769c
Version 0.0.34
PoachMe May 12, 2023
9d59456
Corrected new TD models
PoachMe May 12, 2023
aeb92f2
Adds bins for TD2125NWB
PoachMe May 15, 2023
0a6412e
Added bin paper directories to pubspce
PoachMe May 16, 2023
9ee5657
Added bin papers for TD2125NWB-51x26mm and TD2125NWB-57x76mm
PoachMe May 17, 2023
ccc02c6
Attempt for support of PT_D610BT on iOS
PoachMe May 18, 2023
07915be
Replace bin files for TD2125NWB-51x26mm and TD2125NWB-57x76mm with ne…
PoachMe May 26, 2023
e2b9217
dont commit pubspec.lock
BentEngbers May 28, 2023
aee809d
remove pubspec.lock
BentEngbers May 28, 2023
f9a2164
enable flutter version 3
BentEngbers May 28, 2023
037647c
update ios-no-type-b branch
BentEngbers May 28, 2023
be49986
out-comment code related to Type-b
BentEngbers May 28, 2023
cfaf73a
update gradle and kotlin
BentEngbers May 28, 2023
f6612e2
upgrade gradle
BentEngbers May 28, 2023
144e453
fix issues with BrotherManager
BentEngbers May 28, 2023
852660c
remove package android
BentEngbers May 28, 2023
4df1131
fix duplicate definitions
BentEngbers May 29, 2023
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: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,8 @@

build/
.idea/

# For library packages, don’t commit the pubspec.lock file.
# Regenerating the pubspec.lock file lets you test your package against the latest compatible versions of its dependencies.
# See https://dart.dev/guides/libraries/private-files#pubspeclock
pubspec.lock
28 changes: 0 additions & 28 deletions .idea/libraries/Dart_SDK.xml

This file was deleted.

7 changes: 0 additions & 7 deletions .idea/libraries/Flutter_Plugins.xml

This file was deleted.

158 changes: 0 additions & 158 deletions .idea/workspace.xml

This file was deleted.

38 changes: 37 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,40 @@
- Fixes toMap on TbModel.

## 0.0.22
- PaperSize now shares common interface as other labels.
- PaperSize now shares common interface as other labels.

## 0.0.23
- Fixes issue with startPTTPrint. Special thanks to rendesg for the fixes.

## 0.0.24
- Fixes exception on iOS print. Special thanks to BentEngbers for the report.

## 0.0.25
- Moved from JCenter to MavenCentral for Android dependencies.

## 0.0.26
- Added Bluetooth permissions required by Android 12

## 0.0.27
- Replaces flutter_blue with flutter_blu_plus

## 0.0.28
- 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.

## 0.0.30
- Adds support for getPDFFilePages on iOS.

## 0.0.31
- Adds orientation support for PT printers on iOS.

## 0.0.32
- Updates Bluetooth printer filter on Android.

## 0.0.33
- Updates USB permissions check for Android 13.

## 0.0.34
- Adds support for: RJ_3230B, RJ_3250WB, PT_D410, PT_D460BT, PT_D610BT, PJ_822, PJ_823, PJ_862, PJ_863, PJ_883, TD_2030A, TD_2125N, TD_2125NWB, TD_2135N, TD_2135NWB.
24 changes: 23 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# another_brother

Another Bother SDK library for Flutter.
Another Bother SDK library for Flutter. For full demo app see Another-Brother-Demo-Prime https://github.com/CodeMinion/Demo-Another-Brother-Prime

## Android Support
- Bluetooth/BLE
Expand Down Expand Up @@ -52,3 +52,25 @@ Add the following to your Info.plist
```
On your Runner make sure to mark: Allow non-modular includes as yes.
Also make sure to mark the libBROTHERSDK.a as belonging to another_brother in xCode: https://www.youtube.com/watch?v=42dBVdXU8gk

iOS Setup Video: https://www.youtube.com/watch?v=AcFnd-6hSew



## Apps Built with another_brother
Have an app built using another_brother let me know and I will add it here!

- Easy Menu: https://www.youtube.com/watch?v=xy9qYo03pOQ
- 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&
- OkosHACCP: https://play.google.com/store/apps/details?id=hu.okoshaccp.operator built by https://wunderbytes.eu/

# Brother Hackathon
Feel free to use any of my GitHub repositories in your apps. You should also consider
attending the free Brother Hackathon happening this year. You get a free Brother QL-1110NWB,
a PT-P910BT, and possibly an awesome DS-940DW mobile scanner. Visit brotherhackathon.com for
more information. I will be teaching workshops, and they are free. You can ask me any questions.
Thank you.

24 changes: 16 additions & 8 deletions android/build.gradle
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@

group 'com.rouninlabs.another_brother'
version '1.0-SNAPSHOT'

buildscript {
ext.kotlin_version = '1.3.50'
ext.kotlin_version = '1.8.21'
repositories {
google()
jcenter()
mavenCentral()
}

dependencies {
//classpath 'com.android.tools.build:gradle:4.1.0'
classpath 'com.android.tools.build:gradle:3.5.4'
classpath 'com.android.tools.build:gradle:7.4.2'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}

rootProject.allprojects {
repositories {
google()
jcenter()
mavenCentral()
maven {
url "https://rouninlabs.jfrog.io/artifactory/rounin-libs-external/"
}
Expand All @@ -29,7 +29,7 @@ apply plugin: 'com.android.library'
apply plugin: 'kotlin-android'

android {
compileSdkVersion 30
compileSdkVersion 31

sourceSets {
main.java.srcDirs += 'src/main/kotlin'
Expand All @@ -38,11 +38,19 @@ android {
minSdkVersion 19 // Bumped up because of Type B SDK
consumerProguardFiles 'consumer-rules.pro'
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}

kotlinOptions {
jvmTarget = JavaVersion.VERSION_1_8.toString()
}
}

dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.3.9'
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.7.1'
implementation 'com.brother.sdk:printer:4.6.1'
implementation 'com.brother.typeb:print:1.0.0'
}
Binary file modified android/gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
3 changes: 2 additions & 1 deletion android/gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#Sun May 28 20:31:35 CEST 2023
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.6.1-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-6.7-all.zip
Loading