twilio_client_phonegap
twilio_client_phonegap copied to clipboard
AVAudioSessionUtilities
When I try to call in iOS I get 2 errors: GetProperty: AudioSessionGetProperty ('cilt') failed with error: '!siz' GetProperty_DefaultToZero: AudioSessionGetProperty ('cilt') failed with error: '!siz' Is it similar with plugin code in iOS? Cant find any.
Hi,
Are you on the Simulator or on a device?
Thanks!
Hi. On real device.
Wanted to comment here to say I'm getting the same error, also on a real device. iPhone 6, iOS version 8.4.1.
Follow up: tried on another iPhone, this one was an iPhone 5 also running version 8.4.1. It was on a different carrier as well. Unlikely to be hardware specific, probably related to a dependency issue in Xcode or a bug in my code.
If either of you found a cause for the initial issue, I'd appreciate a pointer of where to look.
epalace510, I was update SDK version, error leaves me ) And I forked fork of this plugin, we included both SDK's, Android v4 support and etc. Now you just need add plugin by CLI ionic plugin add https://github.com/cale148/twilio_client_phonegap and enjoy full functionality form box
No such luck. I tried replacing the plugin with your fork, but get the same error message.
I will push last today. On github still 1.2.2 SDK
Hi @epalace510 - are you on the latest version of the Twilio Client SDK for iOS - 1.2.5?
Thanks!
I was on 1.2.4 (as I'd downloaded the SDK last week). I just updated to the new SDK (1.2.5) and re-added the files through XCode. The error persists.
Are you using any other Cordova Plugins (like a WebRTC plugin)?
I am not, the only other plugin is Whitelist. However, I've gotten ahold of a colleague's heroku instance and when I point the app at that it works. With a demo Twilio account, the call will last about 10 seconds before the server force-ends the call and the same error message displays.
So what seems to be happening is I messed up my Heroku instance (looking into what I configured wrong, still unsure of what it was) and it was dropping my calls as soon as I phoned in. The error displays when the call ends (either through the server ending it or when you press "hang up").
Hi,
So to follow up - this isn't an error with the plugin or Cordova, but because the Twilio Client SDK has problems working with the demo Twilio account credentials?
Thanks!
Rather, my Heroku instance was incorrectly configured. The server was dropping calls as soon as they were made. Demo account or full account should still work, the issue was with the server. The error displays in the console when a call is ended (either by the user or the server), but it seems like it's not a bug as much as iOS sending a message saying it the call was ended in a way it didn't expect but still handled.