Rename project to just_audio

This commit is contained in:
Ryan Heise 2019-11-28 17:55:32 +11:00
parent 0574c041c5
commit 108821871d
27 changed files with 51 additions and 51 deletions

View file

@ -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