We have taken latest pull of moodlemobile2 from git.
It has setup successfully and install all dependencies using command npm run setup.
After ionic serve, it opens moodle desktop in chrome browser.
The heading of moodle is not coming fine. Instead of Login it shows core.login.connecttomoodle.
I am getting below issues in console:
Failed to load resource: the server responded with a status of 404 (Not Found)
:8100/manifest.json:1 Manifest: Line: 1, column: 1, Unexpected token.
util.js:66 Ionic Native: tried calling Network.type, but Cordova is not available. Make sure to a) run in a real device or simulator and b) include cordova.js in your index.html
logger.ts:70 1/24/2019 4:51:13 PM CoreCronDelegate: Execution of handler 'CoreCourseLogCronHandler' failed. null
Below are my ionic and cordova details:
[WARN] The pro_id field in .\ionic.config.json has been deprecated.
Ionic Pro has been renamed to Ionic Appflow! We've copied the value in pro_id to id, but you may want to unset
the deprecated property: ionic config unset pro_id
[WARN] Bad integration name: gulp
ionic (Ionic CLI) : 4.9.0 (C:\Users\prawez.musharraf\AppData\Roaming\npm\node_modules\ionic)
Ionic Framework : ionic-angular 3.9.2
@ionic/app-scripts : 3.1.9
cordova (Cordova CLI) : not installed
Cordova Platforms : android 7.1.2, ios 4.5.5
Cordova Plugins : cordova-plugin-ionic-keyboard 2.1.3, (and 20 other plugins)
Android SDK Tools : 26.1.1 (C:\Users\prawez.musharraf\AppData\Local\Android\Sdk)
NodeJS : v10.15.0 (D:\nodejs\node.exe)
npm : 6.7.0
OS : Windows 10
Please help me to resolve the issue.