mirror of
https://github.com/Xevion/paperless-mobile.git
synced 2025-12-14 10:12:21 -06:00
feat: Add document scanner package
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
#import "SimpleEdgeDetectionPlugin.h"
|
||||
#if __has_include(<paperless_document_scanner/paperless_document_scanner-Swift.h>)
|
||||
#import <paperless_document_scanner/paperless_document_scanner-Swift.h>
|
||||
#else
|
||||
// Support project import fallback if the generated compatibility header
|
||||
// is not copied when this plugin is created as a library.
|
||||
// https://forums.swift.org/t/swift-static-libraries-dont-copy-generated-objective-c-header/19816
|
||||
#import "paperless_document_scanner-Swift.h"
|
||||
#endif
|
||||
|
||||
@implementation SimpleEdgeDetectionPlugin
|
||||
+ (void)registerWithRegistrar:(NSObject<FlutterPluginRegistrar>*)registrar {
|
||||
[SwiftSimpleEdgeDetectionPlugin registerWithRegistrar:registrar];
|
||||
}
|
||||
@end
|
||||
Reference in New Issue
Block a user