ionic-team / ionic-team/ionic-cli
Capacitor android livereload with SSL: App.openUrl() opens nothing
- 主要語言
- TypeScript
- 星號
- 2k
- 分支
- 682
- PR 合併指標
- 30 天內沒有已合併 PR
描述
**Description:**
I implemented the App.openUrl() function of the App Plugin in my Ionic5/Angular10/Capacitor App. I`m using capacitor livereload with
cap run android --livereload --external --ssl
The command
var ret = await App.openUrl({ url: "https://myurl.com" });
console.log(ret)
does not open a system browser window as expected in livereload ssl mode. Output of console.log is `{completed: true}`
Everything works fine when I compile it with
ionic cap copy
ionic cap open android
**My `ionic info`:**
Ionic:
Ionic CLI : 6.12.2 (/usr/local/lib/node_modules/@ionic/cli)
Ionic Framework : @ionic/angular 5.5.1
@angular-devkit/build-angular : 0.1000.8
@angular-devkit/schematics : 11.0.2
@angular/cli : 10.0.8
@ionic/angular-toolkit : 2.3.3
Capacitor:
Capacitor CLI : 2.4.3
@capacitor/core : 2.4.3
Utility:
cordova-res : 0.15.2
native-run : 1.2.2
System:
NodeJS : v15.3.0 (/usr/local/bin/node)
npm : 7.0.14
OS : Linux 5.4
貢獻指南
研究方向
Reproduce the issue with `cap run android --livereload --external --ssl`, then compare it with the `ionic cap copy` and `ionic cap open android` flow. Trace the Ionic CLI's Android livereload and SSL handling around `App.openUrl()`; done means the URL opens a system browser in livereload SSL mode and the existing behavior remains intact.
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- android, angular, typescript
- 領域
- cli, mobile-dev
- Issue 類型
- 缺陷
- 難度
- 3/5
- 預估耗時
- 1-2 天
- 活躍度
- 停滯
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100