16 lines
614 B
Mathematica
Raw Normal View History

#import "AppFlowyBackendPlugin.h"
#if __has_include(<appflowy_backend/appflowy_backend-Swift.h>)
#import <appflowy_backend/appflowy_backend-Swift.h>
2021-06-19 23:41:19 +08:00
#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 "appflowy_backend-Swift.h"
2021-06-19 23:41:19 +08:00
#endif
@implementation AppFlowyBackendPlugin
2021-06-19 23:41:19 +08:00
+ (void)registerWithRegistrar:(NSObject<FlutterPluginRegistrar>*)registrar {
[SwiftAppFlowyBackendPlugin registerWithRegistrar:registrar];
2021-06-19 23:41:19 +08:00
}
@end