Young a046b7354c First commit | пре 4 година | |
---|---|---|
.. | ||
.github | пре 4 година | |
hooks | пре 4 година | |
src | пре 4 година | |
.gitignore | пре 4 година | |
README.md | пре 4 година | |
package.json | пре 4 година | |
plugin.xml | пре 4 година |
A simple example of a Cordova plugin that uses Kotlin (instead of Java) to implement the native Cordova plugin interface on Android.
Since cordova-android@7
currently doesn't implicitly support Kotlin, this plugin uses hook scripts to add the necessary native config to make the Kotlin work in the generated Android project and to remove the Kotlin source files from the native Android project on uninstalling the plugin.
git clone https://github.com/dpa99c/cordova-plugin-hello-kotlin-test
cordova platform add android
cordova run android