Permalink
Browse files

iOS v4.0.7

  • Loading branch information...
Max Max
Max authored and Max committed Dec 22, 2017
1 parent 1009716 commit 04c58cb4293d2104ef0675d5e5a0826fda204851
Showing with 141 additions and 7 deletions.
  1. +24 −1 iOSDemo/SDK/ShareSDK/ShareSDK.framework/Headers/NSMutableDictionary+SSDKShare.h
  2. BIN iOSDemo/SDK/ShareSDK/ShareSDK.framework/Info.plist
  3. BIN iOSDemo/SDK/ShareSDK/ShareSDK.framework/ShareSDK
  4. BIN iOSDemo/SDK/ShareSDK/Support/Optional/ShareSDKConfigFile.framework/Info.plist
  5. BIN iOSDemo/SDK/ShareSDK/Support/Optional/ShareSDKConfigFile.framework/ShareSDKConfigFile
  6. BIN iOSDemo/SDK/ShareSDK/Support/Optional/ShareSDKExtension.framework/Info.plist
  7. BIN iOSDemo/SDK/ShareSDK/Support/Optional/ShareSDKExtension.framework/ShareSDKExtension
  8. BIN iOSDemo/SDK/ShareSDK/Support/Optional/ShareSDKUI.framework/Info.plist
  9. BIN iOSDemo/SDK/ShareSDK/Support/Optional/ShareSDKUI.framework/ShareSDKUI
  10. BIN iOSDemo/SDK/ShareSDK/Support/PlatformConnector/AliPayConnector.framework/AliPayConnector
  11. BIN iOSDemo/SDK/ShareSDK/Support/PlatformConnector/AliPayConnector.framework/Info.plist
  12. BIN iOSDemo/SDK/ShareSDK/Support/PlatformConnector/CopyConnector.framework/CopyConnector
  13. BIN iOSDemo/SDK/ShareSDK/Support/PlatformConnector/CopyConnector.framework/Info.plist
  14. BIN iOSDemo/SDK/ShareSDK/Support/PlatformConnector/DingTalkConnector.framework/DingTalkConnector
  15. BIN iOSDemo/SDK/ShareSDK/Support/PlatformConnector/DingTalkConnector.framework/Info.plist
  16. BIN iOSDemo/SDK/ShareSDK/Support/PlatformConnector/DropboxConnector.framework/DropboxConnector
  17. BIN iOSDemo/SDK/ShareSDK/Support/PlatformConnector/DropboxConnector.framework/Info.plist
  18. BIN iOSDemo/SDK/ShareSDK/Support/PlatformConnector/EvernoteConnector.framework/EvernoteConnector
  19. BIN iOSDemo/SDK/ShareSDK/Support/PlatformConnector/EvernoteConnector.framework/Info.plist
  20. BIN iOSDemo/SDK/ShareSDK/Support/PlatformConnector/FacebookConnector.framework/FacebookConnector
  21. BIN iOSDemo/SDK/ShareSDK/Support/PlatformConnector/FacebookConnector.framework/Info.plist
  22. BIN iOSDemo/SDK/ShareSDK/Support/PlatformConnector/GooglePlusConnector.framework/GooglePlusConnector
  23. BIN iOSDemo/SDK/ShareSDK/Support/PlatformConnector/GooglePlusConnector.framework/Info.plist
  24. BIN iOSDemo/SDK/ShareSDK/Support/PlatformConnector/InstagramConnector.framework/Info.plist
  25. BIN iOSDemo/SDK/ShareSDK/Support/PlatformConnector/InstagramConnector.framework/InstagramConnector
  26. BIN iOSDemo/SDK/ShareSDK/Support/PlatformConnector/InstapaperConnector.framework/Info.plist
  27. BIN iOSDemo/SDK/ShareSDK/Support/PlatformConnector/InstapaperConnector.framework/InstapaperConnector
  28. BIN iOSDemo/SDK/ShareSDK/Support/PlatformConnector/KakaoConnector.framework/Info.plist
  29. BIN iOSDemo/SDK/ShareSDK/Support/PlatformConnector/KakaoConnector.framework/KakaoConnector
  30. BIN iOSDemo/SDK/ShareSDK/Support/PlatformConnector/LineConnector.framework/Info.plist
  31. BIN iOSDemo/SDK/ShareSDK/Support/PlatformConnector/LineConnector.framework/LineConnector
  32. BIN iOSDemo/SDK/ShareSDK/Support/PlatformConnector/MailConnector.framework/Info.plist
  33. BIN iOSDemo/SDK/ShareSDK/Support/PlatformConnector/MailConnector.framework/MailConnector
  34. BIN iOSDemo/SDK/ShareSDK/Support/PlatformConnector/MeiPaiConnector.framework/Info.plist
  35. BIN iOSDemo/SDK/ShareSDK/Support/PlatformConnector/MeiPaiConnector.framework/MeiPaiConnector
  36. BIN iOSDemo/SDK/ShareSDK/Support/PlatformConnector/PrintConnector.framework/Info.plist
  37. BIN iOSDemo/SDK/ShareSDK/Support/PlatformConnector/PrintConnector.framework/PrintConnector
  38. BIN iOSDemo/SDK/ShareSDK/Support/PlatformConnector/QQConnector.framework/Info.plist
  39. BIN iOSDemo/SDK/ShareSDK/Support/PlatformConnector/QQConnector.framework/QQConnector
  40. BIN iOSDemo/SDK/ShareSDK/Support/PlatformConnector/RenrenConnector.framework/Info.plist
  41. BIN iOSDemo/SDK/ShareSDK/Support/PlatformConnector/RenrenConnector.framework/RenrenConnector
  42. BIN iOSDemo/SDK/ShareSDK/Support/PlatformConnector/SMSConnector.framework/Info.plist
  43. BIN iOSDemo/SDK/ShareSDK/Support/PlatformConnector/SMSConnector.framework/SMSConnector
  44. BIN iOSDemo/SDK/ShareSDK/Support/PlatformConnector/SinaWeiboConnector.framework/Info.plist
  45. BIN iOSDemo/SDK/ShareSDK/Support/PlatformConnector/SinaWeiboConnector.framework/SinaWeiboConnector
  46. BIN iOSDemo/SDK/ShareSDK/Support/PlatformConnector/TwitterConnector.framework/Info.plist
  47. BIN iOSDemo/SDK/ShareSDK/Support/PlatformConnector/TwitterConnector.framework/TwitterConnector
  48. BIN iOSDemo/SDK/ShareSDK/Support/PlatformConnector/WechatConnector.framework/Info.plist
  49. BIN iOSDemo/SDK/ShareSDK/Support/PlatformConnector/WechatConnector.framework/WechatConnector
  50. BIN iOSDemo/SDK/ShareSDK/Support/PlatformConnector/WhatsAppConnector.framework/Info.plist
  51. BIN iOSDemo/SDK/ShareSDK/Support/PlatformConnector/WhatsAppConnector.framework/WhatsAppConnector
  52. BIN iOSDemo/SDK/ShareSDK/Support/PlatformConnector/YiXinConnector.framework/Info.plist
  53. BIN iOSDemo/SDK/ShareSDK/Support/PlatformConnector/YiXinConnector.framework/YiXinConnector
  54. BIN iOSDemo/SDK/ShareSDK/Support/PlatformConnector/YouTubeConnector.framework/Info.plist
  55. BIN iOSDemo/SDK/ShareSDK/Support/PlatformConnector/YouTubeConnector.framework/YouTubeConnector
  56. +12 −0 iOSDemo/SDK/ShareSDK/Support/PlatformSDK/WeChatSDK/README.txt
  57. +28 −1 iOSDemo/SDK/ShareSDK/Support/PlatformSDK/WeChatSDK/WXApi.h
  58. +75 −3 iOSDemo/SDK/ShareSDK/Support/PlatformSDK/WeChatSDK/WXApiObject.h
  59. BIN iOSDemo/SDK/ShareSDK/Support/PlatformSDK/WeChatSDK/libWeChatSDK.a
  60. +1 −1 iOSDemo/SDK/ShareSDK/Support/Required/ShareSDK.bundle/ScriptCore/NativeExt.js
  61. +1 −1 iOSDemo/SDK/ShareSDK/Support/Required/ShareSDK.bundle/ScriptCore/platforms/WeChat.js
  62. BIN iOSDemo/SDK/ShareSDK/Support/Required/ShareSDKConnector.framework/Info.plist
  63. BIN iOSDemo/SDK/ShareSDK/Support/Required/ShareSDKConnector.framework/ShareSDKConnector
@@ -251,7 +251,30 @@
path:(NSString *)path
thumbImage:(id)thumbImage
userName:(NSString *)userName
forPlatformSubType:(SSDKPlatformType)platformSubType;
forPlatformSubType:(SSDKPlatformType)platformSubType __deprecated_msg("discard form v4.0.7");
/**
v4.0.7 为微信小程序分享增加
@param title 标题
@param description 详细说明
@param webpageUrl 网址(6.5.6以下版本微信会自动转化为分享链接 必填)
@param path 跳转到页面路径
@param thumbImage 缩略图 (必填)
@param userName 小程序的userName (必填)
@param withShareTicket 是否使用带 shareTicket 的转发
@param type 分享小程序的版本(0-正式,1-开发,2-体验)
@param platformSubType 分享自平台 微信小程序暂只支持 SSDKPlatformSubTypeWechatSession(微信好友分享)
*/
- (void)SSDKSetupWeChatMiniProgramShareParamsByTitle:(NSString *)title
description:(NSString *)description
webpageUrl:(NSURL *)webpageUrl
path:(NSString *)path
thumbImage:(id)thumbImage
userName:(NSString *)userName
withShareTicket:(BOOL)withShareTicket
miniProgramType:(NSUInteger)type
forPlatformSubType:(SSDKPlatformType)platformSubType;
/**
View
Binary file not shown.
View
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1,4 +1,16 @@
重要!
SDK1.8.1
1. SDK打开小程序支持指定版本(体验,开发,正式版)
2. SDK分享小程序支持指定版本(体验,开发,正式版)
3. SDK支持输出log日志
SDK1.8.0
1. SDK支持打开小程序
2. SDK分享小程序支持shareTicket
SDK1.7.9
1. SDK订阅一次性消息
SDK1.7.8
1 SDK分享小程序支持大图
@@ -39,7 +39,13 @@
@end
#pragma mark - WXApiLogDelegate
@protocol WXApiLogDelegate <NSObject>
-(void) onLog:(NSString*)log logLevel:(WXLogLevel)level;
@end
#pragma mark - WXApi
@@ -136,7 +142,7 @@
/*! @brief 发送请求到微信,等待微信返回onResp
*
* 函数调用后,会切换到微信的界面。第三方应用程序等待微信返回onResp。微信在异步处理完成后一定会调用onResp。支持以下类型
* SendAuthReq、SendMessageToWXReq等
* SendAuthReq、SendMessageToWXReq、PayReq等
* @param req 具体的发送请求,在调用函数后,请自己释放。
* @return 成功返回YES,失败返回NO。
*/
@@ -163,4 +169,25 @@
+(BOOL) sendResp:(BaseResp*)resp;
/*! @brief WXApi的成员函数,接受微信的log信息。byBlock
注意1:SDK会强引用这个block,注意不要导致内存泄漏,注意不要导致内存泄漏
注意2:调用过一次startLog by block之后,如果再调用一次任意方式的startLoad,会释放上一次logBlock,不再回调上一个logBlock
*
* @param level 打印log的级别
* @param logBlock 打印log的回调block
*/
+(void) startLogByLevel:(WXLogLevel)level logBlock:(WXLogBolock)logBlock;
/*! @brief WXApi的成员函数,接受微信的log信息。byDelegate
注意1:sdk会弱引用这个delegate,这里可加任意对象为代理,不需要与WXApiDelegate同一个对象
注意2:调用过一次startLog by delegate之后,再调用一次任意方式的startLoad,不会再回调上一个logDelegate对象
* @param level 打印log的级别
* @param logDelegate 打印log的回调代理,
*/
+ (void)startLogByLevel:(WXLogLevel)level logDelegate:(id<WXApiLogDelegate>)logDelegate;
/*! @brief 停止打印log,会清理block或者delegate为空,释放block
* @param
*/
+ (void)stopLog;
@end
@@ -8,7 +8,6 @@
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
/*! @brief 错误码
*
*/
@@ -48,7 +47,14 @@ enum WXBizProfileType{
WXBizProfileType_Device = 1, //**< 硬件公众号 */
};
/*! @brief 分享小程序类型
*
*/
typedef NS_ENUM(NSUInteger, WXMiniProgramType){
WXMiniProgramTypeRelease = 0, //**< 正式版 */
WXMiniProgramTypeTest = 1, //**< 开发版 */
WXMiniProgramTypePreview = 2, //**< 体验版 */
};
/*! @brief 跳转mp网页类型
*
@@ -82,6 +88,20 @@ typedef NS_ENUM(UInt64, enAppSupportContentFlag)
MMAPP_SUPPORT_PDF = 0x1000, // pdf
};
/*! @brief log的级别
*
*/
typedef NS_ENUM(NSInteger,WXLogLevel){
WXLogLevelNormal = 0, // 打印日常的日志
WXLogLevelDetail = 1, // 打印详细的日志
};
/*! @brief 打印回调的block
*
*/
typedef void(^WXLogBolock)(NSString * log);
#pragma mark - BaseReq
/*! @brief 该类为微信终端SDK所有请求类的基类
*
@@ -117,7 +137,6 @@ typedef NS_ENUM(UInt64, enAppSupportContentFlag)
@class WXMediaMessage;
#pragma mark - SendAuthReq
/*! @brief 第三方程序向微信终端请求认证的消息结构
*
@@ -503,6 +522,27 @@ typedef NS_ENUM(UInt64, enAppSupportContentFlag)
@property (nonatomic, strong) NSArray* cardAry;
@end
#pragma mark - WXSubscriptionReq
@interface WXSubscribeMsgReq : BaseReq
@property (nonatomic, assign) UInt32 scene;
@property (nonatomic, strong) NSString * templateId;
@property (nonatomic, strong) NSString * reserved;
@end
#pragma mark - WXSubscriptionReq
@interface WXSubscribeMsgResp : BaseResp
@property (nonatomic, strong) NSString *templateId;
@property (nonatomic, assign) UInt32 scene;
@property (nonatomic, strong) NSString *action;
@property (nonatomic, strong) NSString * reserved;
@property (nonatomic, strong) NSString * openId;
@end
#pragma mark - WXMediaMessage
#pragma mark - WXMediaMessage
/*! @brief 多媒体消息结构体
@@ -776,8 +816,40 @@ typedef NS_ENUM(UInt64, enAppSupportContentFlag)
@property (nonatomic, strong) NSData *hdImageData; // 小程序新版本的预览图 128k
@property (nonatomic, assign) BOOL withShareTicket; //是否使用带 shareTicket 的转发
@property (nonatomic, assign) WXMiniProgramType miniProgramType; // 分享小程序的版本(正式,开发,体验)
@end
#pragma mark - WXLaunchMiniProgramReq
/*! @brief WXLaunchMiniProgramReq对象, 可实现通过sdk拉起微信小程序
*
* @note 返回的WXLaunchMiniProgramReq对象是自动释放的
*/
@interface WXLaunchMiniProgramReq : BaseReq
+(WXLaunchMiniProgramReq *) object;
@property (nonatomic, strong) NSString *userName; //拉起的小程序的username
@property (nonatomic, strong) NSString *path; //拉起小程序页面的路径,不填默认拉起小程序首页
@property (nonatomic, assign) WXMiniProgramType miniProgramType; //拉起小程序的类型
@end
#pragma mark - WXLaunchMiniProgramResp
/*! @brief 微信终端向第三方程序返回的WXLaunchMiniProgramReq处理结果。
*
* 第三方程序向微信终端发送WXLaunchMiniProgramReq后,微信发送回来的处理结果,该结果用WXLaunchMiniProgramResp表示。
*/
@interface WXLaunchMiniProgramResp : BaseResp
@property (nonatomic, retain) NSString *extMsg;
@end
#pragma mark - WXTextObject
/*! @brief 多媒体消息中包含的文本数据对象
*
Binary file not shown.
Oops, something went wrong.

0 comments on commit 04c58cb

Please sign in to comment.