[AC-1209] Loading cloud push module in 3.3 prevents app from loading on android
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | n/a |
Status | Resolved |
Resolution | Cannot Reproduce |
Resolution Date | 2015-09-15T07:31:25.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | n/a |
Labels | TCSupportTriage |
Reporter | Louis Quaintance |
Assignee | Shak Hossain |
Created | 2014-09-08T09:44:14.000+0000 |
Updated | 2016-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
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.[~louis.quaintance@first-utility.com] we can not replicate this issue, please provide a test case that we can use to replicate Thanks