Skip to content

Fix: IOS App Crashes when an invalid URL is loaded#331

Open
Vaibhav2002 wants to merge 1 commit intoKevinnZou:mainfrom
Vaibhav2002:fix/invalid-url-crash
Open

Fix: IOS App Crashes when an invalid URL is loaded#331
Vaibhav2002 wants to merge 1 commit intoKevinnZou:mainfrom
Vaibhav2002:fix/invalid-url-crash

Conversation

@Vaibhav2002
Copy link
Contributor

To reproduce:
Load any invalid url, eg. (https://google.com)
App will crash

Fix:
wrap webview.loadUrl() in a try catch block

Fixed #183

@Vaibhav2002
Copy link
Contributor Author

@KevinnZou I dont know why but the html which i am loading inside the catch block is not being displayed

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.

iOS App Crashes when URL is incorrect

1 participant