Moodle custom mobile app white screen problem

Moodle custom mobile app white screen problem

by srihari durai -
Number of replies: 16

Dear all,

 I like to customize my Moodle mobile app. i done all the process in github and phonegap. my phone shows a white screen while starting itself.

my github repositoryhttps://github.com/appsssec/moodlemobile2.git

branch : myapp

Please help me in the issue.

Thanks all.


Average of ratings: -
In reply to srihari durai

Re: Moodle custom mobile app white screen problem

by srihari durai -

Dear all,

if i create apk using the master branch also it shows white screen only, pls help me in this issue.



In reply to srihari durai

Re: Moodle custom mobile app white screen problem

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

Hi,

you need to have a specific repository ready for phonegapbuild, is explained in the developer docs (custom apps section)

Juan

In reply to Juan Leyva

Re: Moodle custom mobile app white screen problem

by Tro Diep -

Hi Juan,


I hope you can help, I am also having problem with apk app launch with white screen. I am using GitHub and Phonegap services.

I have following the instructions as per custom apps section, still could not able to figure out how to fix this issue. Not sure if you have answer to this issue. Anyway I hope you could help..


I have tried moved config.json file out from www to upper directory (still no good)

I have tried moved config.xml and config.json into www and recompiled still no still white screen when load the custom app.

It seems that a few people experience the same problem when using  PhoneGap to compile the custom code. Hope to hear from you soon.


Thanks advance.


Tro.

In reply to Tro Diep

Re: Moodle custom mobile app white screen problem

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

Hi,

when compiling for phonegapbuild you need a specific git repository without the www/ as we do with:

https://github.com/moodlehq/moodlemobile-phonegapbuild

Please, read carefully the documentation

Juan

In reply to Juan Leyva

Re: Moodle custom mobile app white screen problem

by Tro Diep -

Hi Juan,


Thank you for prompt response.


I did extractly as you suggested, but still not working please see the URL on GitHub https://github.com/tdiep1/moodlemobile2.git 

Brand name is Ozford

Are you able to see what is wrong from the code? Or phonegap is not compiled the code correctly. Hope you Can help identify where is the problem



Thank again for your help


Tro.


In reply to Tro Diep

Re: Moodle custom mobile app white screen problem

by Dnyaneshwar Somwanshi -
Dear Juan Sir I also suffering through same problem. i was able to create old version of moodle Custom app but now i cant. it shows a white screen only.

if you make a video for creating custom app it will help others too.

it would be great for your kind attention. 

thanks in advance

In reply to Dnyaneshwar Somwanshi

Re: Moodle custom mobile app white screen problem

by Claudio ancooor -

Hi Juan,

I'm also having the same problem. Is it a problem with config.xml or a plugin?

Thanks

Claudio

In reply to Claudio ancooor

Re: Moodle custom mobile app white screen problem

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

Hi,

can you see in the console any error? For inspecting the console you need to debug the app via Chrome or Safari

Juan

In reply to Juan Leyva

Re: Moodle custom mobile app white screen problem

by Claudio ancooor -

Hi Juan,

I tried but no errors appears. The console is blank.

I enabled also the debug.

Thanks

Claudio

In reply to Claudio ancooor

Re: Moodle custom mobile app white screen problem

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

Hi Claudio,

are you sure you are using the latest config.xml?

We recently applied some changes to it, see: https://github.com/moodlehq/moodlemobile-phonegapbuild/commits/master/config.xml

Regards, Juan

In reply to Juan Leyva

Re: Moodle custom mobile app white screen problem

by Claudio ancooor -

Hi Juan, yes. 

I'm using the latest one updated 8 days ago by Dani.

The App is launched, the splash screen is shown and then only a white screen that after some seconds turns in light blu and then again white.

The console does not display errors.

Thank you, Claudio


In reply to Tro Diep

Re: Moodle custom mobile app white screen problem

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

Hi,

your link is not a phonegap build ready repository, is just the standard repository for a custom moodle mobile app.

You need a specific repository for building with a special config.xml like this: https://github.com/moodlehq/moodlemobile-phonegapbuild/

Please, review the developer docs https://docs.moodle.org/dev/Moodle_Mobile_custom_apps

Regards, Juan

In reply to Juan Leyva

Re: Moodle custom mobile app white screen problem

by Dnyaneshwar Somwanshi -

hi juan

while building app error is coming as

plugin unsupported: net.tunts.webintent

repo is here

https://github.com/gurujiathome/moodlemobile2

after buildup it shows white blank screen. 

In reply to Dnyaneshwar Somwanshi

Re: Moodle custom mobile app white screen problem

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

Hi,

please double check that you are using the correct config.xml file, latest version from here:

https://github.com/moodlehq/moodlemobile-phonegapbuild/blob/master/config.xml

Juan

In reply to Juan Leyva

Re: Moodle custom mobile app white screen problem

by Dnyaneshwar Somwanshi -

hi juan

white screen problem is resolved. but it is not fetching siteurl.

buildup app is the same as default app with name change only.

this is repo https://github.com/gurujiathome/moodlemobile-phonegapbuild.git  branch myguru
am i missing something?
thanks in advance