Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-15478] BlackBerry: Titanium.Blob.toString() returns '[object TiBlob]' instead of the value of Titanium.Blob.text

GitHub Issuen/a
TypeBug
PriorityLow
StatusClosed
ResolutionFixed
Resolution Date2014-01-16T06:36:35.000+0000
Affected Version/sRelease 3.1.3
Fix Version/sn/a
ComponentsBlackBerry
Labelslook1
ReporterTiman Rebel
AssigneePedro Enrique
Created2013-10-11T13:32:21.000+0000
Updated2017-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);

Comments

  1. Pedro Enrique 2013-10-22

    PR: https://github.com/appcelerator/titanium_mobile_blackberry/pull/184
  2. Eric Merriman 2017-03-14

    Closing as resolved.

JSON Source