- When activating push in Vaadin Flow OSGI example (https://github.com/vaadin/base-starter-flow-osgi), I am getting an error that the vaadinPush.js could not be found.
@Push
@Route("")
@PWA(name = "Project Base for Vaadin Flow", shortName = "Project Base")
public class MainView extends VerticalLayout
{
public MainView()
{
Button button = new Button("Click me", event -> {
Notification.show("Clicked!");
});
add(button);
}
}
It seems flow-push.jar is not registering the vaadinPush.js to make it available in the OSGI whiteboard.
- When I am adding the missing VAADIN/static/push/vaadinPush.js to my bundle directly (src/main/resources), it is found, but it starts cycling endlessly with showing error message: endRequest is called when no request is active