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