Skip to content

Conversation

@jcesarmobile
Copy link
Member

As on #124 the setTimeout was removed, it could cause problems (none reported at the moment, but you never know).

This should protect from those possible problems as it keeps the behaviour the setTimeout used to have (putting the code into a the queue for the next process tick).

@ghenry22 can you test this and see if keeps working fine in background?

See related cordova-plugin-wkwebview-engine PR

@ghenry22
Copy link
Contributor

No problem I’ll test it out with a couple of projects next week when I am back in the office.

@jcesarmobile jcesarmobile force-pushed the callbackFromNative-promise branch from 609ba27 to 5206c50 Compare September 26, 2018 12:03
@ghenry22
Copy link
Contributor

ghenry22 commented Oct 2, 2018

@jcesarmobile this is all working fine for me, have updated 2 projects with no issues encountered so far.

@jcesarmobile jcesarmobile merged commit 67da7b9 into ionic-team:master Oct 2, 2018
@jcesarmobile jcesarmobile deleted the callbackFromNative-promise branch October 2, 2018 11:38
@jcesarmobile
Copy link
Member Author

thanks for testing!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants