[MOD-2266] After calling CloudPush.retrieveDeviceToken(), "The Google Play services resources were not found" error appears in logcat
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Open |
Resolution | Unresolved |
Affected Version/s | Release 5.3.0, Release 5.4.0 |
Fix Version/s | n/a |
Components | Cloud, CloudPush |
Labels | qe-5.4.0 |
Reporter | Wilson Luu |
Assignee | Unknown |
Created | 2016-06-24T00:47:28.000+0000 |
Updated | 2018-03-06T18:52:23.000+0000 |
Description
*Details:* After calling Download, unzip, and copy contents of Archive.zip into your
Press the
*Note:* The critical code flow after pressing the button:
*
CloudPush.retrieveDeviceToken()
, "The Google Play services resources were not found" error appears in logcat.
*Notes:*
* This is not a regression with current GA stack.
* You cannot reproduce this error using the default mobile project.
* Even though the error appears in logcat, the app still launches fine without any issues.
*Steps to reproduce:*
Create a Titanium classic mobile app
Make sure to include the ti.cloud and ti.cloudpush module; you will need to configure your app for push
Download, unzip, and copy contents of Archive.zip into your Resources
folder
Install app to an Android device
Once app is launched, go to Push Notifications > Settings for This Device
Press the Disabled
button to enable
*Note:* The critical code flow after pressing the button:
* settings.js
-> line 23, PushManager.enablePushNotifications()
* pushManager.js
-> line 20, checkPushNotifications()
* pushManager.js
-> line 118, androidPushModule.retrieveDeviceToken()
*Actual:* "The Google Play services resources were not found" error will appear in logcat:
06-23 14:58:58.664 13968 13968 E GooglePlayServicesUtil: The Google Play services resources were not found. Check your project configuration to ensure that the resources are included.
*Expected:* No errors should appear in logcat when using ti.cloudpush module.
Attachments
File | Date | Size |
---|---|---|
Archive.zip | 2016-06-24T00:37:21.000+0000 | 18697 |
No comments