[TIMOB-14107] BlackBerry: Add createUUID method to Ti.Platform
| GitHub Issue | n/a |
|---|---|
| Type | New Feature |
| Priority | High |
| Status | Closed |
| Resolution | Fixed |
| Resolution Date | 2013-07-25T22:45:15.000+0000 |
| Affected Version/s | n/a |
| Fix Version/s | 2013 Sprint 15 API, 2013 Sprint 15, Release 3.1.2, Release 3.2.0 |
| Components | BlackBerry |
| Labels | n/a |
| Reporter | Russell McMahon |
| Assignee | Pedro Enrique |
| Created | 2013-06-04T19:58:49.000+0000 |
| Updated | 2014-06-19T12:44:14.000+0000 |
From TiAnalyticsObject.cpp, the following code creates a UUID. // generate the uid QString uid = QUuid::createUuid().toString(); uid.replace("{", ""); uid.replace("}", ""); QByteArray id = uid.toLocal8Bit();
PR: https://github.com/appcelerator/titanium_mobile_blackberry/pull/128
Verified the fix & we can see a UUID getting created. Thus closing. Environment: Appcel Studio : 3.1.2.201308082014 Ti SDK : 3.1.2.v20130808180613 Mac OSX : 10.8.4 Alloy : 1.2.0-alpha6 CLI - 3.1.2-alpha win 7 Win 8 Z10 BB simulator : 10.0.10.822 Z10 device running 10.0.10.88