If the user agent is Android, IOS or similar identify as mobile device otherwise Desktop.
Navigation ( WhatsApp Mobile App, Browser )
The plugin Navigation Links will be created based on the “Device Detect” option ( WhatsApp Web page or WhatsApp mobile App )
In case cache plugins are installed, and if that cache plugin is not creating cache pages based on device type, then in both mobile, desktop navigates to WhatsApp mobile app or Web page only in both devices types.
It is based on when the page loads for the first time.
To fix this issue, change the “Detect Device” field to “Screen size”
And Adjust the Max Screen Width of a mobile device.