diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2017-11-05 20:24:49 +0100 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2017-11-05 20:24:49 +0100 |
| commit | f828ce6d0c308c2c5d67c71ee3141b015807fd62 (patch) | |
| tree | 4f5a819afe988158902b907f4f7582448819a594 /StoneIsland/plugins/cordova-plugin-sim/plugin.xml | |
| parent | 1f38892c1729572fa98801692dc20c60931d7377 (diff) | |
cordova-plugin-sim
Diffstat (limited to 'StoneIsland/plugins/cordova-plugin-sim/plugin.xml')
| -rw-r--r-- | StoneIsland/plugins/cordova-plugin-sim/plugin.xml | 85 |
1 files changed, 85 insertions, 0 deletions
diff --git a/StoneIsland/plugins/cordova-plugin-sim/plugin.xml b/StoneIsland/plugins/cordova-plugin-sim/plugin.xml new file mode 100644 index 00000000..835cdfee --- /dev/null +++ b/StoneIsland/plugins/cordova-plugin-sim/plugin.xml @@ -0,0 +1,85 @@ +<?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-sim" + version="1.3.3"> + <name>SIM</name> + <description>A plugin to get the device's SIM data (carrier name, mcc mnc, country code, telephonenumber, imei, etc)</description> + <license>MIT</license> + <keywords>cordova,sim,carrier,mcc,mnc,telephonenumber</keywords> + <repo>https://github.com/pbakondy/cordova-plugin-sim</repo> + <issue>https://github.com/pbakondy/cordova-plugin-sim/issues</issue> + + <engines> + <engine name="cordova" version=">=3.0.0"/> + <engine name="cordova-android" version=">=5.0.0"/> + </engines> + + <js-module src="www/sim.js" name="Sim"> + <merges target="window.plugins.sim" /> + </js-module> + + <!-- android --> + <platform name="android"> + <config-file target="res/xml/config.xml" parent="/*"> + <feature name="Sim"> + <param name="android-package" value="com.pbakondy.Sim"/> + </feature> + </config-file> + + <config-file target="AndroidManifest.xml" parent="/*"> + <uses-permission android:name="android.permission.READ_PHONE_STATE" /> + </config-file> + + <source-file src="src/android/com/pbakondy/Sim.java" target-dir="src/com/pbakondy" /> + + <js-module src="www/android/sim.js" name="SimAndroid"> + <merges target="window.plugins.sim" /> + </js-module> + </platform> + + <!-- ios --> + <platform name="ios"> + <config-file target="config.xml" parent="/*"> + <feature name="Sim"> + <param name="ios-package" value="Sim" /> + </feature> + </config-file> + + <header-file src="src/ios/Sim.h"/> + <source-file src="src/ios/Sim.m"/> + + <framework src="CoreTelephony.framework"/> + </platform> + + <!-- wp7 --> + <platform name="wp7"> + <config-file target="config.xml" parent="/*"> + <feature name="Sim"> + <param name="wp-package" value="Sim"/> + </feature> + </config-file> + + <config-file target="Properties/WMAppManifest.xml" parent="/Deployment/App/Capabilities"> + <Capability Name="ID_CAP_NETWORKING" /> + </config-file> + + <source-file src="src/wp/Sim.cs" /> + </platform> + + <!-- wp8 --> + <platform name="wp8"> + <config-file target="config.xml" parent="/*"> + <feature name="Sim"> + <param name="wp-package" value="Sim"/> + </feature> + </config-file> + + <config-file target="Properties/WMAppManifest.xml" parent="/Deployment/App/Capabilities"> + <Capability Name="ID_CAP_NETWORKING" /> + </config-file> + + <source-file src="src/wp/Sim.cs" /> + </platform> + +</plugin> |
