Joel Benway
Posts: 0
Joined: Tue Jul 29, 2014 8:58 pm

background thread on .js event

Hello, I am getting the message "Plugin should use a background thread" in xcode. How do I implement a background thread on the .js event "record"? http://appery.io/app/mobile-frame?src...

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

background thread on .js event

Hello Joel,

please, look here: https://getsatisfaction.com/apperyio/...

Joel Benway
Posts: 0
Joined: Tue Jul 29, 2014 8:58 pm

background thread on .js event

Hi. this thread doesn’t help me. I need the “Record” js to run in the background thread, not the entire page. I’ve pasted the Xcode stream for you to see. Also, please take a look at my public link to get an idea of what I’m trying to do. http://appery.io/app/mobile-frame?src...

2014-08-18 17:16:47.792 record[10853:60b] Resetting plugins due to page load.
2014-08-18 17:16:48.171 record[10853:60b] Finished load of: file:///Users/joelbenway/Library/Application%20Support/iPhone%20Simulator/7.1/Applications/97BCCDD2-3C48-4A43-9AB6-E2FA810B0360/record.app/www/project/startScreen.html
2014-08-18 17:16:52.755 record[10853:60b] Started recording audio sample 'recording.wav'
2014-08-18 17:16:52.756 record[10853:60b] THREAD WARNING: ['Media'] took '579.330078' ms. Plugin should use a background thread.

Yurii Orishchuk
Posts: 0
Joined: Fri Feb 14, 2014 8:20 am

background thread on .js event

Hi Joel,

Unfortunatly we don't have such information about how to invoke plugin in separate thread, may be you can ask it in plugin developers if they require it. May be there is some documentation about it.

Also you can search about it google.

For example:
http://www.mindfiresolutions.com/Impl...

http://mindfiremobile.wordpress.com/2...

Regards.

Return to “Issues”