mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2025-07-18 22:46:57 +00:00
16 lines
558 B
Mathematica
16 lines
558 B
Mathematica
![]() |
#import "FlowySdkPlugin.h"
|
||
|
#if __has_include(<flowy_sdk/flowy_sdk-Swift.h>)
|
||
|
#import <flowy_sdk/flowy_sdk-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 "flowy_sdk-Swift.h"
|
||
|
#endif
|
||
|
|
||
|
@implementation FlowySdkPlugin
|
||
|
+ (void)registerWithRegistrar:(NSObject<FlutterPluginRegistrar>*)registrar {
|
||
|
[SwiftFlowySdkPlugin registerWithRegistrar:registrar];
|
||
|
}
|
||
|
@end
|