Firebase cloud messaging

How can I use the firebase cloud messaging in CUBA application?

CUBA applications are just like other Spring-based applications (not Spring Boot based).

So any guide for Spring should work, e.g. this one:

With the following exceptions:

  • Beans should be declared in XML, instead of using Java-based configurations
  • The latest version of the firebase library might be not compatible because of the transitive dependencies that conflict with CUBA dependencies. So it is possible that you will have to use a little bit older version of the library.

After adding dependency, errors started to appear. Do i need to try another version of dependency?


Based on the screenshot you’ve posted, the reason of the error is unclear.
There should be some more details in the application log.