Is it possible to track if custom tab closed or not?


Here is the block but still i just wanted to know if i can detect if the custom tab is closed or not?

can anyone please help me with this?

If you use clock component along with firebase , i hope it will be possible. Whenever custom tabs opens url try to get progress bar and store the value in firebase. And particular period of time you call the same procedure(i.e opening the same custom tab but in a background). If firebase value updated mean custom tab is opened if no change, either custom tab is closed or user may exit from the application.

I hope this will be solution. because it is hard to say either it is opened or closed untill the page refresh

I don’t like the idea…is there any other way to detect that?

No one want to help here i guess!!!