apache / apache/cordova-plugin-inappbrowser

Opening with the _self target not working

Open
#739 6 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
1.1k
Forks
2.2k
PR merge metrics
No merged PRs in 30d

Description

# Bug Report

When using _self - nothing appears with no errors reported. If I change it to _blank it shows up but leaving a large gap at the top and the whole thing can be swiped down to close it. I'd like to be able to just open it fullscreen without any ability to close it by pulling down.

### What is expected to happen?

_self should let the browser replace the current ionic webview if I'm not mistaken.

### What does actually happen?

Nothing at all.
## Information

### Command or Code

### Environment, Platform, Device

All current versions of Ionic and plugins from a fresh install last week. Using Angular and Capacitor.

### Version information

Ionic:

Ionic CLI : 6.10.1 (/usr/local/lib/node_modules/@ionic/cli)
Ionic Framework : @ionic/angular 5.2.1
@angular-devkit/build-angular : 0.901.8
@angular-devkit/schematics : 9.1.8
@angular/cli : 9.1.8
@ionic/angular-toolkit : 2.2.0

Capacitor:

Capacitor CLI : 2.2.0
@capacitor/core : 2.2.0

Utility:

cordova-res : not installed
native-run (update available: 1.0.0) : 0.2.9

System:

NodeJS : v12.18.0 (/Users/benvallack/.nvm/versions/node/v12.18.0/bin/node)
npm : 6.14.4
OS : macOS Catalina

## Checklist

- [x ] I searched for existing GitHub issues
- [ x] I updated all Cordova tooling to most recent version
- [x ] I included all the necessary information above

Contributor guide

Open the contributing guide

Research direction

The report names no source file, test, command, or platform-specific reproduction. Start by reproducing the _self and _blank target behavior in the stated Ionic/Angular and Capacitor setup, then trace the plugin's target handling; done means _self replaces the current webview fullscreen without an unintended pull-to-close gesture.

Written by the indexing model from the issue text.

Assessment

Tech stack
angular, java, javascript, objective-c
Domain
mobile-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.