apache / apache/cordova-plugin-inappbrowser

Browser closing animation shown when url is redirected on iOS

Open
#1,083 4 comments 1 reaction 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

## Problem
I use the inappbrowser on my SSO authentication, and it redirects the user a few times.
After upgrading to 6.0.0 from 5.0.0 the behaviour changed (same code on my app side).
Now it looks like im opening / closing more than one tab when the user is redirected.

### What is expected to happen?
Keep the same appearence as version 5.0.0, looking like its only one login page.

### What does actually happen?
Show the animation of closing / reopening (tabs going down and then up) when the user is redirected on the inappbrowser.

## Information

The issue only happens after this commit: https://github.com/apache/cordova-plugin-inappbrowser/commit/44ead0fb3432de44a4997fae2ed6ceb29f30cb4a

### Command or Code

I will try to make a simple example, or a video showing the problem.

### Environment, Platform, Device

Happens only on iOS.

### Version information

Im using Capacitor 7, Ionic 5, latest CLI for both.

## Checklist

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

Contributor guide

Open the contributing guide

Research direction

Start by reviewing commit 44ead0fb3432de44a4997fae2ed6ceb29f30cb4a and the iOS InAppBrowser flow that handles redirects. Reproduce the SSO redirect sequence on iOS using the reported Capacitor and Ionic setup; done means redirects no longer show the browser closing and reopening animation. A minimal example or video is still needed to confirm the behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
ios, objective-c
Domain
mobile-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.