How can show toast when splash screen is shown


#1

Hi.
i want to check user have a connection to the internet or not when splash screen is active or shown and want to notify user with some toast on this splash screen with this message " you are offline please try again " and some button with this toast for retry.
how can do this.please help me thank you so much.


#2

The general solution would be have the first screen of your app mirror your splash screen, then you are free to show what you need. See Josh’s post https://www.joshmorony.com/creating-an-animated-splash-screen-in-ionic/ as a starting point for this.


#3

thank you so much i will test it.