Skip to content

Commit

Permalink
fix(ios): behaviour of toString function of TiBlob fixed (#11446)
Browse files Browse the repository at this point in the history
Co-authored-by: Jan Vennemann <jan.vennemann@gmx.net>
  • Loading branch information
vijaysingh-axway and janvennemann committed Feb 3, 2020
1 parent 3943012 commit e63b30e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions common/Resources/ti.internal/extensions/ti/ti.blob.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,9 @@ if (Ti.Platform.osname === 'iphone' || Ti.Platform.osname === 'ipad') {
const value = this.text;
return (value === undefined) ? '[object TiBlob]' : value;
};

if ((parseInt(Ti.Platform.version.split('.')[0]) < 11)) {
// This is hack to fix TIMOB-27707. Remove it after minimum target set iOS 11+
setTimeout(function () {}, Infinity);
}
}

0 comments on commit e63b30e

Please sign in to comment.