forked from invertase/react-native-firebase
-
Notifications
You must be signed in to change notification settings - Fork 0
/
RNFBMLNaturalLanguage.podspec
39 lines (34 loc) · 1.71 KB
/
RNFBMLNaturalLanguage.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
35
36
37
38
39
require 'json'
require '../app/firebase_json'
package = JSON.parse(File.read(File.join(__dir__, 'package.json')))
Pod::Spec.new do |s|
s.name = "RNFBMLNaturalLanguage"
s.version = package["version"]
s.description = package["description"]
s.summary = <<-DESC
A well tested feature rich Firebase implementation for React Native, supporting iOS & Android.
DESC
s.homepage = "http://invertase.io/oss/react-native-firebase"
s.license = package['license']
s.authors = "Invertase Limited"
s.source = { :git => "https://github.com/invertase/react-native-firebase.git", :tag => "v#{s.version}" }
s.social_media_url = 'http://twitter.com/invertaseio'
s.ios.deployment_target = "9.0"
s.source_files = 'RNFBMLNaturalLanguage/**/*.{h,m}'
s.dependency 'RNFBApp'
s.dependency 'React'
s.dependency 'Firebase/Core', '~> 6.5.0'
if FirebaseJSON::Config.get_value_or_default('ml_natural_language_language_id_model', false)
s.dependency 'Firebase/MLNaturalLanguage', '~> 6.5.0'
s.dependency 'Firebase/MLNLLanguageID', '~> 6.5.0'
end
# ignore until after v6 release, add support in a feature release
# if FirebaseJSON::Config.get_value_or_default('ml_natural_language_translate_model', false)
# s.dependency 'Firebase/MLNLTranslate', '~> 6.5.0'
# end
if FirebaseJSON::Config.get_value_or_default('ml_natural_language_smart_reply_model', false)
s.dependency 'Firebase/MLCommon', '~> 6.5.0'
s.dependency 'Firebase/MLNLSmartReply', '~> 6.5.0'
end
s.static_framework = false
end