This may be a general question, but I've only been able to find bits of an answer online.
I am using React Native and AWS Datastore to create a chat app that receives real-time updates through subscriptions.
What I would really like, is if the app could update the messages while in the background so that when a user opens the app the messages are already there. Is this possible? It seems from other forums that it is possible to keep a datastore subscription open when an app is closed, but I have not been able to make it work? Is IOS forcing the web-socket to close?
What is the best way to get something like this working?
Related
I want to develop an app which notifies user whether it rains or not when they're out.
For that, I determined to utilize push notification service.
Therefore, I need to execute something in particular time (e.g., sending request to API server) when app is closed.
Are there any modules or packages in react-native?
Thanks in advance!
Im trying to send push notification using expo notification service, can anyone give the code for it, how to get the tokens and all the other standard stuff, I have been trying to read the documentation but it is really confusing. The app is already on test flight, Also I don't want to eject.
I don't mind using Firebase, but the app doesn't have a user login pages. I don't mind any other method too.
Thanks for the help
I need to implement push notification to our Android App using Xamarin. Here is the process. We have web version which used by the Manager. The Manager creates and assign job to the driver. The App version is used by the Driver where it shows the list of jobs and processes of job until its complete. So, when the Manager assigned the Job to the Driver in the Web version, it will then notified to the Driver in the App version that "new job is assigned". Basically, both the web and app uses same database then we created an api(REST API in MVC C#) to connect and get data from the db to be used in the mobile app.
Can someone recommend to me which Push notification plugin(a plugin or nuget) should I use to do this? Currently, I have set up Push Notifications through App center & Firebase but not sure how this work.
Thank you.
I need to implement push notification to our Android App using Xamarin.
I would suggest you use Firebase for mobile push notifications for Android as it is a product by Google, and was made for mobile applications. For push notifications, you will be using Firebase Cloud Messaging also known as FCM. See to it that you are well versed on how it works before you start coding anything read the documents it answers most of your questions there itself.
The Manager creates and assign job to the driver. The App version is used by the Driver where it shows the list of jobs and processes of a job until its complete. So, when the Manager assigned the Job to the Driver in the Web version, it will then notified to the Driver in the App version that "new job is assigned". Basically, both the web and app use the same database then we created an API(REST API in MVC C#) to connect and get data from the DB to be used in the mobile app.
For this, you will have to check on how to work with Firebase using Rest-API. Once you configure the Rest-API and then apply your business logic to it things will be quite easier than you might have imagined.
Can someone recommend to me which Push notification plugin(a plugin or NuGet) should I use to do this?
My recommendation is quite simple, Do not use any sort of a firebase push notifications plugin!. I have had a very bad past with plugins and ever since then I never recommend fellow developers to use plugins until it is a well-maintained one. I would rather ask you to simply configure Firebase on the basis of the guides that are available online. Like the following Xamarin.Android guide for FCM. It is detailed contains everything that you are looking for and what else I would suggest is you check firebase related answers on SO and you will find that almost everything that is not available in docs is covered around here and in detail. Like the following:
How to handle Firebase Notification i.e. Notification Messages and Data Messages
Push Notification in android with firebase get token
How to send device to device messages using Firebase Cloud Messaging?
Receive push notifications on one android app from two Firebase projects
I currently have a project thats being developed with EPXO RN. There is a need for push notifications and alerts in my app especially when the app is backgrounded / foregrounded.
I 've looked at several options and haven't really decided which one to choose yet. However, going through the Expo Notifications API, i've got a questions:
From my understanding there are two ways to send Alerts:
Expo.Notifications.presentLocalNotificationAsync(localNotification)
or
Expo.Notifications.scheduleLocalNotificationAsync(localNotification, schedulingOptions)
POST request to https://exp.host/--/api/v2/push/send using a token after permission has been granted
Can some one explain the difference in between these two?
I would like to know if there's any way to read notifications from discord app to be able to fire actions on my computer. I have been looking for information about action center in windows 10 but it seems there is no public api to access all notifications in the action center just the ones from your app.
On the other hand I have been using WireShark to check the network traffic but it is encripted so, there's no way (that I know) to check the decripted notification message.
I can't use a discord bot to do this. It must be done in my desktop machine.
Is it possible to do this?