-
Notifications
You must be signed in to change notification settings - Fork 0
/
plugin.xml
101 lines (86 loc) · 4.52 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
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
<?xml version="1.0" encoding="UTF-8"?>
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0" id="cordova-plugin-sightcall" version="4.0.4">
<name>SightCall</name>
<description>Cordova SightCall Plugin</description>
<license>MIT</license>
<keywords>cordova,sightcall</keywords>
<engines>
<engine name="cordova" version=">=7.0.0" />
</engines>
<preference name="UNIVERSAL_FEATURE_DEEPLINK_URI" default="@string/universal_feature_deeplink_uri"/>
<js-module src="www/sightcall.js" name="sightcall">
<clobbers target="window.sightcall" />
</js-module>
<!-- ios -->
<platform name="ios">
<config-file target="*-Info.plist" parent="UIBackgroundModes">
<array>
<string>voip</string>
</array>
</config-file>
<preference name="MICROPHONE_USAGE_DESCRIPTION" default=" " />
<config-file target="*-Info.plist" parent="NSMicrophoneUsageDescription">
<string>$MICROPHONE_USAGE_DESCRIPTION</string>
</config-file>
<config-file target="config.xml" parent="/*">
<feature name="SightCall">
<param name="ios-package" value="CDVSightCall" onload="true" />
</feature>
</config-file>
<header-file src="src/ios/CDVSightCall.h" />
<source-file src="src/ios/CDVSightCall.m" />
<header-file src="src/ios/CallLocalNotification.h" />
<source-file src="src/ios/CallLocalNotification.m" />
<source-file src="src/ios/AppDelegate+Sightcall.h" />
<source-file src="src/ios/AppDelegate+Sightcall.m" />
<!--SightCall framework-->
<podspec>
<config>
<source url="https://cdn.cocoapods.org/"/>
</config>
<pods use-frameworks="true">
<pod name="LSUniversalSDK" version="4.2.3"/>
</pods>
</podspec>
</platform>
<!-- android -->
<platform name="android">
<config-file target="config.xml" parent="/*">
<feature name="SightCall">
<param name="android-package" value="com.okode.cordova.sightcall.SightCall" onload="true" />
</feature>
</config-file>
<config-file target="AndroidManifest.xml" parent="/*">
<uses-permission android:name="android.permission.CAMERA" />
</config-file>
<config-file target="AndroidManifest.xml" parent="/*">
<uses-permission android:name="android.permission.RECORD_AUDIO" />
</config-file>
<config-file target="AndroidManifest.xml" parent="/*">
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
</config-file>
<!--Sight Call-->
<config-file parent="/resources" target="res/values/strings.xml">
<bool name="universal_feature_fcm">true</bool>
</config-file>
<config-file parent="/resources" target="res/values/strings.xml">
<bool name="universal_feature_agent">true</bool>
</config-file>
<config-file parent="/resources" target="res/values/strings.xml">
<bool name="universal_feature_media_export">false</bool>
</config-file>
<!--End Sight Call-->
<source-file src="src/android/SightCall.java" target-dir="src/com/okode/cordova/sightcall" />
<source-file src="src/android/FetchUseCasesCallback.java" target-dir="src/com/okode/cordova/sightcall" />
<source-file src="src/android/EventsManager.java" target-dir="src/com/okode/cordova/sightcall" />
<source-file src="src/android/EventListener.java" target-dir="src/com/okode/cordova/sightcall" />
<source-file src="src/android/Constants.java" target-dir="src/com/okode/cordova/sightcall" />
<source-file src="src/android/events/CallReport.java" target-dir="src/com/okode/cordova/sightcall/events" />
<source-file src="src/android/events/Event.java" target-dir="src/com/okode/cordova/sightcall/events" />
<source-file src="src/android/events/Status.java" target-dir="src/com/okode/cordova/sightcall/events" />
<source-file src="src/android/events/MediaSaved.java" target-dir="src/com/okode/cordova/sightcall/events" />
<source-file src="src/android/events/GuestReady.java" target-dir="src/com/okode/cordova/sightcall/events" />
<source-file src="src/android/events/CallStart.java" target-dir="src/com/okode/cordova/sightcall/events" />
<framework src="src/android/build-extras.gradle" custom="true" type="gradleReference" />
</platform>
</plugin>