humhub / app

22 stars 8 forks source link

flutter_inappwebview for more andvance WebView func. #30

Closed PrimozRatej closed 1 year ago

PrimozRatej commented 1 year ago

https://pub.dev/packages/flutter_inappwebview

PrimozRatej commented 1 year ago

The impl. of custom headers for every request is possible for InAppWebView.

image

luke- commented 1 year ago

@PrimozRatej This looks very promising! From the source, it looks like the header feature only affects Ajax requests.

Many calls in the HumHub WebApp are Ajax (e.g. click from the dashboard to People page, since only a view partial is transferred here). But especially on full page requests (e.g. initial dashboard request) the Header would be important. Can you check/confirm this?

I've added a test link on the example site:

image