-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
罗浩
committed
Feb 7, 2021
1 parent
19fd7c1
commit 78e2ff2
Showing
1 changed file
with
8 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,22 @@ | ||
require 'json' | ||
version = JSON.parse(File.read('../package.json'))["version"] | ||
|
||
package = JSON.parse(File.read(File.join(__dir__, 'package.json'))) | ||
|
||
Pod::Spec.new do |s| | ||
|
||
s.name = "react-native-smart-code" | ||
s.version = version | ||
s.name = "RNSmartCode" | ||
s.version = package["version"] | ||
s.homepage = "https://github.com/RoJoHub/react-native-smart-code" | ||
s.summary = "Support React & ReactNative.In react-native,it's create base64 String,which is qrcode or barcode ,and without webview.In react,we use jsbarcode." | ||
s.license = "MIT" | ||
s.author = { "Jerry.Luo" => "[email protected]" } | ||
s.ios.deployment_target = '7.0' | ||
s.tvos.deployment_target = '9.0' | ||
s.source = { :git => "[email protected]:RoJoHub/react-native-smart-code.git" } | ||
s.source_files = '*/*.{h,m}' | ||
s.preserve_paths = "**/*.js" | ||
s.source_files = 'ios/*/*.{h,m}' | ||
s.preserve_paths = "*.js" | ||
|
||
s.dependency 'React' | ||
s.dependency "React" | ||
s.dependency 'React-Core' | ||
|
||
end |
78e2ff2
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
naisu!