HeadsetDetection-PhoneGap-Plugin icon indicating copy to clipboard operation
HeadsetDetection-PhoneGap-Plugin copied to clipboard

<Warning> Plugin should use a background thread

Open elgerlambert opened this issue 8 years ago • 0 comments

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

elgerlambert avatar Jul 01 '16 15:07 elgerlambert