14 lines
452 B
Objective-C
14 lines
452 B
Objective-C
#import "SystemProxyPlugin.h"
|
|
#if __has_include(<system_proxy/system_proxy-Swift.h>)
|
|
#import <system_proxy/system_proxy-Swift.h>
|
|
#else
|
|
// https://forums.swift.org/t/swift-static-libraries-dont-copy-generated-objective-c-header/19816
|
|
#import "system_proxy-Swift.h"
|
|
#endif
|
|
|
|
@implementation SystemProxyPlugin
|
|
+ (void)registerWithRegistrar:(NSObject<FlutterPluginRegistrar>*)registrar {
|
|
[SwiftSystemProxyPlugin registerWithRegistrar:registrar];
|
|
}
|
|
@end
|