Files
bluetooth_low_energy/ios/Classes/BluetoothLowEnergyPlugin.m
2021-06-10 18:06:02 +08:00

16 lines
643 B
Objective-C

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