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,44 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>AvailableLibraries</key>
<array>
<dict>
<key>HeadersPath</key>
<string>Headers</string>
<key>LibraryIdentifier</key>
<string>ios-arm64</string>
<key>LibraryPath</key>
<string>libJPushExtension.a</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
</array>
<key>SupportedPlatform</key>
<string>ios</string>
</dict>
<dict>
<key>HeadersPath</key>
<string>Headers</string>
<key>LibraryIdentifier</key>
<string>ios-arm64_x86_64-simulator</string>
<key>LibraryPath</key>
<string>libJPushExtension.a</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
<string>x86_64</string>
</array>
<key>SupportedPlatform</key>
<string>ios</string>
<key>SupportedPlatformVariant</key>
<string>simulator</string>
</dict>
</array>
<key>CFBundlePackageType</key>
<string>XFWK</string>
<key>XCFrameworkFormatVersion</key>
<string>1.0</string>
</dict>
</plist>

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

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