Hello,
I’m facing issue in receiving notification when the app is not running i.e if i quit the application. If the application is running then, easily ill get the push notification however if i quit the app, i wont get any notification. Please help.
Here is my receiver in manifest file and the code.
As you told i struggled lot, i changed my code like, i created my own listener
public class GCMReceiver extends WakefulBroadcastReceiver {
@Override
public void onReceive(Context context, Intent intent) {
Toast.makeText(context, “Notification came”, Toast.LENGTH_LONG).show();
}
}
Then i updated my manifest file like below, still only device is registering but i’m not getting notification event
I have not created, beacause some of the GitHub projects hosted by you, do not have any services implemented explicitly.
I have sample code, which has got GCM working, however in that i’m using localhost and sending message, but through backendless i’m not getting how to do?.
Only difference i’m finding is, backendless do have got Backendless.Messaging.subscribe, call. If i do it works well when the application is running, if i kill its not coming to receiver.
Do you have any sample latest working example hosted in github, so that i can try. i’m struggling from 3 days, please help me with any sample which is working on backendless.
@Mark, Could you please assist me/us, what is the issue. I have seen many people in this forum are facing the same issue. But they are all trying multiple trial and error to solve the issue.
Please assist me also, if possible, can you update Git with latest example, or you can post hint for me to resolve the issue. I’m happy to publish an article on backendless push notification. It should be really useful for others who use the backendless.