Plugin has now its own package namespace
This commit is contained in:
parent
e82bbe211e
commit
c039585469
@ -40,15 +40,15 @@
|
||||
<platform name="android">
|
||||
<config-file target="res/xml/config.xml" parent="/*">
|
||||
<feature name="Printer">
|
||||
<param name="android-package" value="de.appplant.cordova.plugin.Printer"/>
|
||||
<param name="android-package" value="de.appplant.cordova.plugin.printer.Printer"/>
|
||||
</feature>
|
||||
<feature name="KitKatPrinter">
|
||||
<param name="android-package" value="de.appplant.cordova.plugin.KitKatPrinter"/>
|
||||
<param name="android-package" value="de.appplant.cordova.plugin.printer.KitKatPrinter"/>
|
||||
</feature>
|
||||
</config-file>
|
||||
|
||||
<source-file src="src/android/Printer.java" target-dir="src/de/appplant/cordova/plugin" />
|
||||
<source-file src="src/android/KitKatPrinter.java" target-dir="src/de/appplant/cordova/plugin" />
|
||||
<source-file src="src/android/Printer.java" target-dir="src/de/appplant/cordova/plugin/printer" />
|
||||
<source-file src="src/android/KitKatPrinter.java" target-dir="src/de/appplant/cordova/plugin/printer" />
|
||||
</platform>
|
||||
|
||||
</plugin>
|
||||
|
@ -19,7 +19,7 @@
|
||||
under the License.
|
||||
*/
|
||||
|
||||
package de.appplant.cordova.plugin;
|
||||
package de.appplant.cordova.plugin.printer;
|
||||
|
||||
public class KitKatPrinter extends CordovaPlugin {
|
||||
|
||||
|
@ -19,7 +19,7 @@
|
||||
under the License.
|
||||
*/
|
||||
|
||||
package de.appplant.cordova.plugin;
|
||||
package de.appplant.cordova.plugin.printer;
|
||||
|
||||
import java.io.File;
|
||||
import java.io.FileOutputStream;
|
||||
|
Loading…
Reference in New Issue
Block a user