-
Improvement
-
Resolution: Fixed
-
Minor
-
3.0.0
-
-
MOODLE_30_STABLE
-
MOODLE_31_STABLE
-
Moodle Mobile 3.1.0
Right now if a site is configured to force log in via the browser, the stock browser app is launched requesting the user credentials.
Instead launching the Inapp browser (embedded browser) we launch the stock browser to have a fully functional browser supporting javascript popups and other features.
We should add a new option in local_mobile "Via a embedded browser" to improve the user experience (the browser will be displayed embedded in the app).
This will require some changes:
- Add a new option in the local_mobile settings
- Support this new option in the app
- And, if the Inappbrowser is not able to "capture" the custom URL scheme, we should change how launch.php works to redirect a fake URL with the token as a parameter. See more information here: http://phonegap-tips.com/articles/google-api-oauth-with-phonegaps-inappbrowser.html