Home > OS >  Isolation of Ionic Apps
Isolation of Ionic Apps

Time:08-24

We are building an Ionic App with Capacitor. As far as I understand the architecture this starts a webserver in the app to serve the web resources (Angular) so they can be loaded in the webview.

My question is: How does isolation work, when running multiple Ionic Apps? Is the webserver only accessible for the app? Why are there no port conflicts?

Is there any detailed documentation for such topics?

CodePudding user response:

I received the following answer on the github page of capacitor: https://github.com/ionic-team/capacitor/discussions/5880

It’s not a real web server, so there is no conflict with other apps. In the past iOS had a real web server and it had conflicts, so we removed it. It uses WKURLScheme handler instead that intercepts requests to custom schemes https://developer.apple.com/documentation/webkit/wkurlschemehandler

  • Related