Showing
4 changed files
with
12 additions
and
18 deletions
| @@ -141,7 +141,6 @@ public class PrintJob: UIPrintPageRenderer, UIPrintInteractionControllerDelegate | @@ -141,7 +141,6 @@ public class PrintJob: UIPrintPageRenderer, UIPrintInteractionControllerDelegate | ||
| 141 | } | 141 | } |
| 142 | 142 | ||
| 143 | return currentSize!.height | 143 | return currentSize!.height |
| 144 | - | ||
| 145 | } | 144 | } |
| 146 | 145 | ||
| 147 | func printPdf(name: String, withPageSize size: CGSize, andMargin margin: CGRect, withPrinter printerID: String?, dynamically dyn: Bool) { | 146 | func printPdf(name: String, withPageSize size: CGSize, andMargin margin: CGRect, withPrinter printerID: String?, dynamically dyn: Bool) { |
| @@ -4,17 +4,14 @@ | @@ -4,17 +4,14 @@ | ||
| 4 | Pod::Spec.new do |s| | 4 | Pod::Spec.new do |s| |
| 5 | s.name = 'printing' | 5 | s.name = 'printing' |
| 6 | s.version = '1.0.0' | 6 | s.version = '1.0.0' |
| 7 | - s.summary = 'Plugin that allows Flutter apps to generate and print documents to android or ios compatible printers' | ||
| 8 | - s.description = <<-DESC | ||
| 9 | -Plugin that allows Flutter apps to generate and print documents to android or ios compatible printers | ||
| 10 | - DESC | ||
| 11 | - s.homepage = 'https://github.com/DavBfr/dart_pdf/tree/master/printing' | ||
| 12 | - s.license = { :file => '../LICENSE' } | 7 | + s.summary = 'Flutter printing plugin' |
| 8 | + s.description = 'Plugin that allows Flutter apps to generate and print documents to iOS compatible printers' | ||
| 9 | + s.homepage = 'https://pub.dev/packages/printing' | ||
| 10 | + s.license = { :type => 'Apache2' } | ||
| 13 | s.author = { 'David PHAM-VAN' => 'dev.nfet.net@gmail.com' } | 11 | s.author = { 'David PHAM-VAN' => 'dev.nfet.net@gmail.com' } |
| 14 | - s.source = { :path => '.' } | 12 | + s.source = { :git => 'https://github.com/DavBfr/dart_pdf.git', :branch => 'master' } |
| 15 | s.source_files = 'Classes/**/*' | 13 | s.source_files = 'Classes/**/*' |
| 16 | s.dependency 'Flutter' | 14 | s.dependency 'Flutter' |
| 17 | - | ||
| 18 | s.ios.deployment_target = '8.0' | 15 | s.ios.deployment_target = '8.0' |
| 19 | s.swift_version = '4.2' | 16 | s.swift_version = '4.2' |
| 20 | end | 17 | end |
| @@ -4,17 +4,14 @@ | @@ -4,17 +4,14 @@ | ||
| 4 | Pod::Spec.new do |s| | 4 | Pod::Spec.new do |s| |
| 5 | s.name = 'printing' | 5 | s.name = 'printing' |
| 6 | s.version = '1.0.0' | 6 | s.version = '1.0.0' |
| 7 | - s.summary = 'Plugin that allows Flutter apps to generate and print documents to android or ios compatible printers' | ||
| 8 | - s.description = <<-DESC | ||
| 9 | -Plugin that allows Flutter apps to generate and print documents to android or ios compatible printers | ||
| 10 | - DESC | ||
| 11 | - s.homepage = 'http://example.com' | ||
| 12 | - s.license = { :file => '../LICENSE' } | ||
| 13 | - s.author = { 'Your Company' => 'email@example.com' } | ||
| 14 | - s.source = { :path => '.' } | 7 | + s.summary = 'Flutter printing plugin' |
| 8 | + s.description = 'Plugin that allows Flutter apps to generate and print documents to macOS compatible printers' | ||
| 9 | + s.homepage = 'https://pub.dev/packages/printing' | ||
| 10 | + s.license = { :type => 'Apache2' } | ||
| 11 | + s.author = { 'David PHAM-VAN' => 'dev.nfet.net@gmail.com' } | ||
| 12 | + s.source = { :git => 'https://github.com/DavBfr/dart_pdf.git', :branch => 'master' } | ||
| 15 | s.source_files = 'Classes/**/*' | 13 | s.source_files = 'Classes/**/*' |
| 16 | s.dependency 'FlutterMacOS' | 14 | s.dependency 'FlutterMacOS' |
| 17 | - | ||
| 18 | s.platform = :osx | 15 | s.platform = :osx |
| 19 | s.osx.deployment_target = '10.11' | 16 | s.osx.deployment_target = '10.11' |
| 20 | end | 17 | end |
-
Please register or login to post a comment