apache / cordova-ios

Apache Cordova iOS
https://cordova.apache.org/
Apache License 2.0
2.16k stars 989 forks source link

(ios): nil check in didReceiveData in schemehandler #1035

Closed NiklasMerz closed 3 years ago

NiklasMerz commented 3 years ago

Platforms affected

iOS

Motivation and Context

Data can be nil in the WKURLSchemeHandler and should not be passed as a response.

Description

Add simple nil check

Closes #903

Testing

Checklist