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
Option to send headers to the "web view" #4
Comments
I don't think that this is possible on the iOS platform, so I'm a bit hesitant to add it to the library... What use case do you have? |
I have a custom auth service which requires me to send some information to it either as a header or as a cookie. |
Are you only interested in Android? or do you have an idea on how to make it work on iOS? |
I don't have much iOS experience and I had no time to look into the iOS version, but I will need that in future. |
As far as I can tell, iOS doesn't offer the option to send in extra headers, so you'll have to work around this in another way... |
Indeed, the headers cannot be included on iOS as it is with Custom Chrome Tabs. The alternative would be a webview. |
Would it be possible to add an option in the library to add headers to the request?
For example on Android:
intent.intent.putExtra(Browser.EXTRA_HEADERS, Bundle().apply { putString(headerName, headerValue) })
The text was updated successfully, but these errors were encountered: