[TIMOB-15478] BlackBerry: Titanium.Blob.toString() returns '[object TiBlob]' instead of the value of Titanium.Blob.text
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | Low |
| Status | Closed |
| Resolution | Fixed |
| Resolution Date | 2014-01-16T06:36:35.000+0000 |
| Affected Version/s | Release 3.1.3 |
| Fix Version/s | n/a |
| Components | BlackBerry |
| Labels | look1 |
| Reporter | Timan Rebel |
| Assignee | Pedro Enrique |
| Created | 2013-10-11T13:32:21.000+0000 |
| Updated | 2017-03-14T21:08:38.000+0000 |
Description
On both iOS and Android, the toString() method of Titanium.Blob return the value of the text property. On BlackBerry 10 it returns '[object TiBlob]'
Test case:
var authString = Ti.Utils.base64encode('username' + ':' + 'secretPassword').toString();
Ti.API.info(authString);
PR: https://github.com/appcelerator/titanium_mobile_blackberry/pull/184
Closing as resolved.