mattermost-mobile/patches/react-native-local-auth+1.5.0.patch
2020-01-07 09:04:40 +08:00

26 lines
871 B
Diff

diff --git a/node_modules/react-native-local-auth/react-native-local-auth.podspec b/node_modules/react-native-local-auth/react-native-local-auth.podspec
new file mode 100644
index 0000000..9cec893
--- /dev/null
+++ b/node_modules/react-native-local-auth/react-native-local-auth.podspec
@@ -0,0 +1,20 @@
+require "json"
+package = JSON.parse(File.read(File.join(__dir__, '/package.json')))
+
+Pod::Spec.new do |s|
+ s.name = package['name']
+ s.version = package['version']
+ s.summary = package['description']
+ s.description = package['description']
+ s.homepage = package['homepage']
+ s.license = package['license']
+ s.author = package['author']
+ s.source = { :git => 'https://github.com/mattermost/react-native-local-auth.git' }
+
+ s.platform = :ios, '7.0'
+ s.ios.deployment_target = '7.0'
+
+ s.source_files = "*.{h,m}"
+
+ s.dependency 'React'
+end