How to automatically send notification on your android app once you publish something on your wordpress website? - wordpress

I have a wordpress website and now I have made an android application also. Now I want that whenever I publish a post on wordpress site, a notification should pop-up on the android app for all users who have installed my android app and when a user click that notification it should open the link of that post in the webview inside the application.
I have tried Firebase Cloud Messaging but I haven't encountered any way to automate this thing.

Have you tried to use the save_post hook ?https://developer.wordpress.org/reference/hooks/save_post/
You could make a call to Firebase when you save it to automate this procces.

Related

Firebase - Force to open dynamic link with an app only

I am trying to implement passwordless login using dynamic links from firebase. Now all works okay, I get the link to my email, but once I click, android asks me if I want to open via browser or an app. How to always force the link to be opened via an app?

Ionic capacitor Facebook login problem creating the facebook app step

I'm trying to add the Facebook login on my Ionic Capacitor Firebase app but i'm having a lot of problems creating the app on facebook developers site and associating it with my app, now i'm trying only with Android platform.
The problem is that it seems that to create the facebook app is mandatory to have the app published on store, because when i try to change public_profile access for example to advanced, is showing a modal saying that is not finding on the play store the app name. But I can't believe that is necessary to have the app on play store before integrate the facebook login on my app.
What i'm doing wrong? I'm following this tutorial https://devdactic.com/ionic-facebook-login-capacitor/ but on the video is not adding a store option on Android, and in my case i need to add google play or some other to save the platform.
I'm completely lost.
Thanks.
Facebook should allow you to create an app in developer mode without necessarily entering the store code.

cart API of word-press woo-commerce

I was trying to build a grocery app using flutter with woo-commerce as a backend. there is an app already with the same woo-commerce using native code but no source code available is there any way to get the cart API used in the old app as I have the admin account and other data of woo-commerce site??
it is only possible if you have that web App Api then you can get the data and if you have the access of that web app admin panel why you not create another api for your self and make flutter app on that api..
i think this is the only solution you have to resolve this problem
url: '/wp-json/wc/store/cart/add-item',

Flutter : Display app content from Dynamic/Deep Link even if app not installed

I am working on a new events app and I would like users to be able to share events they have created with friends who many not have the app installed on their device yet. I am using the flutterdev share plugin to allow users to share event links through their social media channels, and I would like the invited users to navigate to the event directly when the link is clicked. So they can see the event details and then have the option to install the app if they so choose.
My question is : how to handle this for users who do not have the app installed on their phone?
My idea so far has been to develop a flutter web version of my mobile app and send the link as a web url, so the user will be sent to the flutter web version rather than the mobile app.
Is there an easier/smarter way to do this?

Suddenly Firebase Dynamic Link Does Not Redirect to App Store

I am having a problem where the dynamic link created on the Firebase platform is not redirecting to the App Store if the app is not installed. Dynamic Link Img
I have not changed any project settings, and when creating the link I select "If your app is not installed, send the user to App Store page for your app".
Today it just decided to stop working as excepted.
Here is a link that I created 2 days back and it works as excepted.
I cannot find any resource on the Firebase website on why this could happen.

Resources