Skip to content

Feature request: Clear cookies and reload current page #15

@m-b-t-n

Description

@m-b-t-n

I hope to be implemented on your plugin:

  • Clear stored cookies
  • Reload current page

For now, these are incompletely implemented because I got an error.

method:reload arguments:Optional(["allowingReadAccessTo": <null>, "urlRequest": {
    url = "https://music.youtube.com";
}]) :InAppWebViewMethodHandler
[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: MissingPluginException(No implementation found for method reload on channel dev.akaboshinit/flutter_inline_webview_macos_controller_0)
#0      MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:294:7)
<asynchronous suspension>
#1      InlineWebViewMacOsController.reload (package:flutter_inline_webview_macos/flutter_inline_webview_macos/flutter_inline_webview_macos_controller.dart:170:5)
<asynchronous suspension>

JFYI, I tried to implement as below. I'd appreciate if it is helpful.

Add method handler of "reload" and "clearCache" by m-b-t-n · Pull Request #2 · m-b-t-n/flutter_inline_webview_macos

Regards.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions