// // CULPlugin.h // // Created by Nikolay Demyankov on 14.09.15. // #import #import /** * Plugin main class. */ @interface CULPlugin : CDVPlugin /** * Subscribe to event. * * @param command command from js side with event name and callback id. */ - (void)jsSubscribeForEvent:(CDVInvokedUrlCommand *)command; /** * Unsubscribe from event. * * @param command command from js side with event name */ - (void)jsUnsubscribeFromEvent:(CDVInvokedUrlCommand *)command; /** * Try to hanlde application launch when user clicked on the link. * * @param userActivity object with information about the application launch * * @return true - if this is a universal link and it is defined in config.xml; otherwise - false */ - (BOOL)handleUserActivity:(NSUserActivity *)userActivity; @end