Hi,
Is there a way to say that ionicBootstrap has to wait until a promise is resolve. I request the language from the Globalization plugin but when it resolves the app is already rendered.
I readed something about @canActivate but that one is deprecated.
Martijn
You can set rootpage to null initially then set the rootpage in the resolve.
1 Like
You could also display a loading spinner until you have the localization loaded.
Solved! It was a stupid mistake. A page was not translate becease I did not
added the pipes. It works perfect now.
Sorry!
Martijn
Op ma 4 jul. 2016 om 19:53 schreef Robert Coie <
ionicframework@discoursemail.com>
rapropos http://forum.ionicframework.com/users/rapropos
July 4
You could also display a loading spinner until you have the localization
loaded.
Visit Topic
http://forum.ionicframework.com/t/app-does-not-wait-for-promise/56564/3
or reply to this email to respond.
To unsubscribe from these emails, click here
http://forum.ionicframework.com/email/unsubscribe/19f5e8c36372483ec93b92784d1ffd6bad1564df194714d3f2b7075d1dab69db
.
Met vriendelijke groet / Regards,
Martijn Bakker
Software (web) development
www.mar-bakker.nl - www.marbakkerdev.nl - www.zapion.nl