GCM should still work though Google doesn't recommend using it anymore.
It is not simple to use Firebase SDK with older versions of B4A as Firebase SDK is updated quite often and not all updates are backward compatible.
The Firebase libraries are internal libraries and in most cases you should use the version that came installed with the IDE as newer versions might not work.
You can download the trial version and test it with the latest version of Firebase.