Quantcast
Channel: Moodle for mobile
Viewing all 8399 articles
Browse latest View live

Re: A URL supplied to the API was malformed!

$
0
0
by Sam Suresh.  

Its in the Github repo. Branch 3.5.

You need to build the app by yourself in order to use it.



Thanks



Sam



On Thu, 14 Jun 2018 at 17:07, behnaz ranjbar (via Moodle.org) <


Re: A new Moodle Mobile app is on its way!

$
0
0
by Subrata Mal.  

We are waiting for and very much excited about the new appsmile. Is the app released it's 14th June and I have no news for the release or any documentation?    

Re: A new Moodle Mobile app is on its way!

$
0
0
by Samuel Domingues.  

It seems that even phonegap build is not working right now... If I can get the app to build on phonegap it's good enough for me.


I am also interested in Ayk question, I can setup a linux virtual machine if it is going to make the build process run smoother...

Απάντηση: Re: Moodle Mobile notification issue

$
0
0
by Παντελής Τοπτσής.  

Hi David,

We are having the same problem with you. Notification only appears if our app is open. Could you tip me of the solution?


Best Regards

Pantelis

Not download pdf from the moodle mobile application

$
0
0
by Jaime Tapasco.  

Hello friends, I have a problem with the application of moodle version 3.4.2, on the device I can not download a pdf if it is Android 7 onwards, the old versions the android if you can download it, when in the application I click to download the pdf on android 7 the download preloader appears, and disappears in an instant, but never opens the pdf.

In the moodle application that I download from the store, if it opens, for what I think the problem is of my application, or maybe the missing some complement.


I appreciate the help

Re: A new Moodle Mobile app is on its way!

$
0
0
by Juan Leyva.  

Hi all!

Some great news, we have a Moodle Mobile 3.5.0 beta version (only for Android) that you can download from here:

https://build.phonegap.com/apps/2046098/download/android

(In order to install apk files in your Android device, please follow this instructions: https://www.androidpit.com/install-apps-outside-of-google-play#setup)

Remember that you can also test the latest integrated code via the web version (requires Google Chrome): http://mobileapp.moodledemo.net/

We are aiming to publish Moodle Mobile 3.5.0 the Friday 22th of June

Re: Error in Building PhoneGap App

$
0
0
by Grayson Bartlet.  

I've been having this problem as well. My understanding is that it's caused by plugins wanting different versions of the Android support library. That issue can be resolved with the cordova-android-support-gradle-release plugin. I resolved that issue by adding the following to my config.xml:

    <gap:plugin name="cordova-android-support-gradle-release" source="npm">
        <variable name = "ANDROID_SUPPORT_VERSION" value = "27.1.0" /> <!--forces plugins to use same version of android support library-->
    </gap:plugin>

...unfortunately that gives me a new error in phonegap:

Error: /project/gradlew: Command failed with exit code 1 Error output:
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
ERROR: In <declare-styleable> FontFamilyFont, unable to find attribute android:font
ERROR: In <declare-styleable> FontFamilyFont, unable to find attribute android:fontStyle
ERROR: In <declare-styleable> FontFamilyFont, unable to find attribute android:fontWeight
I think the FontFamily stuff is required by the newer android versions.

Re: Error in Building PhoneGap App

$
0
0
by Grayson Bartlet.  

OK, I don't get that error and am able to successfully compile if I also set the android-targetSdkVersion to 27.

However, the app now crashes when I launch it with this exception:

java.lang.NoClassDefFoundError: Failed resolution of: Lcom/google/android/gms/common/util/zzw;

I think this is because I've got a conflict between the phonegap-plugin-push plugin and the cordova-plugin-google-analytics plugin, where they want different versions of some library. If you're not using the analytics plugin, tell me if this works for you.


Re: Error in Building PhoneGap App

$
0
0
by Gaurav Bothra.  

Hi Grayson Bartlet,

Which method you are trying for building app local or online phonegap build


Re: Custom javascript in in default Moodle Mobile app

$
0
0
by Zabelle Motte.  

Hello,

I have been trying to adapt de code sent to the app to support my custom javascript.
I found where the custom css was sent to mobile app : it is done in function tool_mobile_before_standard_html_head() in /admin/tool/mobile/lib.php.
I replaced the command

$output = '';

by the call to my custom javascript

$output="<script type='text/javascript' src='my_absolute_path/custom.js'></script> ";

then empty all caches but this does not work.

Any other suggestion ?

My Moodle is a 3.3 version.

Thanks in advance wink

Zabelle


Re: Custom javascript in in default Moodle Mobile app

$
0
0
by Zabelle Motte.  

I found the solution ...

To affect the mobile app you need to speak AngularJS.

For exemple, I found how to affect styles in AngularJS :
https://docs.angularjs.org/api/ng/directive/ngStyle

That is not simple because you have to speak javascrit to the web clients and AngularJS to the mobiile app, but it's possible !

Problem solved !

Moodle App Crash

$
0
0
by Gaurav Bothra.  

Hello,

I build app successfully when I run app on real android device, White Screen is open for 5s then this app will crash and show this msg the connection to the server was unsuccessful. (file ///android_asset/www/index.html)

Re: Error in Building PhoneGap App

$
0
0
by behnaz ranjbar.  

I also got such a error :Error - Malformed config.xml

really it would be very nice if we could see a complete and step by step document for building an app in moodle site sad

Moodle mobile app log in issue

$
0
0
by abhinaya srinivas.  

We are unable to access our Moodle site through the Moodle mobile app. Our Moodle version is 3.3.  

Our users are able to connect to the site on the app, but they are unable to log in due to the following error.  

Seeking help on fixing this issue.  

Abhinaya


Multidimensional array handling in mustache

$
0
0
by Igor Sazonov.  

Hi all!

New version 3.5

I have an multidimensional array from backend (PHP) and i need to handle it (for, foreach) with keys and values in mustache template, what i need to do?

Thanks!


The Angular AoT build failed.

$
0
0
by Mohit juyal.  

We are facing an issue with the new source code (V3.5.0), we see the following error message post compilation of source code.


$ sudo ionic cordova run android --prod

Password:

> npm run ionic:build:before


> moodlemobile@3.5.0 ionic:build:before /Users//Desktop/moodlemobile

> gulp


[16:52:22] 

Using gulpfile ~/Desktop/moodlemobile/gulpfile.js

[16:52:22] 

Starting 'lang'...

[16:52:22] 

Starting 'config'...

[16:52:25] Finished 'config' after 2.89 s

[16:52:25] 

Finished 'lang' after 3.13 s

[16:52:25] Starting 'default'...

[16:52:25] 

Finished 'default' after 28 μs


Running app-scripts build: --prod --platform android --target cordova

[16:52:28]  build prod started ... 

[16:52:28]  clean started ... 

[16:52:28]  clean finished in 23 ms 

[16:52:28]  copy started ... 

[16:52:28]  copy finished in 606 ms 

[16:52:28]  deeplinks started ... 

[16:52:30]  deeplinks finished in 1.77 s 

[16:52:30]  ngc started ... 

[16:53:01]  typescript error 

            Cannot determine the module for class CoreSitePluginsWorkshopAssessmentStrategyComponent in 

            /Users//Desktop/moodlemobile/src/core/siteplugins/components/workshop-assessment-strategy/workshop-assessment-strategy.ts!

            Add CoreSitePluginsWorkshopAssessmentStrategyComponent to the NgModule to fix it. 


Error: The Angular AoT build failed. See the issues above

    at /Users//Desktop/moodlemobile/node_modules/@ionic/app-scripts/dist/aot/aot-compiler.js:237:55

    at step (/Users//Desktop/moodlemobile/node_modules/@ionic/app-scripts/dist/aot/aot-compiler.js:32:23)

    at Object.next (/Users//Desktop/moodlemobile/node_modules/@ionic/app-scripts/dist/aot/aot-compiler.js:13:53)

    at fulfilled (/Users//Desktop/moodlemobile/node_modules/@ionic/app-scripts/dist/aot/aot-compiler.js:4:58)


Please assist.


 


Get key index of array in ionic mustache

$
0
0
by Igor Sazonov.  

Hi!

How is possible to get access to the current index of array in mustache template of ionic (version 3.5)?

Re: Error in Building PhoneGap App

$
0
0
volgens Grayson Bartlet.  

Phonegap.

3 Critical issues with SCORM courses on mobile.

$
0
0
by Konstantin Plutenko.  

Hello,

I am having problems with my SCORM courses while running on mobile.

Two issues are related to dedicated Moodle app and one for the browser.


1) I have text box objects where a student is supposed to type text.

On iOS, this text box is active and touch keyboard is shown, but typing doesn't add text.

I have to click outside the text box for the keyboard to be hidden and then click on the text box to activate keyboard again. Only after doing that I can type.

On Android keyboard is active and I can type from the beginning, but sometimes if I accidentally tap outside of text box, the keyboard will be hidden and SCORM becomes unresponsive. I have to press back button, but it resets the course. This doesn't happen all the time


2) SCORM progress is not saved on Android.

I am using local storage to save progress. For example:

localStorage.Level1Progress = parseInt(Level1Progress, 10);

But this doesn't persist after I press "Back" inside the app and re-enter SCORM package.


3) Inside browser when I pan around, view tends to jump back to default position every time I am trying to pan away. It is a bit hard to explain, but when I pan, the view doesn't stay where I left off.


I think these are critical issues and wonder if Moodle mobile team is aware of them.

I have created SCORM in Adobe Captivate and I have been testing this exact SCORM package in another LMS mobile app and everything was working fine.


if you decide to check the issues I am having on your device, please use this address inside your Moodle app:

http://allaxes.info/classroom/

The course is free for self-enrollment.

I can also record a video next time if my explanation is confusing.


Any advice is greatly appreciated.

Thank you

How to overcome A required parameter (passport) was missing

$
0
0
by Sam Suresh.  

Hi

I found even the new 3.5 mobile app have the redirection issue when using OAuth SSO.

When a user logged in using SSO, Moodle throw error 


A required parameter (passport) was missing


Taking Dani's advice on other thread, I have made

http://mysite.com/login/token.php NOT HTTPS but everything else is HTTPS by htaccess. 

However this issue still persists. This is very annoying that everyone have to see an error after login. 

What is the right way to get rid of this issue?

Thanks in advance.

Sam
Viewing all 8399 articles
Browse latest View live


Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>