Receive /send data in the background?

Dear all, Just a quit question. I want my app can receive/send some data when the app is in the background, Can any one help this, thank you

Are you tried cordova background mode plugin?

Hi, @ctaihua

What should you with data i canā€™t understand, Please explain in brief so i will find your answer

Thank you
@vd_virani

Thank you for all helps. Actually I use ā€˜setIntervalā€™ to resolve my problem. I write some data transfer code in that setInterval. Here is the sample for setIntervalā€¦
var checkingThread = setInterval(checkFunc, 6000);
function checkFunc() {
ā€¦
ā€¦
}

1 Like