diff --git a/common/Resources/ti.internal/extensions/ti/ti.blob.js b/common/Resources/ti.internal/extensions/ti/ti.blob.js index 865d33a0446..3489c70ca19 100644 --- a/common/Resources/ti.internal/extensions/ti/ti.blob.js +++ b/common/Resources/ti.internal/extensions/ti/ti.blob.js @@ -9,6 +9,7 @@ if (Ti.Platform.osname === 'iphone' || Ti.Platform.osname === 'ipad') { const buffer = Ti.createBuffer({ value: '' }); const blob = buffer.toBlob(); blob.constructor.prototype.toString = function () { - return this.text; + const value = this.text; + return (value === undefined) ? '[object TiBlob]' : value; }; }