Showing
2 changed files
with
0 additions
and
19 deletions
ios/Classes/MobileScannerPlugin.h
deleted
100644 → 0
ios/Classes/MobileScannerPlugin.m
deleted
100644 → 0
| 1 | -#import "MobileScannerPlugin.h" | ||
| 2 | -#if __has_include(<mobile_scanner/mobile_scanner-Swift.h>) | ||
| 3 | -#import <mobile_scanner/mobile_scanner-Swift.h> | ||
| 4 | -#else | ||
| 5 | -// Support project import fallback if the generated compatibility header | ||
| 6 | -// is not copied when this plugin is created as a library. | ||
| 7 | -// https://forums.swift.org/t/swift-static-libraries-dont-copy-generated-objective-c-header/19816 | ||
| 8 | -#import "mobile_scanner-Swift.h" | ||
| 9 | -#endif | ||
| 10 | - | ||
| 11 | -@implementation MobileScannerPlugin | ||
| 12 | -+ (void)registerWithRegistrar:(NSObject<FlutterPluginRegistrar>*)registrar { | ||
| 13 | - [SwiftMobileScannerPlugin registerWithRegistrar:registrar]; | ||
| 14 | -} | ||
| 15 | -@end |
-
Please register or login to post a comment