updated plugin.xml and cordova references in ios files
This commit is contained in:
+11
-6
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user