guru_sdk/guru_app/plugins/persistent/ios/Classes/PersistentPlugin.m

16 lines
569 B
Matlab
Raw Permalink Normal View History

#import "PersistentPlugin.h"
#if __has_include(<persistent/persistent-Swift.h>)
#import <persistent/persistent-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 "persistent-Swift.h"
#endif
@implementation PersistentPlugin
+ (void)registerWithRegistrar:(NSObject<FlutterPluginRegistrar>*)registrar {
[SwiftPersistentPlugin registerWithRegistrar:registrar];
}
@end