Skip to content
This repository has been archived by the owner on Feb 20, 2023. It is now read-only.

update ios sdk to version 1.8.4 using cocoapods #562

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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