PersistentBottomNavBar icon indicating copy to clipboard operation
PersistentBottomNavBar copied to clipboard

Issue when pushing a new screen

Open Sergio719 opened this issue 5 years ago • 4 comments

Hi, I have implemente this package in my app and it works very well with 5 different tab bar items. The only issue is that when I am inside a tab bar item (for example the first one) and I push a screen belonging to another tab bar item the app crashes with a LOADING message. Is there a way to push a specific screen without crashing? I have tried using PushNewScreen.

Thanks in advance.

Sergio

Sergio719 avatar Nov 14 '20 21:11 Sergio719

I tested it myself and if I pass the correct context of the second screen, it works. Are you sure you are passing the correct context?

BilalShahid13 avatar Dec 06 '20 16:12 BilalShahid13

Hi, I did a different workaround to avoid the issue and it works. Thanks for replying. Sergio

Il giorno 6 dic 2020, alle ore 17:16, Bilal Shahid [email protected] ha scritto:

 I tested it myself and if I pass the correct context of the second screen, it works. Are you sure you are passing the correct context?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

Sergio719 avatar Dec 06 '20 17:12 Sergio719

@Sergio719 what was your solution?

rossbroom99 avatar Oct 19 '21 16:10 rossbroom99

or @BilalShahid13, how do you get the context of the second screen? I am trying to pushNamed to a different tab. Cheers

rossbroom99 avatar Oct 19 '21 16:10 rossbroom99