Page 1 of 1

repeating notifications won't clear

Posted: Sat May 24, 2014 1:44 pm
by Anthony Hyams

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


repeating notifications won't clear

Posted: Sat May 24, 2014 6:54 pm
by Alena Prykhodko

Hello Anthony,

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


repeating notifications won't clear

Posted: Sun May 25, 2014 6:08 pm
by Anthony Hyams

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?


repeating notifications won't clear

Posted: Mon May 26, 2014 12:08 am
by Yurii Orishchuk

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.


repeating notifications won't clear

Posted: Mon May 26, 2014 12:23 am
by Anthony Hyams

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


repeating notifications won't clear

Posted: Mon May 26, 2014 1:16 am
by Igor

repeating notifications won't clear

Posted: Mon May 26, 2014 7:26 pm
by Maryna Brodina

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.