Skip to content

Commit

Permalink
Update iOS SDK to 1.8.4 via Cocoapods
Browse files Browse the repository at this point in the history
  • Loading branch information
danmaas committed Jul 9, 2020
1 parent 7516094 commit 08a9b04
Show file tree
Hide file tree
Showing 8 changed files with 4 additions and 1,092 deletions.
8 changes: 4 additions & 4 deletions RCTWeChat.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

Pod::Spec.new do |s|
s.name = "RCTWeChat"
s.version = "1.9.12"
s.version = "1.10.0"
s.summary = "React-Native(iOS/Android) functionalities include WeChat Login, Share, Favorite and Payment {QQ: 336021910}"
s.description = <<-DESC
React-Native(iOS/Android) functionalities include WeChat Login, Share, Favorite and Payment {QQ: 336021910}
Expand All @@ -18,10 +18,10 @@ Pod::Spec.new do |s|
s.license = "MIT"
s.platform = :ios, "9.0"
s.source = { :git => "https://github.com/yorkie/react-native-wechat.git", :tag => "master" }

s.source_files = "ios/*.{h,m}"

s.dependency "React"
s.vendored_libraries = "ios/libWeChatSDK.a"
s.dependency "WechatOpenSDK", "1.8.4"
s.requires_arc = true
s.frameworks = 'SystemConfiguration','CoreTelephony'
s.library = 'sqlite3','c++','z'
end
10 changes: 0 additions & 10 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,16 +95,6 @@ export const removeAllListeners = emitter.removeAllListeners.bind(emitter);
*/
export const registerApp = wrapRegisterApp(WeChat.registerApp);

/**
* @method registerAppWithDescription
* @param {String} appid - the app id
* @param {String} appdesc - the app description
* @return {Promise}
*/
export const registerAppWithDescription = wrapRegisterApp(
WeChat.registerAppWithDescription,
);

/**
* Return if the wechat app is installed in the device.
* @method isWXAppInstalled
Expand Down
7 changes: 0 additions & 7 deletions ios/RCTWeChat.m
Original file line number Diff line number Diff line change
Expand Up @@ -66,13 +66,6 @@ + (BOOL)requiresMainQueueSetup {
callback(@[[WXApi registerApp:appid] ? [NSNull null] : INVOKE_FAILED]);
}

RCT_EXPORT_METHOD(registerAppWithDescription:(NSString *)appid
:(NSString *)appdesc
:(RCTResponseSenderBlock)callback)
{
callback(@[[WXApi registerApp:appid withDescription:appdesc] ? [NSNull null] : INVOKE_FAILED]);
}

RCT_EXPORT_METHOD(isWXAppInstalled:(RCTResponseSenderBlock)callback)
{
callback(@[[NSNull null], @([WXApi isWXAppInstalled])]);
Expand Down
38 changes: 0 additions & 38 deletions ios/RCTWeChat.podspec

This file was deleted.

166 changes: 0 additions & 166 deletions ios/WXApi.h

This file was deleted.

Loading

0 comments on commit 08a9b04

Please sign in to comment.