Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-16251] Blackberry: Implement Ti.App.deployType

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2014-02-11T20:59:54.000+0000
Affected Version/sRelease 3.2.0
Fix Version/s2014 Sprint 03, 2014 Sprint 03 API, Release 3.2.3, Release 3.3.0
ComponentsBlackBerry
Labelsqe-closed-3.2.3, qe-testadded
ReporterAlan Leard
AssigneePedro Enrique
Created2014-01-20T17:29:29.000+0000
Updated2014-03-27T18:36:58.000+0000

Description

Ti.App.deployType needs to be added to support the ti.cloud module. See screen shot.

Attachments

FileDateSize
2014-01-20_0929.png2014-01-20T17:29:29.000+0000146262

Comments

  1. Pedro Enrique 2014-02-10

    PR: https://github.com/appcelerator/titanium_mobile_blackberry/pull/204
  2. Olga Romero 2014-02-20

    It does work with https://www.dropbox.com/s/607kot22lrrlxd4/blackberry.zip and it does display the deploy type. However seems to be not merged into master. Tested with Titanium SDK 3.3.0.v20140214150951. Appcelerator Studio, build: 3.2.1.201402061120 BBZ10 OS Version 10.2.1.2141 The error
       Path to BlackBerry NDK is: /Applications/Momentics.app
       /usr/local/lib/node_modules/titanium/node_modules/longjohn/dist/longjohn.js:184
               throw e;
                     ^
       TypeError: Cannot read property 'other' of undefined
           at BlackberryNDK.self.run (/Users/oromero/Library/Application Support/Titanium/mobilesdk/osx/3.3.0.v20140214150951/blackberry/cli/common/blackberryndk.js:519:28)
           at /Users/oromero/Library/Application Support/Titanium/mobilesdk/osx/3.3.0.v20140214150951/blackberry/cli/hooks/run.js:33:12
           at /usr/local/lib/node_modules/titanium/lib/hook.js:211:13
           at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:551:21
           at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:227:13
           at iterate (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:134:13)
           at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:145:25
           at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:229:17
           at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:556:34
           at /usr/local/lib/node_modules/titanium/lib/hook.js:215:9
       
       
  3. Priya Agarwal 2014-03-25

    Verified the fixed with test environment: Appc Studio:3.2.3.201403190645 Sdk:3.2.3.v20140324164913 alloy:1.3.1 titanium:3.2.1 titanium-code-processor:1.1.0 Osx: Maverick(10.9.2) Device:Blackberry-Z10(v 10.0.10.261) Ti.App.deployType returns "production" and "development" as per deploy type. Does not return undefined. Hence working fine. Closing the issue.

JSON Source