updated plugin.xml and cordova references in ios files

This commit is contained in:
Steven Gill
2013-05-20 14:04:50 -07:00
parent 3f9a4738e1
commit 4e9ad7d5e0
4 changed files with 18 additions and 15 deletions
+11 -6
View File
@@ -7,23 +7,28 @@ id="org.apache.cordova.core.InAppBrowser"
<name>InAppBrowser</name>
<js-module src="www/InAppBrowser.js" name="InAppBrowser">
<clobbers target="window.InAppBrowser" />
<clobbers target="window.open" />
</js-module>
<!-- android -->
<platform name="android">
<config-file target="res/xml/config.xml" parent="/cordova/plugins">
<plugin name="InAppBrowser" value="org.apache.cordova.core.InAppBrowser"/>
<config-file target="res/xml/config.xml" parent="/*">
<feature name="InAppBrowser">
<param name="android-package" value="org.apache.cordova.core.InAppBrowser"/>
</feature>
</config-file>
<source-file src="InAppBrowser.java" target-dir="org/apache/cordova/core" />
<source-file src="src/android/InAppBrowser.java" target-dir="org/apache/cordova/core" />
</platform>
<!-- ios -->
<platform name="ios">
<config-file target="config.xml" parent="plugins">
<plugin name="InAppBrowser" value="CDVInAppBrowser" />
<config-file target="config.xml" parent="/*">
<feature name="InAppBrowser">
<param name="ios-package" value="CDVInAppBrowser" />
</feature>
</config-file>
<header-file src="src/ios/CDVInAppBrowser.h" />
<source-file src="src/ios/CDVInAppBrowser.m" />
</platform>