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

Evaluate Javascript #6

Open
rohitsangwan01 opened this issue Sep 29, 2022 · 6 comments
Open

Evaluate Javascript #6

rohitsangwan01 opened this issue Sep 29, 2022 · 6 comments

Comments

@rohitsangwan01
Copy link

Hey , like Title says , can we evaluate javascript , and use a bridge or something to communicate

@akaboshinit
Copy link
Owner

akaboshinit commented Nov 24, 2022

Sorry for the late reply.
Thanks for the issue!

I think it's doable as an implementation!

flutter_inline_webview_macos is flutter_inappwebview It's pretty much based on this package and is supported there I think it's possible!

I think this would be the bare minimum implementation for a webview, and I can't wait to get it implemented!

Also, keep an eye on this issue! #12

@rohitsangwan01
Copy link
Author

@akaboshinit thanks for the reply , i tried on that plugin as well , and faced some issues , but that package is still in beta phase of macos , so i guess that will be fixed

@akaboshinit
Copy link
Owner

akaboshinit commented Nov 24, 2022

@rohitsangwan01
I took a closer look at it and yes, thanks!
But the swift mechanism I'm using inside is the same as that package, so I think it's possible to implement it, though I'd need to modify it a bit!

More than that #12 What do you think about this?
Even if I implement "Evaluate Javascript", I don't think it's a package that can be used for development.

I think we can wait until this is settled.

@sugur
Copy link

sugur commented Nov 28, 2022

I also want to evaluate javascript , and use a bridge or something to communicate.

@rohitsangwan01
Copy link
Author

@akaboshinit yes seems like waiting is the only option ,
@sugur we have another option , puppeteer ,if our main goal is to evaluate JS, and perform some tasks from the Web

@sugur
Copy link

sugur commented Nov 28, 2022

puppeteer
Can use puppeteer to set header , then open url in webview?

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

No branches or pull requests

3 participants