|
1 | 1 | <?xml version='1.0' encoding='utf-8'?> |
2 | | -<widget id="com.moodle.moodlemobile" version="3.7.2" xmlns="http://www.w3.org/ns/widgets" xmlns:android="http://schemas.android.com/apk/res/android" xmlns:cdv="http://cordova.apache.org/ns/1.0"> |
| 2 | +<widget id="com.moodle.moodlemobile" version="3.8.0" xmlns="http://www.w3.org/ns/widgets" xmlns:android="http://schemas.android.com/apk/res/android" xmlns:cdv="http://cordova.apache.org/ns/1.0"> |
3 | 3 | <name>Moodle</name> |
4 | 4 | <description>Moodle official app</description> |
5 | 5 | < author email= "[email protected]" href= "http://moodle.com">Moodle Mobile team</ author> |
|
42 | 42 | <param name="ios-package" onload="true" value="CDVStatusBar" /> |
43 | 43 | </feature> |
44 | 44 | <platform name="android"> |
| 45 | + <resource-file src="MainActivity.java" target="app/src/main/java/com/moodle/moodlemobile/MainActivity.java" /> |
45 | 46 | <resource-file src="google-services.json" target="app/google-services.json" /> |
46 | | - <splash qualifier="land-ldpi" src="resources/android/splash/drawable-land-ldpi-screen.png" /> |
47 | | - <splash qualifier="land-mdpi" src="resources/android/splash/drawable-land-mdpi-screen.png" /> |
48 | | - <splash qualifier="land-hdpi" src="resources/android/splash/drawable-land-hdpi-screen.png" /> |
49 | | - <splash qualifier="land-xhdpi" src="resources/android/splash/drawable-land-xhdpi-screen.png" /> |
50 | | - <splash qualifier="land-xxhdpi" src="resources/android/splash/drawable-land-xxhdpi-screen.png" /> |
51 | | - <splash qualifier="land-xxxhdpi" src="resources/android/splash/drawable-land-xxxhdpi-screen.png" /> |
52 | | - <splash qualifier="port-ldpi" src="resources/android/splash/drawable-port-ldpi-screen.png" /> |
53 | | - <splash qualifier="port-mdpi" src="resources/android/splash/drawable-port-mdpi-screen.png" /> |
54 | | - <splash qualifier="port-hdpi" src="resources/android/splash/drawable-port-hdpi-screen.png" /> |
55 | | - <splash qualifier="port-xhdpi" src="resources/android/splash/drawable-port-xhdpi-screen.png" /> |
56 | | - <splash qualifier="port-xxhdpi" src="resources/android/splash/drawable-port-xxhdpi-screen.png" /> |
57 | | - <splash qualifier="port-xxxhdpi" src="resources/android/splash/drawable-port-xxxhdpi-screen.png" /> |
58 | | - <icon density="ldpi" src="resources/android/icon/drawable-ldpi-icon.png" /> |
59 | | - <icon density="mdpi" src="resources/android/icon/drawable-mdpi-icon.png" /> |
60 | | - <icon density="hdpi" src="resources/android/icon/drawable-hdpi-icon.png" /> |
61 | | - <icon density="xhdpi" src="resources/android/icon/drawable-xhdpi-icon.png" /> |
62 | | - <icon density="xxhdpi" src="resources/android/icon/drawable-xxhdpi-icon.png" /> |
63 | | - <icon density="xxxhdpi" src="resources/android/icon/drawable-xxxhdpi-icon.png" /> |
| 47 | + <splash density="land-ldpi" qualifier="land-ldpi" src="resources/android/splash/drawable-land-ldpi-screen.png" /> |
| 48 | + <splash density="land-mdpi" qualifier="land-mdpi" src="resources/android/splash/drawable-land-mdpi-screen.png" /> |
| 49 | + <splash density="land-hdpi" qualifier="land-hdpi" src="resources/android/splash/drawable-land-hdpi-screen.png" /> |
| 50 | + <splash density="land-xhdpi" qualifier="land-xhdpi" src="resources/android/splash/drawable-land-xhdpi-screen.png" /> |
| 51 | + <splash density="land-xxhdpi" qualifier="land-xxhdpi" src="resources/android/splash/drawable-land-xxhdpi-screen.png" /> |
| 52 | + <splash density="land-xxxhdpi" qualifier="land-xxxhdpi" src="resources/android/splash/drawable-land-xxxhdpi-screen.png" /> |
| 53 | + <splash density="port-ldpi" qualifier="port-ldpi" src="resources/android/splash/drawable-port-ldpi-screen.png" /> |
| 54 | + <splash density="port-mdpi" qualifier="port-mdpi" src="resources/android/splash/drawable-port-mdpi-screen.png" /> |
| 55 | + <splash density="port-hdpi" qualifier="port-hdpi" src="resources/android/splash/drawable-port-hdpi-screen.png" /> |
| 56 | + <splash density="port-xhdpi" qualifier="port-xhdpi" src="resources/android/splash/drawable-port-xhdpi-screen.png" /> |
| 57 | + <splash density="port-xxhdpi" qualifier="port-xxhdpi" src="resources/android/splash/drawable-port-xxhdpi-screen.png" /> |
| 58 | + <splash density="port-xxxhdpi" qualifier="port-xxxhdpi" src="resources/android/splash/drawable-port-xxxhdpi-screen.png" /> |
64 | 59 | <resource-file src="resources/android/icon/drawable-ldpi-smallicon.png" target="app/src/main/res/mipmap-ldpi/smallicon.png" /> |
65 | 60 | <resource-file src="resources/android/icon/drawable-mdpi-smallicon.png" target="app/src/main/res/mipmap-mdpi/smallicon.png" /> |
66 | 61 | <resource-file src="resources/android/icon/drawable-hdpi-smallicon.png" target="app/src/main/res/mipmap-hdpi/smallicon.png" /> |
|
77 | 72 | <resource-file src="resources/android/splash/drawable-port-xhdpi-screen.png" target="app/src/main/res/drawable-port-xhdpi/screen.png" /> |
78 | 73 | <resource-file src="resources/android/splash/drawable-port-xxhdpi-screen.png" target="app/src/main/res/drawable-port-xxhdpi/screen.png" /> |
79 | 74 | <resource-file src="resources/android/splash/drawable-port-xxxhdpi-screen.png" target="app/src/main/res/drawable-port-xxxhdpi/screen.png" /> |
| 75 | + <resource-file src="resources/values/colors.xml" target="/app/src/main/res/values/colors.xml" /> |
| 76 | + <icon background="@color/background" density="ldpi" foreground="resources/android/icon/ldpi-foreground.png" src="resources/android/icon/drawable-ldpi-icon.png" /> |
| 77 | + <icon background="@color/background" density="mdpi" foreground="resources/android/icon/mdpi-foreground.png" src="resources/android/icon/drawable-mdpi-icon.png" /> |
| 78 | + <icon background="@color/background" density="hdpi" foreground="resources/android/icon/hdpi-foreground.png" src="resources/android/icon/drawable-hdpi-icon.png" /> |
| 79 | + <icon background="@color/background" density="xhdpi" foreground="resources/android/icon/xhdpi-foreground.png" src="resources/android/icon/drawable-xhdpi-icon.png" /> |
| 80 | + <icon background="@color/background" density="xxhdpi" foreground="resources/android/icon/xxhdpi-foreground.png" src="resources/android/icon/drawable-xxhdpi-icon.png" /> |
| 81 | + <icon background="@color/background" density="xxxhdpi" foreground="resources/android/icon/xxxhdpi-foreground.png" src="resources/android/icon/drawable-xxxhdpi-icon.png" /> |
| 82 | + <config-file parent="/manifest/application" target="AndroidManifest.xml"> |
| 83 | + <provider android:authorities="${applicationId}.opener.provider" android:exported="false" android:grantUriPermissions="true" android:name="io.github.pwlin.cordova.plugins.fileopener2.FileProvider"> |
| 84 | + <meta-data android:name="android.support.FILE_PROVIDER_PATHS" android:resource="@xml/opener_paths" /> |
| 85 | + </provider> |
| 86 | + </config-file> |
80 | 87 | </platform> |
81 | 88 | <platform name="ios"> |
82 | 89 | <resource-file src="GoogleService-Info.plist" /> |
|
112 | 119 | <splash height="480" src="resources/ios/splash/Default~iphone.png" width="320" /> |
113 | 120 | <icon height="1024" src="resources/ios/icon/icon-1024.png" width="1024" /> |
114 | 121 | <splash height="2732" src="resources/ios/splash/Default@2x~universal~anyany.png" width="2732" /> |
| 122 | + <edit-config file="*-Info.plist" mode="merge" target="NSLocationWhenInUseUsageDescription"> |
| 123 | + <string>We need your location so you can attach it as part of your submissions.</string> |
| 124 | + </edit-config> |
| 125 | + <icon height="20" src="resources/ios/icon/icon-20.png" width="20" /> |
| 126 | + < icon height= "40" src= "resources/ios/icon/[email protected]" width= "40" /> |
| 127 | + < icon height= "60" src= "resources/ios/icon/[email protected]" width= "60" /> |
| 128 | + <icon height="29" src="resources/ios/icon/icon-29.png" width="29" /> |
| 129 | + < icon height= "58" src= "resources/ios/icon/[email protected]" width= "58" /> |
| 130 | + < icon height= "87" src= "resources/ios/icon/[email protected]" width= "87" /> |
| 131 | + < icon height= "48" src= "resources/ios/icon/[email protected]" width= "48" /> |
| 132 | + < icon height= "55" src= "resources/ios/icon/[email protected]" width= "55" /> |
| 133 | + < icon height= "88" src= "resources/ios/icon/[email protected]" width= "88" /> |
| 134 | + < icon height= "172" src= "resources/ios/icon/[email protected]" width= "172" /> |
| 135 | + < icon height= "196" src= "resources/ios/icon/[email protected]" width= "196" /> |
| 136 | + < icon height= "216" src= "resources/ios/icon/[email protected]" width= "216" /> |
| 137 | + <splash height="2688" src="resources/ios/splash/Default-2688h~iphone.png" width="1242" /> |
| 138 | + <splash height="1242" src="resources/ios/splash/Default-Landscape-2688h~iphone.png" width="2688" /> |
| 139 | + <splash height="1792" src="resources/ios/splash/Default-1792h~iphone.png" width="828" /> |
| 140 | + <splash height="828" src="resources/ios/splash/Default-Landscape-1792h~iphone.png" width="1792" /> |
| 141 | + <splash height="2436" src="resources/ios/splash/Default-2436h.png" width="1125" /> |
| 142 | + <splash height="1125" src="resources/ios/splash/Default-Landscape-2436h.png" width="2436" /> |
115 | 143 | </platform> |
116 | | - <plugin name="com-darryncampbell-cordova-plugin-intent" spec="1.1.8" /> |
| 144 | + <plugin name="com-darryncampbell-cordova-plugin-intent" spec="1.3.0" /> |
117 | 145 | <plugin name="cordova-android-support-gradle-release" spec="3.0.1"> |
118 | 146 | <variable name="ANDROID_SUPPORT_VERSION" value="27.1.0" /> |
119 | 147 | </plugin> |
|
125 | 153 | </plugin> |
126 | 154 | <plugin name="cordova-plugin-device" spec="2.0.3" /> |
127 | 155 | <plugin name="cordova-plugin-file" spec="6.0.2" /> |
128 | | - <plugin name="cordova-plugin-file-opener2" spec="2.0.19" /> |
| 156 | + <plugin name="cordova-plugin-file-opener2" spec="2.2.1" /> |
129 | 157 | <plugin name="cordova-plugin-file-transfer" spec="1.7.1" /> |
| 158 | + <plugin name="cordova-plugin-geolocation" spec="4.0.2"> |
| 159 | + <variable name="GEOLOCATION_USAGE_DESCRIPTION" value="We need your location so you can attach it as part of your submissions." /> |
| 160 | + </plugin> |
130 | 161 | <plugin name="cordova-plugin-globalization" spec="1.11.0" /> |
131 | 162 | <plugin name="cordova-plugin-inappbrowser" spec="3.1.0" /> |
132 | 163 | <plugin name="cordova-plugin-ionic-keyboard" spec="2.1.3" /> |
|
138 | 169 | <plugin name="cordova-plugin-statusbar" spec="2.4.3" /> |
139 | 170 | <plugin name="cordova-plugin-whitelist" spec="1.3.4" /> |
140 | 171 | <plugin name="cordova-plugin-zip" spec="3.1.0" /> |
141 | | - <plugin name="cordova-sqlite-storage" spec="2.6.0" /> |
| 172 | + <plugin name="cordova-sqlite-storage" spec="3.4.0" /> |
142 | 173 | <plugin name="nl.kingsquare.cordova.background-audio" spec="1.0.1" /> |
143 | 174 | <plugin name="phonegap-plugin-push" spec="https://github.com/moodlemobile/phonegap-plugin-push.git#moodle-v3"> |
144 | 175 | <variable name="ANDROID_SUPPORT_V13_VERSION" value="27.+" /> |
|
156 | 187 | <config-file parent="FIREBASE_ANALYTICS_COLLECTION_DEACTIVATED" target="*-Info.plist"> |
157 | 188 | <string>YES</string> |
158 | 189 | </config-file> |
159 | | - <engine name="android" spec="7.1.2" /> |
160 | | - <engine name="ios" spec="4.5.5" /> |
| 190 | + <engine name="android" spec="8.0.0" /> |
| 191 | + <engine name="ios" spec="5.0.1" /> |
161 | 192 | </widget> |
0 commit comments