Because I need to call some native methods, the client told me to use cordova and call the cordova.exec method:
cordova.exec(<successFunction>, <failFunction>, <service>, <action>, [<args>]);
But what file should be imported to call this method to interact with native? The document tells me how to use it, but it does not say how to start. I hope the gods can save me.
滿天的星座2017-05-19 10:11:00
First of all, in the first step, you need to see how to create a cordova project, then learn how to use the cordova plug-in, and finally interact with the native. Step by step, I recommend an article I wrote: /a/11...