As i am working on Push Notification using REST api.
First : I have done the registration part of the device and it showing on Backenless Dashboard.
api used = “https://api.backendless.com/v1/messaging/registrations”
params = {“os”:“ANDROID”,“expiration”:“2592000”,“osVersion”,“4.1.2”}
Second : I go through the Message Publish Documents and i written code and its working and showing me the correct response.
api used = “https://api.backendless.com/v1/messaging/Default”
params = {“message”:“Hello Push Notification”,“pushPolicy”:“ONLY”,“pushBroadcast”,“ALL”,“headers”:(“Gas”=“Price”)}
Now the problem is that when i am publishing message it not receiving to other side.
Like normal push notification it should show on the device but it not happend.
Is there any other process i need to do?
Please let me know the answer ASAP.
All I am asking you to do is to repeat the device registration call without the selector. Does it work? Did the device show up in console? If it did, try sending a push notification. Did it arrive?
device is also showing on console.
But i want to send push notification using mymobile.
In my app there is concept of updating Price of some items with Admin login.
When Admin done update process then push notification should arrive to all devices.
It becomes very difficult to answer all the questions in the same thread. Please write each question in a separate post. I will answer the original question (see the very first post in this one):
If message delivery works without a selector and does not work with the selector, the problem is in the actual selector. Here’s the selector you have: