Push notification

Getting into LiveCode for iOS? Ask your questions here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
Michael_A
Posts: 13
Joined: Mon Aug 27, 2012 3:39 pm

Push notification

Post by Michael_A » Mon Aug 27, 2012 3:51 pm

Hi,
I'm new registred user of livecode, (I'am Delphi developer but need iOS / Androïd).
I read all the tutorial : .../53405-how-do-i-use-push-notifications-with-ios
I created all certicates, tested communication with ssl certifcate and Apple (ok) and tried to send a notification, but I never received one :cry:

I put this in the stack code:

Code: Select all

on pushNotificationReceived tMessage
     answer "Push Notification Message:" && quote & tMessage & quote with "Okay"
end pushNotificationReceived
I tried too in the card script, but I never received notification.

(I put in token my device UDID)

Can somebody confirm this tutorial and code always work, if there is something to know or do?

Thanks a lot
Mkey

Michael_A
Posts: 13
Joined: Mon Aug 27, 2012 3:39 pm

Re: Push notification

Post by Michael_A » Thu Aug 30, 2012 11:46 am

Hi,

I solved my problem, notify works great, the problem was the token: I was trying with my UDID device instead of the result of mobileGetDeviceToken.

Post Reply