Plugins traffic

New way for supporting plugins in the Mobile app (draft spec)

 
Picture of Juan Leyva
New way for supporting plugins in the Mobile app (draft spec)
Core developersMoodle HQParticularly helpful MoodlersPlugin developersTesters

Since Moodle 3.1 is possible to support different types of Moodle plugins in the Mobile app via the Remote add-ons functionality.


Remote add-ons allow a developer to add complete support to their plugins in the Mobile app, but they have some disadvantages:

  • Remote add-ons are not easy to develop and test since they require to develop an AngularJS/Ionic module.

  • A zip file containing the plugin must be downloaded from the server.

  • Is not easy to maintain or upgrade them.


In order to allow plugin developers to make their plugins compatible with the app, the Mobile team has been thinking in a new way to extend the mobile app features following these premises:

  • It has to be easy to develop

  • It should work without developing Angular/Ionic code

  • It has to be easy to maintain

  • It has to be supported since Moodle 3.1 at least

  • Should support different types of Moodle plugins (modules, blocks, reports)

  • Should work in any type of device

  • Should not require client javascript to work

Here you have the complete specification:

https://docs.google.com/document/d/1N4eZlYXnPnEyB0Xf7Of7AF7qty-wXcQg9N1ok9txSEg/edit?usp=sharing

Please, feel free to comment.

Note that this is a draft spec of a functionality we plan to implement in following months. It won't be fully documented until March 2018 and finally, it will be supported only in the new version of the app released in May 2018.

Developers will be able to start working on supporting their plugins in March 2018 (when everything is documented and supported in the alpha/development version of the app).


 
Average of ratings: Useful (5)
Picture of Dnyaneshwar Somwanshi
Re: New way for supporting plugins in the Mobile app (draft spec)
 

It's great news juan.

Thanks and all the best

 
Average of ratings: -
Picture of Paul Holden
Re: New way for supporting plugins in the Mobile app (draft spec)
Core developersParticularly helpful MoodlersPlugin developers

Looking forward to this, Juan! Yes

 
Average of ratings: -