2019-07-23 18:10:24 +08:00
|
|
|
#import "SystemProxyPlugin.h"
|
2023-05-07 04:11:31 +08:00
|
|
|
#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
|
2019-07-23 18:10:24 +08:00
|
|
|
|
|
|
|
@implementation SystemProxyPlugin
|
|
|
|
+ (void)registerWithRegistrar:(NSObject<FlutterPluginRegistrar>*)registrar {
|
|
|
|
[SwiftSystemProxyPlugin registerWithRegistrar:registrar];
|
|
|
|
}
|
|
|
|
@end
|