<?xml version="1.0" encoding="UTF-8"?>
|
|
<!--
|
|
Licensed to the Apache Software Foundation (ASF) under one
|
|
or more contributor license agreements. See the NOTICE file
|
|
distributed with this work for additional information
|
|
regarding copyright ownership. The ASF licenses this file
|
|
to you under the Apache License, Version 2.0 (the
|
|
"License"); you may not use this file except in compliance
|
|
with the License. You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing,
|
|
software distributed under the License is distributed on an
|
|
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
KIND, either express or implied. See the License for the
|
|
specific language governing permissions and limitations
|
|
under the License.
|
|
-->
|
|
|
|
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
|
|
id="cordova-plugin-console"
|
|
version="1.0.5">
|
|
|
|
<name>Console</name>
|
|
<description>Cordova Console Plugin</description>
|
|
<license>Apache 2.0</license>
|
|
<keywords>cordova,console</keywords>
|
|
<repo>https://git-wip-us.apache.org/repos/asf/cordova-plugin-console.git</repo>
|
|
<issue>https://issues.apache.org/jira/browse/CB/component/12320644</issue>
|
|
|
|
<!-- ios -->
|
|
<platform name="ios">
|
|
|
|
<config-file target="config.xml" parent="/*">
|
|
<feature name="Console">
|
|
<param name="ios-package" value="CDVLogger"/>
|
|
</feature>
|
|
</config-file>
|
|
|
|
<js-module src="www/console-via-logger.js" name="console">
|
|
<clobbers target="console" />
|
|
</js-module>
|
|
|
|
<js-module src="www/logger.js" name="logger">
|
|
<clobbers target="cordova.logger" />
|
|
</js-module>
|
|
|
|
<header-file src="src/ios/CDVLogger.h" />
|
|
<source-file src="src/ios/CDVLogger.m" />
|
|
|
|
</platform>
|
|
|
|
<!-- ubuntu -->
|
|
<platform name="ubuntu">
|
|
<js-module src="www/console-via-logger.js" name="console">
|
|
<clobbers target="console" />
|
|
</js-module>
|
|
|
|
<js-module src="www/logger.js" name="logger">
|
|
<clobbers target="cordova.logger" />
|
|
</js-module>
|
|
|
|
<header-file src="src/ubuntu/console.h" />
|
|
<source-file src="src/ubuntu/console.cpp" />
|
|
|
|
</platform>
|
|
|
|
<!-- wp7 -->
|
|
<platform name="wp7">
|
|
<config-file target="config.xml" parent="/*">
|
|
<feature name="Console">
|
|
<param name="wp-package" value="DebugConsole"/>
|
|
</feature>
|
|
</config-file>
|
|
|
|
<js-module src="www/console-via-logger.js" name="console">
|
|
<clobbers target="console" />
|
|
</js-module>
|
|
|
|
<js-module src="www/logger.js" name="logger">
|
|
<clobbers target="cordova.logger" />
|
|
</js-module>
|
|
|
|
<source-file src="src/wp/DebugConsole.cs" />
|
|
</platform>
|
|
|
|
<!-- wp8 -->
|
|
<platform name="wp8">
|
|
<config-file target="config.xml" parent="/*">
|
|
<feature name="Console">
|
|
<param name="wp-package" value="DebugConsole"/>
|
|
</feature>
|
|
</config-file>
|
|
|
|
<js-module src="www/console-via-logger.js" name="console">
|
|
<clobbers target="console" />
|
|
</js-module>
|
|
|
|
<js-module src="www/logger.js" name="logger">
|
|
<clobbers target="cordova.logger" />
|
|
</js-module>
|
|
|
|
<source-file src="src/wp/DebugConsole.cs" />
|
|
</platform>
|
|
|
|
<!-- windows8 -->
|
|
<platform name="windows8">
|
|
<js-module src="www/logger.js" name="logger">
|
|
<clobbers target="cordova.logger" />
|
|
</js-module>
|
|
<js-module src="www/console-via-logger.js" name="console">
|
|
<clobbers target="console" />
|
|
</js-module>
|
|
</platform>
|
|
|
|
<!-- Windows universal platform -->
|
|
<platform name="windows">
|
|
<js-module src="www/logger.js" name="logger">
|
|
<clobbers target="cordova.logger" />
|
|
</js-module>
|
|
<js-module src="www/console-via-logger.js" name="console">
|
|
<clobbers target="console" />
|
|
</js-module>
|
|
</platform>
|
|
|
|
</plugin>
|