Skip to content

Commit 076b0f1

Browse files
author
Heiner Pöpping
committed
🐛 Fix openUrl in iOS app
1 parent 1183584 commit 076b0f1

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/wrapper/AppWrapper.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -367,7 +367,10 @@ export class AppWrapper implements IChaynsReact {
367367
});
368368
},
369369
openUrl: async (value) => {
370-
window.open(value.url);
370+
this.appCall(9, {
371+
url: value.url,
372+
inAppBrowser: value.openInApp,
373+
});
371374
},
372375
openVideo: async (value) => {
373376
this.appCall(15, {

0 commit comments

Comments
 (0)