Ionic5 + Capacitor on IOS does not redirect to app after success login

Hi everyone,

I have an app in Ionic5 + Capacitor created and configured like the tutorial says. On Android it works correctly but onIOS, after successful login, I get the message:

Safari cannot open the page because the address is invalid

I think it’s something about the URL_SCHEME to configure for IOS that I haven’t done yet.

In Xcode I added a URL Type in the info tab with the “appId” from my capacitor.config.json file in the identifier field but it’s still didn’t work

Obs: This App was not published on the apple store and for test I have just opened Xcode pointing to my iOS folder and run the simulator as I did for android and android studio. As it’s a private app we just want to show it to the customer using an iPhone simulator before publishing.

Can anyone help me?

Thanks

I found the solution. I used the value of “appID” in both the Identifier field and the URL SCHEME field

1 Like

Perfect! Thanks for sharing it with the rest of community!

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.