-
Notifications
You must be signed in to change notification settings - Fork 396
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
if 2 or more ionic app running with same port then it create issue for ios #91
Comments
I used to think the same thing, that everyone sharing the same port would likely encounter conflicts. So, when I was working on implementing this into my projects last year, I ran quite a few tests, both on simulators and on real devices, to try to get port 8080 conflicts. I even resorted to running apps side-by-side like you can on iPads to visually see both apps running at the exact same time. Never once was I able to get things to break. I haven't spent the time to track down the reason, but my gut says that it's likely due to Apple's sandboxing, making it impossible for one app to affect another. I know in theory things should break, but it doesn't seem to work out that way, at least for me. If you're seeing conflicts somehow, do you mind sharing how you are able to encounter the issue? The latest version of this plugin makes the port configurable, so it's probably moot anyways, but I'd love to finally see a way to get it to break. |
for me as practically as i have checked So if i have changed both apps port then it working fine. |
I've tried it with a number of different combinations and can't get it to break. Strange. I am testing with apps that are similar, having similar routing, though very different content pages. In theory I should be seeing different content, like how you're seeing different routing. Maybe I'm missing something. Are there maybe other Cordova plugins you may be using that could be assisting WebView in breaking the iOS sandbox and affecting other apps? Do you mind posting your list of plugins? |
We are also seeing the same issue. |
+1 |
+1 |
This is fixed as of 2.2.0. See also #165 |
Hello
here is my ionic info
global packages:
local packages:
System:
Environment Variables:
Misc:
and i have build ios using phonegap build
my main issue is
in ios this plugin create local serve and default port is 8080
now if another ionic app which has same type port then it will conflict and break app .
The text was updated successfully, but these errors were encountered: