Hi,
right now there's no easy way to include external libraries in the official Moodle Mobile app. The only possible way would be to support a plugin in the Mobile app, and make that plugin return the library as plain Javascript. We haven't tested that, so I'm not sure if it will work.
Cheers,
Dani
thank you so much yes after so many days i found out that.
so i've tried javascript field of return array in mobile.php in so many ways and i could show something like alert box or for example changing the color of that page's text but still don't know how to pass a javascript library from there
i asked this question from stackoverflow too but they refer me to moodle experts again
could yo please help me how to write it?
hi dani,
as i started to work on it newly i realized that there isn't such a delegate even for this work. cause we use this editor in our lesson activity and mobile supports this activity by nature so we can't even use corecoursemodule delegate.
it seems impossible?yeah?
Hi,
you cannot overwrite an activity supported by the Mobile app. If you want to change the behaviour of lesson then you'll probably have to create your custom version of the mobile app.
Cheers,
Dani
you mean by changing it in this path?
core>addon>mod>lesson
Yes, but it's src>addon, not core>addon.
yes it was typing mistake thank you so much for answering