-
Notifications
You must be signed in to change notification settings - Fork 387
Open
Labels
package:httptype-bugIncorrect behavior (everything from a crash to more subtle misbehavior)Incorrect behavior (everything from a crash to more subtle misbehavior)
Description
Just wanted to let you know that this issue is still present on android devices: #877
I discovered the problem while using the openid_client (https://pub.dev/packages/openid_client).
I configured the authentication process to use an external browsers (See appsup-dart/openid_client#128 for more details) and this is what happens:
- When the authentication process starts the App goes in background and open a browser to desired authentication server URL
- When you log in the browser will be redirected to localhost:4000 with all the relevant data
- However the openUrl on
http/pkgs/http/lib/src/io_client.dart
Line 114 in ef05b37
var ioRequest = (await _inner!.openUrl(request.method, request.url))
If you use an inApp webview the problem doesn't occur (since the app is still on foreground)
xleon and sampiry-dotcom
Metadata
Metadata
Assignees
Labels
package:httptype-bugIncorrect behavior (everything from a crash to more subtle misbehavior)Incorrect behavior (everything from a crash to more subtle misbehavior)