I'm trying to add a hook to get my native extension called when the UIApplicationDelegate is called for application:didRegisterForRemoteNotificationsWithDeviceToken and others.
I don't think changing the delegate will work as it will break air stuff, doing [[UIApplication sharedApplication] setDelegate:delegate];
So what is the best way to do that ? Should I dynamically create a subclass of the delegate and add the methods I want to it ? I didn't find anything about that on the Air documentation, any help would be appreciated!