cordova-plugin-browsercontroller
Version:
SafariViewController's extension with hide mechanism added for chrome
63 lines (48 loc) • 2.56 kB
text/xml
<plugin
id="cordova-plugin-browsercontroller"
version="1.5.4"
xmlns="http://apache.org/cordova/ns/plugins/1.0">
<name>BrowserController</name>
<author>Eddy Verbruggen</author>
<description>
Forget InAppBrowser for iOS - this is way better for displaying read-only web content in your PhoneGap app.
</description>
<keywords>InAppBrowser, InAppSafariBrowser, Safari, Safari ViewController</keywords>
<license>MIT</license>
<engines>
<engine name="cordova" version=">=3.0.0"/>
</engines>
<js-module name="BrowserController" src="www/BrowserController.js">
<clobbers target="BrowserController"/>
</js-module>
<platform name="ios">
<config-file parent="/*" target="config.xml">
<feature name="BrowserController">
<param name="ios-package" value="BrowserController"/>
</feature>
</config-file>
<header-file src="src/ios/SafariViewController.h"/>
<source-file src="src/ios/SafariViewController.m"/>
<framework src="SafariServices.framework" weak="true"/>
</platform>
<platform name="android">
<config-file target="config.xml" parent="/*">
<feature name="BrowserController">
<param name="android-package" value="com.customtabplugin.ChromeCustomTabPlugin"/>
<param name="onload" value="true" />
</feature>
</config-file>
<framework src="build/android/BrowserController-java18.gradle" custom="true" type="gradleReference" />
<framework src="com.android.support:customtabs:23.2.0" />
<source-file src="src/android/ChromeCustomTabPlugin.java" target-dir="src/com/customtabplugin" />
<source-file src="src/android/helpers/CustomTabServiceHelper.java" target-dir="src/com/customtabplugin" />
<source-file src="src/android/helpers/CustomTabsHelper.java" target-dir="src/org/chromium/customtabsclient/shared" />
<source-file src="src/android/helpers/ServiceConnection.java" target-dir="src/org/chromium/customtabsclient/shared" />
<source-file src="src/android/helpers/ServiceConnectionCallback.java" target-dir="src/org/chromium/customtabsclient/shared" />
<source-file src="src/android/res/anim/slide_in_left.xml" target-dir="res/anim" />
<source-file src="src/android/res/anim/slide_in_right.xml" target-dir="res/anim" />
<source-file src="src/android/res/anim/slide_out_left.xml" target-dir="res/anim" />
<source-file src="src/android/res/anim/slide_out_right.xml" target-dir="res/anim" />
</platform>
</plugin>