I know that this is not a specific question, which is based on opinions but does not find a better way to know or understand why and when to occupy a database within a mobile application.
I work in many native Android applications and hybrid with Ionic framework, and in most of the hybrid applications that I have done I have worked without a database, only occupying services, factories, that help me with the localStorage and multiple validations for I can achieve certain "persistence" within my application.
I recently participated in a Xamarin course in which we were taught to use the Microsot Azure web services, where most of the applications were powered by data in JSON format and not a relational database such as SQL. I used to handle traditionally with Microsoft.
On the other hand, all the applications that I have done natively I have worked with databases because besides consuming web services, there is a different logic of the treatments that are made to the data to manage and send again to the server if it is the case. Now, I know that by saying:
Database because in addition to consuming web services, there is a different logic of the treatments that are made to the data to manage and send back to the server
I answer a little bit my question, but I want to know what is correct in this case, if it will be correct to load the localStorage with data to search and access them or it is advisable to always use a database to make the persistence.
I insist again, I know that it is not a specific question, that maybe there is not an error in the middle, but to your experience I would like to orientate myself regarding this concern.