Support Topics Documentation Slack YouTube Blog

Not getting push notification from last two days


(Raushan Kumar) #1

Hi,
Previously i was getting push notifications.
But from last two days i am not getting any notification.
My app_id is {REMOVED}


(Sergey Kukurudzyak) #2

Before I respond to this topic I have to make it public. Private topics are reserved for customers with paid support. Just wanted to make sure you are aware of the policy.


(Raushan Kumar) #3

Hi Sergey,

Sure make it public.
But please remove app_id from question.


(Sergey Kukurudzyak) #4

please provide more information about your problem

you will get much better answers if you provide code that can be used to reproduce the problem. That code should be…

…Minimal – Use as little code as possible that still produces the same problem
…Complete – Provide all parts needed to reproduce the problem
…Verifiable – Test the code you’re about to provide to make sure it reproduces the problem


(Raushan Kumar) #5

i am using this code for registering the device

Backendless.sharedInstance().messaging.registerDevice(["default"], expiration:NSDate(timeIntervalSinceNow: 9999), token: token, response: { (response) in
 print(response)
 Users.setUserDeviceId(response)
 }, error: { (fault) in
 print(fault)
 })

here deviceToken is the token received in

func application(application: UIApplication, didRegisterForRemoteNotificationsWithDeviceToken deviceToken: NSData){
}

But when i am trying to send push notification from Backendless panel it’s not being received in the app.


(Vyacheslav Vdovichenko) #6

Hi Raushan,

Please update the latest Backendless SDK (pod 3.0.37 release) and try again.
We have checked it with our sample project (see in attachment), and it works for us: our devices received the messages from devices, simulators and app dashboard.
You can change Bundle Id, AppId and secretKey with yours and try it, how do it work for you?

Also you can investigate how backendless pushes need to be organized.

Regards,
Slava

TestPushNotify.zip (20.57MB)