ionic-team / ionic-team/capacitor-os-inappbrowser

Setting ios webview to full screen silences websocket connection

Open
#57 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
13
Forks
15
PR merge metrics
No merged PRs in 30d

Description

My capacitor application has an activve webscoket receiving events. Once I open the inappBrowser in ios with the view style to full screen., my websocket connection is completely black boxed. I stop receiving events entirely. Only happens when on full screen.

```
await InAppBrowser.openInWebView({
url,
options: {
showToolbar: false,
showURL: false,
clearCache: false,
clearSessionCache: false,
mediaPlaybackRequiresUserAction: false,
closeButtonText: '',
toolbarPosition: ToolbarPosition.TOP,
showNavigationButtons: false,
leftToRight: false,
android: {
allowZoom: false,
hardwareBack: false,
pauseMedia: false,
},
iOS: {
allowOverScroll: true,
enableViewportScale: true,
allowInLineMediaPlayback: false,
surpressIncrementalRendering: false,
viewStyle: iOSViewStyle.FULL_SCREEN,
animationEffect: iOSAnimation.FLIP_HORIZONTAL,
},
},
```

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the issue with the provided InAppBrowser.openInWebView configuration, focusing on iOS FULL_SCREEN and the active websocket. Compare websocket event receipt in full-screen and non-full-screen modes; done means events continue arriving while the webview is full screen.

Written by the indexing model from the issue text.

Assessment

Tech stack
ios, typescript
Domain
mobile, networking
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.