mirror of
https://github.com/lampaa/com.lampa.startapp.git
synced 2026-02-15 00:07:54 +08:00
47 lines
1.6 KiB
XML
47 lines
1.6 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
|
|
id="com.lampa.startapp"
|
|
version="0.1.4">
|
|
|
|
<name>startApp</name>
|
|
<description>Phonegap plugin for check or launch other application in android device.</description>
|
|
<license>MIT</license>
|
|
<keywords>cordova,startapp,lampa</keywords>
|
|
|
|
<js-module src="www/startApp.js" name="startapp">
|
|
<merges target="startApp" />
|
|
</js-module>
|
|
|
|
<!-- android -->
|
|
<platform name="android">
|
|
<config-file target="res/xml/config.xml" parent="/*">
|
|
<feature name="startApp">
|
|
<param name="android-package" value="com.lampa.startapp.startApp"/>
|
|
</feature>
|
|
</config-file>
|
|
<config-file target="AndroidManifest.xml" parent="/*/application">
|
|
<provider android:authorities="com.lampa.startapp.fileProvider" android:exported="false" android:grantUriPermissions="true" android:name="android.support.v4.content.FileProvider">
|
|
<meta-data android:name="android.support.FILE_PROVIDER_PATHS" android:resource="@xml/file_paths" />
|
|
</provider>
|
|
</config-file>
|
|
|
|
<source-file src="src/android/startApp.java" target-dir="src/com/lampa/startapp" />
|
|
<source-file src="src/android/res/xml/file_paths.xml" target-dir="res/xml" />
|
|
</platform>
|
|
|
|
|
|
<platform name="ios">
|
|
<config-file target="config.xml" parent="/*">
|
|
<feature name="startApp">
|
|
<param name="ios-package" value="startApp"/>
|
|
</feature>
|
|
</config-file>
|
|
|
|
<header-file src="src/ios/startApp.h"/>
|
|
<source-file src="src/ios/startApp.m"/>
|
|
</platform>
|
|
|
|
|
|
</plugin>
|