|
1 | 1 | <?xml version='1.0' encoding='utf-8'?> |
2 | | -<widget id="com.moodle.moodlemobile" version="3.6.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"> |
| 2 | +<widget id="com.moodle.moodlemobile" version="3.6.1" 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> |
|
41 | 41 | <param name="ios-package" onload="true" value="CDVStatusBar" /> |
42 | 42 | </feature> |
43 | 43 | <platform name="android"> |
| 44 | + <resource-file src="google-services.json" target="app/google-services.json" /> |
44 | 45 | <splash qualifier="land-ldpi" src="resources/android/splash/drawable-land-ldpi-screen.png" /> |
45 | 46 | <splash qualifier="land-mdpi" src="resources/android/splash/drawable-land-mdpi-screen.png" /> |
46 | 47 | <splash qualifier="land-hdpi" src="resources/android/splash/drawable-land-hdpi-screen.png" /> |
|
59 | 60 | <icon density="xhdpi" src="resources/android/icon/drawable-xhdpi-icon.png" /> |
60 | 61 | <icon density="xxhdpi" src="resources/android/icon/drawable-xxhdpi-icon.png" /> |
61 | 62 | <icon density="xxxhdpi" src="resources/android/icon/drawable-xxxhdpi-icon.png" /> |
| 63 | + <resource-file src="resources/android/icon/drawable-ldpi-smallicon.png" target="app/src/main/res/mipmap-ldpi/smallicon.png" /> |
| 64 | + <resource-file src="resources/android/icon/drawable-mdpi-smallicon.png" target="app/src/main/res/mipmap-mdpi/smallicon.png" /> |
| 65 | + <resource-file src="resources/android/icon/drawable-hdpi-smallicon.png" target="app/src/main/res/mipmap-hdpi/smallicon.png" /> |
| 66 | + <resource-file src="resources/android/icon/drawable-xhdpi-smallicon.png" target="app/src/main/res/mipmap-xhdpi/smallicon.png" /> |
| 67 | + <resource-file src="resources/android/splash/drawable-land-hdpi-screen.png" target="app/src/main/res/drawable-land-hdpi/screen.png" /> |
| 68 | + <resource-file src="resources/android/splash/drawable-land-ldpi-screen.png" target="app/src/main/res/drawable-land-ldpi/screen.png" /> |
| 69 | + <resource-file src="resources/android/splash/drawable-land-mdpi-screen.png" target="app/src/main/res/drawable-land-mdpi/screen.png" /> |
| 70 | + <resource-file src="resources/android/splash/drawable-land-xhdpi-screen.png" target="app/src/main/res/drawable-land-xhdpi/screen.png" /> |
| 71 | + <resource-file src="resources/android/splash/drawable-land-xxhdpi-screen.png" target="app/src/main/res/drawable-land-xxhdpi/screen.png" /> |
| 72 | + <resource-file src="resources/android/splash/drawable-land-xxxhdpi-screen.png" target="app/src/main/res/drawable-land-xxxhdpi/screen.png" /> |
| 73 | + <resource-file src="resources/android/splash/drawable-port-hdpi-screen.png" target="app/src/main/res/drawable-port-hdpi/screen.png" /> |
| 74 | + <resource-file src="resources/android/splash/drawable-port-ldpi-screen.png" target="app/src/main/res/drawable-port-ldpi/screen.png" /> |
| 75 | + <resource-file src="resources/android/splash/drawable-port-mdpi-screen.png" target="app/src/main/res/drawable-port-mdpi/screen.png" /> |
| 76 | + <resource-file src="resources/android/splash/drawable-port-xhdpi-screen.png" target="app/src/main/res/drawable-port-xhdpi/screen.png" /> |
| 77 | + <resource-file src="resources/android/splash/drawable-port-xxhdpi-screen.png" target="app/src/main/res/drawable-port-xxhdpi/screen.png" /> |
| 78 | + <resource-file src="resources/android/splash/drawable-port-xxxhdpi-screen.png" target="app/src/main/res/drawable-port-xxxhdpi/screen.png" /> |
62 | 79 | </platform> |
63 | 80 | <platform name="ios"> |
| 81 | + <resource-file src="GoogleService-Info.plist" /> |
64 | 82 | <icon height="57" src="resources/ios/icon/icon.png" width="57" /> |
65 | 83 | < icon height= "114" src= "resources/ios/icon/[email protected]" width= "114" /> |
66 | 84 | <icon height="40" src="resources/ios/icon/icon-40.png" width="40" /> |
|
94 | 112 | <icon height="1024" src="resources/ios/icon/icon-1024.png" width="1024" /> |
95 | 113 | <splash height="2732" src="resources/ios/splash/Default@2x~universal~anyany.png" width="2732" /> |
96 | 114 | </platform> |
97 | | - <plugin name="com-darryncampbell-cordova-plugin-intent" spec="1.1.1" /> |
| 115 | + <plugin name="com-darryncampbell-cordova-plugin-intent" spec="1.1.5" /> |
98 | 116 | <plugin name="cordova-android-support-gradle-release" spec="2.0.1"> |
99 | 117 | <variable name="ANDROID_SUPPORT_VERSION" value="27.1.0" /> |
100 | 118 | </plugin> |
|
111 | 129 | <plugin name="cordova-plugin-globalization" spec="1.11.0" /> |
112 | 130 | <plugin name="cordova-plugin-inappbrowser" spec="3.0.0" /> |
113 | 131 | <plugin name="cordova-plugin-ionic-keyboard" spec="2.1.3" /> |
114 | | - <plugin name="cordova-plugin-local-notifications-mm" spec="1.0.13" /> |
| 132 | + <plugin name="cordova-plugin-local-notification" spec="0.9.0-beta.3" /> |
115 | 133 | <plugin name="cordova-plugin-media-capture" spec="3.0.2" /> |
116 | 134 | <plugin name="cordova-plugin-network-information" spec="2.0.1" /> |
117 | 135 | <plugin name="cordova-plugin-screen-orientation" spec="3.0.1" /> |
|
121 | 139 | <plugin name="cordova-plugin-zip" spec="3.1.0" /> |
122 | 140 | <plugin name="cordova-sqlite-storage" spec="2.6.0" /> |
123 | 141 | <plugin name="nl.kingsquare.cordova.background-audio" spec="1.0.1" /> |
124 | | - <plugin name="phonegap-plugin-push" spec="https://github.com/moodlemobile/phonegap-plugin-push.git#moodle"> |
125 | | - <variable name="SENDER_ID" value="694767596569" /> |
| 142 | + <plugin name="phonegap-plugin-push" spec="https://github.com/moodlemobile/phonegap-plugin-push.git#moodle-v2"> |
| 143 | + <variable name="ANDROID_SUPPORT_V13_VERSION" value="27.+" /> |
| 144 | + <variable name="FCM_VERSION" value="17.0.+" /> |
126 | 145 | </plugin> |
127 | 146 | <edit-config file="AndroidManifest.xml" mode="merge" target="/manifest/application/activity[@android:name='MainActivity']"> |
128 | 147 | <activity android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale|screenLayout|smallestScreenSize" android:debuggable="true" /> |
|
0 commit comments