forked from bugfender/cordova-plugin-bugfender
-
Notifications
You must be signed in to change notification settings - Fork 0
/
plugin.xml
75 lines (60 loc) · 2.87 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
<?xml version="1.0" encoding="UTF-8"?>
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
xmlns:rim="http://www.blackberry.com/ns/widgets"
xmlns:android="http://schemas.android.com/apk/res/android"
id="cordova-plugin-bugfender"
version="1.2.1">
<name>Bugfender</name>
<description>Bugfender integration for Cordova apps</description>
<license>See https://bugfender.com</license>
<keywords>bugfender,cordova</keywords>
<engines>
<engine name="cordova" version=">=5.0.0" />
</engines>
<dependency id="cordova-plugin-device" />
<js-module src="www/bugfender.js" name="bugfender">
<clobbers target="window.Bugfender" />
</js-module>
<js-module src="www/bf-util.js" name="bf-util">
</js-module>
<preference name="BUGFENDER_APP_KEY" default="YOUR APP KEY HERE"/>
<preference name="BUGFENDER_AUTOMATIC" default="ALL"/>
<platform name="browser">
<info>cordova-plugin-bugfender ignores all method calls when being used in a browser</info>
</platform>
<platform name="android">
<config-file target="res/values/strings.xml" parent="/*">
<string name="BUGFENDER_APP_KEY">$BUGFENDER_APP_KEY</string>
<string name="BUGFENDER_AUTOMATIC">$BUGFENDER_AUTOMATIC</string>
</config-file>
<config-file target="AndroidManifest.xml" parent="/*">
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.INTERNET" />
</config-file>
<source-file src="platforms/android/com/bugfender/sdk/cordova/BugfenderPlugin.java" target-dir="src/com/bugfender/sdk/cordova" />
<framework src="platforms/android/bugfender.gradle" custom="true" type="gradleReference"/>
<config-file target="res/xml/config.xml" parent="/*">
<feature name="Bugfender">
<param name="android-package" value="com.bugfender.sdk.cordova.BugfenderPlugin" />
<param name="onload" value="true" />
</feature>
</config-file>
</platform>
<platform name="ios">
<config-file target="*-Info.plist" parent="BUGFENDER_APP_KEY">
<string>$BUGFENDER_APP_KEY</string>
</config-file>
<config-file target="*-Info.plist" parent="BUGFENDER_AUTOMATIC">
<string>$BUGFENDER_AUTOMATIC</string>
</config-file>
<config-file target="config.xml" parent="/*">
<feature name="Bugfender">
<param name="ios-package" value="BFCDVSDKBugfender" />
<param name="onload" value="true" />
</feature>
</config-file>
<header-file src="platforms/ios/BFCDVSDKBugfender.h" />
<source-file src="platforms/ios/BFCDVSDKBugfender.m" />
<framework src="BugfenderSDK/ObjC" type="podspec" spec="~> 1.5"/>
</platform>
</plugin>