PushClient
PushClient copied to clipboard
Background Notifications
I'm using Titanium SDK Version 6.1.1.GA with PushClient 1.21 and although the callback work when the app is in the background I don't see a push notification on an Android device.
I've tried multiple devices, and when the app is in the background no push notification appears at the top of the Android device.
Any ideas?
I've noticed an error during the build it says:
GooglePlayServicesUtil: The Google Play services resources were not found. Check your project configuration to ensure that the resources are included.
Could this be related?
This error occurs with multiple push modules. it seems to be an obsolete error message generated by google play services and can be ignored... according to most of the devs of the other modules.
The module works fine here, opening app in all cases, even if app is completely closed. But i am wondering how i can check if app was in background... i am testing with FCM, but in the end the API will send push notifications. But in the data i receive on success, there is no inBackground flag or something... Any ideas?
EDIT: nvm, i found out the mode property (1,2,3...) tells this.
When the app is completly closed i dont receive the notification. But whe i open the app and send some push... i reveive it.. What can be happening ?
What is the recommended push module for android?