-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplugin.xml
More file actions
113 lines (97 loc) · 5.61 KB
/
Copy pathplugin.xml
File metadata and controls
113 lines (97 loc) · 5.61 KB
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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
<?xml version="1.0" encoding="UTF-8"?>
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0" id="cordova-plugin-firebase-crashlytics" version="0.2.0">
<name>Cordova Firebase Crashlytics Plugin</name>
<description>Google Firebase Crashlytics</description>
<license>MIT</license>
<keywords>cloud, crash, reporting</keywords>
<preference name="FABRIC_API_KEY" />
<preference name="FABRIC_API_SECRET" />
<engines>
<engine name="cordova" version=">=7.0.0" />
<engine name="cordova-android" version=">=8.0.0" />
<engine name="cordova-plugman" version=">=4.2.0" />
<engine name="cordova-ios" version=">=5.0.0" />
</engines>
<hook type="after_plugin_install" src="scripts/after_plugin_add.js" />
<hook type="after_platform_add" src="scripts/after_plugin_add.js" />
<hook type="before_plugin_uninstall" src="scripts/before_plugin_rm.js" />
<platform name="browser">
<js-module src="www/browser/crashlytics.js" name="FirebaseCrashlytics">
<clobbers target="FirebaseCrashlytics"/>
</js-module>
</platform>
<platform name="android">
<config-file target="AndroidManifest.xml" parent="application">
<meta-data android:name="io.fabric.ApiKey" android:value="$FABRIC_API_KEY"/>
</config-file>
<js-module src="www/crashlytics.js" name="FirebaseCrashlytics">
<clobbers target="FirebaseCrashlytics"/>
</js-module>
<config-file target="res/xml/config.xml" parent="/*">
<feature name="FirebaseCrashlytics">
<param name="android-package" value="uk.co.reallysmall.cordova.plugin.firebase.crashlytics.FirebaseCrashlyticsPlugin"/>
<param name="onload" value="true"/>
</feature>
</config-file>
<preference name="ANDROID_FIREBASE_CORE_VERSION" default="16.0.8"/>
<framework src="com.google.firebase:firebase-core:$ANDROID_FIREBASE_CORE_VERSION"/>
<framework src="firebase-crashlytics.gradle" custom="true" type="gradleReference"/>
<source-file src="src/android/uk/co/reallysmall/cordova/plugin/firebase/crashlytics/FirebaseCrashlyticsPlugin.java" target-dir="src/uk/co/reallysmall/cordova/plugin/firebase/crashlytics"/>
<source-file src="src/android/uk/co/reallysmall/cordova/plugin/firebase/crashlytics/ActionHandler.java" target-dir="src/uk/co/reallysmall/cordova/plugin/firebase/crashlytics"/>
<source-file src="src/android/uk/co/reallysmall/cordova/plugin/firebase/crashlytics/CrashHandler.java" target-dir="src/uk/co/reallysmall/cordova/plugin/firebase/crashlytics"/>
<source-file src="src/android/uk/co/reallysmall/cordova/plugin/firebase/crashlytics/LogPriorityHandler.java" target-dir="src/uk/co/reallysmall/cordova/plugin/firebase/crashlytics"/>
<source-file src="src/android/uk/co/reallysmall/cordova/plugin/firebase/crashlytics/LogHandler.java" target-dir="src/uk/co/reallysmall/cordova/plugin/firebase/crashlytics"/>
<source-file src="src/android/uk/co/reallysmall/cordova/plugin/firebase/crashlytics/LogExceptionHandler.java" target-dir="src/uk/co/reallysmall/cordova/plugin/firebase/crashlytics"/>
<source-file src="src/android/uk/co/reallysmall/cordova/plugin/firebase/crashlytics/SetStringHandler.java" target-dir="src/uk/co/reallysmall/cordova/plugin/firebase/crashlytics"/>
<source-file src="src/android/uk/co/reallysmall/cordova/plugin/firebase/crashlytics/SetBoolHandler.java" target-dir="src/uk/co/reallysmall/cordova/plugin/firebase/crashlytics"/>
<source-file src="src/android/uk/co/reallysmall/cordova/plugin/firebase/crashlytics/SetDoubleHandler.java" target-dir="src/uk/co/reallysmall/cordova/plugin/firebase/crashlytics"/>
<source-file src="src/android/uk/co/reallysmall/cordova/plugin/firebase/crashlytics/SetFloatHandler.java" target-dir="src/uk/co/reallysmall/cordova/plugin/firebase/crashlytics"/>
<source-file src="src/android/uk/co/reallysmall/cordova/plugin/firebase/crashlytics/SetIntHandler.java" target-dir="src/uk/co/reallysmall/cordova/plugin/firebase/crashlytics"/>
<source-file src="src/android/uk/co/reallysmall/cordova/plugin/firebase/crashlytics/SetUserIdentifierHandler.java" target-dir="src/uk/co/reallysmall/cordova/plugin/firebase/crashlytics"/>
</platform>
<platform name="ios">
<config-file target="*-Info.plist" parent="Fabric">
<dict>
<key>APIKey</key>
<string>$FABRIC_API_KEY</string>
<key>Kits</key>
<array>
<dict>
<key>KitInfo</key>
<dict/>
<key>KitName</key>
<string>Crashlytics</string>
</dict>
<dict>
<key>KitInfo</key>
<dict/>
<key>KitName</key>
<string>Answers</string>
</dict>
</array>
</dict>
</config-file>
<js-module src="www/crashlytics.js" name="FirebaseCrashlytics">
<clobbers target="FirebaseCrashlytics"/>
</js-module>
<config-file target="config.xml" parent="/*">
<feature name="FirebaseCrashlytics">
<param name="ios-package" value="FirebaseCrashlyticsPlugin" onload="true"/>
</feature>
</config-file>
<podspec>
<config>
<source url="https://github.com/CocoaPods/Specs.git"/>
</config>
<pods use-frameworks="true">
<pod name="Fabric" specs="~> 1.10.2"/>
<pod name="Crashlytics" specs="~> 3.14.0" />
<pod name="Firebase/Analytics" />
</pods>
</podspec>
<header-file src="src/ios/FirebaseCrashlyticsPlugin.h"/>
<source-file src="src/ios/FirebaseCrashlyticsPlugin.m"/>
<header-file src="src/ios/AppDelegate+FirebaseCrashlyticsPlugin.h"/>
<source-file src="src/ios/AppDelegate+FirebaseCrashlyticsPlugin.m"/>
</platform>
</plugin>