-
Notifications
You must be signed in to change notification settings - Fork 140
Expand file tree
/
Copy pathplugin.xml
More file actions
137 lines (116 loc) · 5.42 KB
/
Copy pathplugin.xml
File metadata and controls
137 lines (116 loc) · 5.42 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
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
<?xml version="1.0" encoding="UTF-8"?>
<plugin id="@ua/cordova-airship" version="18.0.0" xmlns="http://apache.org/cordova/ns/plugins/1.0" xmlns:android="http://schemas.android.com/apk/res/android">
<name>Airship</name>
<description>Airship Cordova plugin</description>
<license>Apache 2.0</license>
<keywords>cordova,urbanairship,airship</keywords>
<repo>https://github.com/urbanairship/urbanairship-cordova.git</repo>
<engines>
<engine name="cordova-android" version=">=13.0.0"/>
<engine name="cordova-ios" version=">=7.1.0"/>
<engine name="cordova" version=">=9.0.1"/>
</engines>
<js-module name="Airship" src="www/Airship.js">
<clobbers target="Airship"/>
</js-module>
<!-- android -->
<platform name="android">
<config-file target="config.xml" parent="/*">
<preference name="GradlePluginKotlinEnabled" value="true" />
<preference name="GradlePluginGoogleServicesEnabled" value="true" />
<preference name="GradlePluginGoogleServicesVersion" value="4.3.15" />
</config-file>
<config-file parent="/widget" target="res/xml/config.xml">
<feature name="AirshipCordova">
<param
name="android-package"
value="com.urbanairship.cordova.AirshipCordova"/>
<param
name="onload"
value="true"/>
</feature>
</config-file>
<config-file parent="/manifest/application" target="AndroidManifest.xml">
<meta-data
android:name="com.urbanairship.autopilot"
android:value="com.urbanairship.cordova.CordovaAutopilot"/>
<meta-data
android:name="com.urbanairship.webview.ENABLE_LOCAL_STORAGE"
android:value="true" />
<activity
android:name="com.urbanairship.android.framework.proxy.CustomMessageCenterActivity"
android:label="@string/ua_message_center_title"
android:launchMode="singleTask"
android:theme="@style/Theme.AppCompat.DayNight"
android:exported="false">
<intent-filter>
<action android:name="com.urbanairship.VIEW_RICH_PUSH_INBOX" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
<activity
android:name="com.urbanairship.android.framework.proxy.CustomMessageActivity"
android:theme="@style/Theme.AppCompat.DayNight"
android:exported="false">
<intent-filter>
<action android:name="com.urbanairship.VIEW_RICH_PUSH_MESSAGE" />
<data android:scheme="message" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
</config-file>
<source-file src="src/android/AirshipCordova.kt" target-dir="java/com/urbanairship/cordova"/>
<source-file src="src/android/AirshipCordovaVersion.kt" target-dir="java/com/urbanairship/cordova"/>
<source-file src="src/android/CordovaAutopilot.kt" target-dir="java/com/urbanairship/cordova"/>
<source-file src="src/android/CordovaSettings.kt" target-dir="java/com/urbanairship/cordova"/>
<source-file src="src/android/ProxyDataMigrator.kt" target-dir="java/com/urbanairship/cordova"/>
<framework
custom="true"
src="src/android/build-extras.gradle"
type="gradleReference"/>
</platform>
<!-- ios -->
<platform name="ios">
<!-- Background push -->
<config-file parent="UIBackgroundModes" target="*-Info.plist">
<array>
<string>remote-notification</string>
</array>
</config-file>
<config-file target="*-Info.plist" parent="UACordovaPluginVersion">
<string>17.3.0</string>
</config-file>
<config-file parent="/widget" target="config.xml">
<feature name="AirshipCordova">
<param
name="ios-package"
value="AirshipCordova"/>
<param
name="onload"
value="true"/>
</feature>
</config-file>
<config-file parent="aps-environment" target="*/Entitlements-Debug.plist">
<string>development</string>
</config-file>
<config-file parent="aps-environment" target="*/Entitlements-Release.plist">
<string>production</string>
</config-file>
<!-- Plugin -->
<source-file src="src/ios/AirshipCordovaAutopilot.swift"/>
<source-file src="src/ios/AirshipCordovaVersion.swift"/>
<source-file src="src/ios/AirshipCordova.swift"/>
<source-file src="src/ios/AirshipCordovaPluginSettings.swift"/>
<source-file src="src/ios/AirshipCordovaProxyDataMigrator.swift"/>
<header-file src="src/ios/AirshipCordova-Bridging-Header.h" type="BridgingHeader"/>
<!-- Airship library -->
<podspec>
<config>
<source url="https://cdn.cocoapods.org/"/>
</config>
<pods use-frameworks="true">
<pod name="AirshipFrameworkProxy" spec="15.2.0" />
</pods>
</podspec>
</platform>
</plugin>