You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by ni...@apache.org on 2020/12/02 20:16:46 UTC

[cordova-ios] branch fix903 created (now adcf6ca)

This is an automated email from the ASF dual-hosted git repository.

niklasmerz pushed a change to branch fix903
in repository https://gitbox.apache.org/repos/asf/cordova-ios.git.


      at adcf6ca  (ios): nil check in didReceiveData in schemehandler

This branch includes the following new commits:

     new adcf6ca  (ios): nil check in didReceiveData in schemehandler

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org


[cordova-ios] 01/01: (ios): nil check in didReceiveData in schemehandler

Posted by ni...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

niklasmerz pushed a commit to branch fix903
in repository https://gitbox.apache.org/repos/asf/cordova-ios.git

commit adcf6cae86f62018bd368c0a42d6d88e5f80ba5a
Author: Niklas Merz <ni...@linux.com>
AuthorDate: Wed Dec 2 21:15:23 2020 +0100

    (ios): nil check in didReceiveData in schemehandler
    
    Closes #903
---
 CordovaLib/Classes/Public/CDVURLSchemeHandler.m | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/CordovaLib/Classes/Public/CDVURLSchemeHandler.m b/CordovaLib/Classes/Public/CDVURLSchemeHandler.m
index 6c88ceb..86e92ae 100644
--- a/CordovaLib/Classes/Public/CDVURLSchemeHandler.m
+++ b/CordovaLib/Classes/Public/CDVURLSchemeHandler.m
@@ -75,7 +75,9 @@
     }
 
     [urlSchemeTask didReceiveResponse:response];
-    [urlSchemeTask didReceiveData:data];
+    if (data) {
+        [urlSchemeTask didReceiveData:data];
+    }
     [urlSchemeTask didFinish];
 
 }


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org