Cordova Plugin Beginner's Example
Important Files
-
CordovaHelloWorld/config.xml
: Cordova Config (Note last line in <plugins> tag) -
CordovaHelloWorld/HelloWorldPlugin.h
: Plugin Native Class -
CordovaHelloWorld/HelloWorldPlugin.m
: Plugin Native Class -
CordovaHelloWorld/www/HelloWorldPlugin.js
: Plugin JavaScript Class -
CordovaHelloWorld/www/index.html
: Application Home Page (Note second <script> tag)