Hi there, I am searching since days to find a solution for this. Can sb please help me with it:
Each member can create a profile and this includes a drop down that the user is automatically redirected to his/her e.g. LinkedIn Profile. So when another user visits this members page I would like to have an automatic redirect to the users LinkedIn profile. This works fine with location.to() . However, the profile opens in the web version and I would like it to open in the mobile app on the phone (like it would do when pressing a button).
So what I need would be a solution how to open the link after the redirect in a new window and replace the current one. In HTML this would be ... window.open("url", "_self") ... . Or with a Wix element .target = "_self".
I tried to solve this with an iFrame but it seems that Wix does not support window.open("url", "_self"), because only window.open("url", "_blank") works and for "_self" nothing happens.
Is there a solution to have location.to("url") and combine it with target = "_self" because this would open the link in the mobile app. Or an iFrame solution to make window.open("url", "_self") working?
Thanks sooo much in advance!