-
Notifications
You must be signed in to change notification settings - Fork 998
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
iOS WebView doesn't use https #758
Comments
Any update on this issue?? @ArmorDarks, on a side note, how to access these logs in ios device? 😄 |
@ajayak Basically, install Safari Tech Preview, launch it, enable Develop menu, then launch Xcode and run your app in the simulator. After that you should see in Safari Develop menu entry |
I doubt this will be changed, GCD we Server which is used on iOS specifically does not support HTTPS I believe. |
Wow, that sounds really bad... |
Regardless, use the native Geolocation Plugin we provide as it will work in this case. Will look into the HTTPS issue here. |
Https on a local host only web server is really a waste of time, you don’t use encryption when reading by file protocol for your local files either. Also you can’t get a valid certificate for localhost anyway. But it would be good to work out what is up with the geolocation plugin regardless. |
The native geolocation plugin works fine, it's the webview implementation what doesn't work ( We use Closing it for now as the rest of issues tagged with feature request tag. |
Sadly to see how on Apple devices everything screwed up. Like, they really hate developers. I have a feeling that |
changing from feature request to won't do, we have removed the web server and we are using |
I assume this is a good thing. Not that proper place to ask, but still — how iOS treats such a scheme? Like it is a |
any news? this is still a problem( |
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Capacitor, please create a new issue and ensure the template is fully filled out. |
Version
1.0.0-beta.6
Platfrom
iOS built application
Issue
iOS localhost is loaded with
http
protocol.It results in issue with some services, which stricly requring secure connection.
For instance, when
navigation.geolocation.watchPosition()
used, it results in following error:The text was updated successfully, but these errors were encountered: