Hello! Could you clarify what exactly have you tried and what doesn't work?
Hello! Could you clarify what exactly have you tried and what doesn't work?
I have tried this:
https://getsatisfaction.com/apperyio/...
But I don't know to save all push messages with localStorage.
thaks!
"On Push Notification event add Run JavaScript action" in this code save message to localStorage. In localStorage you can save strings only. So if you want to store data structure (arrays for example) you can use JSON.stringify to save to localStorage and JSON.parse to read from localStorage . Here is an example of reading from localStorage https://getsatisfaction.com/apperyio/...
Hello Maryna:
what javascritp i put on push notifications event?
thanks!
Laura
Sorry, we don't have sample JS code. We can guide you, but custom JS is outside the scope of our support. Please decide in what format you need to save data and write code to save data into localStorage.
Hi Maryna!
I want that when notifications, I can read it on a page.
It is possible?
If you can help me.
Thanks!
Yes, it's possible. Please see my reply above.
ok! thanks!
I go to try!!!
Hi Marina!
Hello:
you could tell me how to make my JSON to save push notifications?
I have seen the link but not be very well where I have to do.
Do I need to create a collection?
There is a manual that can follow.
I'm sorry, I'm a little lost.
Thanks!
Hello! You don't need to create any collection. You have to work with localStorage.