Skip to content

Commit 08a9b04

Browse files
committed
Update iOS SDK to 1.8.4 via Cocoapods
yorkie#561
1 parent 7516094 commit 08a9b04

File tree

8 files changed

+4
-1092
lines changed

8 files changed

+4
-1092
lines changed

RCTWeChat.podspec

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
Pod::Spec.new do |s|
1010
s.name = "RCTWeChat"
11-
s.version = "1.9.12"
11+
s.version = "1.10.0"
1212
s.summary = "React-Native(iOS/Android) functionalities include WeChat Login, Share, Favorite and Payment {QQ: 336021910}"
1313
s.description = <<-DESC
1414
React-Native(iOS/Android) functionalities include WeChat Login, Share, Favorite and Payment {QQ: 336021910}
@@ -18,10 +18,10 @@ Pod::Spec.new do |s|
1818
s.license = "MIT"
1919
s.platform = :ios, "9.0"
2020
s.source = { :git => "https://github.com/yorkie/react-native-wechat.git", :tag => "master" }
21+
2122
s.source_files = "ios/*.{h,m}"
23+
2224
s.dependency "React"
23-
s.vendored_libraries = "ios/libWeChatSDK.a"
25+
s.dependency "WechatOpenSDK", "1.8.4"
2426
s.requires_arc = true
25-
s.frameworks = 'SystemConfiguration','CoreTelephony'
26-
s.library = 'sqlite3','c++','z'
2727
end

index.js

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -95,16 +95,6 @@ export const removeAllListeners = emitter.removeAllListeners.bind(emitter);
9595
*/
9696
export const registerApp = wrapRegisterApp(WeChat.registerApp);
9797

98-
/**
99-
* @method registerAppWithDescription
100-
* @param {String} appid - the app id
101-
* @param {String} appdesc - the app description
102-
* @return {Promise}
103-
*/
104-
export const registerAppWithDescription = wrapRegisterApp(
105-
WeChat.registerAppWithDescription,
106-
);
107-
10898
/**
10999
* Return if the wechat app is installed in the device.
110100
* @method isWXAppInstalled

ios/RCTWeChat.m

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -66,13 +66,6 @@ + (BOOL)requiresMainQueueSetup {
6666
callback(@[[WXApi registerApp:appid] ? [NSNull null] : INVOKE_FAILED]);
6767
}
6868

69-
RCT_EXPORT_METHOD(registerAppWithDescription:(NSString *)appid
70-
:(NSString *)appdesc
71-
:(RCTResponseSenderBlock)callback)
72-
{
73-
callback(@[[WXApi registerApp:appid withDescription:appdesc] ? [NSNull null] : INVOKE_FAILED]);
74-
}
75-
7669
RCT_EXPORT_METHOD(isWXAppInstalled:(RCTResponseSenderBlock)callback)
7770
{
7871
callback(@[[NSNull null], @([WXApi isWXAppInstalled])]);

ios/RCTWeChat.podspec

Lines changed: 0 additions & 38 deletions
This file was deleted.

ios/WXApi.h

Lines changed: 0 additions & 166 deletions
This file was deleted.

0 commit comments

Comments
 (0)