iOS implementation
This commit is contained in:
parent
8569c34ce2
commit
687553c875
13 changed files with 554 additions and 19 deletions
|
@ -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');
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue