Moodle for mobile custom app error

Moodle for mobile custom app error

by lebo sekele -
Number of replies: 11

Good morning,

I have followed the steps on this link 

And was able to upload the app on build.phonegap.com. i downloaded the android.apk file and installed it on my tablet but the application is giving me the following errors.


{{'mma.files.myprivatefiles' | translate}}

{{'mma.files.myprivatefilesdesc' | translate}}

{{'mma.files.sitefiles' | translate}}

{{'mma.files.sitesdesc' | translate}}

{{'mma.files.admindisableddownload' | translate}}

{{'mma.files.clicktoupload' | translate}}

{{'mma.files.clickupload' | translate}}

{{'mma.files.uploadfile' | translate}}


What did i miss during the files preparation.


Thanks 

Average of ratings: -
In reply to lebo sekele

Re: Moodle for mobile custom app error

by suman bogati -

Hi lebo,

I had same issue, I followed the below tutorials and got the success. 

https://docs.google.com/presentation/d/1HX5h7zwtay4amaY3qyLuCLfI7kQCiD9IoWuDH-lSa_0/edit#slide=id.p

and 

https://docs.moodle.org/dev/Setting_up_your_development_environment_for_Moodle_Mobile_2

Still if you will face any problem please share it in forum.


In reply to suman bogati

Re: Moodle for mobile custom app error

by lebo sekele -

Good afternoon Suman,

I managed to the follow the links you suggested. The App runs but for some reason i get a blank screen after the splash page is done loading. I do not know what I did wrong because my config.json is as follows.

{

    "app_id" : "net.peoonline.peomobileapp",

    "versioncode" : "2016",

    "versionname" : "0.1",

    "cache_expiration_time" : 300000,

    "default_lang" : "en",

    "languages": {"ar": "عربي", "bg": "БългарÑ?ки", "ca": "Català ", "cs": "ÄŒeÅ¡tina", "da": "Dansk", "de": "Deutsch","en": "English", "es": "Español", "es-mx": "Español - México", "eu": "Euskara", "fa": "Ù?ارسی", "fr" : "Français", "he" : "עברית", "hu": "magyar", "it": "Italiano", "ja": "日本語","nl": "Nederlands", "pl": "Polski", "pt-br": "Português - Brasil", "ru": "РуÑ?Ñ?кий", "sv": "Svenska", "tr" : "Türkçe", "zh-cn" : "简体中文", "zh-tw" : "正體中文"},

    "wsservice" : "peoonline_mobile_app",

    "wsextservice" : "local_mobile",

    "siteurl": "http://psc.peoonline.net",

    "gcmpn": "694767596569",

    "customurlscheme": "peoonlinemobile"

   

}


Thanks

In reply to lebo sekele

Re: Moodle for mobile custom app error

by Juan Leyva -
Picture of Core developers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers

Hi,

wsservice must be moodle_mobile_app (not peoonline_mobile_app)

Juan

In reply to Juan Leyva

Re: Moodle for mobile custom app error

by lebo sekele -

Thanks Juan I changed the value of wsservice but i still get a blank page.

In reply to lebo sekele

Re: Moodle for mobile custom app error

by suman bogati -

Hi lebo,

Can you please share your github link where we can see what you are doing for building moodle mobile app ?

In reply to suman bogati

Re: Moodle for mobile custom app error

by ian mutamiri -

Hi Suman, Lebo..

I get the same message. What does it mean? Has anyone found a solution?

@Suman, I would like to use PhoneGap for building an Android version of the app. Any assistance would be appreciated!

Ian

In reply to lebo sekele

Re: Moodle for mobile custom app error

by Amierul Basyar Yusoff -

I have this problem before. I don't know what happens, but what I have done is keep repeating follow all this links. If the problem occur, I do it again and again.

https://docs.moodle.org/dev/Moodle_Mobile_Customization
https://docs.google.com/presentation/d/1HX5h7zwtay4amaY3qyLuCLfI7kQCiD9IoWuDH-lSa_0/edit#slide=id.p
https://docs.moodle.org/dev/Setting_up_your_development_environment_for_Moodle_Mobile_2

and for the phonegapbuild, make sure you follow this git as example.

Don't give up. GLHF smile