'Is it possible to detect how user accessed the app in react native?

I am creating a voice call app and I am trying to detect how the user accessed the menu. If they accessed through top orange voice btn or just clicking on the app.

enter image description here

Any help would be appreciated



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source