[TIMOB-14664] BlackBerry: Ti.Utils object is undefined so using it causes a crash.
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2013-09-19T20:56:02.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 3.2.0 |
Components | BlackBerry |
Labels | documentation, qe-testadded |
Reporter | Russell McMahon |
Assignee | Pedro Enrique |
Created | 2013-07-26T03:28:59.000+0000 |
Updated | 2014-02-19T23:28:08.000+0000 |
Description
Test
var key = Ti.Utils.sha1(String/Titanium.Blob obj);
console.log(key);
Currently the Ti.Utils is not exposed externally. We have scheduled it for the 3.2 release. If your using Ti.Utils please wrap it in a platform conditional. If wrapping the Ti.Utils call causes problems please note what your app is doing and we will see about upping the priority of the fix higher.
Test code
PR: https://github.com/appcelerator/titanium_mobile_blackberry/pull/176
Verified with Environment: Appcelerator Studio: 3.2.0.201311122045 SDK:3.2.0.v20131112180422 alloy: 1.3.0 acs: 1.0.7 npm: 1.3.2 titanium: 3.2.0 titanium-code-processor: 1.0.3 Xcode:5.0.1 Device: Blackeberry Z 10 OS: Mac OSX 10.9 BB OS 10.0.10.261 Above mentioned code used for testing. Ti.Utils working fine. Hence closing as working well and verified.