Moodle for mobile

Mobile error

 
Picture of Dani Palou
Re: Mobile error
Core developersMoodle HQParticularly helpful MoodlersPlugin developers

Hi Mohit,

did you run npm install before trying to build the app? Some of the errors like the require one could be caused because you miss some npm packages.

Maybe npm install throws an error in Windows?

Cheers,

Dani

 
Average of ratings: -
Picture of shaikh mujaahid
Re: Mobile error
 

Error
Close
Typescript Error
Cannot find module '../../../../configconstants'.
C:/Users/Shaikh/350/src/addon/messageoutput/airnotifier/providers/airnotifier.ts
}
/**
Typescript Error
Cannot find module '../../../configconstants'.
C:/Users/Shaikh/350/src/addon/pushnotifications/providers/pushnotifications.ts
static BADGE_TABLE = 'addon_pushnotifications_badge';
protected tablesSchema = [
{
Typescript Error
Cannot find module '../configconstants'.
C:/Users/Shaikh/350/src/classes/site.ts
/**
* Save the result to the cache.
Typescript Error
Cannot find module '../../../configconstants'.
C:/Users/Shaikh/350/src/core/compile/providers/compile.ts
import { CoreCourseResourcePrefetchHandlerBase } from '@core/course/classes/resource-prefetch-handler';
// Import all core modules that define components, directives and pipes.
Typescript Error
Cannot find module '../../../configconstants'.
C:/Users/Shaikh/350/src/core/contentlinks/providers/helper.ts
private initDelegate: CoreInitDelegate, eventsProvider: CoreEventsProvider, private textUtils: CoreTextUtilsProvider,
private sitePluginsProvider: CoreSitePluginsProvider) {
this.logger = logger.getInstance('CoreContentLinksHelperProvider');
Typescript Error
Cannot find module '../../../configconstants'.
C:/Users/Shaikh/350/src/core/emulator/providers/file.ts
/**
* Check if a directory exists in a certain path, directory.
*
Typescript Error
Cannot find module '../../../configconstants'.
C:/Users/Shaikh/350/src/core/emulator/providers/local-notifications.ts
protected tileBindingTemplate = '<text hint-style="base" hint-wrap="true">%s</text>' +
'<text hint-style="captionSubtle" hint-wrap="true">%s</text>';
protected tileTemplate = '<tile><visual branding="nameAndLogo">' +
Typescript Error
Cannot find module '../../../../configconstants'.
C:/Users/Shaikh/350/src/core/login/pages/site/site.ts
siteForm: FormGroup;
fixedSites: any[];
displayAsButtons = false;
Typescript Error
Cannot find module '../../../configconstants'.
C:/Users/Shaikh/350/src/core/login/providers/helper.ts
/**
* User's token.
Typescript Error
Cannot find module '../../../configconstants'.
C:/Users/Shaikh/350/src/core/mainmenu/providers/mainmenu.ts
* Url of the item.
* @type {string}
*/
Typescript Error
Cannot find module '../../../../configconstants'.
C:/Users/Shaikh/350/src/core/settings/pages/about/about.ts
versionName: string;
versionCode: number;
privacyPolicy: string;
Typescript Error
Cannot find module '../../../../configconstants'.
C:/Users/Shaikh/350/src/core/settings/pages/general/general.ts
languageCodes = [];
selectedLanguage: string;
rteSupported: boolean;
Typescript Error
Cannot find module '../../../configconstants'.
C:/Users/Shaikh/350/src/core/siteplugins/providers/siteplugins.ts
/**
* Name of the handler.
* @type {string}
Typescript Error
Cannot find module '../configconstants'.
C:/Users/Shaikh/350/src/directives/link.ts
// "no" -> Never auto-login.
// "check" -> Auto-login only if it points to the current site. Default value.
Typescript Error
Cannot find module '../configconstants'.
C:/Users/Shaikh/350/src/providers/lang.ts
constructor(private translate: TranslateService, private configProvider: CoreConfigProvider, platform: Platform,
private globalization: Globalization) {
// Set fallback language and language to use until the app determines the right language to use.
Typescript Error
Cannot find module '../configconstants'.
C:/Users/Shaikh/350/src/providers/sites.ts
code: number;
/**
Typescript Error
Cannot find module '../configconstants'.
C:/Users/Shaikh/350/src/providers/update-manager.ts
/**
* New name of the table. If not defined, "name" will be used.
Ionic Framework: ^3.9.2 Ionic App Scripts: 3.1.9 Angular Core: 5.2.10 Angular Compiler CLI: 5.2.10 Node: 8.12.0 OS Platform: Windows 7 Navigator Platform: Win32 User Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Safari/537.36

 
Average of ratings: -
Picture of Dani Palou
Re: Mobile error
Core developersMoodle HQParticularly helpful MoodlersPlugin developers

Please run "gulp" and make sure no error is raised.

 
Average of ratings: -
Picture of shaikh mujahid
Re: Mobile error
 

Thanks ?

 
Average of ratings: -
Picture of shaikh mujahid
Re: Mobile error /enrollmet error
 

Admin not enrolled  for any courses to access user, but when user try moodle app then they access all courses without admin enrollment.see in attachment when user click on contents they access all activities without enrolled


 
Average of ratings: -
Picture of Dani Palou
Re: Mobile error /enrollmet error
Core developersMoodle HQParticularly helpful MoodlersPlugin developers

Hi,

please check that the course doesn't have guest access enabled. If the course allows guest access then the user can view it even if he isn't enrolled.

Cheers,

Dani

 
Average of ratings: -