File tree Expand file tree Collapse file tree 8 files changed +28
-210
lines changed Expand file tree Collapse file tree 8 files changed +28
-210
lines changed Original file line number Diff line number Diff line change @@ -1124,7 +1124,7 @@ class EditorState extends State<Editor> {
11241124 page.backgroundImage = PdfEditorImage (
11251125 id: coreInfo.nextImageId++ ,
11261126 pdfBytes: pdfBytes,
1127- pdfFile: null ,
1127+ pdfFile: pdfFile ,
11281128 pdfPage: currentPdfPage,
11291129 pageIndex: coreInfo.pages.length,
11301130 pageSize: pageSize,
Original file line number Diff line number Diff line change 1+ ## 1.2.2
2+
3+ - Improved pub.dev scores
4+
5+ ## 1.2.1
6+
7+ - Updated the Onyx SDK
8+
19## 1.2.0
210
311- Added an optional ` init ` method to improve initial performance on non-Onyx Android devices. See the README for more information.
Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ android {
5656 }
5757
5858 dependencies {
59- implementation(' com.onyx.android.sdk:onyxsdk-device:1.2.21 ' )
60- implementation(' com.onyx.android.sdk:onyxsdk-pen:1.4.4 ' )
59+ implementation(' com.onyx.android.sdk:onyxsdk-device:1.2.27 ' )
60+ implementation(' com.onyx.android.sdk:onyxsdk-pen:1.4.8 ' )
6161 }
6262}
Original file line number Diff line number Diff line change @@ -42,3 +42,5 @@ app.*.map.json
4242/android /app /debug
4343/android /app /profile
4444/android /app /release
45+
46+ pubspec.lock
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11name : onyxsdk_pen
22description : This plugin integrates the Onyx Pen SDK into Flutter to improve e-ink responsiveness in drawing apps.
3- version : 1.2.0
3+ version : 1.2.2
44homepage : https://github.com/saber-notes/saber/tree/main/packages/onyxsdk_pen
55
66topics :
Original file line number Diff line number Diff line change 1- name : onyxsdk_pen
1+ # This name should be replaced with `onyxsdk_pen` by the `patches/remove_proprietary_dependencies.sh` script.
2+ # This is because the Dart analyzer gets confused because there are two pubspec.yaml files with the name `onyxsdk_pen`.
3+ name : onyxsdk_pen_dummy
24description : This plugin integrates the Onyx Pen SDK into Flutter to improve e-ink responsiveness in drawing apps.
3- version : 1.2.0
5+ version : 1.2.2
46homepage : https://github.com/saber-notes/saber/tree/main/packages/onyxsdk_pen
57publish_to : ' none'
68
Original file line number Diff line number Diff line change 1010 sed -i -e ' s!/onyxsdk_pen!/onyxsdk_pen_dummy!' pubspec.yaml
1111fi
1212
13+ # find "name: onyxsdk_pen_dummy" and replace with "name: onyxsdk_pen"
14+ echo -n " Patching onyxsdk_pen_dummy to have name onyxsdk_pen: "
15+ # check if packages/onyxsdk_pen_dummy/pubspec.yaml contains name: onyxsdk_pen_dummy
16+ if grep -q " name: onyxsdk_pen_dummy" packages/onyxsdk_pen_dummy/pubspec.yaml; then
17+ echo " found"
18+ sed -i -e ' s!name: onyxsdk_pen_dummy!name: onyxsdk_pen!' packages/onyxsdk_pen_dummy/pubspec.yaml
19+ else
20+ echo " already done"
21+ fi
22+
1323# remove Onyx maven repo
1424echo -n " Removing Onyx,jitpack maven repo: "
1525# check if android/build.gradle contains "repo.boox.com"
You can’t perform that action at this time.
0 commit comments