Titanium JIRA Archive
Appcelerator Community (AC)

[AC-1209] Loading cloud push module in 3.3 prevents app from loading on android

GitHub Issuen/a
TypeBug
Priorityn/a
StatusResolved
ResolutionCannot Reproduce
Resolution Date2015-09-15T07:31:25.000+0000
Affected Version/sn/a
Fix Version/sn/a
Componentsn/a
LabelsTCSupportTriage
ReporterLouis Quaintance
AssigneeShak Hossain
Created2014-09-08T09:44:14.000+0000
Updated2016-03-08T07:37:35.000+0000

Description

On android to setup notifications we do the following
var CloudPush = require('ti.cloudpush');

CloudPush.singleCallback = true;
            
CloudPush.retrieveDeviceToken({
                            success : function(e) {
                             
                            },
                            error : function(e) {
                            }
                        });
Migrating from 3.2.2 to 3.3 causes the app not to startup on android We get lots of complaints in logs such as: [WARN] dalvikvm: VFY: unable to resolve static field 952 (common_google_play_services_enable_button) in Lcom/google/android/gms/R$string; Removing anything to do with cloud push fixes it

Comments

  1. Motiur Rahman 2014-09-09

    Hello, We have tested this issue with the latest Ti SDK, but we cannot reproduce this issue as a bug. Push notification works as expected on android.

    Testing Environment:

    Titanium SDK: 3.3.0.GA Titanium CLI: 3.3.0, Android SDK: 4.2.2,4.4.2 OS X Version: 10.9.4, Appcelerator Studio: 3.3.0 [Steps to Test & Test Code](https://gist.github.com/MotiurRahman/8766037) Thanks.
  2. Radamantis Torres-Lechuga 2015-04-09

    [~louis.quaintance@first-utility.com] we can not replicate this issue, please provide a test case that we can use to replicate Thanks

JSON Source