Last active
April 14, 2021 08:41
-
-
Save Maxim-Kolmogorov/e3db459bcec7fd6f5c713a80ee01d5d9 to your computer and use it in GitHub Desktop.
Cordova Java plugin: part 1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version='1.0' encoding='utf-8'?> | |
<plugin id="maxim-kolmogorov-echo-test" version="0.0.1" xmlns="http://apache.org/cordova/ns/plugins/1.0" xmlns:android="http://schemas.android.com/apk/res/android"> | |
<name>EchoTest</name> | |
<js-module name="EchoTest" src="www/EchoTest.js"> | |
<clobbers target="echotest" /> | |
</js-module> | |
<platform name="android"> | |
<config-file target="config.xml" parent="/*"> | |
<feature name="EchoTest"> | |
<param name="android-package" value="com.plugin.EchoTest" /> | |
</feature> | |
</config-file> | |
<source-file src="src/android/com/plugin/EchoTest.java" target-dir="src/com/plugin" /> | |
</platform> | |
</plugin> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment