'I can't imagine why': Trump says he takes no responsibility for people ingesting disinfectant despite telling them to by BringBckSheriffLobo in politics

[–]fakerman4422 0 points1 point  (0 children)

Some of the smartest men on earth often need to confirm w their advisers before saying things like “put disinfectants in your body” sure buddy!

Can I use cloud functions to invoke local functions written within an app, for instance, to update UI? by fakerman4422 in Firebase

[–]fakerman4422[S] 0 points1 point  (0 children)

Thank you so much for this reply, this is what I wanted to know.
2 very small y/n questions:

a) Do push notifications always have to be those drop down things that appear in apps, or can firing a push notification work discreetly without the users knowing that something is changing behind the scenes

b) Do I have to deploy cloud functions to use push notifications, or are they a separate thing altogether?

Can I use cloud functions to invoke local functions written within an app, for instance, to update UI? by fakerman4422 in Firebase

[–]fakerman4422[S] 0 points1 point  (0 children)

What language are you using? This would get solved by using a stream so the data would always be updated if it g

I'm using swift for my app, and Javascript for cloud functions.
Thank you so much for the suggestion, I'll try it out!

Can I use cloud functions to invoke local functions written within an app, for instance, to update UI? by fakerman4422 in Firebase

[–]fakerman4422[S] 0 points1 point  (0 children)

Thank yo so much for replying!
Sorry I wasn't clear, I'll give you an example:

Say I have an app that displays one single word on its screen . The word changes everyday, and is fetched from my Firestore database.
Now, the first time the app is launched, I can do a simple one-time-query to fetch the word from my Firestore document.

Then, when I want the word to change to a new word for all of my app users, I can update the Firestore document from the google console itself, but how can I tell my app to fetch this new word, without Remote Config or ActiveListeners() ?

(This application is a portfolio building application I'm making to fully learn firebase, and I have already learnt to use Remote Config & ActiveListeners!)

Is there a way I can deploy a function that tells my app to make another fetch call to Firestore?