The Ametys mobile application is based on plugin mobileApp. This plugin depends on Queries Directory (to generate the content flow) and project spaces (for activity flows). Dependency on project spaces is mandatory, but a parameter allows you to disable the activity flow if project spaces are not used.
It brings the "Appmobile link" service, which makes it easy to add mobile application download links to the stores on a page, and the addition of an access configuration link.
This chapter deals with adding and configuring your application to use the mobile application
In your application's ivy-webapp .xml files, add the dependencies to plugins mobileapp , mobileapp-site
Ativy of cms
<dependency org="org.ametys.plugins" name="mobileapp " branch="1.4.x" rev="latest.release" conf="web_compile_dependencies->compile_dependencies;web_runtime_dependencies->runtime_dependencies;web_compile,web_runtime->runtime"/>
Visitivy
<dependency org="org.ametys.plugins" name="mobileapp-site" branch="=1.4.x" rev="latest.release" conf="web_compile_dependencies->compile_dependencies;web_runtime_dependencies->runtime_dependencies;web_compile,web_runtime->runtime"/>
{ "icons": [ { "src": "resources/img/logo96x96.png", "sizes": "96x96", "type": "image/png" }], "default_content_image": [ { "src": "resources/img/default-content-image.png", "sizes": "256x256", "type": "image/png" }] }
This plugin comes without the default rendering of the added service. You therefore need to add this rendering to your charter: Here is an example of a rendering to be placed in the services/mobileapp directory: Download the "mobileapp.zip" file (3.4 Kb)
We must also add the possibility of inserting the new service in a zone of the charter whose identifier is org.ametys.plugins.mobileapp.mobilelink
This service must be set up as follows:
https://play.google.com/store/apps/details?id=org.ametys.mobileapp
https://apps.apple.com/fr/app/ametys-mobile/id1556203484
ametysmobileapp://
If authentication fails, the most common error is a certificate not recognized by android or apple. You can use an online verification utility such as https://www.sslshopper.com/ssl-checker.html