Swagger generates documentation for your REST api. It has out-of-the-box support for JAX-RS (e.g. Jersey), but with SpringMVC (in this case, 3.2.16) it’s a bit harder to get things running.
Springfox (I use 2.5.0) scans the Spring annotations and generates the swagger API description. …
I’m working on a simple mobile app using Cordova/Phonegap. The app contains a hyperlink to a web page. It took me a couple of hours to get this to work, although this sounds extremely trivial.
The caveat: you have to adapt the Cordova whitelist to get this to work, see whitelist documentation. Hereafter you find the extract from my config.xml. Obviously you can tweak the intents to your use cases.
<access origin="*"/><plugin name="cordova-plugin-whitelist"/>
Back in the days, you needed the InAppBrowser plugin for the _system target. For current versions, this is not needed.
Once your custom component takes basic shape, a convenient way to communicate with the outside world is by raising events where the parent component can hook on.
I have a client-list component. Every time the user selects a client, the component raises a select event.