I have 2 apps, app1 and app2, there is a hidden back button in app1, which should be stay hidden till now,
From app1, I navigate to app2, doing some stuff, then navigate back to app1
now, I want the back button in app1 to appear.
my approach is updating the localStorage, when navigating back from app2 to app1, as shown, then the back button gets its value (false) from this localStorage and appers:
the problem is the localStorage remains as it's even if I refreshed the apps, so the back button stays appearing before the navigation between the apps