Skip to content
This repository has been archived by the owner on May 18, 2021. It is now read-only.

Cordova 6.2 breaks plugin #1

Open
DavidMora opened this issue Jul 9, 2016 · 2 comments
Open

Cordova 6.2 breaks plugin #1

DavidMora opened this issue Jul 9, 2016 · 2 comments

Comments

@DavidMora
Copy link

Cordova changed the added NSMutableArray dequeue interface name used in ChromeSocket.m

The fix is simple, just use the new cdv_dequeue interface:

    ChromeSocketSocket* acceptSocket = [socket->_acceptSocketQueue cdv_dequeue];

However, a more elaborated fix is welcome, such as a manual dequeue operation over the NSMutableArray (avoid Cordova's interfaces) to ensure backwards compatibility with older Cordova versions.

@JoergHolz
Copy link

+1 and thx for the solution.

@lentyaishe
Copy link

@DavidMora Thanks a bunch!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants