Forum Xamarin.iOS

UNNotificationServiceExtension error

PaulKapitskiyPaulKapitskiy RUUniversity ✭✭

I am trying to follow examples from Advanced User Notifications section in iOS 10 User Notifications Framework, and in the example in the section related to Creating Media Attachments I keep getting the following error:

UNNotificationServiceExtension does not contain a constructor that takes 0 arguments

I am adding a class after implementing User Notification Service, which works just fine. I need to add some media content to my Notification, but I am stuck at this point. I use Visual Studio and iOS 10 User Notification Service is part of the Forms solution. The whole thing is implemented for iOS Project part, and is accessible from Portable through Dependency Service.
Any ideas on what I am doing wrong?

Tagged:
Sign In or Register to comment.