diff options
Diffstat (limited to 'StoneIsland/plugins/cordova-plugin-customurlscheme/plugin.xml')
| -rwxr-xr-x | StoneIsland/plugins/cordova-plugin-customurlscheme/plugin.xml | 107 |
1 files changed, 107 insertions, 0 deletions
diff --git a/StoneIsland/plugins/cordova-plugin-customurlscheme/plugin.xml b/StoneIsland/plugins/cordova-plugin-customurlscheme/plugin.xml new file mode 100755 index 00000000..1e43e724 --- /dev/null +++ b/StoneIsland/plugins/cordova-plugin-customurlscheme/plugin.xml @@ -0,0 +1,107 @@ +<?xml version="1.0" encoding="UTF-8"?> +<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0" + xmlns:android="http://schemas.android.com/apk/res/android" + id="cordova-plugin-customurlscheme" + version="4.0.0"> + + <name>Custom URL scheme</name> + + <description> + Launch your app by using this URL: mycoolapp:// + You can add a path and even pass params like this: mycoolerapp://somepath?foo=bar + </description> + + <author>Eddy Verbruggen</author> + + <license>MIT</license> + + <keywords>Custom URL Scheme, URLscheme, URL scheme, Custom URL, Launch My App, Launch App</keywords> + + <repo>https://github.com/EddyVerbruggen/Custom-URL-scheme.git</repo> + + <issue>https://github.com/EddyVerbruggen/Custom-URL-scheme/issues</issue> + + <preference name="URL_SCHEME" /> + + <engines> + <engine name="cordova" version=">=3.0.0"/> + </engines> + + <!-- ios --> + <platform name="ios"> + <js-module src="www/ios/LaunchMyApp.js" name="LaunchMyApp"> + <clobbers target="window.plugins.launchmyapp" /> + </js-module> + + <config-file target="*-Info.plist" parent="CFBundleURLTypes"> + <array> + <dict> + <key>CFBundleURLSchemes</key> + <array> + <string>$URL_SCHEME</string> + </array> + </dict> + </array> + </config-file> + </platform> + + <!-- android --> + <platform name="android"> + <js-module src="www/android/LaunchMyApp.js" name="LaunchMyApp"> + <clobbers target="window.plugins.launchmyapp" /> + </js-module> + + <config-file target="res/xml/config.xml" parent="/*"> + <feature name="LaunchMyApp"> + <param name="android-package" value="nl.xservices.plugins.LaunchMyApp"/> + </feature> + </config-file> + + <source-file src="src/android/nl/xservices/plugins/LaunchMyApp.java" target-dir="src/nl/xservices/plugins"/> + + <config-file target="AndroidManifest.xml" parent="/*/application/activity"> + <intent-filter> + <data android:scheme="$URL_SCHEME"/> + <action android:name="android.intent.action.VIEW" /> + <category android:name="android.intent.category.DEFAULT" /> + <category android:name="android.intent.category.BROWSABLE" /> + </intent-filter> + </config-file> + </platform> + + <!-- windows8 --> + <platform name="windows8"> + <config-file target="package.appxmanifest" parent="/Package/Applications/Application/Extensions"> + <Extension Category="windows.protocol" StartPage="www/index.html"> + <Protocol Name="$URL_SCHEME" /> + </Extension> + </config-file> + + <js-module src="www/windows/LaunchMyApp.js" name="LaunchMyApp"> + <clobbers target="window.plugins.launchmyapp" /> + </js-module> + </platform> + + <!-- windows --> + <platform name="windows"> + <config-file target="package.windows.appxmanifest" parent="/Package/Applications/Application/Extensions"> + <Extension Category="windows.protocol" StartPage="www/index.html"> + <Protocol Name="$URL_SCHEME" /> + </Extension> + </config-file> + <config-file target="package.windows80.appxmanifest" parent="/Package/Applications/Application/Extensions"> + <Extension Category="windows.protocol" StartPage="www/index.html"> + <Protocol Name="$URL_SCHEME" /> + </Extension> + </config-file> + <config-file target="package.phone.appxmanifest" parent="/Package/Applications/Application/Extensions"> + <Extension Category="windows.protocol" StartPage="www/index.html"> + <Protocol Name="$URL_SCHEME" /> + </Extension> + </config-file> + <js-module src="www/windows/LaunchMyApp.js" name="LaunchMyApp"> + <clobbers target="window.plugins.launchmyapp" /> + </js-module> + </platform> + +</plugin> |
