cordova – ios url scheme works on simulator safari but not on iPhone safari


I have both url scheme and universal links enabled on my iOS app.

On iOS, using a simulator phone, I can type in myapp:// into the safari address bar and it will pop open my app. But on an actual iPhone, typing in myapp:// into the safari address displays this following error:

   Safari cannot open the page because the address is invalid

What am I missing here? Why is it working on simulator but not on the actual iPhone? How can I resolve this? I do know that iOS has moved to universal link – and that is working. But just trying to figure out why the urlscheme is working on one and not the other. One thing to note is the simulator is running iOS 16.2 while the iPhone is running iOS 15.3.1 (its an iPhone 7, it can’t update to iOS 16). One would think the older iOS would support urlscheme and the newer wouldn’t…but its the opposite here.

On Android, typing myapp:// into the chrome address bar works on both physical device and simulator.

Latest articles

spot_imgspot_img

Related articles

Leave a reply

Please enter your comment!
Please enter your name here

spot_imgspot_img