Communication between Cordova iOS app and Apple watch -


we have cordova app , working on supporting apple watch. understand can't run cordova apps directly on apple watch, since there no webkit on apple watch. apps on apple watch seems mirror ever pushed mobile .i.e, of processing expected happen on mobile. hoping reuse of local database layer, server communications , business logic created in cordova app. believe need establish communication between mobile app , watch app. believe mobile app needs active if need call javascript functions available in mobile app. there way call javascript functions apple watch when mobile app in background or inactive.

yes can reuse phone app , build watch ui javascript. using plugin: http://plugins.telerik.com/cordova/plugin/applewatch

and if phone app closed or in background watch app has no problems fetching data it.


Comments

Popular posts from this blog

python - pip install -U PySide error -

arrays - C++ error: a brace-enclosed initializer is not allowed here before ‘{’ token -

cytoscape.js - How to add nodes to Dagre layout with Cytoscape -