Titanium JIRA Archive
Appcelerator Modules (MOD)

[MOD-2266] After calling CloudPush.retrieveDeviceToken(), "The Google Play services resources were not found" error appears in logcat

GitHub Issuen/a
TypeBug
PriorityHigh
StatusOpen
ResolutionUnresolved
Affected Version/sRelease 5.3.0, Release 5.4.0
Fix Version/sn/a
ComponentsCloud, CloudPush
Labelsqe-5.4.0
ReporterWilson Luu
AssigneeUnknown
Created2016-06-24T00:47:28.000+0000
Updated2018-03-06T18:52:23.000+0000

Description

*Details:* After calling 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

FileDateSize
Archive.zip2016-06-24T00:37:21.000+000018697

Comments

No comments

JSON Source