Would Firebase Messaging work nicely for managing recipients/visibility of person posts on Swift/ios App?

[ad_1]

What I am constructing

I am constructing an ios app with Swift and have adopted Google Firebase merchandise for lots of issues like authentication. My app will enable customers to make posts that different customers see, just like Fb. Whether or not different customers can see a put up is determined by settings configured by the writer of the put up, in addition to preferences configured by the opposite customers in regards to the posts they need to see. These preferences will be configured to be very-specific, extra so than fb permits.

I’ve a technique to do all of this with a mix of front-end swift code and cautious structuring/data-classification of the database.

Firebase Messaging as an answer

As I learn extra about Firebase Messaging I realised that this may very well be a technique to filter posts i.e. deal with posts like messages and ship them to customers by way of message subjects/teams/tokens. I can not check this but as a result of I have never purchased an Apple developer subscription but so I am simply basing this principle off the documentation – I am holding out till I am additional alongside to purchase a subscription. I can consider how I may simply write some front-end code to deal with put up visibility preferences as subjects/teams after which ship them to customers accordingly nevertheless it would not seem like messages if I can format the put up information into swift tableviews.

My query for anybody with expertise with Firebase Messaging is that if this feels like an method price contemplating or am I lacking one thing? Another recommendation/execs and cons to think about could be nice too.

My priorities are: low-cost, information safety, reliability and velocity – in that order.

Thanks

[ad_2]

Leave a Reply

Your email address will not be published. Required fields are marked *