App crashes on receiving push notification
Posted: Fri Jul 18, 2014 6:04 am
Hi,
I am developing an app that receives push notifications but I'm having problem where the app will crash/exit automatically when:
- user taps on the push notification and launch the app
- notification arrives when app is still active
I've only used simple functions within the pushNotificationReceived:
on pushNotificationReceived tMessage
##update status on given field to "Notification Received"
......
##do some functions
......
end pushNotificationReceived
Really appreciate it if anyone can help me out. Thanks!!
p.s. I'm using LC version 6.6.2 to publish my app.
I am developing an app that receives push notifications but I'm having problem where the app will crash/exit automatically when:
- user taps on the push notification and launch the app
- notification arrives when app is still active
I've only used simple functions within the pushNotificationReceived:
on pushNotificationReceived tMessage
##update status on given field to "Notification Received"
......
##do some functions
......
end pushNotificationReceived
Really appreciate it if anyone can help me out. Thanks!!
p.s. I'm using LC version 6.6.2 to publish my app.