-
Notifications
You must be signed in to change notification settings - Fork 0
/
plugin.xml
50 lines (41 loc) · 1.85 KB
/
plugin.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
<?xml version='1.0' encoding='utf-8'?>
<plugin id="cordova-plugin-draugiem-sdk" version="1.0.0" xmlns="http://apache.org/cordova/ns/plugins/1.0" xmlns:android="http://schemas.android.com/apk/res/android">
<name>DraugiemApi</name>
<description>SDK for integration with Draugiem.lv social network</description>
<preference name="APP_ID" />
<js-module name="DraugiemApi" src="www/DraugiemApi.js">
<clobbers target="cordova.plugins.DraugiemApi" />
</js-module>
<platform name="android">
<config-file parent="/*" target="res/xml/config.xml">
<feature name="DraugiemApi">
<param name="android-package" value="lv.draugiem.cordova.DraugiemApi" />
</feature>
</config-file>
<config-file parent="/*" target="AndroidManifest.xml" />
<source-file src="src/android/DraugiemApi.java" target-dir="src/lv/draugiem/cordova" />
<framework src="lv.draugiem:AndroidSDK:1.0.1"/>
</platform>
<platform name="ios">
<plugins-plist key="DraugiemApi" string="DraugiemApi" />
<config-file target="config.xml" parent="/*">
<feature name="DraugiemApi">
<preference name="appId" value="$APP_ID" />
<param name="ios-package" value="DraugiemApi" />
</feature>
</config-file>
<config-file target="*-Info.plist" parent="CFBundleURLTypes">
<array>
<dict>
<key>CFBundleURLSchemes</key>
<array>
<string>dr$APP_ID</string>
</array>
</dict>
</array>
</config-file>
<header-file src="src/ios/DraugiemApi.h" />
<source-file src="src/ios/DraugiemApi.m" />
<framework src="DraugiemSDK" type="podspec" spec="~> 0.1.2"/>
</platform>
</plugin>