I'm developing a messaging app which push service is already working :)

i need to store locally information of contacts that are logged to my service 
(this one i'm doing with localstorage but looking for a heavier storage 
alternative)

and a list of their messages per conversation (don't know how to organize this 
for storing as a list of objects...any idea?)


considereing that localstorage max size is 5mb my question is if there is any 
alternative to localstorage?
indexedDB seems too complicated to implement a relational system between users 
and messages

also i'd like to know how i could manage notifications to show the number of 
messages from a n number of conversations that i've received
since my code is
socket.on("notification",function(data){
    // my actions to save messages for chat
   // createNotification or put into chat box

});


thanks in advance people
_______________________________________________
dev-b2g mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-b2g

Reply via email to