attilabOfficial / cordova-audio-stream-plugin

Cordova audio stream plugin for IOS. You can read radio feed with it
Apache License 2.0
28 stars 20 forks source link

Callback not working (iOS/Android) #6

Open xgat opened 9 years ago

xgat commented 9 years ago

Hi, playback works fine on both iOS and Android, but callbacks (onError, onSuccess, onStatusChange) are not being called. I tried using org.cordova.plugin.media and callbacks work, but stream playback does not work on iOS. I'm using latest Cordova. Thanks

alloyking commented 9 years ago

I've noticed the same problem. To be fair cordova does seem to have the same problem.

in CDVStream.m we do have this call: [self.commandDelegate sendPluginResult:result callbackId:command.callbackId];

Being a non objective-c programmer I cant say why that doesn't send the callback, but it appears to be not functioning as expected

imsingh commented 8 years ago

Callbacks are not working, because these are not implemented in ios version of this plugin.