HeadsetDetection-PhoneGap-Plugin
HeadsetDetection-PhoneGap-Plugin copied to clipboard
<Warning> Plugin should use a background thread
Hi @EddyVerbruggen,
I've notices iOS logs the following in relation to this plugin. THREAD WARNING: ['HeadsetDetection'] took '27.634766' ms. Plugin should use a background thread.
Here's a SO post in relation to running in a background thread that might be of use: http://stackoverflow.com/questions/22382260/how-to-run-cordova-plugins-in-the-background
Perhaps it's something you could look into to.
Cheers