Closed stephanoparaskeva closed 2 years ago
Unfortunately, we don't have API for this. Could you describe your case more detailed? We will try to help you find a solution
@ccvlad
Ah, ok thank you.
So I'm trying to build something like Instagram's Notification Screen. For example in this screenshot:
Where you can see previous notifications from today, or days gone. How can this be done using connectycube and it's messaging/notification system, what are the possible ways to implement this?
You can use our Custom Objects API. It's an online DB where you are able to build your own data structure or schema for data.
ConnectyCube.data.list(className, filters)
ConnectyCube.data.create(className, data)
ConnectyCube.data.update(className, data)
ConnectyCube.data.delete(className, data)
It will not be very easy to do this in application's background, cause you will need to start background process by push notification to init ConnectyCube to call the method ConnectyCube.data.create(className, data)
.
We use a similar logic for call's history. We store messages via Custom Objects API and have a case when user have missed a call (stores in Custom Objects by push notification in background state).
@ccvlad
No I only need this data for RECEIVER for 1 user:
For User A, get me 100 last notifications sent TO User A. (Image above is wrong as these are notifications sent BY user A).
@ccvlad @DaveLomber
Can someone help me do this, it is a big blocker for my application. As my app needs a way to view and organise notifications to help users interact with history and accept requests.
You can use our Custom Objects API. It's an online DB where you are able to build your own data structure or schema for data.
ConnectyCube.data.list(className, filters) ConnectyCube.data.create(className, data) ConnectyCube.data.update(className, data) ConnectyCube.data.delete(className, data)
It will not be very easy to do this in application's background, cause you will need to start background process by push notification to init ConnectyCube to call the method
ConnectyCube.data.create(className, data)
.We use a similar logic for call's history. We store messages via Custom Objects API and have a case when user have missed a call (stores in Custom Objects by push notification in background state).
@stephanoparaskeva Store notifications in online DB (Custom Objects) as we do not have the API to get all notifications for user. Also I agree with you that the API to list all notification is the best solution for current case. I will be pushing our BE team to add this feature. It will be useful for us to have this functionality.
We will update you after discuss the issue.
Hi @stephanoparaskeva what kind of app are you building?
I just want to understand what type of notifications should be displayed there
Hi @stephanoparaskeva what kind of app are you building?
I just want to understand what type of notifications should be displayed there
Hi @DaveLomber really sorry! I cannot say here what the app is, I can discuss with you in private if you wish? Email is: stephanokparaskeva@gmail.com
@ccvlad Thank you for this, I only need a single API endpoint that returns all previous and scheduled notifications that were received or are soon to be received for 1 user that can be filtered for last 100 and provided offset/skip.
Let me know when this is available as it will allow me to move to the next stage in my app. 🍻
Closed due to inactivity. Please create a new issue if needed.
I would like to build a notifications list to show users all notifications, to show user all past notifications and current notification on a tab in my app.
How does one do this?
(Imagine similar to instagram's notifications tab)