Affects Version/s: Release 5.3.0, Release 5.4.0
Fix Version/s: None
Appc CLI NPM: 4.2.6, 4.2.7-2
Appc CLI Core: 5.3.0, 5.4.0-18
OS: El Capitan (10.11.5)
Devices: Samsung Galaxy S5 (4.4.2), Nexus 6 (6.0.1)
Details: After calling CloudPush.retrieveDeviceToken(), "The Google Play services resources were not found" error appears in logcat.
- 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:
Expected: No errors should appear in logcat when using ti.cloudpush module.