phonertc
phonertc copied to clipboard
Problem with Cordova update to 3.9.2
Using Cordova 3.9.2, I am getting errors in XCode for the following code:
PhoneRTCPlugin.swift override init(webView: UIWebView) { peerConnectionFactory = RTCPeerConnectionFactory() RTCPeerConnectionFactory.initializeSSL() super.init(webView: webView) }
The errors are: Cannot override 'init' which as been marked unavailable 'init(webView:)' is unavailable: Deprecated in Cordova 3.9.2. Use plugininitialize method instead.
Thanks for your help.
Please try to use the latest version of Cordova.
We are using the version of Cordova that is packaged with Meteor (this is a Meteor app). I don't believe that we are able to control the Cordova version, which is a central part of our problem. Thanks.
We're also having this issue with Cordova version 5.4.1