commit
						d76022e721
					
				
							
								
								
									
										63
									
								
								config.xml
									
									
									
									
									
								
							
							
						
						
									
										63
									
								
								config.xml
									
									
									
									
									
								
							| @ -94,46 +94,39 @@ | ||||
|         <icon height="1024" src="resources/ios/icon/icon-1024.png" width="1024" /> | ||||
|         <splash height="2732" src="resources/ios/splash/Default@2x~universal~anyany.png" width="2732" /> | ||||
|     </platform> | ||||
|     <plugin name="cordova-plugin-file" spec="^6.0.1" /> | ||||
|     <plugin name="cordova-plugin-file-transfer" spec="^1.7.1" /> | ||||
|     <plugin name="cordova-plugin-camera" spec="^4.0.3"> | ||||
|         <variable name="CAMERA_USAGE_DESCRIPTION" value="We need camera access to take pictures so you can attach them as part of your submissions." /> | ||||
|         <variable name="PHOTOLIBRARY_USAGE_DESCRIPTION" value="We need photo library access to get pictures from there so you can attach them as part of your submissions." /> | ||||
|     <plugin name="com-darryncampbell-cordova-plugin-intent" spec="1.1.1" /> | ||||
|     <plugin name="cordova-android-support-gradle-release" spec="2.0.1"> | ||||
|         <variable name="ANDROID_SUPPORT_VERSION" value="27.1.0" /> | ||||
|     </plugin> | ||||
|     <plugin name="cordova-plugin-media-capture" spec="^3.0.2"> | ||||
|         <variable name="CAMERA_USAGE_DESCRIPTION" value="We need camera access to take pictures so you can attach them as part of your submissions." /> | ||||
|         <variable name="PHOTOLIBRARY_USAGE_DESCRIPTION" value="We need photo library access to get pictures from there so you can attach them as part of your submissions." /> | ||||
|         <variable name="MICROPHONE_USAGE_DESCRIPTION" value="We need microphone access to record sounds so you can attach them as part of your submissions." /> | ||||
|     </plugin> | ||||
|     <plugin name="cordova-plugin-device" spec="^2.0.2" /> | ||||
|     <plugin name="cordova-plugin-globalization" spec="^1.11.0" /> | ||||
|     <plugin name="cordova-plugin-inappbrowser" spec="^3.0.0" /> | ||||
|     <plugin name="cordova-plugin-network-information" spec="^2.0.1" /> | ||||
|     <plugin name="cordova-plugin-statusbar" spec="^2.4.2" /> | ||||
|     <plugin name="cordova-plugin-whitelist" spec="^1.3.3" /> | ||||
|     <plugin name="cordova-plugin-splashscreen" spec="^5.0.2" /> | ||||
|     <plugin name="cordova-clipboard" spec="^1.2.1" /> | ||||
|     <plugin name="nl.kingsquare.cordova.background-audio" spec="^1.0.1" /> | ||||
|     <plugin name="phonegap-plugin-push" spec="https://github.com/moodlemobile/phonegap-plugin-push.git#moodle"> | ||||
|         <variable name="SENDER_ID" value="694767596569" /> | ||||
|     </plugin> | ||||
|     <plugin name="cordova-plugin-customurlscheme" spec="^4.3.0"> | ||||
|     <plugin name="cordova-clipboard" spec="1.2.1" /> | ||||
|     <plugin name="cordova-plugin-badge" spec="0.8.8" /> | ||||
|     <plugin name="cordova-plugin-camera" spec="4.0.3" /> | ||||
|     <plugin name="cordova-plugin-customurlscheme" spec="4.3.0"> | ||||
|         <variable name="URL_SCHEME" value="moodlemobile" /> | ||||
|     </plugin> | ||||
|     <plugin name="ionic-plugin-keyboard" spec="^2.2.1" /> | ||||
|     <plugin name="cordova-plugin-zip" spec="^3.1.0" /> | ||||
|     <plugin name="cordova-plugin-local-notifications-mm" spec="^1.0.13" /> | ||||
|     <plugin name="cordova-plugin-file-opener2" spec="^2.0.19" /> | ||||
|     <plugin name="cordova-plugin-badge" spec="^0.8.7" /> | ||||
|     <plugin name="cordova-android-support-gradle-release" spec="^1.4.4"> | ||||
|         <variable name="ANDROID_SUPPORT_VERSION" value="27.1.0" /> | ||||
|     <plugin name="cordova-plugin-device" spec="2.0.2" /> | ||||
|     <plugin name="cordova-plugin-file" spec="6.0.1" /> | ||||
|     <plugin name="cordova-plugin-file-opener2" spec="2.0.19" /> | ||||
|     <plugin name="cordova-plugin-file-transfer" spec="1.7.1" /> | ||||
|     <plugin name="cordova-plugin-globalization" spec="1.11.0" /> | ||||
|     <plugin name="cordova-plugin-inappbrowser" spec="3.0.0" /> | ||||
|     <plugin name="cordova-plugin-ionic-keyboard" spec="2.1.3" /> | ||||
|     <plugin name="cordova-plugin-local-notifications-mm" spec="1.0.13" /> | ||||
|     <plugin name="cordova-plugin-media-capture" spec="3.0.2" /> | ||||
|     <plugin name="cordova-plugin-network-information" spec="2.0.1" /> | ||||
|     <plugin name="cordova-plugin-screen-orientation" spec="3.0.1" /> | ||||
|     <plugin name="cordova-plugin-splashscreen" spec="5.0.2" /> | ||||
|     <plugin name="cordova-plugin-statusbar" spec="2.4.2" /> | ||||
|     <plugin name="cordova-plugin-whitelist" spec="1.3.3" /> | ||||
|     <plugin name="cordova-plugin-zip" spec="3.1.0" /> | ||||
|     <plugin name="cordova-sqlite-evcore-extbuild-free" spec="0.9.9" /> | ||||
|     <plugin name="nl.kingsquare.cordova.background-audio" spec="1.0.1" /> | ||||
|     <plugin name="phonegap-plugin-push" spec="https://github.com/moodlemobile/phonegap-plugin-push.git#moodle"> | ||||
|         <variable name="SENDER_ID" value="694767596569" /> | ||||
|     </plugin> | ||||
|     <edit-config file="AndroidManifest.xml" mode="merge" target="/manifest/application/activity[@android:name='MainActivity']"> | ||||
|         <activity android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale|screenLayout|smallestScreenSize" android:debuggable="true" /> | ||||
|     </edit-config> | ||||
|     <plugin name="cordova-plugin-screen-orientation" spec="^3.0.1" /> | ||||
|     <plugin name="com-darryncampbell-cordova-plugin-intent" spec="^1.1.1" /> | ||||
|     <plugin name="cordova-sqlite-evcore-extbuild-free" spec="^0.9.9" /> | ||||
|     <engine name="android" spec="7.0.0" /> | ||||
|     <engine name="ios" spec="4.5.4" /> | ||||
|     <engine name="android" spec="7.1.2" /> | ||||
|     <engine name="ios" spec="4.5.5" /> | ||||
| </widget> | ||||
|  | ||||
							
								
								
									
										1110
									
								
								package-lock.json
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										1110
									
								
								package-lock.json
									
									
									
										generated
									
									
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
							
								
								
									
										121
									
								
								package.json
									
									
									
									
									
								
							
							
						
						
									
										121
									
								
								package.json
									
									
									
									
									
								
							| @ -58,58 +58,80 @@ | ||||
|     "@ionic-native/file-transfer": "4.17.0", | ||||
|     "@ionic-native/globalization": "4.17.0", | ||||
|     "@ionic-native/in-app-browser": "4.17.0", | ||||
|     "@ionic-native/keyboard": "4.14.0", | ||||
|     "@ionic-native/keyboard": "4.17.0", | ||||
|     "@ionic-native/local-notifications": "4.5.2", | ||||
|     "@ionic-native/media-capture": "4.17.0", | ||||
|     "@ionic-native/network": "4.17.0", | ||||
|     "@ionic-native/push": "4.17.0", | ||||
|     "@ionic-native/screen-orientation": "^4.17.0", | ||||
|     "@ionic-native/splash-screen": "^4.17.0", | ||||
|     "@ionic-native/screen-orientation": "4.17.0", | ||||
|     "@ionic-native/splash-screen": "4.17.0", | ||||
|     "@ionic-native/sqlite": "4.17.0", | ||||
|     "@ionic-native/status-bar": "^4.17.0", | ||||
|     "@ionic-native/status-bar": "4.17.0", | ||||
|     "@ionic-native/web-intent": "4.17.0", | ||||
|     "@ionic-native/zip": "4.17.0", | ||||
|     "@ngx-translate/core": "^8.0.0", | ||||
|     "@ngx-translate/http-loader": "^2.0.0", | ||||
|     "@ngx-translate/core": "8.0.0", | ||||
|     "@ngx-translate/http-loader": "2.0.1", | ||||
|     "@types/cordova": "0.0.34", | ||||
|     "@types/cordova-plugin-file-transfer": "0.0.3", | ||||
|     "@types/cordova-plugin-globalization": "0.0.3", | ||||
|     "@types/cordova-plugin-network-information": "0.0.3", | ||||
|     "@types/node": "^8.0.47", | ||||
|     "@types/promise.prototype.finally": "^2.0.2", | ||||
|     "chart.js": "^2.7.2", | ||||
|     "com-darryncampbell-cordova-plugin-intent": "^1.1.1", | ||||
|     "cordova-android": "7.0.0", | ||||
|     "cordova-ios": "4.5.4", | ||||
|     "cordova-plugin-screen-orientation": "^3.0.1", | ||||
|     "cordova-sqlite-evcore-extbuild-free": "^0.9.9", | ||||
|     "es6-promise-plugin": "^4.2.2", | ||||
|     "@types/node": "8.10.19", | ||||
|     "@types/promise.prototype.finally": "2.0.2", | ||||
|     "chart.js": "2.7.2", | ||||
|     "com-darryncampbell-cordova-plugin-intent": "1.1.1", | ||||
|     "cordova-android": "7.1.2", | ||||
|     "cordova-android-support-gradle-release": "2.0.1", | ||||
|     "cordova-clipboard": "1.2.1", | ||||
|     "cordova-ios": "4.5.5", | ||||
|     "cordova-plugin-app-event": "1.2.1", | ||||
|     "cordova-plugin-badge": "0.8.8", | ||||
|     "cordova-plugin-camera": "4.0.3", | ||||
|     "cordova-plugin-customurlscheme": "4.3.0", | ||||
|     "cordova-plugin-device": "2.0.2", | ||||
|     "cordova-plugin-file": "6.0.1", | ||||
|     "cordova-plugin-file-opener2": "2.0.19", | ||||
|     "cordova-plugin-file-transfer": "1.7.1", | ||||
|     "cordova-plugin-globalization": "1.11.0", | ||||
|     "cordova-plugin-inappbrowser": "3.0.0", | ||||
|     "cordova-plugin-ionic-keyboard": "2.1.3", | ||||
|     "cordova-plugin-local-notifications-mm": "1.0.13", | ||||
|     "cordova-plugin-media-capture": "3.0.2", | ||||
|     "cordova-plugin-network-information": "2.0.1", | ||||
|     "cordova-plugin-screen-orientation": "3.0.1", | ||||
|     "cordova-plugin-splashscreen": "5.0.2", | ||||
|     "cordova-plugin-statusbar": "2.4.2", | ||||
|     "cordova-plugin-whitelist": "1.3.3", | ||||
|     "cordova-plugin-zip": "3.1.0", | ||||
|     "cordova-sqlite-evcore-extbuild-free": "0.9.9", | ||||
|     "es6-promise-plugin": "4.2.2", | ||||
|     "font-awesome": "4.7.0", | ||||
|     "ionic-angular": "^3.9.2", | ||||
|     "ionic-angular": "3.9.2", | ||||
|     "ionicons": "3.0.0", | ||||
|     "jszip": "^3.1.4", | ||||
|     "moment": "^2.19.1", | ||||
|     "promise.prototype.finally": "^3.0.1", | ||||
|     "jszip": "3.1.5", | ||||
|     "moment": "2.22.2", | ||||
|     "nl.kingsquare.cordova.background-audio": "1.0.1", | ||||
|     "phonegap-plugin-push": "git+https://github.com/moodlemobile/phonegap-plugin-push.git#moodle", | ||||
|     "promise.prototype.finally": "3.1.0", | ||||
|     "rxjs": "5.5.11", | ||||
|     "sw-toolbox": "3.6.0", | ||||
|     "ts-md5": "^1.2.2", | ||||
|     "web-animations-js": "^2.3.1", | ||||
|     "ts-md5": "1.2.4", | ||||
|     "web-animations-js": "2.3.1", | ||||
|     "zone.js": "0.8.26" | ||||
|   }, | ||||
|   "devDependencies": { | ||||
|     "@ionic/app-scripts": "3.1.9", | ||||
|     "electron-rebuild": "^1.8.1", | ||||
|     "electron-builder-lib": "^20.23.1", | ||||
|     "gulp": "^4.0.0", | ||||
|     "gulp-clip-empty-files": "^0.1.2", | ||||
|     "gulp-flatten": "^0.4.0", | ||||
|     "gulp-rename": "^1.2.2", | ||||
|     "gulp-slash": "^1.1.3", | ||||
|     "gulp-util": "^3.0.8", | ||||
|     "node-loader": "^0.6.0", | ||||
|     "through": "^2.3.8", | ||||
|     "typescript": "~2.6.2", | ||||
|     "webpack-merge": "^4.1.2" | ||||
|     "electron-rebuild": "1.8.1", | ||||
|     "electron-builder-lib": "20.23.1", | ||||
|     "gulp": "4.0.0", | ||||
|     "gulp-clip-empty-files": "0.1.2", | ||||
|     "gulp-flatten": "0.4.0", | ||||
|     "gulp-rename": "1.3.0", | ||||
|     "gulp-slash": "1.1.3", | ||||
|     "gulp-util": "3.0.8", | ||||
|     "node-loader": "0.6.0", | ||||
|     "through": "2.3.8", | ||||
|     "typescript": "2.6.2", | ||||
|     "webpack-merge": "4.1.2" | ||||
|   }, | ||||
|   "browser": { | ||||
|     "electron": false | ||||
| @ -120,9 +142,36 @@ | ||||
|       "ios" | ||||
|     ], | ||||
|     "plugins": { | ||||
|       "cordova-plugin-screen-orientation": {}, | ||||
|       "com-darryncampbell-cordova-plugin-intent": {}, | ||||
|       "cordova-sqlite-evcore-extbuild-free": {} | ||||
|       "cordova-android-support-gradle-release": { | ||||
|         "ANDROID_SUPPORT_VERSION": "27.1.0" | ||||
|       }, | ||||
|       "cordova-clipboard": {}, | ||||
|       "cordova-plugin-badge": {}, | ||||
|       "cordova-plugin-camera": {}, | ||||
|       "cordova-plugin-customurlscheme": { | ||||
|         "URL_SCHEME": "moodlemobile" | ||||
|       }, | ||||
|       "cordova-plugin-device": {}, | ||||
|       "cordova-plugin-file": {}, | ||||
|       "cordova-plugin-file-opener2": {}, | ||||
|       "cordova-plugin-file-transfer": {}, | ||||
|       "cordova-plugin-globalization": {}, | ||||
|       "cordova-plugin-inappbrowser": {}, | ||||
|       "cordova-plugin-ionic-keyboard": {}, | ||||
|       "cordova-plugin-local-notifications-mm": {}, | ||||
|       "cordova-plugin-media-capture": {}, | ||||
|       "cordova-plugin-network-information": {}, | ||||
|       "cordova-plugin-screen-orientation": {}, | ||||
|       "cordova-plugin-splashscreen": {}, | ||||
|       "cordova-plugin-statusbar": {}, | ||||
|       "cordova-plugin-whitelist": {}, | ||||
|       "cordova-plugin-zip": {}, | ||||
|       "cordova-sqlite-evcore-extbuild-free": {}, | ||||
|       "nl.kingsquare.cordova.background-audio": {}, | ||||
|       "phonegap-plugin-push": { | ||||
|         "SENDER_ID": "694767596569" | ||||
|       } | ||||
|     } | ||||
|   }, | ||||
|   "main": "desktop/electron.js", | ||||
| @ -178,4 +227,4 @@ | ||||
|       "confinement": "classic" | ||||
|     } | ||||
|   } | ||||
| } | ||||
| } | ||||
|  | ||||
| @ -35,9 +35,9 @@ export class MoodleMobileApp implements OnInit { | ||||
|     protected lastUrls = {}; | ||||
| 
 | ||||
|     constructor(private platform: Platform, statusBar: StatusBar, logger: CoreLoggerProvider, keyboard: Keyboard, | ||||
|         private eventsProvider: CoreEventsProvider, private loginHelper: CoreLoginHelperProvider, private zone: NgZone, | ||||
|         private appProvider: CoreAppProvider, private langProvider: CoreLangProvider, private sitesProvider: CoreSitesProvider, | ||||
|         private screenOrientation: ScreenOrientation) { | ||||
|             private eventsProvider: CoreEventsProvider, private loginHelper: CoreLoginHelperProvider, private zone: NgZone, | ||||
|             private appProvider: CoreAppProvider, private langProvider: CoreLangProvider, private sitesProvider: CoreSitesProvider, | ||||
|             private screenOrientation: ScreenOrientation) { | ||||
|         this.logger = logger.getInstance('AppComponent'); | ||||
| 
 | ||||
|         platform.ready().then(() => { | ||||
| @ -49,7 +49,7 @@ export class MoodleMobileApp implements OnInit { | ||||
|                 statusBar.styleDefault(); | ||||
|             } | ||||
| 
 | ||||
|             keyboard.hideKeyboardAccessoryBar(false); | ||||
|             keyboard.hideFormAccessoryBar(false); | ||||
|         }); | ||||
| 
 | ||||
|     } | ||||
|  | ||||
| @ -123,7 +123,7 @@ export class CoreAppProvider { | ||||
|      */ | ||||
|     closeKeyboard(): void { | ||||
|         if (this.isMobile()) { | ||||
|             this.keyboard.close(); | ||||
|             this.keyboard.hide(); | ||||
|         } | ||||
|     } | ||||
| 
 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user