diff --git a/README.md b/README.md
index e509fdd..9bf0feb 100644
--- a/README.md
+++ b/README.md
@@ -46,19 +46,12 @@ android {
# 混淆已打入 Library,随 Library 引用,自动添加到 apk 打包混淆
```
-```
-
-
-
-
-
-
-
-
-```
-
## ios
+```
+腾讯有毒吗?module.modulemap 的内容都没提供完整,特么搞得我差了半天
+```
+
```
在Xcode中,选择你的工程设置项,选中“TARGETS”一栏,在“info”标签栏的“URL type“添加“URL scheme”为你所注册的应用程序id
diff --git a/example/ios/Flutter/.last_build_id b/example/ios/Flutter/.last_build_id
new file mode 100644
index 0000000..c078eb4
--- /dev/null
+++ b/example/ios/Flutter/.last_build_id
@@ -0,0 +1 @@
+cd43188ccf238126b61f5732044f6a6b
\ No newline at end of file
diff --git a/example/ios/Podfile.lock b/example/ios/Podfile.lock
index 178f6eb..1e6353f 100644
--- a/example/ios/Podfile.lock
+++ b/example/ios/Podfile.lock
@@ -24,7 +24,7 @@ EXTERNAL SOURCES:
SPEC CHECKSUMS:
Flutter: 0e3d915762c693b495b44d77113d4970485de6ec
path_provider: abfe2b5c733d04e238b0d8691db0cfd63a27a93c
- tencent_kit: fc79006175575d6fa0f83b0771525e1e7765b810
+ tencent_kit: 204825086150a020041a395f3ea6202964dd313f
PODFILE CHECKSUM: 8e679eca47255a8ca8067c4c67aab20e64cb974d
diff --git a/example/ios/Runner.xcodeproj/project.pbxproj b/example/ios/Runner.xcodeproj/project.pbxproj
index 82b16ca..c3b1499 100644
--- a/example/ios/Runner.xcodeproj/project.pbxproj
+++ b/example/ios/Runner.xcodeproj/project.pbxproj
@@ -3,7 +3,7 @@
archiveVersion = 1;
classes = {
};
- objectVersion = 50;
+ objectVersion = 51;
objects = {
/* Begin PBXBuildFile section */
@@ -350,7 +350,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
- IPHONEOS_DEPLOYMENT_TARGET = 8.0;
+ IPHONEOS_DEPLOYMENT_TARGET = 9.0;
MTL_ENABLE_DEBUG_INFO = NO;
SDKROOT = iphoneos;
SUPPORTED_PLATFORMS = iphoneos;
@@ -432,7 +432,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
- IPHONEOS_DEPLOYMENT_TARGET = 8.0;
+ IPHONEOS_DEPLOYMENT_TARGET = 9.0;
MTL_ENABLE_DEBUG_INFO = YES;
ONLY_ACTIVE_ARCH = YES;
SDKROOT = iphoneos;
@@ -481,7 +481,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
- IPHONEOS_DEPLOYMENT_TARGET = 8.0;
+ IPHONEOS_DEPLOYMENT_TARGET = 9.0;
MTL_ENABLE_DEBUG_INFO = NO;
SDKROOT = iphoneos;
SUPPORTED_PLATFORMS = iphoneos;
diff --git a/example/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/example/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
new file mode 100644
index 0000000..18d9810
--- /dev/null
+++ b/example/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
@@ -0,0 +1,8 @@
+
+
+
+
+ IDEDidComputeMac32BitWarning
+
+
+
diff --git a/example/pubspec.lock b/example/pubspec.lock
index 1bb076e..a9ceb38 100644
--- a/example/pubspec.lock
+++ b/example/pubspec.lock
@@ -56,7 +56,7 @@ packages:
name: crypto
url: "https://pub.flutter-io.cn"
source: hosted
- version: "2.1.4"
+ version: "2.1.5"
cupertino_icons:
dependency: "direct main"
description:
@@ -71,13 +71,20 @@ packages:
url: "https://pub.flutter-io.cn"
source: hosted
version: "1.2.0-nullsafety.1"
+ ffi:
+ dependency: transitive
+ description:
+ name: ffi
+ url: "https://pub.flutter-io.cn"
+ source: hosted
+ version: "0.1.3"
file:
dependency: transitive
description:
name: file
url: "https://pub.flutter-io.cn"
source: hosted
- version: "5.2.0"
+ version: "5.2.1"
fixnum:
dependency: transitive
description:
@@ -108,7 +115,7 @@ packages:
name: json_annotation
url: "https://pub.flutter-io.cn"
source: hosted
- version: "3.0.1"
+ version: "3.1.1"
matcher:
dependency: transitive
description:
@@ -143,35 +150,42 @@ packages:
name: path_provider
url: "https://pub.flutter-io.cn"
source: hosted
- version: "1.6.10"
+ version: "1.6.27"
path_provider_linux:
dependency: transitive
description:
name: path_provider_linux
url: "https://pub.flutter-io.cn"
source: hosted
- version: "0.0.1+1"
+ version: "0.0.1+2"
path_provider_macos:
dependency: transitive
description:
name: path_provider_macos
url: "https://pub.flutter-io.cn"
source: hosted
- version: "0.0.4+3"
+ version: "0.0.4+8"
path_provider_platform_interface:
dependency: transitive
description:
name: path_provider_platform_interface
url: "https://pub.flutter-io.cn"
source: hosted
- version: "1.0.2"
+ version: "1.0.4"
+ path_provider_windows:
+ dependency: transitive
+ description:
+ name: path_provider_windows
+ url: "https://pub.flutter-io.cn"
+ source: hosted
+ version: "0.0.4+3"
pedantic:
dependency: "direct dev"
description:
name: pedantic
url: "https://pub.flutter-io.cn"
source: hosted
- version: "1.9.0"
+ version: "1.9.2"
platform:
dependency: transitive
description:
@@ -185,7 +199,7 @@ packages:
name: plugin_platform_interface
url: "https://pub.flutter-io.cn"
source: hosted
- version: "1.0.2"
+ version: "1.0.3"
process:
dependency: transitive
description:
@@ -261,13 +275,20 @@ packages:
url: "https://pub.flutter-io.cn"
source: hosted
version: "2.1.0-nullsafety.3"
+ win32:
+ dependency: transitive
+ description:
+ name: win32
+ url: "https://pub.flutter-io.cn"
+ source: hosted
+ version: "1.7.4+1"
xdg_directories:
dependency: transitive
description:
name: xdg_directories
url: "https://pub.flutter-io.cn"
source: hosted
- version: "0.1.0"
+ version: "0.1.2"
sdks:
dart: ">=2.10.0-110 <2.11.0"
flutter: ">=1.12.13+hotfix.5 <2.0.0"
diff --git a/ios/Libraries/TencentOpenAPI.framework/Headers/QQApiInterfaceObject.h b/ios/Libraries/TencentOpenAPI.framework/Headers/QQApiInterfaceObject.h
index 1bcb225..61d6424 100644
--- a/ios/Libraries/TencentOpenAPI.framework/Headers/QQApiInterfaceObject.h
+++ b/ios/Libraries/TencentOpenAPI.framework/Headers/QQApiInterfaceObject.h
@@ -45,7 +45,7 @@ typedef NS_ENUM(NSInteger,QQApiSendResultCode) {
// QQApiObject control flags
typedef NS_ENUM(NSUInteger,kQQAPICtrlFlag) {
kQQAPICtrlFlagQZoneShareOnStart = 0x01,
- kQQAPICtrlFlagQZoneShareForbid = 0x02,
+ kQQAPICtrlFlagQZoneShareForbid = 0x02, //屏蔽好友选择器上的空间入口
kQQAPICtrlFlagQQShare = 0x04,
kQQAPICtrlFlagQQShareFavorites = 0x08, //收藏
kQQAPICtrlFlagQQShareDataline = 0x10, //数据线
diff --git a/ios/Libraries/TencentOpenAPI.framework/Headers/TencentOAuth.h b/ios/Libraries/TencentOpenAPI.framework/Headers/TencentOAuth.h
index 15ff360..982edaa 100644
--- a/ios/Libraries/TencentOpenAPI.framework/Headers/TencentOAuth.h
+++ b/ios/Libraries/TencentOpenAPI.framework/Headers/TencentOAuth.h
@@ -88,7 +88,6 @@ typedef NS_ENUM(NSUInteger, TencentAuthMode) {
/** 第三方在授权登录/分享 时选择 QQ,还是TIM 。在授权前一定要指定其中一个类型*/
@property(nonatomic, assign) TencentAuthShareType authShareType;
-
/**
* 获取上次登录得到的token
*
@@ -149,19 +148,6 @@ typedef NS_ENUM(NSUInteger, TencentAuthMode) {
+ (TencentAuthorizeState *)authorizeState;
-/**
- * 用来获得当前手机qq的版本号
- * \return 返回手机qq版本号
- **/
-+ (int)iphoneQQVersion __attribute__((deprecated("已过期, 建议删除调用")));
-
-
-/**
- * 用来获得当前手机TIM的版本号
- * \return 返回手机qq版本号
- **/
-+ (int)iphoneTIMVersion __attribute__((deprecated("已过期, 建议删除调用")));
-
/**
* 初始化TencentOAuth对象
* \param appId 不可为nil,第三方应用在互联开放平台申请的唯一标识
@@ -225,18 +211,6 @@ typedef NS_ENUM(NSUInteger, TencentAuthMode) {
*/
+ (BOOL)iphoneTIMInstalled;
-/**
- * 判断用户手机上的手机QQ是否支持SSO登录
- * \return YES:支持 NO:不支持
- */
-+ (BOOL)iphoneQQSupportSSOLogin __attribute__((deprecated("QQ版本均支持SSO登录。该接口已过期, 建议删除调用")));
-
-/**
- * 判断用户手机上的手机TIM是否支持SSO登录
- * \return YES:支持 NO:不支持
- */
-+ (BOOL)iphoneTIMSupportSSOLogin __attribute__((deprecated("TIM版本均支持SSO登录。该接口已过期, 建议删除调用")));
-
/**
* 登录授权
*
@@ -244,23 +218,13 @@ typedef NS_ENUM(NSUInteger, TencentAuthMode) {
*/
- (BOOL)authorize:(NSArray *)permissions;
-/**
- * 登录授权
- * \param permissions 授权信息列表
- * \param bInSafari 是否使用safari进行登录.IOS SDK 1.3版本开始此参数废除
- */
-- (BOOL)authorize:(NSArray *)permissions
- inSafari:(BOOL)bInSafari;
-
/**
* 登录授权
* \param permissions 授权信息列表
* \param localAppId 应用APPID
- * \param bInSafari 是否使用safari进行登录.IOS SDK 1.3版本开始此参数废除
*/
- (BOOL)authorize:(NSArray *)permissions
- localAppId:(NSString *)localAppId
- inSafari:(BOOL)bInSafari;
+ localAppId:(NSString *)localAppId;
/**
* 登录授权
@@ -406,7 +370,7 @@ typedef NS_ENUM(NSUInteger, TencentAuthMode) {
/**
* 登录时权限信息的获得
*/
-- (NSArray *)getAuthorizedPermissions:(NSArray *)permissions withExtraParams:(NSDictionary *)extraParams;
+- (NSArray *)getAuthorizedPermissions:(NSArray *)permissions withExtraParams:(NSDictionary *)extraParams __attribute__((deprecated("该接口已过期, 建议删除调用")));
/**
* unionID获得
diff --git a/ios/Libraries/TencentOpenAPI.framework/Headers/TencentOpenApiUmbrellaHeader.h b/ios/Libraries/TencentOpenAPI.framework/Headers/TencentOpenApiUmbrellaHeader.h
new file mode 100644
index 0000000..9dbb5b9
--- /dev/null
+++ b/ios/Libraries/TencentOpenAPI.framework/Headers/TencentOpenApiUmbrellaHeader.h
@@ -0,0 +1,22 @@
+//
+// TencentOpenApiUmbrellaHeader.h
+// TencentOpenApi_IOS
+//
+// Created by jyukeizhang(张储祺) on 2020/7/27.
+// Copyright © 2020 Tencent. All rights reserved.
+//
+
+#ifndef TencentOpenApiUmbrellaHeader_h
+#define TencentOpenApiUmbrellaHeader_h
+
+FOUNDATION_EXPORT double StaticLibraryModuleVersionNumber;
+FOUNDATION_EXPORT const unsigned char StaticLibraryModuleVersionString[];
+
+#imoort "QQApiInterface.h"
+#import "QQApiInterfaceObject.h"
+#import "sdkdef.h"
+#import "TencentOAuth.h"
+
+
+#endif /* TencentOpenApiUmbrellaHeader_h */
+
diff --git a/ios/Libraries/TencentOpenAPI.framework/Headers/module.modulemap b/ios/Libraries/TencentOpenAPI.framework/Headers/module.modulemap
new file mode 100644
index 0000000..579837e
--- /dev/null
+++ b/ios/Libraries/TencentOpenAPI.framework/Headers/module.modulemap
@@ -0,0 +1,9 @@
+framework module TencentOpenAPI {
+ header "QQApiInterface.h"
+ header "QQApiInterfaceObject.h"
+ header "TencentOAuth.h"
+ header "TencentOpenApiUmbrellaHeader.h"
+ header "sdkdef.h"
+
+ export *
+}
diff --git a/ios/Libraries/TencentOpenAPI.framework/TencentOpenAPI b/ios/Libraries/TencentOpenAPI.framework/TencentOpenAPI
index 72bd182..9e5b70f 100644
Binary files a/ios/Libraries/TencentOpenAPI.framework/TencentOpenAPI and b/ios/Libraries/TencentOpenAPI.framework/TencentOpenAPI differ
diff --git a/ios/tencent_kit.podspec b/ios/tencent_kit.podspec
index fc34c8e..f480863 100644
--- a/ios/tencent_kit.podspec
+++ b/ios/tencent_kit.podspec
@@ -18,10 +18,12 @@ A powerful Flutter plugin allowing developers to auth/share with natvie Android
s.dependency 'Flutter'
s.platform = :ios, '8.0'
- # v3.3.9
+ # v3.5.1
s.subspec 'vendor' do |sp|
sp.vendored_frameworks = 'Libraries/*.framework'
- sp.frameworks = 'SystemConfiguration', 'WebKit'
+ sp.frameworks = 'Security', 'SystemConfiguration', 'CoreGraphics', 'CoreTelephony', 'WebKit'
+ sp.libraries = 'iconv', 'sqlite3', 'stdc++', 'z'
+ sp.requires_arc = true
end
# Flutter.framework does not contain a i386 slice. Only x86_64 simulators are supported.