sebawagner commented on a change in pull request #164:
URL: https://github.com/apache/openmeetings/pull/164#discussion_r730590129



##########
File path: 
openmeetings-webservice/src/main/java/org/apache/openmeetings/webservice/InfoWebService.java
##########
@@ -91,4 +98,38 @@ public Info getVersion() {
        public Health getHealth() {
                return Health.INSTANCE;
        }
+
+       @WebMethod
+       @GET
+       @Path("/manifest.webmanifest")
+       @Produces({"application/manifest+json"})
+       public String getManifest() {
+               JSONObject manifest = new JSONObject();
+               manifest.put("name", OpenmeetingsVariables.getApplicationName() 
+ " " + Version.getVersion());
+               manifest.put("short_name", 
OpenmeetingsVariables.getApplicationName() + " " + Version.getVersion());
+               manifest.put("description", "Openmeetings provides video 
conferencing, instant messaging, white board, collaborative document editing 
and other groupware tools.");
+               manifest.put("start_url", "/" + 
OpenmeetingsVariables.getApplicationName().toLowerCase(Locale.getDefault()) + 
"/?pwa=true");

Review comment:
       https://issues.apache.org/jira/browse/OPENMEETINGS-2692




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@openmeetings.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to