Toggle navigation
Toggle navigation
This project
Loading...
Sign in
flutter_package
/
dart_pdf
Go to a project
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
David PHAM-VAN
2023-05-10 18:35:33 -0300
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
c0866a87578bb45a7cc6a79517edbf53b3605812
c0866a87
1 parent
4aef6b80
Update format
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
printing/CHANGELOG.md
printing/ios/Classes/PrintJob.swift
printing/CHANGELOG.md
View file @
c0866a8
...
...
@@ -8,6 +8,7 @@
-
Fix wrong format in directPrintPdf
[
<AlhasanAlQaisi>
]
-
Add compatibility with Android Gradle Plugin 8.0
[
asaarnak
]
-
Add compatibility with Flutter 3.10
-
Re-init UIPrinter cause issues with delegate
[
Hasan
]
## 5.10.3
...
...
printing/ios/Classes/PrintJob.swift
View file @
c0866a8
...
...
@@ -144,7 +144,7 @@ public class PrintJob: UIPrintPageRenderer, UIPrintInteractionControllerDelegate
printing
.
onCompleted
(
printJob
:
self
,
completed
:
completed
,
error
:
error
?
.
localizedDescription
as
NSString
?)
}
public
func
printInteractionController
(
_
printController
:
UIPrintInteractionController
,
choosePaper
paperList
:
[
UIPrintPaper
])
->
UIPrintPaper
{
public
func
printInteractionController
(
_
:
UIPrintInteractionController
,
choosePaper
paperList
:
[
UIPrintPaper
])
->
UIPrintPaper
{
if
currentSize
==
nil
{
return
paperList
[
0
]
}
...
...
@@ -199,7 +199,6 @@ public class PrintJob: UIPrintPageRenderer, UIPrintInteractionControllerDelegate
selectedPrinters
[
printerURLString
]
=
UIPrinter
(
url
:
printerURL
!
)
}
selectedPrinters
[
printerURLString
]
!.
contactPrinter
{
available
in
if
!
available
{
self
.
printing
.
onCompleted
(
printJob
:
self
,
completed
:
false
,
error
:
"Printer not available"
)
...
...
Please
register
or
login
to post a comment