File tree Expand file tree Collapse file tree 3 files changed +4
-3
lines changed
Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -993,7 +993,8 @@ - (void)convertPDFFromHTMLString:(CDVInvokedUrlCommand *)command
993993
994994- (void )generatePDFFromHTMLString : (NSString *)html outputFile : (NSString *)filePath options : (NSDictionary *)options completionBlock : (void (^)(NSError *error))completionBlock
995995{
996- [PSPDFProcessor generatePDFFromHTMLString: html outputFileURL: [NSURL fileURLWithPath: filePath] options: options completionBlock: completionBlock];
996+ PSPDFProcessor *processor = [[PSPDFProcessor alloc ] initWithOptions: nil ];
997+ [processor convertHTMLString: html outputFileURL: [NSURL fileURLWithPath: filePath] completionBlock: completionBlock];
997998}
998999
9991000#pragma mark Document methods
Original file line number Diff line number Diff line change 11{
22 "name" : " pspdfkit-cordova-ios" ,
3- "version" : " 1.2.1 " ,
3+ "version" : " 1.2.2 " ,
44 "description" : " PSPDFKit Cordova Plugin for iOS" ,
55 "cordova" : {
66 "id" : " pspdfkit-cordova-ios" ,
Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" UTF-8" ?>
2- <plugin id =" pspdfkit-cordova-ios" version =" 1.2.1 " xmlns =" http://apache.org/cordova/ns/plugins/1.0" xmlns : android =" http://schemas.android.com/apk/res/android" >
2+ <plugin id =" pspdfkit-cordova-ios" version =" 1.2.2 " xmlns =" http://apache.org/cordova/ns/plugins/1.0" xmlns : android =" http://schemas.android.com/apk/res/android" >
33 <engines >
44 <engine name =" cordova" version =" >=6.3.1" />
55 </engines >
You can’t perform that action at this time.
0 commit comments