ionic-team / ionic-team/ionic-cli

Capacitor android livereload with SSL: App.openUrl() opens nothing

Đang mở
#4,618 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
triage
Ngôn ngữ chính
TypeScript
Star
2k
Fork
682
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

**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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.