Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix redirects on Android #5301

Closed
wants to merge 2 commits into from
Closed

Conversation

tony-scio
Copy link

Based on #4437

@jgoux
Copy link

jgoux commented Dec 17, 2021

Based on #4437

Does it also address this : #4437 (comment) ?

I'm hitting the same issue, after a redirect (for example an authentication flow), the capacitor bridge isn't injected anymore.

@tony-scio
Copy link
Author

Based on #4437

Does it also address this : #4437 (comment) ?

I'm hitting the same issue, after a redirect (for example an authentication flow), the capacitor bridge isn't injected anymore.

Unfortunately, it doesn't fix that. The bridge is still lost after redirect. But for my particular use case this was a strict improvement and unblocked us.

@tony-scio
Copy link
Author

tony-scio commented Dec 17, 2021

By the way, feel free to give this fork a try. I'll be keeping it up to date with the latest stable capacitor release until this is fixed upstream.

package.json::
"@capacitor/android": "https://gitpkg.now.sh/tony-scio/capacitor/android?b6ccdb0e5bad540a7656a0d644231c96b00ae52b",

@lubomirblazekcz
Copy link

@riderx @tony-scio any chance getting this merge request merged? This inded fixed our problem with redirect we had in our app, took as a whole day to debug that capacitor doesn't redirect 301, 302 urls on android :/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants