(have seen a few similar questions, but they do not solve my problem and none of them have a full example.)
I am trying to add push notification to my Gatsby + Netlify CMS website.
What I have:
I have a website created by Gatsbyjs + Netlify CMS and hosted on Netlify. I also turned this website into a PWA.
I found that there is a lambda function in this website under folder lambda brought by Netlify CMS.
I have a Windows Service which runs at the background of my PC and will call the lambda function to create push notification.
Here is the architecture of my project:
What I want to do is :
the Windows Service(WS) will trigger push notification once events on my PC happened, it(WS) calls the Lambda in the Netlify, the lambda then sends out Push Notification to the PWA.
I saw some posts saying the push notification needs some backend running to send out notifications, so they use something like Subscriber, Firebase messaging or Pusher etc. And I have been searching for a day, tried a few code with no luck.
I found that Gatsby has offline and service worker plugins, but even the latest version of them seem not capable of doing push notification.
I also found some pieces and bits here and there, but not a complete example. After searching a day long, my brain stops working.
Could someone point me to the right direction and show me a full example for Gatsby + Netlify CMS receiving triggering messages from a Windows service to bring push notification on the PWA?
Related
My Flutter app that has a login page is fully functional on Android, iPhone and Web.
The problem is with the WebApp - immediately after I deploy it into the Firebase, it works well, as expected. However, if I leave it and come back to it in several hours, and try to open another window - neither text fields nor mouse user entry are accepted any longer. If I then rebuild the app and redeploy it, it starts working, for a while.
I use flutter version 2.10.5 and Dart version 2.16.2.
Flutter doctor -v produced no errors or warnings.
Has anyone experienced this sort of behaviour?
I'm reporting a very strange problem.
I have an app developed in Flutter and I have correctly integrated the Firebase library for using the Dynamic Links service.
The problem is when short links are open on a mobile device, it shows a screen with the message "Save my place in the app. A link will be copied to continue to this page", and a button OPEN to continue.
Using your link debugging tool everything seems ok
When I develop directly in debugging mode the problem does not present itself.
When I install the app from TestFlight sometimes it works and sometimes it doesn't. It seems random.
the problem could be that the app is not yet available on the store ?
I am making an app with nativescript and firebase. Recently i found a bug and after passing many hours on google to find a solution, I'm quite desperate.
I use push notifications and in the firebase onMessageReceivedCallback function, I navigate to one or another page (with this.router.navigate and ngZone.run() cause i am out the angular zone in here).
When the app is close or in foreground, I don't have any problems the router.navigate is working. But when the app is in background (not stopped, just closed), I don't have any errors but nothing happens, I'm still on the same page.
Somebody has an idea?
Thanks
We are using Firebase for push notifications for Android and iOS, and all the notifications are working perfectly.
But when I log into firebase, and try to see the activity in “Streamview”, I see only iOS activity, and nothing for Android.
I do see the activity in Cloud messaging’s Report section, for both iOS and Android.
The application we have built is built using Xamarin forms.
One thing to note from the Firebase console is that it doesn’t appear as though the console recognizes that SDK setup was fully complete.
When going into the link where it says “Continue SDK Setup”.
Finally, when proceeding to step #4 it tries to verify that there has been communication between the app and Google’s servers and it doesn’t seem to find anything and it just sits there looking.
Notifications appear to work, but the app just doesn’t seem to be registering as being used under the Android side.
Any pointers in this direction will be very helpful.
i don't have any idea what is wrong here.
I want to watch complete report of my push notifications sending count, for both platform Android and iOS. but i am getting only iOS report in stream view tab not for Android.
I made the comment above and now I have found an answer, at least for my situation. I had added Xamarin.Firebase.Core to the PCL project as the documentation suggests. Later I saw documentation for Android Java that showed Firebase Core being added to the gradle file at the app level. So I added Xamarin.Firebase.Core NuGet package to the Android project also and now I can see data for Android in the Firebase Console.
I have been using FCM/GCM to send notifications to Chrome App, Chrome Extension, Android APP.
But, may I know how can I send notifications to an electron APP from FCM/GCM. I browsed through a lot of websites but did not find anything related to it.
PS: I don't worry about how the notifications are displayed. I just want the notification payload to be received by the electron app.
Thanks in advance.
There's nothing available out of the box with Electron but there is a Node package available here: https://www.npmjs.com/package/electron-push-receiver
There's no boilerplate code available for using this package yet, but there is an open issue in the associated GitHub project requesting a working example: https://github.com/MatthieuLemoine/electron-push-receiver/issues/8