// // RCTMIPushModule.h // RCTMIPushModule // // Created by zhangzy on 2016/10/24. // Copyright © 2016年 zzy. All rights reserved. // #import #import #import #import #import "MiPushSDK.h" #import @interface RCTMIPushModule : RCTEventEmitter + (void)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions; + (void)application:(UIApplication *)application didRegisterUserNotificationSettings:(UIUserNotificationSettings *)notificationSettings; + (void)application:(UIApplication *)application didRegisterForRemoteNotificationsWithDeviceToken:(NSData *)deviceToken; + (void)application:(UIApplication *)application didReceiveRemoteNotification:(NSDictionary *)notification; + (void)application:(UIApplication *)application didReceiveLocalNotification:(UILocalNotification *)notification; + (void)userNotificationCenter:(UNUserNotificationCenter *)center willPresentNotification:(UNNotification *)notification withCompletionHandler:(void (^)(UNNotificationPresentationOptions))completionHandler; + (void)userNotificationCenter:(UNUserNotificationCenter *)center didReceiveNotificationResponse:(UNNotificationResponse *)response withCompletionHandler:(void (^)())completionHandler; @end