Skip to content

Commit 088e27c

Browse files
author
Rad Azzouz
committed
Rename PSPDFKit to PSPDFKitGlobal
1 parent 7311adb commit 088e27c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ios/Classes/PspdfkitPlugin.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,10 @@ + (void)registerWithRegistrar:(NSObject<FlutterPluginRegistrar>*)registrar {
2626

2727
- (void)handleMethodCall:(FlutterMethodCall*)call result:(FlutterResult)result {
2828
if ([@"frameworkVersion" isEqualToString:call.method]) {
29-
result([@"iOS " stringByAppendingString:PSPDFKit.versionNumber]);
29+
result([@"iOS " stringByAppendingString:PSPDFKitGlobal.versionNumber]);
3030
} else if ([@"setLicenseKey" isEqualToString:call.method]) {
3131
NSString *licenseKey = call.arguments[@"licenseKey"];
32-
[PSPDFKit setLicenseKey:licenseKey];
32+
[PSPDFKitGlobal setLicenseKey:licenseKey];
3333
} else if ([@"present" isEqualToString:call.method]) {
3434
NSString *documentPath = call.arguments[@"document"];
3535
NSAssert(documentPath != nil, @"Document path may not be nil.");

0 commit comments

Comments
 (0)