mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2025-07-27 19:11:09 +00:00

* chore: run flutter create on flowy_sdk * chore: rename flowy-sdk to flowy-core * chore: rename flowy_sdk to appflowy_backend * chore: fix windows build * chore: replace bloctest with test Co-authored-by: nathan <nathan@appflowy.io> Co-authored-by: vedon <vedon.fu@gmail.com>
16 lines
614 B
Objective-C
16 lines
614 B
Objective-C
#import "AppFlowyBackendPlugin.h"
|
|
#if __has_include(<appflowy_backend/appflowy_backend-Swift.h>)
|
|
#import <appflowy_backend/appflowy_backend-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 "appflowy_backend-Swift.h"
|
|
#endif
|
|
|
|
@implementation AppFlowyBackendPlugin
|
|
+ (void)registerWithRegistrar:(NSObject<FlutterPluginRegistrar>*)registrar {
|
|
[SwiftAppFlowyBackendPlugin registerWithRegistrar:registrar];
|
|
}
|
|
@end
|