Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-14013] BlackBerry : Can't see the custom client header for BB as in IOS or Android

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2013-05-29T04:55:21.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsBlackBerry
Labelssdk-bb
ReporterLokesh Choudhary
AssigneeRussell McMahon
Created2013-05-28T23:29:13.000+0000
Updated2014-06-19T12:43:05.000+0000

Description

Comments

  1. Russell McMahon 2013-05-29

    For BlackBerry simulator you can not use a loopback address (127.0.0.1) to test servers. Best to use a separate machine. 1) Run the testserver.js on a different machine then running the simulator. 2) Do ifconfig from command line on machine running the server and note the ip address of the main interface receiving internet connections. 3) From machine running BB simulator ping simulator address to make sure available. 4) Run includes js test sample but make sure the address is the ip address of machine running server and not 127.0.0.1
  2. Lokesh Choudhary 2013-05-29

    Verified the fix with the steps mentioned in the comments by russ & I can see the custom header in the logs. Thus closing. Environment: Ti Studio : 3.1.1.201305150313 Ti BB SDK : 3.1.1.v20130524180421 Mac OSX : 10.8.2 win 7 Win 8 Z10 BB simulator : 10.0.10.822 Z10 device running 10.0.10.88 Q10 Simulator : 10.1.0.1720 Q10 Dev alpha C device running 10.1.0.138

JSON Source