In a recent post, a responder suggested using the following call:
cordova.exec(null, null, "", "", [])
What does this call do?
I thought that you had to provide a plugin service name and action as the 3rd and 4th arguments respectively.
Any insights are greatly appreciated.
A bit more information.
I added it at the suggestion of rajatrocks as suggested in Barccode scanner only scans once in 1.0.0-beta.14 and it helped with a separate problem: an infinite loop in 1.0.0-beta.13. I just can’t figure out why.
The first two parameters are callbacks. The first is success, the second is error.
The third is the name of the service you want to call,
The fourth is the name of the action you want to call.
The finals are an array of arguments to pass.
I added it at the suggestion of rajatrocks as suggested in Barccode scanner only scans once in 1.0.0-beta.14 and it helped with a separate problem: an infinite loop in 1.0.0-beta.13. I just can’t figure out why.