Why this code not working?
Please help
Hey, you have to use starts not opens.
Please try this.
I hope it works.
I want to use opens not starts
Ok. But why you are using open?
Splash screen?
Are you navigating to a screen that is inside of a navigator?
1 Like
Yes
No
1 Like
You have 2 screens in project. First screen is splash screen & Second is Screen_Triangle1.
Am I right?
I have many screens , not only this two
There is a known bug in the navigators. The timers do not function in the initial screen.
So, if you remove the wait block, the code will work.
But this code works
1 Like
Yes, you are right. You are executing the code before the screen shows up which means you are navigating to another screen before the splash screen shows up.
Practically, open event does not work.
2 Likes