Hello,
I’m new to ionic and I’m developing my very first app.
Of course, I am searching for many days so far on Google but still can’t find the solution I’m looking for.
I created a very simple app using the sidemenu template.
Here’s the flow:
- User open the APP
- User tap on a particular menu entry
- HTTP Rest call is performed to retrieve a huge list of elements
- The list is rendered in a new page.
Now, since this HTTP call is taking a bit of time, I would like to perform this call once and only whenever the APP is starting up. Then I would like to store the resulting JSon into the Storage (I am not sure this is the component I am looking for).
My doubt is on how to achieve this.
Writing code in the app.component.ts? Store into a sqlite DB? Using a Storage component?
THanks in advance for the help