Dear Expert Ionic Developers, Please help me with my implementation


I recently created my first app on Ionic. It was okay for an mvp but I’m trying to rewrite it to make it more polished so I can deploy it onto the app/play store. I wrote the backend api for the app in rails.

The app is for posting / finding jobs.

Here are some of the questions that I have:

  1. I have made it so that it calls the api at every view. For example, for the job list view, it gets call the job api. And then when I click into each job, it calls the job/:id api. Is this the right way to go about it because I have noticed a very bad user experience when the network is slow and on slower model phones. Should I be retrieving all the data in the beginning so the page transitions will smoother?

  2. Is the best way to implement the side menu the way the starter app implements it? Using a nested abstract view? I currently have some nested views I use for registration forms / job posting forms. Should I be doing few layer deep nested views or what are my alternatives?

  3. There is a blank black screen after the splash screen when the app is loading on some older phones. How do I control that?

I have a lot more questions but if you can answers these first, I would really really appreciate it. Thank you so much in advance.

  1. Yes, it would be better to retrieve all that data at first so that way you have it available through out the entire app. You could even cache that data to store for offline usage.

  2. Yes, this is the suggested way to use the sidemenu.

  3. You can prevent the splashscreen from automatically hiding adding this line to the config.xml

  <preference name="AutoHideSplashScreen" value="false" />

Then just hide the splashscreen using the plugins api.