Crosslight Local Notification iOS #2

1 reply. Last post: September 30, 2016 8:14 AM by Thomas Albert
Tags :
  • (None)
  • New Discussion
  • New Question
  • New Product Feedback

Hello Crosslight Support,

here is another issue with the local notification service on iOS. When the app is terminated (not running at all) and I click on a local notification (notification center) the app starts. This is because I choose "HasAction" for the local notification. Now, the app enters the OnNotificationReceived method. Though the app is not active, there should happen a kind of navigation (see sample code of services sample). When hitting this line the app crashes.

Wrapping this code with a try/catch seems to solve the crash. The error message is "The navigation controller for this service cannot be located".

Please, investigate and fix.

Thanks,

Thomas

All times are GMT -5. The time now is 5:50 PM.
Previous Next