Flutter plugin for scanning and generating QR codes using the ZXing library, supporting Android, iOS, and desktop platforms
flutterbarcode-generatorbarcode-scannergeneratorqrqrcodeqrcode-generatorqrcode-scannerscannerzxingbarcodezxscanner
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
590 B
16 lines
590 B
3 years ago
|
#import "FlutterZxingPlugin.h"
|
||
|
#if __has_include(<flutter_zxing/flutter_zxing-Swift.h>)
|
||
|
#import <flutter_zxing/flutter_zxing-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 "flutter_zxing-Swift.h"
|
||
|
#endif
|
||
|
|
||
|
@implementation FlutterZxingPlugin
|
||
|
+ (void)registerWithRegistrar:(NSObject<FlutterPluginRegistrar>*)registrar {
|
||
|
[SwiftFlutterZxingPlugin registerWithRegistrar:registrar];
|
||
|
}
|
||
|
@end
|