Connecting WordPress with Android App via Firebase

197 views
Skip to first unread message

Saurav Adhikari

unread,
Sep 18, 2018, 10:16:04 AM9/18/18
to Firebase Google Group

I was thinking to send notification to firebase from WordPress so that android app grabs it. 


Is there anyway you can recommend that I can connect WordPress with Android so that android app grabs and shows push notification to the android app users?


This is the scenario:

WordPress (push notification) -> Firebase -> Android (grab notification from firebase)


Example: show push notification in android device if someone comments on any WordPress post.


Your help is really appreciated.

Kiana McNellis

unread,
Sep 18, 2018, 5:15:59 PM9/18/18
to fireba...@googlegroups.com
Can you setup WordPress to call a Cloud Function after commenting?

--
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-tal...@googlegroups.com.
To post to this group, send email to fireba...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/firebase-talk/f2aafab6-e14b-4fe5-b0a7-ecf4bc9b8d22%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Ian Barber

unread,
Sep 19, 2018, 1:25:59 PM9/19/18
to Firebase Google Group
As an alternative, you could do it in a WP plugin. There are quite a few community PHP libraries that will help you make an FCM API call. 

Animesh singh

unread,
Sep 19, 2018, 10:53:27 PM9/19/18
to fireba...@googlegroups.com
No there is no other way to do it until now , so you can whether put up a core function to do this all or you can simply put a async function to work upon it while it is loading , so what would happen is you can get the result when you actually arent loading the synchronised function , 

And also there is a another way to do it by simply letting the function to call when the action needs to be taken so that you can revert the whole situation as soon as it is triggered. 

While these things can work easily for you , i am sure the things which you have been doing has been working for you . 

Reply all
Reply to author
Forward
0 new messages