Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-3104] Android UA - notification not being recieved

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2011-04-17T02:00:56.000+0000
Affected Version/sn/a
Fix Version/sRelease 1.6.0 M09
ComponentsAndroid
Labelsairship, android, defect, notifications, release-1.6.0, reported-1.6.0, urban
ReporterThomas Huelbert
AssigneeBill Dawson
Created2011-04-15T03:37:05.000+0000
Updated2012-03-12T02:47:19.000+0000

Description

seen via Bills test app and [INFO] Titanium SDK version: 1.6.0 (02/08/11 20:55 bd9d124...) galaxy tab (2.2.3) and nexus s (2.3.2) tested

1.install app via sd card
2.launch and tap button
3.head to UA and fire a notification off

results: no notification is seen (though the successful registration message is seen in app), fail is:
D/AirMail ( 3059): response read
D/AirMail ( 3059): Got appid: com.appcelerator.android.uatest2
I/AirMail ( 3059): Message d29b9da5-2750-4406-9fbc-6bf4c5f4cb0a received.
I/dalvikvm( 3059): Total arena pages for JIT: 11
D/dalvikvm( 3059): GC_EXTERNAL_ALLOC freed 453 objects / 24120 bytes in 61ms
E/JavaBinder( 3059): !!! FAILED BINDER TRANSACTION !!!
I/AirMail ( 3059): Exception in Helium connection. Network type=WIFI
E/AirMail ( 3059): null
E/AirMail ( 3059): java.lang.RuntimeException: bad array lengths
E/AirMail ( 3059): at android.os.Parcel.readIntArray(Parcel.java:683)
E/AirMail ( 3059): at android.app.INotificationManager$Stub$Proxy.enqueueNotificationWithTag(INotificationManager.java:275)
E/AirMail ( 3059): at android.app.NotificationManager.notify(NotificationManager.java:110)
E/AirMail ( 3059): at android.app.NotificationManager.notify(NotificationManager.java:90)
E/AirMail ( 3059): at com.urbanairship.airmail.Relier.showNotification(Relier.java:401)
E/AirMail ( 3059): at com.urbanairship.airmail.Relier.deliverPush(Relier.java:353)
E/AirMail ( 3059): at com.urbanairship.airmail.Helium.handleNotification(Helium.java:129)
E/AirMail ( 3059): at com.urbanairship.airmail.Helium.readResponse(Helium.java:96)
E/AirMail ( 3059): at com.urbanairship.airmail.ConnectionThread.run(ConnectionThread.java:78)
I/AirMail ( 3059): Setting failure count for 75.101.253.33:1227 to 1
I/AirMail ( 3059): Rescheduling connection in 10000ms.

Comments

  1. Bill Dawson 2011-04-15

    Thomas, I'd like to close this ticket with a workaround, because we'll open another ticket -- for Developer, not Mobile Android SDK -- to fix the real bug. If you agree (and if you test the workaround and it succeeds), you can go ahead and put this one to "resolved".

    WORKAROUND: Copy Resources/android/appicon.png to Resources/appicon.png, check the project settings and make sure the icon is set to "appicon.png", then re-launch.

    Note, now that we've got this problem nailed down, you (Thomas) should go ahead and finally do a full test rather than me giving you the APK. Will send you the latest module ZIP via e-mail rather than the APK

  2. Thomas Huelbert 2011-04-15

    nexus s (2.3.2) galaxy tab (2.2.2) and g1 (1.6) sim 2.0.1.

  3. Alexander Ivanov 2012-03-12

    Sorry for question. Bill, can you point me where to find information about real bug.

JSON Source