mirror of
https://github.com/wahyd4/Libr-mobile.git
synced 2026-08-10 05:18:08 +10:00
68 lines
2.0 KiB
XML
68 lines
2.0 KiB
XML
<?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="nl.x-services.plugins.socialsharing"
|
|
version="4.0.8">
|
|
|
|
<name>SocialSharing</name>
|
|
|
|
<description>
|
|
This plugin allows you to share (combinations of) text, image or a link via the native sharing widget of your device.
|
|
Android is fully supported, as well as iOS 6 and up. Windows Phone has somewhat limited support.
|
|
</description>
|
|
|
|
<license>MIT</license>
|
|
|
|
<engines>
|
|
<engine name="cordova" version=">=3.0.0"/>
|
|
</engines>
|
|
|
|
<js-module src="www/SocialSharing.js" name="SocialSharing">
|
|
<clobbers target="window.plugins.socialsharing" />
|
|
</js-module>
|
|
|
|
<!-- ios -->
|
|
<platform name="ios">
|
|
|
|
<config-file target="config.xml" parent="/*">
|
|
<feature name="SocialSharing">
|
|
<param name="ios-package" value="SocialSharing"/>
|
|
</feature>
|
|
</config-file>
|
|
|
|
<header-file src="src/ios/SocialSharing.h"/>
|
|
<source-file src="src/ios/SocialSharing.m"/>
|
|
|
|
<framework src="Social.framework" />
|
|
<framework src="MessageUI.framework" />
|
|
</platform>
|
|
|
|
<!-- android -->
|
|
<platform name="android">
|
|
|
|
<config-file target="res/xml/config.xml" parent="/*">
|
|
<feature name="SocialSharing">
|
|
<param name="android-package" value="nl.xservices.plugins.SocialSharing" />
|
|
</feature>
|
|
</config-file>
|
|
|
|
<config-file target="AndroidManifest.xml" parent="/manifest">
|
|
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
|
|
</config-file>
|
|
|
|
<source-file src="src/android/nl/xservices/plugins/SocialSharing.java" target-dir="src/nl/xservices/plugins"/>
|
|
</platform>
|
|
|
|
<!-- wp8 -->
|
|
<platform name="wp8">
|
|
<config-file target="config.xml" parent="/*">
|
|
<feature name="SocialSharing">
|
|
<param name="wp-package" value="SocialSharing"/>
|
|
</feature>
|
|
</config-file>
|
|
|
|
<source-file src="src/wp8/SocialSharing.cs" />
|
|
</platform>
|
|
|
|
</plugin>
|