Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-12356] Android: ACS callback not received

GitHub Issuen/a
TypeBug
PriorityCritical
StatusClosed
ResolutionFixed
Resolution Date2013-01-20T19:02:14.000+0000
Affected Version/sRelease 3.0.0
Fix Version/sRelease 3.0.1, Release 3.1.0
ComponentsAndroid
Labelsqe-port
ReporterIngo Muschenetz
AssigneePing Wang
Created2013-01-20T19:01:45.000+0000
Updated2013-01-23T22:22:53.000+0000

Description

I was able to reproduce this issue using SDK build 3.0.0.GA on Samsung Galaxy S3 (4.0.4) and Droid3 (2.3.4). But, I was not able to reproduce on iOS: iOS Simulator 6.0 and iphone 4s (5.1.1). The following are sample apps I used and my notes: monkeySig.zip Modified app from original bug description. To test: 1. Press cloud button Actual: No alert appears; does not hit the call back function in /Resources/UI/handheld/ApplicationWindow.js as stated above Expected: Should see an alert that displays the user id, first name, and last name monkeySimple.zip Stripped down version of the ti.cloud sample app (see below). To test: 1. Login with a 2. Password is 1234 3. Press Login User button Actual: No alert appears; does not hit the call back function in app.js Expected: Should see an alert that displays the user id, first name, and last name Here are a couple of interesting things that I found during my testing: The ti.cloud sample app that comes with the ti.cloud module works fine on Android using SDK build 3.0.0.GA. To test the ti.cloud sample app: 1. Download, install, and launch monkeySample.zip 2. Go to Users > Login User. Source code is in Resources/windows/users/login.js 3. Login using a 4. Password 1234 5. Press Login User button Actual: Alert dialog appears And from http://developer.appcelerator.com/question/145857/acs-is-failing#answer-253184, John Davis claims that his callback was getting hit after waiting a long time. However, I wasn't able to reproduce this case.

Attachments

FileDateSize
monkeySample.zip2013-01-20T19:02:55.000+00003803580
monkeySig.zip2013-01-20T19:02:55.000+0000758641
monkeySimple.zip2013-01-20T19:02:55.000+00003694743

Comments

  1. Olga Romero 2013-01-23

    Tested with: Titanium Studio, build: 3.0.1.201212181159 Devices: iPhone4S 5.0.1 and iOS 6.0 Simulator ---- *works* fine, receive an Alert. Titanium SDK, build: 3.0.2.v20130122172624 Titanium SDK, build: 3.1.0 latest commit 572dcc3fe2 Device: Samsung Galaxy S3 (4.0.4) works only with: Titanium SDK, build: 3.0.2.v20130122172624 *Fails* with: Titanium SDK, build: 3.1.0 latest commit 572dcc3fe2 *Note* I reproduced the original issue with 3.0.0.GA
  2. Olga Romero 2013-01-23

    Checked with latest master 3.1.0.v20130123122533 Closing as fixed. Tested originally reported device NexusS3 4.0.4

JSON Source