Skip to content
This repository was archived by the owner on Feb 20, 2023. It is now read-only.
Open
Show file tree
Hide file tree
Changes from 1 commit
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
Next Next commit
feat: wechat库重构优化
  • Loading branch information
liuyunpeng authored and rocwind committed Jan 28, 2021
commit 523e13f1f452c8448825abd6cb02290eb83b04db
17 changes: 17 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# editorconfig.org
root = true

[*]
indent_style = space
indent_size = 4
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

[*.{html,css,less,json,xml,jade}]
indent_style = space
indent_size = 2

[{M,m}akefile]
indent_style = tab
18 changes: 15 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,27 @@ node_modules
/android/build
/android/RCTWeChat.iml

# ios
# iOS
ios/build

# Xcode
build/
DerivedData/
xcuserdata
ios/RCTWeChat.xcodeproj/project.xcworkspace/xcuserdata
Pods/
*.xcuserstate
*.ipa
*.dSYM.zip
*.dSYM
*.dSYM


# Android/IntelliJ
build/
.idea
.gradle
local.properties
*.iml


# outputs
/lib
7 changes: 0 additions & 7 deletions .npmignore

This file was deleted.

7 changes: 7 additions & 0 deletions .prettierrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
module.exports = {
semi: true,
trailingComma: 'all',
singleQuote: true,
printWidth: 100,
arrowParens: 'always',
};
38 changes: 0 additions & 38 deletions .travis.yml

This file was deleted.

4 changes: 3 additions & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
MIT License

Copyright (c) 2017 Yazhong Liu
Copyright (c) 2021-present shihuimiao

Copyright (c) 2017-2020 Yazhong Liu

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
19 changes: 9 additions & 10 deletions RCTWeChat.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -6,22 +6,21 @@
# To see working Podspecs in the CocoaPods repo see https://github.com/CocoaPods/Specs/
#

require 'json'
package = JSON.parse(File.read(File.join(__dir__, 'package.json')))

Pod::Spec.new do |s|
s.name = "RCTWeChat"
s.version = "1.9.12"
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}
DESC
s.author = { "yorkie" => "[email protected]" }
s.homepage = "https://github.com/yorkie/react-native-wechat"
s.version = package['version']
s.summary = "React-Native(iOS/Android) functionalities include WeChat Login, Share, Favorite and Payment"
s.description = package['description']
s.author = package['author']
s.homepage = package['homepage']
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.7.1'
s.requires_arc = true
s.frameworks = 'SystemConfiguration','CoreTelephony'
s.library = 'sqlite3','c++','z'
end
Loading