iOS implementation

This commit is contained in:
Ryan Heise 2019-12-01 02:28:17 +11:00
parent 8569c34ce2
commit 687553c875
13 changed files with 554 additions and 19 deletions

View file

@ -48,7 +48,7 @@ class AudioPlayer {
MethodChannel('com.ryanheise.just_audio.methods');
static Future<MethodChannel> _createChannel(int id) async {
await _mainChannel.invokeMethod('init', id);
await _mainChannel.invokeMethod('init', '$id');
return MethodChannel('com.ryanheise.just_audio.methods.$id');
}