Commit f9dfe1ee cgx

更新友盟分享SDK

1 个父辈 fe5495de
正在显示 81 个修改的文件 包含 441 行增加258 行删除
......@@ -15,14 +15,6 @@
D013CD3228582C1900F920B4 /* UMAPM.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D013CD1928582C1900F920B4 /* UMAPM.framework */; };
D013CD3328582C1900F920B4 /* UMCommon.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D013CD1C28582C1900F920B4 /* UMCommon.framework */; };
D013CD3428582C1900F920B4 /* UMDevice.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D013CD1D28582C1900F920B4 /* UMDevice.framework */; };
D013CD3528582C1900F920B4 /* UMShare.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D013CD2028582C1900F920B4 /* UMShare.framework */; };
D013CD3628582C1900F920B4 /* libSocialWeChat.a in Frameworks */ = {isa = PBXBuildFile; fileRef = D013CD2328582C1900F920B4 /* libSocialWeChat.a */; };
D013CD3728582C1900F920B4 /* libSocialOfficialWeChat.a in Frameworks */ = {isa = PBXBuildFile; fileRef = D013CD2628582C1900F920B4 /* libSocialOfficialWeChat.a */; };
D013CD3828582C1900F920B4 /* README.txt in Resources */ = {isa = PBXBuildFile; fileRef = D013CD2928582C1900F920B4 /* README.txt */; };
D013CD3928582C1900F920B4 /* libWeChatSDK.a in Frameworks */ = {isa = PBXBuildFile; fileRef = D013CD2B28582C1900F920B4 /* libWeChatSDK.a */; };
D013CD3A28582C1900F920B4 /* libSocialQQ.a in Frameworks */ = {isa = PBXBuildFile; fileRef = D013CD2E28582C1900F920B4 /* libSocialQQ.a */; };
D013CD3B28582C1900F920B4 /* TencentOpenApi_IOS_Bundle.bundle in Resources */ = {isa = PBXBuildFile; fileRef = D013CD3028582C1900F920B4 /* TencentOpenApi_IOS_Bundle.bundle */; };
D013CD3C28582C1900F920B4 /* TencentOpenAPI.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D013CD3128582C1900F920B4 /* TencentOpenAPI.framework */; };
D013CD402858373E00F920B4 /* DataStatisticsUtil.m in Sources */ = {isa = PBXBuildFile; fileRef = D013CD3F2858373E00F920B4 /* DataStatisticsUtil.m */; };
D013CD4528585C7800F920B4 /* UMCommonLog.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D013CD4328585C7800F920B4 /* UMCommonLog.framework */; };
D013CD4628585C7800F920B4 /* UMCommonLog.bundle in Resources */ = {isa = PBXBuildFile; fileRef = D013CD4428585C7800F920B4 /* UMCommonLog.bundle */; };
......@@ -209,6 +201,14 @@
D0F808FE280421C20097899F /* UnityGameController.m in Sources */ = {isa = PBXBuildFile; fileRef = D0F808FD280421C20097899F /* UnityGameController.m */; };
D0F80907280431100097899F /* UILabel+Extras.m in Sources */ = {isa = PBXBuildFile; fileRef = D0F80906280431100097899F /* UILabel+Extras.m */; };
D0F82286280C44D10039F586 /* SetTableView.m in Sources */ = {isa = PBXBuildFile; fileRef = D0F82285280C44D10039F586 /* SetTableView.m */; };
D0F963CA285C51E100D75CD7 /* UMShare.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D0F963B8285C51E100D75CD7 /* UMShare.framework */; };
D0F963CB285C51E100D75CD7 /* libSocialWeChat.a in Frameworks */ = {isa = PBXBuildFile; fileRef = D0F963BB285C51E100D75CD7 /* libSocialWeChat.a */; };
D0F963CC285C51E100D75CD7 /* libSocialOfficialWeChat.a in Frameworks */ = {isa = PBXBuildFile; fileRef = D0F963BE285C51E100D75CD7 /* libSocialOfficialWeChat.a */; };
D0F963CD285C51E100D75CD7 /* README.txt in Resources */ = {isa = PBXBuildFile; fileRef = D0F963C1285C51E100D75CD7 /* README.txt */; };
D0F963CE285C51E100D75CD7 /* libWeChatSDK.a in Frameworks */ = {isa = PBXBuildFile; fileRef = D0F963C3285C51E100D75CD7 /* libWeChatSDK.a */; };
D0F963CF285C51E100D75CD7 /* libSocialQQ.a in Frameworks */ = {isa = PBXBuildFile; fileRef = D0F963C6285C51E100D75CD7 /* libSocialQQ.a */; };
D0F963D0285C51E100D75CD7 /* TencentOpenApi_IOS_Bundle.bundle in Resources */ = {isa = PBXBuildFile; fileRef = D0F963C8285C51E100D75CD7 /* TencentOpenApi_IOS_Bundle.bundle */; };
D0F963D1285C51E100D75CD7 /* TencentOpenAPI.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D0F963C9285C51E100D75CD7 /* TencentOpenAPI.framework */; };
D0F9AC542826563400FD7A3B /* MusicPlayerController.m in Sources */ = {isa = PBXBuildFile; fileRef = D0F9AC532826563400FD7A3B /* MusicPlayerController.m */; };
D0F9AC582826602400FD7A3B /* SPButton.m in Sources */ = {isa = PBXBuildFile; fileRef = D0F9AC572826602400FD7A3B /* SPButton.m */; };
D0F9AC5E282660CC00FD7A3B /* MusicPlayerView.m in Sources */ = {isa = PBXBuildFile; fileRef = D0F9AC5D282660CC00FD7A3B /* MusicPlayerView.m */; };
......@@ -253,19 +253,6 @@
D013CD1928582C1900F920B4 /* UMAPM.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = UMAPM.framework; sourceTree = "<group>"; };
D013CD1C28582C1900F920B4 /* UMCommon.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = UMCommon.framework; sourceTree = "<group>"; };
D013CD1D28582C1900F920B4 /* UMDevice.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = UMDevice.framework; sourceTree = "<group>"; };
D013CD2028582C1900F920B4 /* UMShare.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = UMShare.framework; sourceTree = "<group>"; };
D013CD2328582C1900F920B4 /* libSocialWeChat.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; path = libSocialWeChat.a; sourceTree = "<group>"; };
D013CD2428582C1900F920B4 /* UMSocialWechatHandler.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = UMSocialWechatHandler.h; sourceTree = "<group>"; };
D013CD2628582C1900F920B4 /* libSocialOfficialWeChat.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; path = libSocialOfficialWeChat.a; sourceTree = "<group>"; };
D013CD2728582C1900F920B4 /* WXApi.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WXApi.h; sourceTree = "<group>"; };
D013CD2828582C1900F920B4 /* WXApiObject.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WXApiObject.h; sourceTree = "<group>"; };
D013CD2928582C1900F920B4 /* README.txt */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = README.txt; sourceTree = "<group>"; };
D013CD2A28582C1900F920B4 /* WechatAuthSDK.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WechatAuthSDK.h; sourceTree = "<group>"; };
D013CD2B28582C1900F920B4 /* libWeChatSDK.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; path = libWeChatSDK.a; sourceTree = "<group>"; };
D013CD2D28582C1900F920B4 /* UMSocialQQHandler.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = UMSocialQQHandler.h; sourceTree = "<group>"; };
D013CD2E28582C1900F920B4 /* libSocialQQ.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; path = libSocialQQ.a; sourceTree = "<group>"; };
D013CD3028582C1900F920B4 /* TencentOpenApi_IOS_Bundle.bundle */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.plug-in"; path = TencentOpenApi_IOS_Bundle.bundle; sourceTree = "<group>"; };
D013CD3128582C1900F920B4 /* TencentOpenAPI.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = TencentOpenAPI.framework; sourceTree = "<group>"; };
D013CD3E2858373E00F920B4 /* DataStatisticsUtil.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = DataStatisticsUtil.h; sourceTree = "<group>"; };
D013CD3F2858373E00F920B4 /* DataStatisticsUtil.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = DataStatisticsUtil.m; sourceTree = "<group>"; };
D013CD4328585C7800F920B4 /* UMCommonLog.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = UMCommonLog.framework; sourceTree = "<group>"; };
......@@ -631,6 +618,19 @@
D0F80906280431100097899F /* UILabel+Extras.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = "UILabel+Extras.m"; sourceTree = "<group>"; };
D0F82284280C44D10039F586 /* SetTableView.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = SetTableView.h; sourceTree = "<group>"; };
D0F82285280C44D10039F586 /* SetTableView.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = SetTableView.m; sourceTree = "<group>"; };
D0F963B8285C51E100D75CD7 /* UMShare.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = UMShare.framework; sourceTree = "<group>"; };
D0F963BB285C51E100D75CD7 /* libSocialWeChat.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; path = libSocialWeChat.a; sourceTree = "<group>"; };
D0F963BC285C51E100D75CD7 /* UMSocialWechatHandler.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = UMSocialWechatHandler.h; sourceTree = "<group>"; };
D0F963BE285C51E100D75CD7 /* libSocialOfficialWeChat.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; path = libSocialOfficialWeChat.a; sourceTree = "<group>"; };
D0F963BF285C51E100D75CD7 /* WXApi.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WXApi.h; sourceTree = "<group>"; };
D0F963C0285C51E100D75CD7 /* WXApiObject.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WXApiObject.h; sourceTree = "<group>"; };
D0F963C1285C51E100D75CD7 /* README.txt */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = README.txt; sourceTree = "<group>"; };
D0F963C2285C51E100D75CD7 /* WechatAuthSDK.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WechatAuthSDK.h; sourceTree = "<group>"; };
D0F963C3285C51E100D75CD7 /* libWeChatSDK.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; path = libWeChatSDK.a; sourceTree = "<group>"; };
D0F963C5285C51E100D75CD7 /* UMSocialQQHandler.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = UMSocialQQHandler.h; sourceTree = "<group>"; };
D0F963C6285C51E100D75CD7 /* libSocialQQ.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; path = libSocialQQ.a; sourceTree = "<group>"; };
D0F963C8285C51E100D75CD7 /* TencentOpenApi_IOS_Bundle.bundle */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.plug-in"; path = TencentOpenApi_IOS_Bundle.bundle; sourceTree = "<group>"; };
D0F963C9285C51E100D75CD7 /* TencentOpenAPI.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = TencentOpenAPI.framework; sourceTree = "<group>"; };
D0F9AC522826563400FD7A3B /* MusicPlayerController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = MusicPlayerController.h; sourceTree = "<group>"; };
D0F9AC532826563400FD7A3B /* MusicPlayerController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = MusicPlayerController.m; sourceTree = "<group>"; };
D0F9AC562826602400FD7A3B /* SPButton.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SPButton.h; sourceTree = "<group>"; };
......@@ -667,18 +667,18 @@
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
D013CD3A28582C1900F920B4 /* libSocialQQ.a in Frameworks */,
D013CD3428582C1900F920B4 /* UMDevice.framework in Frameworks */,
D0F963D1285C51E100D75CD7 /* TencentOpenAPI.framework in Frameworks */,
D013CD3228582C1900F920B4 /* UMAPM.framework in Frameworks */,
D013CD3928582C1900F920B4 /* libWeChatSDK.a in Frameworks */,
D0F963CF285C51E100D75CD7 /* libSocialQQ.a in Frameworks */,
D0F963CC285C51E100D75CD7 /* libSocialOfficialWeChat.a in Frameworks */,
D013CD3328582C1900F920B4 /* UMCommon.framework in Frameworks */,
D013CD3728582C1900F920B4 /* libSocialOfficialWeChat.a in Frameworks */,
D0F963CE285C51E100D75CD7 /* libWeChatSDK.a in Frameworks */,
D013CD4528585C7800F920B4 /* UMCommonLog.framework in Frameworks */,
D013CD3628582C1900F920B4 /* libSocialWeChat.a in Frameworks */,
D013CD3C28582C1900F920B4 /* TencentOpenAPI.framework in Frameworks */,
D013CD3528582C1900F920B4 /* UMShare.framework in Frameworks */,
39CC172FB610DA5F29120B56 /* Pods_DreamSleep.framework in Frameworks */,
D07C432C285AE07700A6676D /* UnityFramework.framework in Frameworks */,
D0F963CB285C51E100D75CD7 /* libSocialWeChat.a in Frameworks */,
D0F963CA285C51E100D75CD7 /* UMShare.framework in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
......@@ -702,7 +702,7 @@
isa = PBXGroup;
children = (
D013CD1728582C1900F920B4 /* apm */,
D013CD1E28582C1900F920B4 /* share */,
D0F963B6285C51E100D75CD7 /* share */,
D013CD1A28582C1900F920B4 /* common */,
D013CD4128585C7800F920B4 /* umcommonlog */,
);
......@@ -742,74 +742,6 @@
path = common_ios_7.3.7;
sourceTree = "<group>";
};
D013CD1E28582C1900F920B4 /* share */ = {
isa = PBXGroup;
children = (
D013CD1F28582C1900F920B4 /* share_ios_6.10.4 */,
);
path = share;
sourceTree = "<group>";
};
D013CD1F28582C1900F920B4 /* share_ios_6.10.4 */ = {
isa = PBXGroup;
children = (
D013CD2028582C1900F920B4 /* UMShare.framework */,
D013CD2128582C1900F920B4 /* SocialLibraries */,
);
path = share_ios_6.10.4;
sourceTree = "<group>";
};
D013CD2128582C1900F920B4 /* SocialLibraries */ = {
isa = PBXGroup;
children = (
D013CD2228582C1900F920B4 /* WeChat */,
D013CD2C28582C1900F920B4 /* QQ */,
);
path = SocialLibraries;
sourceTree = "<group>";
};
D013CD2228582C1900F920B4 /* WeChat */ = {
isa = PBXGroup;
children = (
D013CD2328582C1900F920B4 /* libSocialWeChat.a */,
D013CD2428582C1900F920B4 /* UMSocialWechatHandler.h */,
D013CD2528582C1900F920B4 /* WechatSDK */,
);
path = WeChat;
sourceTree = "<group>";
};
D013CD2528582C1900F920B4 /* WechatSDK */ = {
isa = PBXGroup;
children = (
D013CD2628582C1900F920B4 /* libSocialOfficialWeChat.a */,
D013CD2728582C1900F920B4 /* WXApi.h */,
D013CD2828582C1900F920B4 /* WXApiObject.h */,
D013CD2928582C1900F920B4 /* README.txt */,
D013CD2A28582C1900F920B4 /* WechatAuthSDK.h */,
D013CD2B28582C1900F920B4 /* libWeChatSDK.a */,
);
path = WechatSDK;
sourceTree = "<group>";
};
D013CD2C28582C1900F920B4 /* QQ */ = {
isa = PBXGroup;
children = (
D013CD2D28582C1900F920B4 /* UMSocialQQHandler.h */,
D013CD2E28582C1900F920B4 /* libSocialQQ.a */,
D013CD2F28582C1900F920B4 /* QQSDK */,
);
path = QQ;
sourceTree = "<group>";
};
D013CD2F28582C1900F920B4 /* QQSDK */ = {
isa = PBXGroup;
children = (
D013CD3028582C1900F920B4 /* TencentOpenApi_IOS_Bundle.bundle */,
D013CD3128582C1900F920B4 /* TencentOpenAPI.framework */,
);
path = QQSDK;
sourceTree = "<group>";
};
D013CD3D285836CE00F920B4 /* EventTrack */ = {
isa = PBXGroup;
children = (
......@@ -1627,6 +1559,74 @@
path = UnityGame;
sourceTree = "<group>";
};
D0F963B6285C51E100D75CD7 /* share */ = {
isa = PBXGroup;
children = (
D0F963B7285C51E100D75CD7 /* share_ios_6.10.5 */,
);
path = share;
sourceTree = "<group>";
};
D0F963B7285C51E100D75CD7 /* share_ios_6.10.5 */ = {
isa = PBXGroup;
children = (
D0F963B8285C51E100D75CD7 /* UMShare.framework */,
D0F963B9285C51E100D75CD7 /* SocialLibraries */,
);
path = share_ios_6.10.5;
sourceTree = "<group>";
};
D0F963B9285C51E100D75CD7 /* SocialLibraries */ = {
isa = PBXGroup;
children = (
D0F963BA285C51E100D75CD7 /* WeChat */,
D0F963C4285C51E100D75CD7 /* QQ */,
);
path = SocialLibraries;
sourceTree = "<group>";
};
D0F963BA285C51E100D75CD7 /* WeChat */ = {
isa = PBXGroup;
children = (
D0F963BB285C51E100D75CD7 /* libSocialWeChat.a */,
D0F963BC285C51E100D75CD7 /* UMSocialWechatHandler.h */,
D0F963BD285C51E100D75CD7 /* WechatSDK */,
);
path = WeChat;
sourceTree = "<group>";
};
D0F963BD285C51E100D75CD7 /* WechatSDK */ = {
isa = PBXGroup;
children = (
D0F963BE285C51E100D75CD7 /* libSocialOfficialWeChat.a */,
D0F963BF285C51E100D75CD7 /* WXApi.h */,
D0F963C0285C51E100D75CD7 /* WXApiObject.h */,
D0F963C1285C51E100D75CD7 /* README.txt */,
D0F963C2285C51E100D75CD7 /* WechatAuthSDK.h */,
D0F963C3285C51E100D75CD7 /* libWeChatSDK.a */,
);
path = WechatSDK;
sourceTree = "<group>";
};
D0F963C4285C51E100D75CD7 /* QQ */ = {
isa = PBXGroup;
children = (
D0F963C5285C51E100D75CD7 /* UMSocialQQHandler.h */,
D0F963C6285C51E100D75CD7 /* libSocialQQ.a */,
D0F963C7285C51E100D75CD7 /* QQSDK */,
);
path = QQ;
sourceTree = "<group>";
};
D0F963C7285C51E100D75CD7 /* QQSDK */ = {
isa = PBXGroup;
children = (
D0F963C8285C51E100D75CD7 /* TencentOpenApi_IOS_Bundle.bundle */,
D0F963C9285C51E100D75CD7 /* TencentOpenAPI.framework */,
);
path = QQSDK;
sourceTree = "<group>";
};
D0F9AC552826602400FD7A3B /* SPButton */ = {
isa = PBXGroup;
children = (
......@@ -1867,14 +1867,14 @@
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
D013CD3B28582C1900F920B4 /* TencentOpenApi_IOS_Bundle.bundle in Resources */,
D0F963D0285C51E100D75CD7 /* TencentOpenApi_IOS_Bundle.bundle in Resources */,
D0C09ED728007D9100709D4C /* relax_normal_lottie.json in Resources */,
D01C9D6E28168BFC00163567 /* WSDatePickerView.xib in Resources */,
D0C09ED828007D9100709D4C /* 478_lottie.json in Resources */,
D0FAC425281B817D00D4B859 /* GKPhotoBrowser.bundle in Resources */,
D04B3DB327F6F6070022F8DF /* Home.storyboard in Resources */,
D020CE1F280D951400E7E82F /* invite_friend.webp in Resources */,
D013CD3828582C1900F920B4 /* README.txt in Resources */,
D0F963CD285C51E100D75CD7 /* README.txt in Resources */,
D07F9DE927F4683B0036372F /* DKColorTable.txt in Resources */,
D0B5ECB427F2D9E0003EDFE3 /* LaunchScreen.storyboard in Resources */,
D0B5ECB127F2D9E0003EDFE3 /* Assets.xcassets in Resources */,
......@@ -2289,6 +2289,8 @@
"$(PROJECT_DIR)/DreamSleep/Vendors/UMSDK/share/share_ios_6.10.4/SocialLibraries/QQ/QQSDK",
"$(PROJECT_DIR)/DreamSleep/Vendors/UMSDK/umcommonlog/umcommonlog_ios_2.0.0",
"$(PROJECT_DIR)/unity_build_framework",
"$(PROJECT_DIR)/DreamSleep/Vendors/UMSDK/share/share_ios_6.10.5",
"$(PROJECT_DIR)/DreamSleep/Vendors/UMSDK/share/share_ios_6.10.5/SocialLibraries/QQ/QQSDK",
);
GCC_PREFIX_HEADER = "${SRCROOT}/DreamSleep/Basement/DSConfig/PrefixHeader.pch";
GCC_PREPROCESSOR_DEFINITIONS = "$(inherited)";
......@@ -2318,6 +2320,9 @@
"$(PROJECT_DIR)/DreamSleep/Vendors/UMSDK/share/share_ios_6.10.4/SocialLibraries/WeChat",
"$(PROJECT_DIR)/DreamSleep/Vendors/UMSDK/share/share_ios_6.10.4/SocialLibraries/WeChat/WechatSDK",
"$(PROJECT_DIR)/DreamSleep/Vendors/UMSDK/share/share_ios_6.10.4/SocialLibraries/QQ",
"$(PROJECT_DIR)/DreamSleep/Vendors/UMSDK/share/share_ios_6.10.5/SocialLibraries/WeChat",
"$(PROJECT_DIR)/DreamSleep/Vendors/UMSDK/share/share_ios_6.10.5/SocialLibraries/WeChat/WechatSDK",
"$(PROJECT_DIR)/DreamSleep/Vendors/UMSDK/share/share_ios_6.10.5/SocialLibraries/QQ",
);
MARKETING_VERSION = 1.0.3;
ONLY_ACTIVE_ARCH = YES;
......@@ -2358,6 +2363,8 @@
"$(PROJECT_DIR)/DreamSleep/Vendors/UMSDK/share/share_ios_6.10.4/SocialLibraries/QQ/QQSDK",
"$(PROJECT_DIR)/DreamSleep/Vendors/UMSDK/umcommonlog/umcommonlog_ios_2.0.0",
"$(PROJECT_DIR)/unity_build_framework",
"$(PROJECT_DIR)/DreamSleep/Vendors/UMSDK/share/share_ios_6.10.5",
"$(PROJECT_DIR)/DreamSleep/Vendors/UMSDK/share/share_ios_6.10.5/SocialLibraries/QQ/QQSDK",
);
GCC_PREFIX_HEADER = "${SRCROOT}/DreamSleep/Basement/DSConfig/PrefixHeader.pch";
GCC_PREPROCESSOR_DEFINITIONS = "$(inherited)";
......@@ -2387,6 +2394,9 @@
"$(PROJECT_DIR)/DreamSleep/Vendors/UMSDK/share/share_ios_6.10.4/SocialLibraries/WeChat",
"$(PROJECT_DIR)/DreamSleep/Vendors/UMSDK/share/share_ios_6.10.4/SocialLibraries/WeChat/WechatSDK",
"$(PROJECT_DIR)/DreamSleep/Vendors/UMSDK/share/share_ios_6.10.4/SocialLibraries/QQ",
"$(PROJECT_DIR)/DreamSleep/Vendors/UMSDK/share/share_ios_6.10.5/SocialLibraries/WeChat",
"$(PROJECT_DIR)/DreamSleep/Vendors/UMSDK/share/share_ios_6.10.5/SocialLibraries/WeChat/WechatSDK",
"$(PROJECT_DIR)/DreamSleep/Vendors/UMSDK/share/share_ios_6.10.5/SocialLibraries/QQ",
);
MARKETING_VERSION = 1.0.3;
ONLY_ACTIVE_ARCH = YES;
......@@ -2490,6 +2500,8 @@
"$(PROJECT_DIR)/DreamSleep/Vendors/UMSDK/share/share_ios_6.10.4/SocialLibraries/QQ/QQSDK",
"$(PROJECT_DIR)/DreamSleep/Vendors/UMSDK/umcommonlog/umcommonlog_ios_2.0.0",
"$(PROJECT_DIR)/unity_build_framework",
"$(PROJECT_DIR)/DreamSleep/Vendors/UMSDK/share/share_ios_6.10.5",
"$(PROJECT_DIR)/DreamSleep/Vendors/UMSDK/share/share_ios_6.10.5/SocialLibraries/QQ/QQSDK",
);
GCC_PREFIX_HEADER = "${SRCROOT}/DreamSleep/Basement/DSConfig/PrefixHeader.pch";
GCC_PREPROCESSOR_DEFINITIONS = "$(inherited)";
......@@ -2519,6 +2531,9 @@
"$(PROJECT_DIR)/DreamSleep/Vendors/UMSDK/share/share_ios_6.10.4/SocialLibraries/WeChat",
"$(PROJECT_DIR)/DreamSleep/Vendors/UMSDK/share/share_ios_6.10.4/SocialLibraries/WeChat/WechatSDK",
"$(PROJECT_DIR)/DreamSleep/Vendors/UMSDK/share/share_ios_6.10.4/SocialLibraries/QQ",
"$(PROJECT_DIR)/DreamSleep/Vendors/UMSDK/share/share_ios_6.10.5/SocialLibraries/WeChat",
"$(PROJECT_DIR)/DreamSleep/Vendors/UMSDK/share/share_ios_6.10.5/SocialLibraries/WeChat/WechatSDK",
"$(PROJECT_DIR)/DreamSleep/Vendors/UMSDK/share/share_ios_6.10.5/SocialLibraries/QQ",
);
MARKETING_VERSION = 1.0.3;
ONLY_ACTIVE_ARCH = YES;
......
......@@ -17,7 +17,7 @@
@implementation SetModel
+ (NSArray *)getAllSetDatas {
NSArray *titles = @[@"给我评分", @"用户协议", @"隐私政策", @"清除缓存"];
NSArray *titles = @[@"当前小梦睡眠版本", @"用户协议", @"隐私政策", @"清除缓存"];
NSString *version = [NSString stringWithFormat:@"V %@", [[[NSBundle mainBundle] infoDictionary] objectForKey:@"CFBundleShortVersionString"]];
NSString *cacheSize = [DsCacheUtils getCacheSize];
NSArray *details = @[version, @"", @"", cacheSize];
......@@ -239,12 +239,15 @@
}
- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath {
if (indexPath.row == 0) { // 给我评分
NSString *evaluateStr = [NSString stringWithFormat: @"itms-apps://itunes.apple.com/app/id%@?action=write-review", AppSotreID];
NSURL *url = [NSURL URLWithString:evaluateStr];
if ([[UIApplication sharedApplication] canOpenURL:url]) {
[[UIApplication sharedApplication] openURL:url options:@{} completionHandler:nil];
}
if (indexPath.row == 0) {
/*
// 给我评分
NSString *evaluateStr = [NSString stringWithFormat: @"itms-apps://itunes.apple.com/app/id%@?action=write-review", AppSotreID];
NSURL *url = [NSURL URLWithString:evaluateStr];
if ([[UIApplication sharedApplication] canOpenURL:url]) {
[[UIApplication sharedApplication] openURL:url options:@{} completionHandler:nil];
}
*/
} else if (indexPath.row == 3) { // 清除缓存
[DsCacheUtils cleanCacheWithSuccess:^(BOOL success) {
}];
......
......@@ -11,6 +11,9 @@
typedef void (^sendResultBlock)(NSDictionary *result);
// 发送消息回调是否发送成功
typedef void(^QQApiInterfaceSendMessageResultBlock)(QQApiSendResultCode sendResultCode, NSString *message);
/**
\brief 处理来至QQ的请求及响应的回调协议
*/
......@@ -105,16 +108,27 @@ typedef void (^sendResultBlock)(NSDictionary *result);
/**
向手Q发起创建QQ频道的请求
\param req 请求的内容
\return 请求发送结果码
\param resultBlock 回调发送结果
\return void
*/
+ (QQApiSendResultCode)sendMessageToCreateQQGroupProWithReq:(QQBaseReq*)req;
+ (void)sendMessageToCreateQQGroupProWithMessageRequest:(SendMessageToQQReq *)messageRequest sendResultBlock:(QQApiInterfaceSendMessageResultBlock)sendResultBlock;
/**
向手Q发起加入QQ频道的请求
\param req 请求的内容
\return 请求发送结果码
\param resultBlock 回调发送结果
\return void
*/
+ (void)sendMessageToJoinQQGroupProWithMessageRequest:(SendMessageToQQReq *)messageRequest sendResultBlock:(QQApiInterfaceSendMessageResultBlock)sendResultBlock;
/**
向手Q发起查询QQ频道openID的请求
\param req 请求的内容
\param resultBlock 请求回调
*/
+ (QQApiSendResultCode)sendMessageToJoinQQGroupProWithReq:(QQBaseReq*)req;
+ (void)sendQueryQQGroupProInfo:(QQBaseReq *)req resultBlock:(sendResultBlock)resultBlock;
/**
向手Q发起组图分享到表情收藏
......@@ -213,6 +227,6 @@ typedef void (^sendResultBlock)(NSDictionary *result);
+ (void)setSwitchPrintLogToFile:(BOOL)on;
///日志文件目录
+ (NSString*)getLogFilePath;
+ (NSString *)getLogFilePath;
@end
......@@ -11,48 +11,48 @@
#import <Foundation/Foundation.h>
typedef NS_ENUM(NSInteger,QQApiSendResultCode) {
EQQAPISENDSUCESS = 0,
EQQAPIQQNOTINSTALLED = 1, //QQ未安装
EQQAPIQQNOTSUPPORTAPI = 2, // QQ api不支持
EQQAPIMESSAGETYPEINVALID = 3,
EQQAPIMESSAGECONTENTNULL = 4,
EQQAPIMESSAGECONTENTINVALID = 5,
EQQAPIAPPNOTREGISTED = 6,
EQQAPIAPPSHAREASYNC = 7,
EQQAPIQQNOTSUPPORTAPI_WITH_ERRORSHOW = 8, //QQ api不支持 && SDK显示error提示(已废弃)
EQQAPIMESSAGEARKCONTENTNULL = 9, //ark内容为空
EQQAPIMESSAGE_MINI_CONTENTNULL = 10, //小程序参数为空
EQQAPISENDFAILD = -1, //发送失败
EQQAPISHAREDESTUNKNOWN = -2, //未指定分享到QQ或TIM
EQQAPITIMSENDFAILD = -3, //发送失败
EQQAPITIMNOTINSTALLED = 11, //TIM未安装
EQQAPITIMNOTSUPPORTAPI = 12, // TIM api不支持
EQQAPI_INCOMING_PARAM_ERROR = 13, // 外部传参错误
EQQAPI_THIRD_APP_GROUP_ERROR_APP_NOT_AUTHORIZIED = 14, // APP未获得授权
EQQAPI_THIRD_APP_GROUP_ERROR_CGI_FAILED = 15, // CGI请求失败
EQQAPI_THIRD_APP_GROUP_ERROR_HAS_BINDED = 16, // 该组织已经绑定群聊
EQQAPI_THIRD_APP_GROUP_ERROR_NOT_BINDED = 17, // 该组织尚未绑定群聊
EQQAPI_THIRD_APP_GROUP_ERROR_HAS_UNBINDED = 18, //该组织已经解绑群聊
EQQAPIQZONENOTSUPPORTTEXT = 10000, //qzone分享不支持text类型分享
EQQAPIQZONENOTSUPPORTIMAGE = 10001, //qzone分享不支持image类型分享
EQQAPIVERSIONNEEDUPDATE = 10002, //当前QQ版本太低,需要更新至新版本才可以支持
ETIMAPIVERSIONNEEDUPDATE = 10004, //当前TIM版本太低,需要更新至新版本才可以支持
EAPPURLTYPESILLEGALITY = 20000, //(>=3.3.8)第三方APP的info.plist中UrlTypes字段存在QQ的UrlScheme
EQQAPI_ERROR_USER_NOT_AGREED_AUTHORIZATION = 30001, // 用户未同意隐私协议,用户同意隐私协议后,需要设置[TencentOAuth setIsUserAgreedAuthorization:YES];
typedef NS_ENUM(NSInteger, QQApiSendResultCode) {
EQQAPISENDSUCESS = 0,
EQQAPIQQNOTINSTALLED = 1, // QQ未安装
EQQAPIQQNOTSUPPORTAPI = 2, // QQ api不支持
EQQAPIMESSAGETYPEINVALID = 3,
EQQAPIMESSAGECONTENTNULL = 4,
EQQAPIMESSAGECONTENTINVALID = 5,
EQQAPIAPPNOTREGISTED = 6,
EQQAPIAPPSHAREASYNC = 7,
EQQAPIQQNOTSUPPORTAPI_WITH_ERRORSHOW = 8, // QQ api不支持 && SDK显示error提示(已废弃)
EQQAPIMESSAGEARKCONTENTNULL = 9, // ark内容为空
EQQAPIMESSAGE_MINI_CONTENTNULL = 10, // 小程序参数为空
EQQAPISENDFAILD = -1, // 发送失败
EQQAPISHAREDESTUNKNOWN = -2, // 未指定分享到QQ或TIM
EQQAPITIMSENDFAILD = -3, // 发送失败
EQQAPITIMNOTINSTALLED = 11, // TIM未安装
EQQAPITIMNOTSUPPORTAPI = 12, // TIM api不支持
EQQAPI_INCOMING_PARAM_ERROR = 13, // 外部传参错误
EQQAPI_THIRD_APP_GROUP_ERROR_APP_NOT_AUTHORIZIED = 14, // APP未获得授权
EQQAPI_THIRD_APP_GROUP_ERROR_CGI_FAILED = 15, // CGI请求失败
EQQAPI_THIRD_APP_GROUP_ERROR_HAS_BINDED = 16, // 该组织已经绑定群聊
EQQAPI_THIRD_APP_GROUP_ERROR_NOT_BINDED = 17, // 该组织尚未绑定群聊
EQQAPI_THIRD_APP_GROUP_ERROR_HAS_UNBINDED = 18, // 该组织已经解绑群聊
EQQAPIQZONENOTSUPPORTTEXT = 10000, // qzone分享不支持text类型分享
EQQAPIQZONENOTSUPPORTIMAGE = 10001, // qzone分享不支持image类型分享
EQQAPIVERSIONNEEDUPDATE = 10002, // 当前QQ版本太低,需要更新至新版本才可以支持
ETIMAPIVERSIONNEEDUPDATE = 10004, // 当前TIM版本太低,需要更新至新版本才可以支持
EAPPURLTYPESILLEGALITY = 20000, // (>=3.3.8)第三方APP的info.plist中UrlTypes字段存在QQ的UrlScheme
EQQAPI_ERROR_USER_NOT_AGREED_AUTHORIZATION = 30001, // 用户未同意隐私协议,用户同意隐私协议后,需要设置[TencentOAuth setIsUserAgreedAuthorization:YES];
};
#pragma mark - QQApiObject(分享对象类型)
// QQApiObject control flags
typedef NS_ENUM(NSUInteger,kQQAPICtrlFlag) {
kQQAPICtrlFlagQZoneShareOnStart = 0x01,
kQQAPICtrlFlagQZoneShareForbid = 0x02, //屏蔽好友选择器上的空间入口
kQQAPICtrlFlagQQShare = 0x04,
kQQAPICtrlFlagQQShareFavorites = 0x08, //收藏
kQQAPICtrlFlagQQShareDataline = 0x10, //数据线
kQQAPICtrlFlagQQShareEnableArk = 0x20, //支持ARK
kQQAPICtrlFlagQQShareEnableMiniProgram = 0x40, //支持小程序
kQQAPICtrlFlagQZoneShareOnStart = 0x01,
kQQAPICtrlFlagQZoneShareForbid = 0x02, //屏蔽好友选择器上的空间入口
kQQAPICtrlFlagQQShare = 0x04,
kQQAPICtrlFlagQQShareFavorites = 0x08, //收藏
kQQAPICtrlFlagQQShareDataline = 0x10, //数据线
kQQAPICtrlFlagQQShareEnableArk = 0x20, //支持ARK
kQQAPICtrlFlagQQShareEnableMiniProgram = 0x40, //支持小程序
};
// 分享到QQ或TIM
......@@ -63,10 +63,10 @@ typedef NS_ENUM(NSUInteger, ShareDestType) {
//小程序的类型
typedef NS_ENUM(NSUInteger, MiniProgramType) {
MiniProgramType_Develop=0, // 开发版
MiniProgramType_Test=1, // 测试版
MiniProgramType_Online=3, // 正式版,默认
MiniProgramType_Preview=4, // 预览版
MiniProgramType_Develop = 0, // 开发版
MiniProgramType_Test = 1, // 测试版
MiniProgramType_Online = 3, // 正式版,默认
MiniProgramType_Preview = 4, // 预览版
};
/// 打印回调的block
......@@ -76,13 +76,14 @@ typedef void(^QQApiLogBolock)(NSString *logStr);
/** \brief 所有在QQ及插件间发送的数据对象的根类。
*/
__attribute__((visibility("default"))) @interface QQApiObject : NSObject
@property(nonatomic, retain) NSString* title; ///< 标题,最长128个字符
@property(nonatomic, retain) NSString* description; ///<简要描述,最长512个字符
@property(nonatomic, retain) NSString* universalLink; ///(>=3.3.7)支持第三方传入在互联开放平台注册的universallink
@property(nonatomic, assign) uint64_t cflag;
@property (nonatomic, copy) NSString *title; ///< 标题,最长128个字符
@property (nonatomic, copy) NSString *description; ///<简要描述,最长512个字符
@property (nonatomic, copy) NSString *universalLink; ///(>=3.3.7)支持第三方传入在互联开放平台注册的universallink
@property (nonatomic, assign) uint64_t cflag;
//353新增两个字断给游戏侧使用,对齐微信sdk
@property(nonatomic, retain) NSString* tagName;
@property(nonatomic, retain) NSString* messageExt;
@property (nonatomic, copy) NSString *tagName;
@property (nonatomic, copy) NSString *messageExt;
/*
* 分享到QQ/TIM
* SDK根据是否安装对应客户端进行判断,判断顺序:QQ > TIM
......@@ -95,8 +96,8 @@ __attribute__((visibility("default"))) @interface QQApiObject : NSObject
/** \brief 支持Ark的根类。
*/
__attribute__((visibility("default"))) @interface ArkObject : NSObject
@property(nonatomic,retain) NSString* arkData; ///< 显示Ark所需的数据,json串,长度暂不限制
@property(nonatomic,assign) QQApiObject* qqApiObject; ///<原有老版本的QQApiObject
@property (nonatomic, copy) NSString *arkData; ///< 显示Ark所需的数据,json串,长度暂不限制
@property (nonatomic,assign) QQApiObject* qqApiObject; ///<原有老版本的QQApiObject
- (id)initWithData:(NSString *)arkData qqApiObject:(QQApiObject*)qqApiObject;
+ (id)objectWithData:(NSString *)arkData qqApiObject:(QQApiObject*)qqApiObject;
......@@ -105,24 +106,24 @@ __attribute__((visibility("default"))) @interface ArkObject : NSObject
#pragma mark QQ小程序
//分享小程序消息 - QQ 8.0.8
__attribute__((visibility("default"))) @interface QQApiMiniProgramObject : NSObject
@property(nonatomic,retain) QQApiObject* qqApiObject; //原有老版本的QQApiObject
@property(nonatomic,retain) NSString* miniAppID; //必填,小程序的AppId(注:必须在QQ互联平台中,将该小程序与分享的App绑定)
@property(nonatomic,retain) NSString* miniPath; //必填,小程序的展示路径
@property(nonatomic,retain) NSString* webpageUrl; //必填,兼容低版本的网页链接
@property(nonatomic,assign) MiniProgramType miniprogramType; //非必填,小程序的类型,默认正式版(3),可选测试版(1)、预览版(4)
@property (nonatomic, strong) QQApiObject* qqApiObject; //原有老版本的QQApiObject
@property (nonatomic, copy) NSString *miniAppID; //必填,小程序的AppId(注:必须在QQ互联平台中,将该小程序与分享的App绑定)
@property (nonatomic, copy) NSString *miniPath; //必填,小程序的展示路径
@property (nonatomic, copy) NSString *webpageUrl; //必填,兼容低版本的网页链接
@property (nonatomic,assign) MiniProgramType miniprogramType; //非必填,小程序的类型,默认正式版(3),可选测试版(1)、预览版(4)
@end
//唤起小程序 - QQ 8.1.8
__attribute__((visibility("default"))) @interface QQApiLaunchMiniProgramObject : QQApiObject
@property(nonatomic,retain) NSString* miniAppID; //必填,小程序的AppId(注:必须在QQ互联平台中,将该小程序与分享的App绑定)
@property(nonatomic,retain) NSString* miniPath; //小程序的展示路径,不填展示默认小程序首页
@property(nonatomic,assign) MiniProgramType miniprogramType; //非必填,小程序的类型,默认正式版(3),可选测试版(1)、开发版(0)
@property (nonatomic, copy) NSString *miniAppID; //必填,小程序的AppId(注:必须在QQ互联平台中,将该小程序与分享的App绑定)
@property (nonatomic, copy) NSString *miniPath; //小程序的展示路径,不填展示默认小程序首页
@property (nonatomic,assign) MiniProgramType miniprogramType; //非必填,小程序的类型,默认正式版(3),可选测试版(1)、开发版(0)
@end
//小程序唤起第三方 - SDK 3.3.9
__attribute__((visibility("default"))) @interface QQApiMiniProgramLaunchObject : QQApiObject
@property(nonatomic,copy) NSString* appParameter; //小程序带来的数据,透传
+ (instancetype)newWithAppParameter:(NSString*)parameter;
@property (nonatomic, copy) NSString *appParameter; //小程序带来的数据,透传
+ (instancetype)newWithAppParameter:(NSString *)parameter;
@end
// QQApiResultObject
......@@ -139,20 +140,20 @@ __attribute__((visibility("default"))) @interface QQApiMiniProgramLaunchObject :
</TABLE>
*/
__attribute__((visibility("default"))) @interface QQApiResultObject : QQApiObject
@property(nonatomic,retain) NSString* error; ///<错误
@property(nonatomic,retain) NSString* errorDescription; ///<错误描述
@property(nonatomic,retain) NSString* extendInfo; ///<扩展信息
@property(nonatomic,retain) NSDictionary* otherInfo; ///<其他扩展信息
@property (nonatomic, copy) NSString *error; ///<错误
@property (nonatomic, copy) NSString *errorDescription; ///<错误描述
@property (nonatomic, copy) NSString *extendInfo; ///<扩展信息
@property (nonatomic, copy) NSDictionary *otherInfo; ///<其他扩展信息
@end
// QQApiTextObject
/** \brief 文本对象
*/
@interface QQApiTextObject : QQApiObject
@property(nonatomic,retain)NSString* text; ///<文本内容,必填,最长1536个字符
@property (nonatomic, copy)NSString *text; ///<文本内容,必填,最长1536个字符
-(id)initWithText:(NSString*)text; ///<初始化方法
+(id)objectWithText:(NSString*)text;///<工厂方法,获取一个QQApiTextObject对象.
- (id)initWithText:(NSString *)text; ///<初始化方法
+ (id)objectWithText:(NSString *)text;///<工厂方法,获取一个QQApiTextObject对象.
@end
......@@ -173,22 +174,24 @@ __attribute__((visibility("default"))) @interface QQApiURLObject : QQApiObject
URL地址所指向的目标类型.
@note 参见QQApi.h 中的 QQApiURLTargetType 定义.
*/
@property(nonatomic)QQApiURLTargetType targetContentType;
@property (nonatomic)QQApiURLTargetType targetContentType;
@property(nonatomic,retain)NSURL* url; ///<URL地址,必填,最长512个字符
@property(nonatomic,retain)NSData* previewImageData;///<预览图像数据,最大1M字节
@property(nonatomic, retain) NSURL *previewImageURL; ///<预览图像URL **预览图像数据与预览图像URL可二选一
@property (nonatomic, strong) NSURL *url; ///<URL地址,必填,最长512个字符
@property (nonatomic, copy) NSData *previewImageData;///<预览图像数据,最大1M字节
@property (nonatomic, strong) NSURL *previewImageURL; ///<预览图像URL **预览图像数据与预览图像URL可二选一
/**
初始化方法
*/
-(id)initWithURL:(NSURL*)url title:(NSString*)title description:(NSString*)description previewImageData:(NSData*)data targetContentType:(QQApiURLTargetType)targetContentType;
-(id)initWithURL:(NSURL*)url title:(NSString*)title description:(NSString*)description previewImageURL:(NSURL*)previewURL targetContentType:(QQApiURLTargetType)targetContentType;
- (id)initWithURL:(NSURL *)url title:(NSString *)title description:(NSString *)description previewImageData:(NSData *)data targetContentType:(QQApiURLTargetType)targetContentType;
- (id)initWithURL:(NSURL *)url title:(NSString *)title description:(NSString *)description previewImageURL:(NSURL *)previewURL targetContentType:(QQApiURLTargetType)targetContentType;
/**
工厂方法,获取一个QQApiURLObject对象
*/
+(id)objectWithURL:(NSURL*)url title:(NSString*)title description:(NSString*)description previewImageData:(NSData*)data targetContentType:(QQApiURLTargetType)targetContentType;
+(id)objectWithURL:(NSURL*)url title:(NSString*)title description:(NSString*)description previewImageURL:(NSURL*)previewURL targetContentType:(QQApiURLTargetType)targetContentType;
+ (id)objectWithURL:(NSURL *)url title:(NSString *)title description:(NSString *)description previewImageData:(NSData *)data targetContentType:(QQApiURLTargetType)targetContentType;
+ (id)objectWithURL:(NSURL *)url title:(NSString *)title description:(NSString *)description previewImageURL:(NSURL *)previewURL targetContentType:(QQApiURLTargetType)targetContentType;
@end
......@@ -196,9 +199,9 @@ __attribute__((visibility("default"))) @interface QQApiURLObject : QQApiObject
/** @brief 扩展数据类型
*/
@interface QQApiExtendObject : QQApiObject
@property(nonatomic,retain) NSData* data;///<具体数据内容,必填,最大5M字节
@property(nonatomic,retain) NSData* previewImageData;///<预览图像,最大1M字节
@property(nonatomic,retain) NSArray* imageDataArray;///图片数组(多图暂只支持分享到手机QQ收藏功能)
@property (nonatomic, copy) NSData *data;///<具体数据内容,必填,最大5M字节
@property (nonatomic, copy) NSData *previewImageData;///<预览图像,最大1M字节
@property (nonatomic, copy) NSArray *imageDataArray;///图片数组(多图暂只支持分享到手机QQ收藏功能)
/**
初始化方法
......@@ -207,7 +210,7 @@ __attribute__((visibility("default"))) @interface QQApiURLObject : QQApiObject
@param title 标题
@param description 此对象,分享的描述
*/
- (id)initWithData:(NSData*)data previewImageData:(NSData*)previewImageData title:(NSString*)title description:(NSString*)description;
- (id)initWithData:(NSData *)data previewImageData:(NSData *)previewImageData title:(NSString *)title description:(NSString *)description;
/**
初始化方法
......@@ -216,7 +219,7 @@ __attribute__((visibility("default"))) @interface QQApiURLObject : QQApiObject
@param description 此对象,分享的描述
@param imageDataArray 发送的多张图片队列
*/
- (id)initWithData:(NSData *)data previewImageData:(NSData*)previewImageData title:(NSString *)title description:(NSString *)description imageDataArray:(NSArray *)imageDataArray;
- (id)initWithData:(NSData *)data previewImageData:(NSData *)previewImageData title:(NSString *)title description:(NSString *)description imageDataArray:(NSArray *)imageDataArray;
/**
......@@ -228,7 +231,7 @@ __attribute__((visibility("default"))) @interface QQApiURLObject : QQApiObject
@return
一个自动释放的<code>QQApiExtendObject</code>实例
*/
+ (id)objectWithData:(NSData*)data previewImageData:(NSData*)previewImageData title:(NSString*)title description:(NSString*)description;
+ (id)objectWithData:(NSData *)data previewImageData:(NSData *)previewImageData title:(NSString *)title description:(NSString *)description;
/**
helper方法获取一个autorelease的<code>QQApiExtendObject</code>对象
@param data 数据内容
......@@ -239,7 +242,7 @@ __attribute__((visibility("default"))) @interface QQApiURLObject : QQApiObject
@return
一个自动释放的<code>QQApiExtendObject</code>实例
*/
+ (id)objectWithData:(NSData*)data previewImageData:(NSData*)previewImageData title:(NSString*)title description:(NSString*)description imageDataArray:(NSArray*)imageDataArray;
+ (id)objectWithData:(NSData *)data previewImageData:(NSData *)previewImageData title:(NSString *)title description:(NSString *)description imageDataArray:(NSArray *)imageDataArray;
@end
......@@ -274,7 +277,7 @@ __attribute__((visibility("default"))) @interface QQApiURLObject : QQApiObject
@"ret=-17&error_des=account diff"//账号不一致
*/
@interface QQApiVideoForQQAvatarObject : QQApiExtendObject
@property(nonatomic, retain) NSString *assetURL;
@property (nonatomic, copy) NSString *assetURL;
@end
......@@ -289,13 +292,13 @@ __attribute__((visibility("default"))) @interface QQApiURLObject : QQApiObject
*/
@interface QQApiImageArrayForFaceCollectionObject : QQApiObject
@property(nonatomic,retain) NSArray* imageDataArray;///图片数组
@property (nonatomic, copy) NSArray *imageDataArray;///图片数组
/**
初始化方法
@param imageDataArray 图片数组
*/
- (id)initWithImageArrayData:(NSArray*)imageDataArray;
- (id)initWithImageArrayData:(NSArray *)imageDataArray;
/**
helper方法获取一个autorelease的<code>QQApiObject</code>对象
@param imageDataArray 发送的多张图片队列
......@@ -312,8 +315,8 @@ __attribute__((visibility("default"))) @interface QQApiURLObject : QQApiObject
*/
@interface QQApiImageArrayForQZoneObject : QQApiObject
@property(nonatomic,retain) NSArray* imageDataArray;///图片数组
@property(nonatomic,retain) NSDictionary* extMap; // 扩展字段
@property (nonatomic, copy) NSArray *imageDataArray;///图片数组
@property (nonatomic, copy) NSDictionary *extMap; // 扩展字段
/**
初始化方法
......@@ -321,7 +324,7 @@ __attribute__((visibility("default"))) @interface QQApiURLObject : QQApiObject
@param title 写说说的内容,可以为空
@param extMap 扩展字段
*/
- (id)initWithImageArrayData:(NSArray*)imageDataArray title:(NSString*)title extMap:(NSDictionary *)extMap;
- (id)initWithImageArrayData:(NSArray *)imageDataArray title:(NSString *)title extMap:(NSDictionary *)extMap;
/**
helper方法获取一个autorelease的<code>QQApiExtendObject</code>对象
......@@ -331,7 +334,7 @@ __attribute__((visibility("default"))) @interface QQApiURLObject : QQApiObject
@return
一个自动释放的<code>QQApiExtendObject</code>实例
*/
+ (id)objectWithimageDataArray:(NSArray*)imageDataArray title:(NSString*)title extMap:(NSDictionary *)extMap;
+ (id)objectWithimageDataArray:(NSArray *)imageDataArray title:(NSString *)title extMap:(NSDictionary *)extMap;
@end
......@@ -344,17 +347,17 @@ __attribute__((visibility("default"))) @interface QQApiURLObject : QQApiObject
*/
@interface QQApiVideoForQZoneObject : QQApiObject
@property(nonatomic, retain) NSString *assetURL;
@property(nonatomic,retain) NSDictionary* extMap; // 扩展字段
@property(nonatomic,retain) NSData* videoData;
@property (nonatomic, copy) NSString *assetURL;
@property (nonatomic, copy) NSDictionary *extMap; // 扩展字段
@property (nonatomic, copy) NSData *videoData;
- (id)initWithAssetURL:(NSString*)assetURL title:(NSString*)title extMap:(NSDictionary *)extMap;
- (id)initWithAssetURL:(NSString *)assetURL title:(NSString *)title extMap:(NSDictionary *)extMap;
+ (id)objectWithAssetURL:(NSString*)assetURL title:(NSString*)title extMap:(NSDictionary *)extMap;
+ (id)objectWithAssetURL:(NSString *)assetURL title:(NSString *)title extMap:(NSDictionary *)extMap;
- (id)initWithVideoData:(NSData*)videoData title:(NSString*)title extMap:(NSDictionary *)extMap;
- (id)initWithVideoData:(NSData *)videoData title:(NSString *)title extMap:(NSDictionary *)extMap;
+ (id)objectWithVideoData:(NSData*)videoData title:(NSString*)title extMap:(NSDictionary *)extMap;
+ (id)objectWithVideoData:(NSData *)videoData title:(NSString *)title extMap:(NSDictionary *)extMap;
@end
......@@ -365,7 +368,7 @@ __attribute__((visibility("default"))) @interface QQApiURLObject : QQApiObject
*/
@interface QQApiWebImageObject : QQApiObject
@property(nonatomic, retain) NSURL *previewImageURL; ///<预览图像URL
@property (nonatomic, strong) NSURL *previewImageURL; ///<预览图像URL
/**
初始化方法
......@@ -373,7 +376,7 @@ __attribute__((visibility("default"))) @interface QQApiURLObject : QQApiObject
@param title 标题
@param description 此对象,分享的描述
*/
- (id)initWithPreviewImageURL:(NSURL*)previewImageURL title:(NSString*)title description:(NSString*)description;
- (id)initWithPreviewImageURL:(NSURL *)previewImageURL title:(NSString *)title description:(NSString *)description;
/**
helper方法获取一个autorelease的<code>QQApiWebImageObject</code>对象
......@@ -381,7 +384,7 @@ __attribute__((visibility("default"))) @interface QQApiURLObject : QQApiObject
@param title 标题
@param description 此对象,分享的描述
*/
+ (id)objectWithPreviewImageURL:(NSURL*)previewImageURL title:(NSString*)title description:(NSString*)description;
+ (id)objectWithPreviewImageURL:(NSURL *)previewImageURL title:(NSString *)title description:(NSString *)description;
@end
......@@ -390,11 +393,12 @@ __attribute__((visibility("default"))) @interface QQApiURLObject : QQApiObject
/** @brief 本地文件对象(暂只支持分享到手机QQ数据线功能)
用于分享文件内容的对象,是一个指定为文件类型的<code>QQApiExtendObject</code>
*/
@interface QQApiFileObject : QQApiExtendObject
{
NSString* _fileName;
@interface QQApiFileObject : QQApiExtendObject {
NSString *_fileName;
}
@property(nonatomic, retain)NSString* fileName;
@property (nonatomic, copy)NSString *fileName;
@end
// QQApiAudioObject
......@@ -403,7 +407,7 @@ __attribute__((visibility("default"))) @interface QQApiURLObject : QQApiObject
*/
@interface QQApiAudioObject : QQApiURLObject
@property (nonatomic, retain) NSURL *flashURL; ///<音频URL地址,最长512个字符
@property (nonatomic, strong) NSURL *flashURL; ///<音频URL地址,最长512个字符
/**
获取一个autorelease的<code>QQApiAudioObject</code>
......@@ -413,7 +417,7 @@ __attribute__((visibility("default"))) @interface QQApiURLObject : QQApiObject
@param data 分享内容的预览图像
@note 如果url为空,调用<code>QQApi#sendMessage:</code>时将返回FALSE
*/
+(id)objectWithURL:(NSURL*)url title:(NSString*)title description:(NSString*)description previewImageData:(NSData*)data;
+ (id)objectWithURL:(NSURL *)url title:(NSString *)title description:(NSString *)description previewImageData:(NSData *)data;
/**
获取一个autorelease的<code>QQApiAudioObject</code>
......@@ -423,7 +427,7 @@ __attribute__((visibility("default"))) @interface QQApiURLObject : QQApiObject
@param previewURL 分享内容的预览图像URL
@note 如果url为空,调用<code>QQApi#sendMessage:</code>时将返回FALSE
*/
+(id)objectWithURL:(NSURL*)url title:(NSString*)title description:(NSString*)description previewImageURL:(NSURL*)previewURL;
+ (id)objectWithURL:(NSURL *)url title:(NSString *)title description:(NSString *)description previewImageURL:(NSURL *)previewURL;
@end
......@@ -436,7 +440,7 @@ __attribute__((visibility("default"))) @interface QQApiURLObject : QQApiObject
*/
@interface QQApiVideoObject : QQApiURLObject
@property (nonatomic, retain) NSURL *flashURL; ///<视频URL地址,最长512个字符
@property (nonatomic, strong) NSURL *flashURL; ///<视频URL地址,最长512个字符
/**
获取一个autorelease的<code>QQApiVideoObject</code>
......@@ -446,7 +450,7 @@ __attribute__((visibility("default"))) @interface QQApiURLObject : QQApiObject
@param data 分享内容的预览图像
@note 如果url为空,调用<code>QQApi#sendMessage:</code>时将返回FALSE
*/
+(id)objectWithURL:(NSURL*)url title:(NSString*)title description:(NSString*)description previewImageData:(NSData*)data;
+ (id)objectWithURL:(NSURL *)url title:(NSString *)title description:(NSString *)description previewImageData:(NSData *)data;
/**
获取一个autorelease的<code>QQApiVideoObject</code>
@param url 视频内容的目标URL
......@@ -455,7 +459,7 @@ __attribute__((visibility("default"))) @interface QQApiURLObject : QQApiObject
@param previewURL 分享内容的预览图像URL
@note 如果url为空,调用<code>QQApi#sendMessage:</code>时将返回FALSE
*/
+(id)objectWithURL:(NSURL*)url title:(NSString*)title description:(NSString*)description previewImageURL:(NSURL*)previewURL;
+ (id)objectWithURL:(NSURL *)url title:(NSString *)title description:(NSString *)description previewImageURL:(NSURL *)previewURL;
@end
......@@ -472,7 +476,7 @@ __attribute__((visibility("default"))) @interface QQApiURLObject : QQApiObject
@param data 分享内容的预览图像
@note 如果url为空,调用<code>QQApi#sendMessage:</code>时将返回FALSE
*/
+(id)objectWithURL:(NSURL*)url title:(NSString*)title description:(NSString*)description previewImageData:(NSData*)data;
+ (id)objectWithURL:(NSURL *)url title:(NSString *)title description:(NSString *)description previewImageData:(NSData *)data;
/**
获取一个autorelease的<code>QQApiNewsObject</code>
@param url 视频内容的目标URL
......@@ -481,7 +485,7 @@ __attribute__((visibility("default"))) @interface QQApiURLObject : QQApiObject
@param previewURL 分享内容的预览图像URL
@note 如果url为空,调用<code>QQApi#sendMessage:</code>时将返回FALSE
*/
+(id)objectWithURL:(NSURL*)url title:(NSString*)title description:(NSString*)description previewImageURL:(NSURL*)previewURL;
+ (id)objectWithURL:(NSURL *)url title:(NSString *)title description:(NSString *)description previewImageURL:(NSURL *)previewURL;
@end
......@@ -494,19 +498,19 @@ __attribute__((visibility("default"))) @interface QQApiURLObject : QQApiObject
/**
预定义的界面布局类型
*/
@property(nonatomic,assign) unsigned int layoutType;
@property(nonatomic,assign) NSData* previewImageData;///<预览图
@property(nonatomic,retain) NSArray* textArray;///<文本列表
@property(nonatomic,retain) NSArray* pictureDataArray;///<图片列表
+(id)objectWithLayoutType:(int)layoutType textArray:(NSArray*)textArray pictureArray:(NSArray*)pictureArray previewImageData:(NSData*)data;
@property (nonatomic,assign) unsigned int layoutType;
@property (nonatomic, copy) NSData *previewImageData;///<预览图
@property (nonatomic, copy) NSArray *textArray;///<文本列表
@property (nonatomic, copy) NSArray *pictureDataArray;///<图片列表
+ (id)objectWithLayoutType:(int)layoutType textArray:(NSArray *)textArray pictureArray:(NSArray *)pictureArray previewImageData:(NSData *)data;
/**
将一个NSDictionary对象转化为QQApiCommomContentObject,如果无法转换,则返回空
*/
+(id)objectWithDictionary:(NSDictionary*)dic;
-(NSDictionary*)toDictionary;
+ (id)objectWithDictionary:(NSDictionary *)dic;
- (NSDictionary *)toDictionary;
@end
// QQApiExtraServiceObject;
// QQApiExtraServiceObject; 通用业务消息处理类(旧版,后续使用QQApiCommonServiceObject)
/**
@brief OpenSDK扩展支持的服务,通用接口,后续会扩充能力
@param serviceID [必选] 扩展支持的服务类型ID,参考官方文档说明
......@@ -516,26 +520,52 @@ __attribute__((visibility("default"))) @interface QQApiURLObject : QQApiObject
@note 该接口的使用须先登录
*/
@interface QQApiExtraServiceObject : QQApiObject
@property (nonatomic,retain) NSString* serviceID;
@property (nonatomic,retain) NSString* openID;
@property (nonatomic,retain) NSString* toUin;
@property (nonatomic,retain) NSDictionary* extraInfo;
@property (nonatomic, copy) NSString *serviceID;
@property (nonatomic, copy) NSString *openID;
@property (nonatomic, copy) NSString *toUin;
@property (nonatomic, copy) NSDictionary *extraInfo;
- (id)initWithOpenID:(NSString *)openID serviceID:(NSString *)serviceID;
+ (id)objecWithOpenID:(NSString *)openID serviceID:(NSString *)serviceID;
@end
/**
* QQApiCommonServiceObject; 通用业务消息处理类(新),可以适用所有的需要通过互联SDK发消息给手Q的业务去处理。
* 使用前需要申请serviceID,每个业务功能有个对应的serviceID
*/
@interface QQApiCommonServiceObject : QQApiObject
// [必选] 授权登录后对该用户的唯一标识
@property (nonatomic, copy) NSString *openID;
// [必选] 扩展支持的服务类型ID,参考官方文档说明
@property (nonatomic, copy) NSString *serviceID;
// [可选] 扩展字段,由调用方跟具体的业务方协定具体的字段
@property (nonatomic, copy) NSDictionary *extendInfo;
- (instancetype)initWithOpenID:(NSString *)openID
serviceID:(NSString *)serviceID
extendInfo:(NSDictionary *)extendInfo;
+ (instancetype)objecWithOpenID:(NSString *)openID
serviceID:(NSString *)serviceID
extendInfo:(NSDictionary *)extendInfo;
@end
////////////////////////////////////////////////////////////////////////////////////////////////////////////
// Ad item object definition
////////////////////////////////////////////////////////////////////////////////////////////////////////////
/** @brief 广告数据对象
*/
@interface QQApiAdItem : NSObject
@property(nonatomic,retain) NSString* title; ///<名称
@property(nonatomic,retain) NSString* description;///<描述
@property(nonatomic,retain) NSData* imageData;///<广告图片
@property(nonatomic,retain) NSURL* target;///<广告目标链接
@property (nonatomic, copy) NSString *title; ///<名称
@property (nonatomic, copy) NSString *description;///<描述
@property (nonatomic, copy) NSData *imageData;///<广告图片
@property (nonatomic, strong) NSURL *target;///<广告目标链接
@end
......@@ -545,20 +575,20 @@ __attribute__((visibility("default"))) @interface QQApiURLObject : QQApiObject
QQApi请求消息类型
*/
typedef NS_ENUM(NSUInteger, QQApiInterfaceReqType) {
EGETMESSAGEFROMQQREQTYPE = 0, ///< 手Q -> 第三方应用,请求第三方应用向手Q发送消息
ESENDMESSAGETOQQREQTYPE = 1, ///< 第三方应用 -> 手Q,第三方应用向手Q分享消息
ESHOWMESSAGEFROMQQREQTYPE = 2, ///< 手Q -> 第三方应用,请求第三方应用展现消息中的数据
ESENDMESSAGEARKTOQQREQTYPE = 3, ///< 第三方应用 -> 手Q,第三方应用向手Q分享Ark消息
ESENDMESSAGE_MINI_TOQQREQTYPE = 4 ///< 第三方应用 -> 手Q,第三方应用向手Q分享小程序消息
EGETMESSAGEFROMQQREQTYPE = 0, /// < 手Q -> 第三方应用,请求第三方应用向手Q发送消息
ESENDMESSAGETOQQREQTYPE = 1, /// < 第三方应用 -> 手Q,第三方应用向手Q分享消息
ESHOWMESSAGEFROMQQREQTYPE = 2, /// < 手Q -> 第三方应用,请求第三方应用展现消息中的数据
ESENDMESSAGEARKTOQQREQTYPE = 3, /// < 第三方应用 -> 手Q,第三方应用向手Q分享Ark消息
ESENDMESSAGE_MINI_TOQQREQTYPE = 4 /// < 第三方应用 -> 手Q,第三方应用向手Q分享小程序消息
};
/**
QQApi应答消息类型
*/
typedef NS_ENUM(NSUInteger, QQApiInterfaceRespType) {
ESHOWMESSAGEFROMQQRESPTYPE = 0, ///< 第三方应用 -> 手Q,第三方应用应答消息展现结果
EGETMESSAGEFROMQQRESPTYPE = 1, ///< 第三方应用 -> 手Q,第三方应用回应发往手Q的消息
ESENDMESSAGETOQQRESPTYPE = 2 ///< 手Q -> 第三方应用,手Q应答处理分享消息的结果
ESHOWMESSAGEFROMQQRESPTYPE = 0, /// < 第三方应用 -> 手Q,第三方应用应答消息展现结果
EGETMESSAGEFROMQQRESPTYPE = 1, /// < 第三方应用 -> 手Q,第三方应用回应发往手Q的消息
ESENDMESSAGETOQQRESPTYPE = 2 /// < 手Q -> 第三方应用,手Q应答处理分享消息的结果
};
/**
......@@ -577,16 +607,16 @@ typedef NS_ENUM(NSUInteger, QQApiInterfaceRespType) {
@interface QQBaseResp : NSObject
/** 请求处理结果 */
@property (nonatomic, copy) NSString* result;
@property (nonatomic, copy) NSString *result;
/** 具体错误描述信息 */
@property (nonatomic, copy) NSString* errorDescription;
@property (nonatomic, copy) NSString *errorDescription;
/** 应答消息类型,参见\ref QQApiInterfaceRespType */
@property (nonatomic, assign) int type;
/** 扩展信息 */
@property (nonatomic, assign) NSString* extendInfo;
@property (nonatomic, copy) NSString *extendInfo;
@end
......@@ -622,14 +652,14 @@ typedef NS_ENUM(NSUInteger, QQApiInterfaceRespType) {
* @param miniMessage 小程序实例对象
* @return 消息请求实例
*/
+(SendMessageToQQReq*) reqWithMiniContent:(QQApiMiniProgramObject *)miniMessage;
+ (SendMessageToQQReq *)reqWithMiniContent:(QQApiMiniProgramObject *)miniMessage;
/** 具体分享消息 */
@property (nonatomic, retain) QQApiObject *message;
@property (nonatomic, strong) QQApiObject *apiObject;
/** 支持Ark的具体分享消息 */
@property (nonatomic, retain) ArkObject *arkMessage;
@property (nonatomic, strong) ArkObject *arkObject;
/** 支持小程序的具体分享消息 */
@property (nonatomic, retain) QQApiMiniProgramObject *miniMessage;
@property (nonatomic, strong) QQApiMiniProgramObject *miniProgramObject;
@end
/**
......@@ -638,7 +668,7 @@ typedef NS_ENUM(NSUInteger, QQApiInterfaceRespType) {
@interface SendMessageToQQResp : QQBaseResp
/** 其他扩展信息 */
@property (nonatomic, copy) NSDictionary* otherInfo;
@property (nonatomic, copy) NSDictionary *otherInfo;
/**
创建一个SendMessageToQQResp应答实例
......@@ -647,9 +677,9 @@ typedef NS_ENUM(NSUInteger, QQApiInterfaceRespType) {
\param extendInfo 扩展信息
\return 新创建的SendMessageToQQResp应答实例
*/
+ (SendMessageToQQResp *)respWithResult:(NSString *)result errorDescription:(NSString *)errDesp extendInfo:(NSString*)extendInfo;
+ (SendMessageToQQResp *)respWithResult:(NSString *)result errorDescription:(NSString *)errDesp extendInfo:(NSString *)extendInfo;
+(SendMessageToQQResp*) respWithResult:(NSString *)result errorDescription:(NSString *)errDesp extendInfo:(NSString*)extendInfo otherInfo:(NSDictionary *)otherInfo;
+ (SendMessageToQQResp *) respWithResult:(NSString *)result errorDescription:(NSString *)errDesp extendInfo:(NSString *)extendInfo otherInfo:(NSDictionary *)otherInfo;
@end
......@@ -666,7 +696,7 @@ typedef NS_ENUM(NSUInteger, QQApiInterfaceRespType) {
+ (ShowMessageFromQQReq *)reqWithContent:(QQApiObject *)message;
/** 具体待展现消息 */
@property (nonatomic, retain) QQApiObject *message;
@property (nonatomic, strong) QQApiObject *message;
@end
......@@ -698,6 +728,7 @@ typedef NS_ENUM(NSUInteger, QQApiInterfaceRespType) {
@property (nonatomic, copy) NSString *unionID;
- (id)initWithAccessToken:(NSString *)accessToken payToken:(NSString *)payToken pfkey:(NSString *)pfkey unionID:(NSString *)unionID; ///<初始化方法
+ (id)objectWithAccessToken:(NSString *)accessToken payToken:(NSString *)payToken pfkey:(NSString *)pfkey unionID:(NSString *)unionID; ///<工厂方法,获取一个QQApiThirdAppJoinGroupObject对象.
@end
......@@ -714,6 +745,7 @@ typedef NS_ENUM(NSUInteger, QQApiInterfaceRespType) {
@property (nonatomic, copy) NSString *unionID;
- (id)initWithAccessToken:(NSString *)accessToken payToken:(NSString *)payToken pfkey:(NSString *)pfkey unionID:(NSString *)unionID openId:(NSString *)openId appId:(NSString *)appId; ///<初始化方法
+ (id)objectWithAccessToken:(NSString *)accessToken payToken:(NSString *)payToken pfkey:(NSString *)pfkey unionID:(NSString *)unionID openId:(NSString *)openId appId:(NSString *)appId; ///<工厂方法,获取一个QQApiThirdAppBindGroupObject对象.
@end
......
......@@ -54,7 +54,7 @@ typedef NS_ENUM(NSUInteger, TencentAuthMode) {
@property(nonatomic, copy) NSDate *expirationDate;
/** 已实现的开放接口的回调委托对象 */
@property(nonatomic, assign) id<TencentSessionDelegate> sessionDelegate;
@property(nonatomic, weak) id<TencentSessionDelegate> sessionDelegate;
/** 第三方应用在开发过程中设置的URLSchema,用于浏览器登录后后跳到第三方应用 */
@property(nonatomic, copy) NSString *localAppId;
......@@ -88,6 +88,7 @@ typedef NS_ENUM(NSUInteger, TencentAuthMode) {
/** 第三方在授权登录/分享 时选择 QQ,还是TIM 。在授权前一定要指定其中一个类型*/
@property(nonatomic, assign) TencentAuthShareType authShareType;
/**
* 获取上次登录得到的token
*
......@@ -194,7 +195,7 @@ typedef NS_ENUM(NSUInteger, TencentAuthMode) {
/**
* 设置用户是否已经授权同意授权隐私协议,在主体应用中,用户同意授权隐私协议后再初始化互联SDK,默认未同意授权
* 注意:如未同意授权隐私协议,则互联SDK的所有功能都无法使用,包括初始化!!!
* 从3.5.8版本开始支持该方法
* 从3.5.7版本开始支持该方法
*
* @param isAgreedAuthorization 是否已经授权,isAgreedAuthorization=YES, 表示已经同意授权;isAgreedAuthorization=NO,表示未同意授权,互联SDK的所有功能都无法使用
*/
......@@ -202,6 +203,7 @@ typedef NS_ENUM(NSUInteger, TencentAuthMode) {
/**
* 获取当前用户是否已经同意授权隐私协议
* 从3.5.7版本开始支持该方法
*/
+ (BOOL)isUserAgreedAuthorization;
......
......@@ -103,6 +103,13 @@ NS_ASSUME_NONNULL_BEGIN
+ (BOOL)isWXAppSupportApi;
/*! @brief 判断当前微信的版本是否支持分享微信状态功能
*
* @attention 需在工程LSApplicationQueriesSchemes配置中添加weixinStateAPI
* @return 支持返回YES,不支持返回NO。
*/
+ (BOOL)isWXAppSupportStateAPI;
/*! @brief 获取微信的itunes安装地址
*
......
......@@ -164,7 +164,6 @@ typedef void(^WXCheckULCompletion)(WXULCheckStep step, WXCheckULStepResult* resu
#pragma mark - WXMediaMessage
@class WXMediaMessage;
#pragma mark - SendAuthReq
/*! @brief 第三方程序向微信终端请求认证的消息结构
*
......@@ -1135,4 +1134,27 @@ typedef void(^WXCheckULCompletion)(WXULCheckStep step, WXCheckULStepResult* resu
@end
#pragma mark - WXOpenCustomerServiceReq
@interface WXOpenCustomerServiceReq : BaseReq
+ (WXOpenCustomerServiceReq *)object;
/**企微客服发起流程 url
*/
@property (nonatomic, copy, nullable) NSString *url;
/**企业 id
*/
@property (nonatomic, copy, nullable) NSString *corpid;
@end
@interface WXOpenCustomerServiceResp : BaseResp
/** 业务返回数据
*/
@property (nonatomic, copy, nullable) NSString *extMsg;
@end
NS_ASSUME_NONNULL_END
136,138d135
< ./SocialLibraries/Douban
< ./SocialLibraries/Douban/UMSocialDoubanHandler.h
< ./SocialLibraries/Douban/libSocialDouban.a
284,286d280
< ./SocialLibraries/GooglePlus
< ./SocialLibraries/GooglePlus/UMSocialGooglePlusHandler.h
< ./SocialLibraries/GooglePlus/libSocialGooglePlus.a
348,360d341
< ./SocialLibraries/LaiWang
< ./SocialLibraries/LaiWang/LWApiConfig.h
< ./SocialLibraries/LaiWang/LWApiConnection.h
< ./SocialLibraries/LaiWang/LWApiImageObject.h
< ./SocialLibraries/LaiWang/LWApiMediaObject.h
< ./SocialLibraries/LaiWang/LWApiMessage.h
< ./SocialLibraries/LaiWang/LWApiRequest.h
< ./SocialLibraries/LaiWang/LWApiResponse.h
< ./SocialLibraries/LaiWang/LWApiSDK.h
< ./SocialLibraries/LaiWang/LWApiUtils.h
< ./SocialLibraries/LaiWang/UMSocialLaiWangHandler.h
< ./SocialLibraries/LaiWang/libLWApiSDK.a
< ./SocialLibraries/LaiWang/libSocialLaiWang.a
422a404
> ./SocialLibraries/QQ/QQSDK/TencentOpenAPI.framework/Headers/TencentOpenApiUmbrellaHeader.h
424c406,407
< ./SocialLibraries/QQ/QQSDK/TencentOpenAPI.framework/Resources
---
> ./SocialLibraries/QQ/QQSDK/TencentOpenAPI.framework/Modules
> ./SocialLibraries/QQ/QQSDK/TencentOpenAPI.framework/Modules/module.modulemap
425a409,447
> ./SocialLibraries/QQ/QQSDK/TencentOpenApi_IOS_Bundle.bundle
> ./SocialLibraries/QQ/QQSDK/TencentOpenApi_IOS_Bundle.bundle/Info.plist
> ./SocialLibraries/QQ/QQSDK/TencentOpenApi_IOS_Bundle.bundle/WebViewResources
> ./SocialLibraries/QQ/QQSDK/TencentOpenApi_IOS_Bundle.bundle/WebViewResources/btn_cancel.png
> ./SocialLibraries/QQ/QQSDK/TencentOpenApi_IOS_Bundle.bundle/WebViewResources/btn_cancel_hover.png
> ./SocialLibraries/QQ/QQSDK/TencentOpenApi_IOS_Bundle.bundle/WebViewResources/refresh.png
> ./SocialLibraries/QQ/QQSDK/TencentOpenApi_IOS_Bundle.bundle/WebViewResources/refresh@2x.png
> ./SocialLibraries/QQ/QQSDK/TencentOpenApi_IOS_Bundle.bundle/WebViewResources/share_pengyouquan.png
> ./SocialLibraries/QQ/QQSDK/TencentOpenApi_IOS_Bundle.bundle/WebViewResources/share_pengyouquan@2x.png
> ./SocialLibraries/QQ/QQSDK/TencentOpenApi_IOS_Bundle.bundle/WebViewResources/share_qq.png
> ./SocialLibraries/QQ/QQSDK/TencentOpenApi_IOS_Bundle.bundle/WebViewResources/share_qq@2x.png
> ./SocialLibraries/QQ/QQSDK/TencentOpenApi_IOS_Bundle.bundle/WebViewResources/share_qzone.png
> ./SocialLibraries/QQ/QQSDK/TencentOpenApi_IOS_Bundle.bundle/WebViewResources/share_qzone@2x.png
> ./SocialLibraries/QQ/QQSDK/TencentOpenApi_IOS_Bundle.bundle/WebViewResources/share_safari.png
> ./SocialLibraries/QQ/QQSDK/TencentOpenApi_IOS_Bundle.bundle/WebViewResources/share_safari@2x.png
> ./SocialLibraries/QQ/QQSDK/TencentOpenApi_IOS_Bundle.bundle/WebViewResources/share_weixin.png
> ./SocialLibraries/QQ/QQSDK/TencentOpenApi_IOS_Bundle.bundle/WebViewResources/share_weixin@2x.png
> ./SocialLibraries/QQ/QQSDK/TencentOpenApi_IOS_Bundle.bundle/WebViewResources/webview_back.png
> ./SocialLibraries/QQ/QQSDK/TencentOpenApi_IOS_Bundle.bundle/WebViewResources/webview_back@2x.png
> ./SocialLibraries/QQ/QQSDK/TencentOpenApi_IOS_Bundle.bundle/WebViewResources/webview_backtogame.png
> ./SocialLibraries/QQ/QQSDK/TencentOpenApi_IOS_Bundle.bundle/WebViewResources/webview_backtogame@2x.png
> ./SocialLibraries/QQ/QQSDK/TencentOpenApi_IOS_Bundle.bundle/WebViewResources/webview_backward.png
> ./SocialLibraries/QQ/QQSDK/TencentOpenApi_IOS_Bundle.bundle/WebViewResources/webview_backward@2x.png
> ./SocialLibraries/QQ/QQSDK/TencentOpenApi_IOS_Bundle.bundle/WebViewResources/webview_for.png
> ./SocialLibraries/QQ/QQSDK/TencentOpenApi_IOS_Bundle.bundle/WebViewResources/webview_for@2x.png
> ./SocialLibraries/QQ/QQSDK/TencentOpenApi_IOS_Bundle.bundle/WebViewResources/webview_forward.png
> ./SocialLibraries/QQ/QQSDK/TencentOpenApi_IOS_Bundle.bundle/WebViewResources/webview_forward@2x.png
> ./SocialLibraries/QQ/QQSDK/TencentOpenApi_IOS_Bundle.bundle/WebViewResources/webview_more.png
> ./SocialLibraries/QQ/QQSDK/TencentOpenApi_IOS_Bundle.bundle/WebViewResources/webview_more@2x.png
> ./SocialLibraries/QQ/QQSDK/TencentOpenApi_IOS_Bundle.bundle/WebViewResources/webview_recommand.png
> ./SocialLibraries/QQ/QQSDK/TencentOpenApi_IOS_Bundle.bundle/WebViewResources/webview_recommand@2x.png
> ./SocialLibraries/QQ/QQSDK/TencentOpenApi_IOS_Bundle.bundle/WebViewResources/webview_stop.png
> ./SocialLibraries/QQ/QQSDK/TencentOpenApi_IOS_Bundle.bundle/WebViewResources/webview_stop@2x.png
> ./SocialLibraries/QQ/QQSDK/TencentOpenApi_IOS_Bundle.bundle/WebViewResources/webview_toolbg.png
> ./SocialLibraries/QQ/QQSDK/TencentOpenApi_IOS_Bundle.bundle/WebViewResources/webview_toolbg@2x.png
> ./SocialLibraries/QQ/QQSDK/TencentOpenApi_IOS_Bundle.bundle/error.png
> ./SocialLibraries/QQ/QQSDK/TencentOpenApi_IOS_Bundle.bundle/local.html
> ./SocialLibraries/QQ/QQSDK/TencentOpenApi_IOS_Bundle.bundle/qqicon.png
> ./SocialLibraries/QQ/QQSDK/TencentOpenApi_IOS_Bundle.bundle/success.png
428,430d449
< ./SocialLibraries/Renren
< ./SocialLibraries/Renren/UMSocialRenrenHandler.h
< ./SocialLibraries/Renren/libSocialRenren.a
448,450d466
< ./SocialLibraries/TencentWeibo
< ./SocialLibraries/TencentWeibo/UMSocialTCWeiboHandler.h
< ./SocialLibraries/TencentWeibo/libSocialTencentWeibo.a
871a888
> ./UMShare.framework/Headers/UMShareLink.h
932a950
> ./UMSocialUI/UMSocialSDKResources.bundle/UMSocialPlatformTheme/default/umsocial_wechatwork.png
953c971
< 201 directories, 749 files
---
> 198 directories, 770 files
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!