firebase - Cloud Messaging or REST API? -


i using firebase cloud messaging send message app. thinking using send data app server, not sure if there advantage in using on classic http rest api.

i better of sticking classic http api send message devices server, or using firebase upstream message better in ways?

the "official" advantage of upstream fcm message, @ least on android, no additional network connection needed, resulting in performance , battery-saving benefits, , possibly easier implementation.

depending on how authenticate users see potential simplification in case of fcm, may not need separate authentication mechanism compared rest api.


Comments

Popular posts from this blog

angular - Is it possible to get native element for formControl? -

unity3d - Rotate an object to face an opposite direction -

javascript - Why jQuery Select box change event is now working? -