Page 1 of 1

What is the limit on IndexedDB to support image upload

Posted: Mon Jul 25, 2016 10:36 pm
by Joe7349603

I am building an APP where users will need to upload up to 5 Images. I am using API Express to support offline capabilities in case the user loses internet. I know there is a limit on LSV but what is the limit on indexedDB. Phones this days are capable of capturing large images and I want to know what my limitations are.

The other question/confirmation is: after changes are committed to the DB does Appery clear the IndexedDB..I read the documentation on Mozilla that said data is persistence but how is Appery handling this..


What is the limit on IndexedDB to support image upload

Posted: Tue Jul 26, 2016 1:14 pm
by Illya Stepanov

Hi Joe -

The Appery.io app works in the browser and all IndexedDB restrictions are related to the specific browser in which your app is running. The official site states the following: https://developer.mozilla.org/en/docs...


What is the limit on IndexedDB to support image upload

Posted: Tue Jul 26, 2016 5:24 pm
by Joe7349603

Thanks Illya,

Last questions: After changes are committed into DB does Appery clear the IndexedDB or this is something I will need to do manually if I need to?

Using another use case, assuming, I want to give users access to all the reviews they have made, I would leverage the IndexedDB (assuming it is not cleared by ApperyIO). My question is, how would I reference/access the content in the IndexedDB to work with its content.


What is the limit on IndexedDB to support image upload

Posted: Thu Aug 04, 2016 12:43 pm
by Galyna Abramovych

Hello Joe,

Here is an update:
You don't have to clear the DB since it can lead to incorrect functioning of client sdk.
Everything is to be done at our side.


What is the limit on IndexedDB to support image upload

Posted: Thu Aug 04, 2016 6:14 pm
by Joe7349603

Thanks Galyna,

When you say Everything is to be done at our side- do you mean managing the size limit of IndexedDB.

Having said that, when I opened this thread my plan was to use IndexedDB for all offline capabilities including binary (Images). It has now been clarified by Appery team that APIExpress DOES NOT support binary data so this means my concerns are irrelevant since text data doesn't take as much space as binary.

Anyhow thanks for closing the loop on this.


What is the limit on IndexedDB to support image upload

Posted: Fri Aug 05, 2016 11:15 am
by Galyna Abramovych

Hello Joe,

I meant clearing the DB. So, that you don't have to do it yourself and you'd rather not do it. )