Anthony Hyams
Posts: 0
Joined: Tue Apr 01, 2014 10:54 am

repeating notifications won't clear

I am trying to keep a log of notifications on a users phone by writing them to local storage then displaying that variable on a page.

This works, except when returning to the start screen, where the push notification event runs again even though there is no new notification. This repeats the mesaage in to the log file. i have tried setting the data.aps.alert to null after writing it to localstorage. This does set it to null but it then gets repopulated on showing the start screen again.

var currentdate = new Date();
var storelog = " " + data.aps.alert + " at " + currentdate + "

";
if(data.aps.alert!==null){
data.aps.alert = null;
localStorage.setItem("reminders", localStorage.getItem("reminders") + storelog);
}

Can't find why this keeps happening - how do I clear the notification to stop it repeating

Alena Prykhodko
Posts: 0
Joined: Tue Apr 09, 2013 7:36 am

repeating notifications won't clear

Hello Anthony,

We need some time to check this. Someone will get back with reply when we have more information.

Anthony Hyams
Posts: 0
Joined: Tue Apr 01, 2014 10:54 am

repeating notifications won't clear

any idea how long.. the app we were writing was for a convention that is running next weekend. So far I have icons that randomly put themselves on the left or right which I've been told is bug and so might be fixed when ? who knows.

Will you have some sort of answer in next 24 hours?

Yurii Orishchuk
Posts: 0
Joined: Fri Feb 14, 2014 8:20 am

repeating notifications won't clear

Hi Anthony.

Please describe use case you use to reproduce the problem.

Cause of we can not to reproduce your problem.

Also please provide us your app public link.

Thanks.

Anthony Hyams
Posts: 0
Joined: Tue Apr 01, 2014 10:54 am

repeating notifications won't clear

you can't do anything now because you have completely broken the app with that disastrous builder update you applied today

no database calls work multiple errors across the app

GET https://api.appery.io/rest/1/db/colle... 400 (Bad Request) api.appery.io/rest/1/db/collections/todolist?sort=start:1
Uncaught Error: c15r: component not found component-manager.js:1298
GET https://api.appery.io/rest/1/db/colle... 400 (Bad Request) api.appery.io/rest/1/db/collections/cards?where=%5Bobject+Object%5D:1

already waiting for you to answer my support request
https://getsatisfaction.com/apperyio/...

what a complete mess this is

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

repeating notifications won't clear

Hello!

We are going to roll back recent update. See more details here

http://blog.appery.io/2014/05/importa...

We are sorry for inconvenience.

Return to “Issues”