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
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
--schemeif 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 --ssland connect to it via--live-reload --scheme=https.Project Reproduction
https://github.com/matheo/capacitor-live-reload-bug
Additional Information
No response