Unable to access Login Page in Android build

Unable to access Login Page in Android build

by Gokul Raj -
Number of replies: 8

 I have downloaded the source code from the GITHUB, the below following link

   https://github.com/moodlehq/moodlemobile2


     I downloaded the code from releases and followed the steps for building in android.

      I tried with ionic cordova for generating the android build

     I tried with Moodle V .3.3.1 and V 3.3.0 the apk is generated but i am unable to login in mobile app .

     I added the Network Plugin initially now , the app is working fine in browser but after generating the build in android as apk file .

ISSUE

    I am unable to login , i am receiving the pop up to kindly check the URL.

    For moodle mobile settings , we have configured and the permissions are given properly in the moodle site also.

    Kindly help me with it

Average of ratings: -
In reply to Gokul Raj

Re: Unable to access Login Page in Android build

by Dani Palou -
Picture of Core developers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers

Hi Gokul,

please check if you're able to login using the official Moodle Mobile app. If you can, then it means there is something wrong with your build. If you can't, then it's a problem with the site, probably with the certificate if you're using https.

Kind regards,

Dani

In reply to Dani Palou

Re: Unable to access Login Page in Android build

by Gokul Raj -
Hi Dani ,



  Thanks for your reply.



  The app is working with the Official app in playstore, when using the URL

of the organization.



We are using HTTP only , I have followed the steps provide in moodle

documentation.



Doubts:



Will there any issues of the plugins not allowing to login ?



I have added only the network plugin only .



On Aug 22, 2017 6:27 PM, "Dani Palou (via Moodle.org)" <noreply@moodle.org>
In reply to Gokul Raj

Re: Unable to access Login Page in Android build

by Dani Palou -
Picture of Core developers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers

Hi Gokul,

you should add all the plugins to make the app fully functional. It's possible that you're unable to connect because you lack the cordova-plugin-whitelist plugin.

Kind regards,

Dani

In reply to Dani Palou

Re: Unable to access Login Page in Android build

by Gokul Raj -
Hi Dani,





            Thanks a lot.



              I added the whitelist plugin and its working.



On Tue, Aug 22, 2017 at 8:06 PM, Dani Palou (via Moodle.org) <
In reply to Dani Palou

Re: Unable to access Login Page in Android build

by Gokul Raj -
Hi Dani,



      Thanks for your Support.



      Can you help me with the plugins.



      Can you list me the plugin's which should be added to the moodle

mobile app or how can i find it .







On Tue, Aug 22, 2017 at 8:06 PM, Dani Palou (via Moodle.org) <
In reply to Gokul Raj

Re: Unable to access Login Page in Android build

by Dani Palou -
Picture of Core developers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers

Hi,

you should have followed this guide:

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

The instruction "ionic state restore" installs the platforms and all the plugins. If you want to install them manually, you can find the list in the file package.json.

Kind regards,

Dani

In reply to Dani Palou

Re: Unable to access Login Page in Android build

by Gokul Raj -
Hi Dani,



    I added the all the plugin . Its working good.



    Another Doubts:



            When i am using the Official Moodle app from play store, after

i download a pdf  file , the pdf file is opened from the app itself.





            In my custom android app , after i download the pdf file , i am

unable to view the pdf , i am getting a white blank screen, in top the pdf

file stored path/location is shown.



    Kindly provide me a solution , if you know.







On Wed, Aug 23, 2017 at 12:13 PM, Dani Palou (via Moodle.org) <
In reply to Gokul Raj

Re: Unable to access Login Page in Android build

by Dani Palou -
Picture of Core developers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers

Hi,

Unfortunately our core team do not have the resources here to help people use the open source code version to build custom apps. We provide a service where we can customise the app for anyone who needs it including the Push notifications (Airnotifier) service management. This service helps fund the improvement of the app in general: https://moodle.com/mobileapp/

I’d recommend you to check the documentation links that are available in the Forum main page or hopefully somebody else in this forum will be able to help you.

Kind regards,

Dani