Release 2.0.0, minor changes

- Removed all ios code from package
This commit is contained in:
Prerak Mann
2020-08-16 00:28:14 +05:30
parent 00289fa7bc
commit 1abde6ba90
43 changed files with 62 additions and 1145 deletions

View File

@@ -1,4 +0,0 @@
#import <Flutter/Flutter.h>
@interface NearbyConnectionsPlugin : NSObject<FlutterPlugin>
@end

View File

@@ -1,20 +0,0 @@
#import "NearbyConnectionsPlugin.h"
@implementation NearbyConnectionsPlugin
+ (void)registerWithRegistrar:(NSObject<FlutterPluginRegistrar>*)registrar {
FlutterMethodChannel* channel = [FlutterMethodChannel
methodChannelWithName:@"nearby_connections"
binaryMessenger:[registrar messenger]];
NearbyConnectionsPlugin* instance = [[NearbyConnectionsPlugin alloc] init];
[registrar addMethodCallDelegate:instance channel:channel];
}
- (void)handleMethodCall:(FlutterMethodCall*)call result:(FlutterResult)result {
if ([@"getPlatformVersion" isEqualToString:call.method]) {
result([@"iOS " stringByAppendingString:[[UIDevice currentDevice] systemVersion]]);
} else {
result(FlutterMethodNotImplemented);
}
}
@end