Inactivity between multiple applications

Hey there!

Wanted to shoot my shot here and see if anyone had come across a similar problem in their applications

So we have 3 separate React applications, all share the same origin so local storage can be shared between them.

The problem we have is that we want to try and track inactivity between all apps + tabs.

So if user is inactive on app 1, it won’t log them out until they are also inactive on all other apps that are open

Any ideas?