|
1 | 1 | <?xml version="1.0" encoding="UTF-8"?>
|
2 | 2 |
|
3 | 3 | <plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
|
4 |
| - xmlns:android="http://schemas.android.com/apk/res/android" |
5 |
| - id="com.instabug.cordova.plugin" |
6 |
| - version="1.0.0"> |
7 |
| - |
8 |
| - <name>instabug-cordova</name> |
9 |
| - |
10 |
| - <description>Cordova plugin for integrating Instabug in your application.</description> |
11 |
| - |
12 |
| - <repo>https://github.com/Instabug/instabug-cordova</repo> |
13 |
| - |
14 |
| - <keyword>instabug, crash reports, in-app feedback</keyword> |
15 |
| - |
16 |
| - <license>Apache 2.0 License</license> |
17 |
| - |
18 |
| - <author>Elizabeth Rego , Hossam Hassan</author> |
19 |
| - |
20 |
| - <!-- cordova --> |
21 |
| - <engines> |
22 |
| - <engine name="cordova" version=">=3.7.0"/> |
23 |
| - </engines> |
24 |
| - |
25 |
| - <!-- dependencies --> |
26 |
| - <dependency id="me.tonny.cordova.plugins.multidex" url="https://github.com/jwall149/cordova-multidex" /> |
27 |
| - |
28 |
| - <!-- js --> |
29 |
| - <js-module src="www/instabug.js" name="Instabug"> |
30 |
| - <clobbers target="cordova.plugins.instabug" /> |
31 |
| - </js-module> |
32 |
| - |
33 |
| - <!-- android --> |
34 |
| - <platform name="android"> |
35 |
| - <config-file target="res/xml/config.xml" parent="/*"> |
36 |
| - <feature name="IBGPlugin" > |
37 |
| - <param name="android-package" value="com.instabug.cordova.plugin.IBGPlugin"/> |
38 |
| - <param name="onload" value="true" /> |
39 |
| - </feature> |
40 |
| - </config-file> |
41 |
| - |
42 |
| - <config-file target="AndroidManifest.xml" parent="/manifest/application"> |
43 |
| - |
44 |
| - <activity android:name="com.instabug.cordova.plugin.IBGPluginActivity" |
45 |
| - android:launchMode="singleInstance" |
46 |
| - android:theme="@android:style/Theme.NoDisplay" |
47 |
| - android:configChanges="keyboardHidden|orientation|screenSize" /> |
48 |
| - <activity android:name="com.instabug.library.InstabugFeedbackActivity" /> |
49 |
| - |
50 |
| - <service android:name="com.instabug.library.network.worker.uploader.InstabugSessionUploaderService" /> |
51 |
| - <service android:name="com.instabug.library.network.worker.uploader.InstabugBugsUploaderService" /> |
52 |
| - <service android:name="com.instabug.library.network.worker.uploader.InstabugCrashesUploaderService" /> |
53 |
| - <service android:name="com.instabug.library.network.worker.uploader.InstabugMessageUploaderService" /> |
54 |
| - <service android:name="com.instabug.library.network.worker.fetcher.InstabugFeaturesFetcherService" /> |
55 |
| - <service android:name="com.instabug.library.network.worker.register.InstabugGcmRegistrationIntentService"/> |
56 |
| - <service android:name="com.instabug.library.internal.video.VideoProcessingService"/> |
57 |
| - |
58 |
| - <receiver android:name="com.instabug.library.network.InstabugNetworkReceiver"> |
59 |
| - <intent-filter> |
60 |
| - <action android:name="android.net.conn.CONNECTIVITY_CHANGE" /> |
61 |
| - </intent-filter> |
62 |
| - </receiver> |
63 |
| - |
64 |
| - </config-file> |
65 |
| - |
66 |
| - <config-file target="AndroidManifest.xml" parent="/manifest"> |
67 |
| - <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> |
68 |
| - <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> |
69 |
| - <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" /> |
70 |
| - <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" /> |
71 |
| - <uses-permission android:name="android.permission.INTERNET" /> |
72 |
| - <uses-permission android:name="android.permission.RECORD_AUDIO" /> |
73 |
| - </config-file> |
74 |
| - |
75 |
| - <framework src="build.gradle" custom="true" type="gradleReference" /> |
76 |
| - |
77 |
| - <source-file src="src/android/IBGPluginActivity.java" target-dir="src/com/instabug/cordova-plugin" /> |
78 |
| - <source-file src="src/android/IBGPlugin.java" target-dir="src/com/instabug/cordova-plugin" /> |
79 |
| - </platform> |
80 |
| - |
81 |
| - <!-- ios --> |
82 |
| - <platform name="ios"> |
83 |
| - <config-file target="config.xml" parent="/*"> |
84 |
| - <feature name="IBGPlugin"> |
85 |
| - <param name="ios-package" value="IBGPlugin" /> |
86 |
| - <param name="onload" value="true" /> |
87 |
| - </feature> |
88 |
| - </config-file> |
89 |
| - |
90 |
| - <resource-file src="src/ios/Instabug.bundle" /> |
91 |
| - <framework src="src/ios/Instabug.framework" custom="true" /> |
92 |
| - |
93 |
| - <header-file src="src/ios/IBGPlugin.h" /> |
94 |
| - <source-file src="src/ios/IBGPlugin.m" /> |
95 |
| - |
96 |
| - <framework src="AVFoundation.framework" /> |
97 |
| - <framework src="CoreMotion.framework" /> |
98 |
| - <framework src="CoreGraphics.framework" /> |
99 |
| - <framework src="CoreTelephony.framework" /> |
100 |
| - <framework src="SystemConfiguration.framework" /> |
101 |
| - <framework src="UIKit.framework" /> |
102 |
| - </platform> |
| 4 | + xmlns:android="http://schemas.android.com/apk/res/android" |
| 5 | + id="com.instabug.cordova.plugin" |
| 6 | + version="1.0.0"> |
| 7 | + |
| 8 | + <name>instabug-cordova</name> |
| 9 | + |
| 10 | + <description>Cordova plugin for integrating Instabug in your application.</description> |
| 11 | + |
| 12 | + <repo>https://github.com/Instabug/instabug-cordova</repo> |
| 13 | + |
| 14 | + <keyword>instabug, crash reports, in-app feedback</keyword> |
| 15 | + |
| 16 | + <license>Apache 2.0 License</license> |
| 17 | + |
| 18 | + <author>Elizabeth Rego , Hossam Hassan</author> |
| 19 | + |
| 20 | + <!-- cordova --> |
| 21 | + <engines> |
| 22 | + <engine name="cordova" version=">=3.7.0"/> |
| 23 | + </engines> |
| 24 | + |
| 25 | + <!-- dependencies --> |
| 26 | + <dependency id="me.tonny.cordova.plugins.multidex" url="https://github.com/jwall149/cordova-multidex"/> |
| 27 | + |
| 28 | + <!-- js --> |
| 29 | + <js-module src="www/instabug.js" name="Instabug"> |
| 30 | + <clobbers target="cordova.plugins.instabug"/> |
| 31 | + </js-module> |
| 32 | + |
| 33 | + <!-- android --> |
| 34 | + <platform name="android"> |
| 35 | + <config-file target="res/xml/config.xml" parent="/*"> |
| 36 | + <feature name="IBGPlugin"> |
| 37 | + <param name="android-package" value="com.instabug.cordova.plugin.IBGPlugin"/> |
| 38 | + <param name="onload" value="true"/> |
| 39 | + </feature> |
| 40 | + </config-file> |
| 41 | + |
| 42 | + <config-file target="AndroidManifest.xml" parent="/manifest/application"> |
| 43 | + |
| 44 | + <activity android:name="com.instabug.cordova.plugin.IBGPluginActivity" |
| 45 | + android:launchMode="singleInstance" |
| 46 | + android:theme="@android:style/Theme.NoDisplay" |
| 47 | + android:configChanges="keyboardHidden|orientation|screenSize"/> |
| 48 | + <activity android:name="com.instabug.library.InstabugFeedbackActivity"/> |
| 49 | + |
| 50 | + <service android:name="com.instabug.library.network.worker.uploader.InstabugSessionUploaderService" /> |
| 51 | + <service android:name="com.instabug.library.bugreporting.network.InstabugBugsUploaderService" /> |
| 52 | + <service android:name="com.instabug.library.crashreporting.network.InstabugCrashesUploaderService" /> |
| 53 | + <service android:name="com.instabug.library.messaging.InstabugMessageUploaderService" /> |
| 54 | + <service android:name="com.instabug.library.network.worker.fetcher.InstabugFeaturesFetcherService" /> |
| 55 | + <service android:name="com.instabug.library.surveys.network.service.InstabugSurveysSubmitterService" /> |
| 56 | + <service android:name="com.instabug.library.internal.video.VideoProcessingService"/> |
| 57 | + |
| 58 | + <receiver android:name="com.instabug.library.network.InstabugNetworkReceiver"> |
| 59 | + <intent-filter> |
| 60 | + <action android:name="android.net.conn.CONNECTIVITY_CHANGE"/> |
| 61 | + </intent-filter> |
| 62 | + </receiver> |
| 63 | + |
| 64 | + </config-file> |
| 65 | + |
| 66 | + <config-file target="AndroidManifest.xml" parent="/manifest"> |
| 67 | + <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/> |
| 68 | + <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/> |
| 69 | + <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/> |
| 70 | + <uses-permission android:name="android.permission.ACCESS_WIFI_STATE"/> |
| 71 | + <uses-permission android:name="android.permission.RECORD_AUDIO"/> |
| 72 | + <uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS"/> |
| 73 | + <uses-permission android:name="android.permission.INTERNET"/> |
| 74 | + </config-file> |
| 75 | + |
| 76 | + <framework src="build.gradle" custom="true" type="gradleReference"/> |
| 77 | + |
| 78 | + <source-file src="src/android/IBGPluginActivity.java" target-dir="src/com/instabug/cordova-plugin"/> |
| 79 | + <source-file src="src/android/IBGPlugin.java" target-dir="src/com/instabug/cordova-plugin"/> |
| 80 | + </platform> |
| 81 | + |
| 82 | + <!-- ios --> |
| 83 | + <platform name="ios"> |
| 84 | + <config-file target="config.xml" parent="/*"> |
| 85 | + <feature name="IBGPlugin"> |
| 86 | + <param name="ios-package" value="IBGPlugin"/> |
| 87 | + <param name="onload" value="true"/> |
| 88 | + </feature> |
| 89 | + </config-file> |
| 90 | + |
| 91 | + <resource-file src="src/ios/Instabug.bundle"/> |
| 92 | + <framework src="src/ios/Instabug.framework" custom="true"/> |
| 93 | + |
| 94 | + <header-file src="src/ios/IBGPlugin.h"/> |
| 95 | + <source-file src="src/ios/IBGPlugin.m"/> |
| 96 | + |
| 97 | + <framework src="AVFoundation.framework"/> |
| 98 | + <framework src="CoreMotion.framework"/> |
| 99 | + <framework src="CoreGraphics.framework"/> |
| 100 | + <framework src="CoreTelephony.framework"/> |
| 101 | + <framework src="SystemConfiguration.framework"/> |
| 102 | + <framework src="UIKit.framework"/> |
| 103 | + </platform> |
103 | 104 |
|
104 | 105 | </plugin>
|
0 commit comments