Support Topics Documentation Slack YouTube Blog

iOS push notifications


(Feras AlSaab) #1

Hi,

I’m trying to use Messaging service to send push notifications to iOS devices.

I have uploaded the push notification certificate with the password, configured the device to register for push notification ( I can see my device in the “Devices” tab) but, when I try to publish send a notification, the device won’t receive it. I get a message Scheduled popup but can’t see these messages anywhere (not in the phone or in the messages tab). Btw I am using Backendless version 3

How can I see the messages that I have sent? and how do i get them to appear to my users?

Best,

F


(Stanislaw Grin) #2

Hi Feras,
please check the status of the message. After publishing message you will receive messageId - pass this ID to the method getMessageStatus and let us know what you’ll get.

Regards,
Stanislaw


(Feras AlSaab) #3

Hi Stanislaw,

I am publishing it from the server side, so from the Backendless dashboard online.

Best,

Feras A.


(Stanislaw Grin) #4

So there you can find messageId (in UI), copy it and manually check message status as I’ve described in previous post. Message status will give us an idea what’s wrong.


(Feras AlSaab) #5

there is no messageID …


(Stanislaw Grin) #6

OK, ID column is message ID.


(Feras AlSaab) #7

Yes but every time I send a new message, no new message IDs are added.


(Sergey Chupov) #8

Hi Feras,
You should see the message in the table immediately after pushing the “Publish” button. At least that’s what I get in my test app. If you provide your application ID, I could try to check the same in your app.
Also, do you set any additional fields or checkboxes?


(Feras AlSaab) #9

Hi Sergey,

The problem I am having is that i don’t see any new messages in the table. Shall I send you my APP ID in a more secure medium?

F


(Sergey Chupov) #10

You can send it to me via direct message.


(Feras AlSaab) #11

Just sent it :slight_smile:


(Sergey Chupov) #12

Looks like you’re doing something wrong, I’ve recorded a video showing you how to send a message and get the ID: https://drive.google.com/file/d/1ZiKIAEv42S5kUOhk3uKuxPofvC9dAuSY/view?usp=sharingcinnamon-20181004-2


(Feras AlSaab) #13

HI Sergey,

it seems to work fine. I was sending to one device and for some reason it wasn’t going through before but thank you for the video and now it is working.


(Feras AlSaab) #14

is there any way of attaching user names to the IDs so we can see the names in the device list on the backend?


(Sergey Chupov) #15

The table in the console does not contain an additional column for that, so unfortunately it’s not possible.


(Oleg Vyalyh) #16

Hi, AlSaab.
It is not a hundred percent, but it can turn out. Take into account, that the deviceId must be unique.
By the way, backendless-5 has table DeviceRegistrations where you may work with registrations like with ordinary database records. And besides it, the relations with Users established automatically if the registration was performed with logged in user.


(Feras AlSaab) #17

Thank you both. When is Backnedless 5 coming out?


(Oleg Vyalyh) #18

A half year ago :slight_smile:


(Feras AlSaab) #19

ah I though only back endless 4 was out as there is no “upgrade to 5” on my dashboard. ok, so we have the app in production, I would like to setup a backendless 5 development service while still keeping backnedless 3 running for the production until i make sure everything is running smoothly. Is this possible? then afterwards I can migrate everything.


(Feras AlSaab) #20

ah I though only back endless 4 was out as there is no “upgrade to 5” on my dashboard. ok, so we have the app in production, I would like to setup a backendless 5 development service while still keeping backnedless 3 running for the production until i make sure everything is running smoothly. Is this possible? then afterwards I can migrate everything.?