I need some help in order to interface a native Android/iOS app with my Cordova Hybrid Application and send messages from each to other.
Cordova exec is not a function to execute anything on your device.
It's a function to call native code from the javascript but the function you call has to be either from the cordova framework, or from a plugin.
If you want to communicate between apps, you will have to either make your plugin using native code or maybe you can find a plugin already doing it.
For android you can communicate between apps using intents, for ios I have no idea.
You can have a look at the app launcher plugin , it covers the launching an app from an other app part.
For the passing parameters and receiving result part, on android it's easy, you just have to add parameters to the intent.
For IOS, you can read this document .
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.