Skip to content
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

CLI Proxy not working on livereload on android #3825

Closed
harshzalavadiya opened this issue Jan 24, 2019 · 1 comment
Closed

CLI Proxy not working on livereload on android #3825

harshzalavadiya opened this issue Jan 24, 2019 · 1 comment
Labels

Comments

@harshzalavadiya
Copy link

Description:
Ionic 4 project created with latest CLI does not proxy requests
when running ionic cordova run android --livereload
but does proper proxying when running on ionic serve

Steps to Reproduce:

  1. Create fresh ionic project with latest CLI
  2. Download patch(diff) file and apply it livereload.zip

FYI
patch files can be easily applied if you are using VSCode with this extension

Output:
ionic serve
ionic-serve

ionic cordova run android --livereload
ionic-run-android-livereload

My ionic info:

Ionic:

   ionic (Ionic CLI)             : 4.9.0 (/usr/local/lib/node_modules/ionic)
   Ionic Framework               : @ionic/angular 4.0.0
   @angular-devkit/build-angular : 0.12.3
   @angular-devkit/schematics    : 7.2.3
   @angular/cli                  : 7.2.3
   @ionic/angular-toolkit        : 1.2.2

Cordova:

   cordova (Cordova CLI) : 8.1.2 ([email protected])
   Cordova Platforms     : android 7.1.4
   Cordova Plugins       : cordova-plugin-ionic-keyboard 2.1.3, cordova-plugin-ionic-webview 2.3.2, (and 4 other plugins)

System:

   Android SDK Tools : 26.1.1 (/home/harsh/Android/Sdk)
   NodeJS            : v10.15.0 (/usr/bin/node)
   npm               : 6.5.0
   OS                : Linux 4.15

Other Information:

@imhoffd
Copy link
Contributor

imhoffd commented Jan 24, 2019

Thanks, this will be fixed in @ionic/angular-toolkit 1.2.3.

wand1252 added a commit to wand1252/angular-toolkit-develop that referenced this issue Aug 31, 2022
This option was in the schema because originally `--proxy-config` was an
option provided by the Ionic CLI. Before this change, `proxyConfig` was
overriding the dev-server's `proxyConfig` option, even when undefined.

fixes ionic-team/ionic-cli#3825
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants