hazemhagrass / phonegap-background

37 stars 12 forks source link

cuestions.. #7

Open srsarcasmo opened 7 years ago

srsarcasmo commented 7 years ago

Is it possible to create a cycle so that the plugin using its calback success ok allows us to execute a javascrip function either?

for example:

Var seconds = 60; window.plugins.BackgroundJS.SetBackgroundSeconds(seconds, function(){ my_function(); }, function(msg){ alert("exist error"msg);});