Rename project to just_audio
This commit is contained in:
parent
0574c041c5
commit
108821871d
27 changed files with 51 additions and 51 deletions
|
|
@ -1,20 +0,0 @@
|
|||
#import "AudioPlayerPlugin.h"
|
||||
|
||||
@implementation AudioPlayerPlugin
|
||||
+ (void)registerWithRegistrar:(NSObject<FlutterPluginRegistrar>*)registrar {
|
||||
FlutterMethodChannel* channel = [FlutterMethodChannel
|
||||
methodChannelWithName:@"audio_player"
|
||||
binaryMessenger:[registrar messenger]];
|
||||
AudioPlayerPlugin* instance = [[AudioPlayerPlugin 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue