Uploaded image for project: 'Appcelerator Modules'
  1. Appcelerator Modules
  2. MOD-2266

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

    Details

    • Type: Bug
    • Status: Open
    • Priority: High
    • Resolution: Unresolved
    • Affects Version/s: Release 5.3.0, Release 5.4.0
    • Fix Version/s: None
    • Component/s: Cloud, CloudPush
    • Labels:
    • Environment:

      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:

      1. Create a Titanium classic mobile app
      2. Make sure to include the ti.cloud and ti.cloudpush module; you will need to configure your app for push
      3. Download, unzip, and copy contents of Archive.zip into your Resources folder
      4. Install app to an Android device
      5. Once app is launched, go to Push Notifications > Settings for This Device
      6. 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

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              wluu Wilson Luu (Inactive)
            • Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:

                Git Source Code