You can avoid lengthy polling, but you still have to host a server, even for FCM.
I would advise you:
Heroku, NodeJS- . MongoDB . , .
FCM , . install , , , . , .
URL- Heroku Watch API. , Heroku.
API ,
- / FCM .
to . , .
API → Heroku → FCM →
. . Heroku .