phonertc icon indicating copy to clipboard operation
phonertc copied to clipboard

Problem with Cordova update to 3.9.2

Open cdcv opened this issue 9 years ago • 3 comments

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.

cdcv avatar Nov 24 '15 18:11 cdcv

Please try to use the latest version of Cordova.

alongubkin avatar Nov 28 '15 13:11 alongubkin

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.

cdcv avatar Nov 28 '15 16:11 cdcv

We're also having this issue with Cordova version 5.4.1

MikeB2012 avatar Dec 07 '15 19:12 MikeB2012