Skip to content

Conversation

jerryzhoujw
Copy link
Contributor

I have debug with #376

For iOS part

Found it's related to iOS native part iOS WKWebView not showing javascript alert() dialog

Good example of implement code are at gist.

NOTE: This fix not test android part of alert().

@charafau
Copy link
Collaborator

thank you for PR, looks good so far, but I need to check it.

btw. android alert works

@escamoteur
Copy link

Hi, is this here flutter/plugins#2012 now obsolete?

@jerryzhoujw
Copy link
Contributor Author

I have create similar PR for both, because it seems they both used as webview in flutter.

@escamoteur
Copy link

ah sorry I missed that its two different widgets.

@j796160836
Copy link

Hi, I made up the enhanced version of this pull request. #655.
Please check it out, thanks.

@charafau charafau merged commit bd658a8 into fluttercommunity:master Apr 7, 2020
@charafau
Copy link
Collaborator

charafau commented Apr 7, 2020

I am merging this first because it's fix to current solution. Will review the other one next (and sooner, I promise)

charafau pushed a commit that referenced this pull request Apr 7, 2020
* fix alert() not working in iOS webview

* inlcude alert() in example project
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

Successfully merging this pull request may close these issues.

4 participants