Page 1 of 1


Posted: Fri Apr 13, 2018 7:15 am
by ValentinWalik

I have a big problem, my stand-alone app do not recognise the PushNotification function.
ThereĀ“s no message on first app start to allow the notifications.
All my Certificates an Provisioning Profiles seems to be correct, I have tested ist via terminal.

This is the code in my Stack:

Code: Select all

on pushNotificationReceived tMessage
   answer "Push Notification Message:" && quote & tMessage & quote with "Okay"
end pushNotificationReceived

on pushNotificationRegistered tSignature
   answer "Registered for Push Notification:" && quote & tSignature & quote with "Kay"
end pushNotificationRegistered

on pushNotificationRegistrationError tMessage
   answer "Failed to Register for Push Notification:" && quote \
         & tMessage & quote with "error"
end pushNotificationRegistrationError

on pushNotificationRegistered
   get mobileGetDeviceToken()
end pushNotificationRegistered
What is wrong, can somebody please help me.

Re: PushNotification

Posted: Fri Apr 13, 2018 5:27 pm
by Mikey
Push isn't always easy to get started, so
Let's start with
* You're building for iOS, right?
* Are you testing on the simulator or a physical device? (Simulator won't work)
* How did you obtain the push ID to use to send the message?
* Are you sure this is the first time you have tried to install this app on the device? Have you re-used the app ID from another app?
* In your Settings -> Notifications, what is listed for this app?