Hi Martin Vyšný,
we finally opted to use FBase/GCM servicies but we don’t figure out completely how integrate their code into Java classes example this (being very javascript :)) )
var firebaseConfig = {
apiKey: "api-key",
authDomain: "project-id.firebaseapp.com",
databaseURL: "https://project-id.firebaseio.com",
projectId: "project-id",
storageBucket: "project-id.appspot.com",
messagingSenderId: "sender-id",
appID: "app-id",
};
because you know, the webpage made by vaadin framework… so where can we include js fbase codes
<!doctype html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=11;chrome=1">
<script type="text/javascript" src="http://.../main.js" charset="UTF-8"></script><style type="text/css">html, body
{height:100%;margin:0;}
</style>
<link rel="shortcut icon" type="image/vnd.microsoft.icon" href="./VAADIN/themes/my_theme/favicon.ico">
<link rel="icon" type="image/vnd.microsoft.icon" href="./VAADIN/themes/my_theme/favicon.ico">
</head>
<body scroll="auto" class="v-generated-body">
<div id="idwebapp-1-----" class="v-app my_theme ---ui">
<div class="v-app-loading"></div>
**<noscript>
You have to enable javascript in your browser to use an application built with Vaadin.
</noscript>**
</div>
<script type="text/javascript" src="./VAADIN/vaadinPush.js?v=7.7.6"></script>
<script type="text/javascript" src="./VAADIN/vaadinBootstrap.js?v=7.7.6"></script>
<script type="text/javascript">//<![CDATA[
if (!window.vaadin) alert("Failed to load the bootstrap javascript: ./VAADIN/vaadinBootstrap.js?v=7.7.6");
vaadin.initApplication("idwebapp-1---------",{"theme":"my_theme","versionInfo":
{"vaadinVersion":"7.7.6","atmosphereVersion":"2.2.9.vaadin2"},"widgetset":"my.Widgetset","widgetsetReady":true,"comErrMsg":
{"caption":"Communication problem","message":"Take note of any unsaved data, and <u>click here</u> or press ESC to continue.","url":null}
,"authErrMsg":
{"caption":"Authentication problem","message":"Take note of any unsaved data, and <u>click here</u> or press ESC to continue.","url":null}
,"sessExpMsg":
{"caption":"Session Expired","message":"Take note of any unsaved data, and <u>click here</u> or press ESC key to continue.","url":null}
,"vaadinDir":"./VAADIN/","standalone":true,"heartbeatInterval":300,"serviceUrl":"."});
//]]></script>
</body>
</html>
***because we see that ***
**<noscript>
You have to enable javascript in your browser to use an application built with Vaadin.
</noscript>**