system_proxy/ios/Classes/SystemProxyPlugin.m

14 lines
452 B
Mathematica
Raw Normal View History

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