Closed kevin-dp closed 8 years ago
Hi,
I think script-src: 'unsafe-inline'
is missing in your content-security-policy.
Please re-test
Regarding the thread warning, I don't think the plugin is blocking the UI, cordova is only prompt to display that kind of warning. I'd be happy if someone could double check this though.
Hi,
You were right, adding script-src 'self' 'unsafe-inline';
did the trick!
Thanks for this one :)
You're welcome. I'm closing the issue.
Hi,
I set up a quick test to discover users present on the network. When running in the iOS simulator (or on a real iPhone, Android phone) Xcode gives me following warning
I get the same warning for other methods, e.g. "register".
I was not worrying about this warning until I added a button so that clicking the button calls the "stop" method. Clicking the button does not call my function which calls the "stop" method. Hence, I assume Xcode was right and ZeroConf is freezing the UI ?
This is the very basic code I have,
index.html :
And index.js :
Running this test you'll notice the "stp" function is not called upon clicking the button.
Thanks in advance! :)