-
Notifications
You must be signed in to change notification settings - Fork 1k
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
[Bug]: scheme is not respected on capacitor run with live-reload #7669
Comments
What TiBz0u commented is correct, The provided app doesn't run using https, so it's not valid to reproduce. Can you provide one that runs the live reload server on https? |
@TiBz0u @jcesarmobile so it's impossible to modify the I tried to serve |
Capacitor has never supported You can always edit the capacitor config file manually and edit the |
@jcesarmobile oh I see |
@matheo, wondering if it |
Capacitor Version
💊 Capacitor Doctor 💊
Latest Dependencies:
@capacitor/cli: 6.1.2
@capacitor/core: 6.1.2
@capacitor/android: 6.1.2
@capacitor/ios: 6.1.2
Installed Dependencies:
@capacitor/android: 6.1.2
@capacitor/core: 6.1.2
@capacitor/cli: 6.1.2
@capacitor/ios: 6.1.2
Other API Details
Platforms Affected
Current Behavior
It was reported here that live-reload has a hardcoded scheme and it still seems to be the case on
main
:https://github.com/ionic-team/capacitor/blob/main/cli/src/util/livereload.ts#L172
Why does the API of this command exposes
--scheme
if we cannot connect to a localhost served with--ssl
?https://capacitorjs.com/docs/cli/commands/run
Expected Behavior
To be able to run
ng serve --ssl
and connect to it via--live-reload --scheme=https
.Project Reproduction
https://github.com/matheo/capacitor-live-reload-bug
Additional Information
No response
The text was updated successfully, but these errors were encountered: