I use the OneSignal service in my Xamarin iOS application, agree the documentation:
https://documentation.onesignal.com/docs/xamarin-sdk-setup
I took all the steps, BUT if I override the AppDelegate methods
OnResignActivation
DidEnterBackground
WillEnterForeground
WillTerminate
OnActivated
I get the following error:
ObjCRuntime.RuntimeException: Cannot get the method descriptor for the selector 'oneSignalApplicationDidBecomeActive:' on the type 'AppDelegate', because the selector does not correspond to a method
I need to override these methods, what is my mistake?
Thank!
source
share