forked from Sunbird-Ed/SunbirdEd-mobile-app
-
Notifications
You must be signed in to change notification settings - Fork 1
/
config.xml
157 lines (157 loc) · 11.5 KB
/
config.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
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
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
<?xml version='1.0' encoding='utf-8'?>
<widget android-versionCode="1" id="org.sunbird.app" version="staging-2.4.0.01" xmlns="http://www.w3.org/ns/widgets" xmlns:android="http://schemas.android.com/apk/res/android">
<name>@string/_app_name</name>
<description>Sunbird mobile app</description>
<author email="" href="">EkStep Team</author>
<access origin="*" />
<allow-intent href="tel:*" />
<allow-intent href="sms:*" />
<allow-intent href="mailto:*" />
<allow-intent href="geo:*" />
<preference name="ScrollEnabled" value="false" />
<preference name="android-minSdkVersion" value="19" />
<preference name="BackupWebStorage" value="none" />
<preference name="SplashScreenDelay" value="5000" />
<preference name="Orientation" value="portrait" />
<preference name="AndroidLaunchMode" value="singleInstance" />
<preference name="KeyboardDisplayRequiresUserAction" value="false" />
<hook src="scripts/copyContentPlayer.js" type="before_build" />
<hook src="scripts/deleteUnUsableIosIcon.js" type="before_build" />
<hook src="scripts/copyGradleFiles.js" type="before_build" />
<hook src="scripts/copyBundledData.js" type="before_build" />
<hook src="scripts/application/add_application.js" type="before_run" />
<hook src="scripts/copyGradleFiles.js" type="before_run" />
<hook src="scripts/copyBundledData.js" type="before_run" />
<hook src="scripts/copyContentPlayer.js" type="before_run" />
<hook src="scripts/deleteUnUsableIosIcon.js" type="before_run" />
<platform name="android">
<resource-file src="MainActivity.java" target="app/src/main/java/org/sunbird/app/MainActivity.java" />
<config-file parent="/manifest/application" target="AndroidManifest.xml">
<meta-data android:name="io.fabric.ApiKey" android:value="${fabricKey}" />
<meta-data android:name="io.fabric.ApiSecret" android:value="${fabricSecret}" />
</config-file>
<config-file parent="/*" target="AndroidManifest.xml">
<uses-permission android:name="android.permission.RECORD_AUDIO" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
</config-file>
<edit-config file="app/src/main/AndroidManifest.xml" mode="merge" target="/manifest/application">
<application android:allowBackup="false" />
<application android:usesCleartextTraffic="true" />
</edit-config>
<preference name="android-manifest/@xmlns:tools" value="http://schemas.android.com/tools" />
<preference name="android-manifest/application/@tools:replace" value="android:allowBackup" />
<preference name="android-manifest/application/@android:allowBackup" value="false" />
<preference name="loadUrlTimeoutValue" value="700000" />
<preference name="CodePushDeploymentKey" value="agojO-OZt4dZlt_pu9r9j2Ipy_jY90dbb065-3633-45a5-9c55-c0405eafaebb" />
<allow-intent href="market:*" />
<icon density="ldpi" src="resources/android/icon/drawable-ldpi-icon.png" />
<icon density="mdpi" src="resources/android/icon/drawable-ldpi-icon.png" />
<icon density="hdpi" src="resources/android/icon/drawable-ldpi-icon.png" />
<icon density="xhdpi" src="resources/android/icon/drawable-ldpi-icon.png" />
<icon density="xxhdpi" src="resources/android/icon/drawable-ldpi-icon.png" />
<icon density="xxxhdpi" src="resources/android/icon/drawable-ldpi-icon.png" />
<splash density="land-ldpi" src="resources/android/splash/drawable-ldpi-splash.png" />
<splash density="land-mdpi" src="resources/android/splash/drawable-ldpi-splash.png" />
<splash density="land-hdpi" src="resources/android/splash/drawable-hdpi-splash.png" />
<splash density="land-xhdpi" src="resources/android/splash/drawable-hdpi-splash.png" />
<splash density="land-xxhdpi" src="resources/android/splash/drawable-xhdpi-splash.png" />
<splash density="land-xxxhdpi" src="resources/android/splash/drawable-xhdpi-splash.png" />
<splash density="port-ldpi" src="resources/android/splash/drawable-ldpi-splash.png" />
<splash density="port-mdpi" src="resources/android/splash/drawable-ldpi-splash.png" />
<splash density="port-hdpi" src="resources/android/splash/drawable-hdpi-splash.png" />
<splash density="port-xhdpi" src="resources/android/splash/drawable-hdpi-splash.png" />
<splash density="port-xxhdpi" src="resources/android/splash/drawable-xhdpi-splash.png" />
<splash density="port-xxxhdpi" src="resources/android/splash/drawable-xhdpi-splash.png" />
<resource-file src="resources/android/icon/mipmap-hdpi-icon.png" target="app/src/main/res/mipmap-hdpi/n_icon.png" />
</platform>
<platform name="ios">
<allow-intent href="itms:*" />
<allow-intent href="itms-apps:*" />
<icon height="57" src="resources/ios/icon/icon.png" width="57" />
<icon height="114" src="resources/ios/icon/[email protected]" width="114" />
<icon height="40" src="resources/ios/icon/icon-40.png" width="40" />
<icon height="80" src="resources/ios/icon/[email protected]" width="80" />
<icon height="120" src="resources/ios/icon/[email protected]" width="120" />
<icon height="50" src="resources/ios/icon/icon-50.png" width="50" />
<icon height="100" src="resources/ios/icon/[email protected]" width="100" />
<icon height="60" src="resources/ios/icon/icon-60.png" width="60" />
<icon height="120" src="resources/ios/icon/[email protected]" width="120" />
<icon height="180" src="resources/ios/icon/[email protected]" width="180" />
<icon height="72" src="resources/ios/icon/icon-72.png" width="72" />
<icon height="144" src="resources/ios/icon/[email protected]" width="144" />
<icon height="76" src="resources/ios/icon/icon-76.png" width="76" />
<icon height="152" src="resources/ios/icon/[email protected]" width="152" />
<icon height="167" src="resources/ios/icon/[email protected]" width="167" />
<icon height="29" src="resources/ios/icon/icon-small.png" width="29" />
<icon height="58" src="resources/ios/icon/[email protected]" width="58" />
<icon height="87" src="resources/ios/icon/[email protected]" width="87" />
<icon height="1024" src="resources/ios/icon/icon-1024.png" width="1024" />
<splash height="1136" src="resources/ios/splash/Default-568h@2x~iphone.png" width="640" />
<splash height="1334" src="resources/ios/splash/Default-667h.png" width="750" />
<splash height="2208" src="resources/ios/splash/Default-736h.png" width="1242" />
<splash height="1242" src="resources/ios/splash/Default-Landscape-736h.png" width="2208" />
<splash height="1536" src="resources/ios/splash/Default-Landscape@2x~ipad.png" width="2048" />
<splash height="2048" src="resources/ios/splash/Default-Landscape@~ipadpro.png" width="2732" />
<splash height="768" src="resources/ios/splash/Default-Landscape~ipad.png" width="1024" />
<splash height="2048" src="resources/ios/splash/Default-Portrait@2x~ipad.png" width="1536" />
<splash height="2732" src="resources/ios/splash/Default-Portrait@~ipadpro.png" width="2048" />
<splash height="1024" src="resources/ios/splash/Default-Portrait~ipad.png" width="768" />
<splash height="960" src="resources/ios/splash/Default@2x~iphone.png" width="640" />
<splash height="480" src="resources/ios/splash/Default~iphone.png" width="320" />
<splash height="2732" src="resources/ios/splash/Default@2x~universal~anyany.png" width="2732" />
</platform>
<content src="index.html" />
<plugin name="cordova-plugin-screen-orientation" spec="^3.0.1" />
<plugin name="cordova-plugin-zip" spec="^3.1.0" />
<plugin name="cordova-plugin-code-push" spec="^1.11.18" />
<plugin name="cordova-plugin-file-opener2" spec="^2.2.0" />
<plugin name="cordova-plugin-printer" spec="^0.8.0" />
<plugin name="com.jjdltc.cordova.plugin.zip" spec="https://github.com/swayangjit/jjdltc-cordova-plugin-zip.git" />
<plugin name="ionic-plugin-keyboard" spec="^2.2.1" />
<plugin name="cordova-plugin-whitelist" spec="^1.3.4" />
<plugin name="cordova-plugin-ionic-webview" spec="^4.2.1" />
<plugin name="cordova-plugin-app-version" spec="^0.1.9" />
<plugin name="cordova-plugin-x-socialsharing" spec="^5.6.5" />
<plugin name="cordova-plugin-device" spec="^2.0.3" />
<plugin name="cordova-plugin-file" spec="^6.0.2" />
<plugin name="cordova-plugin-file-transfer" spec="^1.7.1" />
<plugin name="cordova-plugin-inappbrowser" spec="^3.2.0" />
<plugin name="cordova-plugin-network-information" spec="^2.0.2" />
<plugin name="cordova-plugin-statusbar" spec="^2.4.3" />
<plugin name="cordova-plugin-webview-checker" spec="^1.0.1" />
<plugin name="cordova-plugin-awesome-shared-preferences" spec="https://github.com/adriano-di-giovanni/cordova-plugin-shared-preferences.git" />
<plugin name="cordova-plugin-local-notification" spec="https://github.com/katzer/cordova-plugin-local-notifications.git">
<variable name="ANDROID_SUPPORT_V4_VERSION" value="26.+" />
</plugin>
<plugin name="cordova-plugin-fcm-with-dependecy-updated" spec="https://github.com/Sunbird-Ed/sb-cordova-plugin-fcm.git">
<variable name="FCM_CORE_VERSION" value="16.0.9" />
<variable name="FCM_VERSION" value="18.0.0" />
<variable name="GRADLE_TOOLS_VERSION" value="3.5.0" />
<variable name="GOOGLE_SERVICES_VERSION" value="4.2.0" />
<variable name="ANDROID_DEFAULT_NOTIFICATION_ICON" value="@mipmap/ic_launcher" />
</plugin>
<plugin name="cordova-plugin-advanced-http" spec="^2.4.1" />
<plugin name="cordova-plugin-android-permissions" spec="^1.0.2" />
<plugin name="cordova-plugin-media" spec="^5.0.3" />
<plugin name="cordova.plugins.diagnostic" spec="^5.0.2">
<variable name="ANDROID_SUPPORT_VERSION" value="28.+" />
</plugin>
<plugin name="com.telerik.plugins.nativepagetransitions" spec="^0.6.5" />
<plugin name="sb-cordova-plugin-utility" spec="https://github.com/Sunbird-Ed/sb-cordova-plugin-utility.git" />
<plugin name="cordova-plugin-android-downloadmanager" spec="https://github.com/Sunbird-Ed/sb-cordova-plugin-downloadmanager.git" />
<plugin name="sb-cordova-plugin-db" spec="https://github.com/Sunbird-Ed/sb-cordova-plugin-db.git" />
<plugin name="cordova-android-support-gradle-release" spec="^3.0.1">
<variable name="ANDROID_SUPPORT_VERSION" value="28.0.0" />
</plugin>
<plugin name="sb-cordova-plugin-customtabs" spec="https://github.com/Sunbird-Ed/sb-cordova-plugin-customtabs.git">
<variable name="URL_SCHEME" value="@string/custom_scheme_url" />
<variable name="URL_HOST" value="mobile" />
</plugin>
<plugin name="cordova-plugin-openrap" spec="https://github.com/project-sunbird/cordova-plugin-openrap.git" />
<plugin name="cordova-plugin-qr-scanner" spec="https://github.com/project-sunbird/cordova-plugin-qr-scanner.git" />
<plugin name="cordova-plugin-sunbirdsplash" spec="https://github.com/project-sunbird/cordova-plugin-sunbirdsplash.git" />
<plugin name="cordova-plugin-file-support" spec="https://github.com/project-sunbird/cordova-plugin-file-support.git" />
<plugin name="sb-cordova-plugin-sync" spec="https://github.com/project-sunbird/sb-cordova-plugin-sync.git#release-3.2.0" />
<plugin name="cordova-plugin-proguard" spec="https://github.com/greybax/cordova-plugin-proguard.git" />
<engine name="android" spec="^8.1.0" />
</widget>