mirror of
				https://github.com/AppFlowy-IO/AppFlowy.git
				synced 2025-10-31 10:03:18 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			16 lines
		
	
	
		
			558 B
		
	
	
	
		
			Objective-C
		
	
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
		
			558 B
		
	
	
	
		
			Objective-C
		
	
	
	
	
	
| #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
 | 
