This commit is contained in:
DDIsFriend
2023-08-28 14:11:06 +08:00
parent e52741807e
commit c52d0edc21
62 changed files with 9510 additions and 7520 deletions

View File

@@ -0,0 +1,41 @@
/*
* | | | | \ \ / / | | | | / _______|
* | |____| | \ \/ / | |____| | / /
* | |____| | \ / | |____| | | | _____
* | | | | / \ | | | | | | |____ |
* | | | | / /\ \ | | | | \ \______| |
* | | | | /_/ \_\ | | | | \_________|
*
* Copyright (c) 2017 Shenzhen HXHG. All rights reserved.
*/
#import <Foundation/Foundation.h>
#define JPUSH_EXTENSION_VERSION_NUMBER 2.0.1
@class UNNotificationRequest;
@interface JPushNotificationExtensionService : NSObject
/**
设置appkey需要与main target中的appkey相同
*/
+ (void)jpushSetAppkey:(NSString *)appkey;
/**
apns送达
@param request apns请求
@param completion 回调
*/
+ (void)jpushReceiveNotificationRequest:(UNNotificationRequest *)request with:(void (^)(void))completion;
/**
关闭日志
默认为开启
建议发布时关闭以减少不必要的IO
*/
+ (void)setLogOff;
@end