Moodle custom mobile app white screen problem

Moodle custom mobile app white screen problem

av srihari durai -
Antall svar: 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.


Gjennomsnittlig vurdering: -
Som svar til srihari durai

Re: Moodle custom mobile app white screen problem

av srihari durai -

Dear all,

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



Som svar til srihari durai

Re: Moodle custom mobile app white screen problem

av Juan Leyva -
Bilde av Core developers Bilde av Moodle HQ Bilde av Particularly helpful Moodlers Bilde av Plugin developers Bilde av Testers

Hi,

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

Juan

Som svar til Juan Leyva

Re: Moodle custom mobile app white screen problem

av 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.

Som svar til Tro Diep

Re: Moodle custom mobile app white screen problem

av Juan Leyva -
Bilde av Core developers Bilde av Moodle HQ Bilde av Particularly helpful Moodlers Bilde av Plugin developers Bilde av 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

Som svar til Juan Leyva

Re: Moodle custom mobile app white screen problem

av 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.


Som svar til Tro Diep

Re: Moodle custom mobile app white screen problem

av 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

Som svar til Dnyaneshwar Somwanshi

Re: Moodle custom mobile app white screen problem

av Claudio ancooor -

Hi Juan,

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

Thanks

Claudio

Som svar til Claudio ancooor

Re: Moodle custom mobile app white screen problem

av Juan Leyva -
Bilde av Core developers Bilde av Moodle HQ Bilde av Particularly helpful Moodlers Bilde av Plugin developers Bilde av 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

Som svar til Juan Leyva

Re: Moodle custom mobile app white screen problem

av Claudio ancooor -

Hi Juan,

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

I enabled also the debug.

Thanks

Claudio

Som svar til Claudio ancooor

Re: Moodle custom mobile app white screen problem

av Juan Leyva -
Bilde av Core developers Bilde av Moodle HQ Bilde av Particularly helpful Moodlers Bilde av Plugin developers Bilde av 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

Som svar til Juan Leyva

Re: Moodle custom mobile app white screen problem

av 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


Som svar til Tro Diep

Re: Moodle custom mobile app white screen problem

av Juan Leyva -
Bilde av Core developers Bilde av Moodle HQ Bilde av Particularly helpful Moodlers Bilde av Plugin developers Bilde av 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

Som svar til Juan Leyva

Re: Moodle custom mobile app white screen problem

av 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. 

Som svar til Dnyaneshwar Somwanshi

Re: Moodle custom mobile app white screen problem

av Juan Leyva -
Bilde av Core developers Bilde av Moodle HQ Bilde av Particularly helpful Moodlers Bilde av Plugin developers Bilde av 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

Som svar til Juan Leyva

Re: Moodle custom mobile app white screen problem

av 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
Som svar til Dnyaneshwar Somwanshi

Re: Moodle custom mobile app white screen problem

av shipra chauhan -

 hi dnyaneshwar,

   

I am also facing white screen problem. I changed the config.xml file also but no use...

I download your  repo https://github.com/gurujiathome/moodlemobile-phonegapbuild.git  branch myguru and tried to run but again same white screen problem ...can you please help me out.

Thanks

Shipra