-
Notifications
You must be signed in to change notification settings - Fork 62
/
RNMLKitTextRecognition.podspec
35 lines (29 loc) · 1.26 KB
/
RNMLKitTextRecognition.podspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# RNMLKitTextRecognition.podspec
require "json"
package = JSON.parse(File.read(File.join(__dir__, "package.json")))
Pod::Spec.new do |s|
s.name = "RNMLKitTextRecognition"
s.version = package["version"]
s.summary = package["description"]
s.homepage = "https://github.com/a7med-mahmoud/react-native-ml-kit"
# brief license entry:
s.license = "MIT"
# optional - use expanded license entry instead:
# s.license = { :type => "MIT", :file => "LICENSE" }
s.authors = { "Ahmed Mahmoud" => "[email protected]" }
s.platforms = { :ios => "9.0" }
s.source = { :git => "https://github.com/a7med-mahmoud/react-native-ml-kit.git", :tag => "#{s.version}" }
s.source_files = "ios/**/*.{h,c,cc,cpp,m,mm,swift}"
s.requires_arc = true
s.dependency "React"
# To recognize Latin script
s.dependency 'GoogleMLKit/TextRecognition', '6.0.0'
# To recognize Chinese script
s.dependency 'GoogleMLKit/TextRecognitionChinese', '6.0.0'
# To recognize Devanagari script
s.dependency 'GoogleMLKit/TextRecognitionDevanagari', '6.0.0'
# To recognize Japanese script
s.dependency 'GoogleMLKit/TextRecognitionJapanese', '6.0.0'
# To recognize Korean script
s.dependency 'GoogleMLKit/TextRecognitionKorean', '6.0.0'
end