Quantcast
Viewing all articles
Browse latest Browse all 49225

Load different module when app opens based on variable in storage

@schmidtkevinall wrote:

For a hybrid app running on iOS and Android, I want to load a different module when the user opens the app the first time. This will based on a boolean variable in storage. If it’s false or doesn’t exist, open the “First Time” module, if it’s true, open the “Main App” module. What needs to be done in order to make this happen with the router?

I’m using Apache Cordova and would ideally make this determination in the deviceReady function. If there is a better place to handle this, please let me know.

Thanks,

K

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 49225

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>