From 4ea9eaf3a60616bb430886d330497954ceffe641 Mon Sep 17 00:00:00 2001 From: Rabursky Date: Wed, 8 Jan 2020 12:36:41 +0100 Subject: [PATCH 1/2] feat: add podspec --- LocalAuth.podspec | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 LocalAuth.podspec diff --git a/LocalAuth.podspec b/LocalAuth.podspec new file mode 100644 index 00000000..9c5d82a3 --- /dev/null +++ b/LocalAuth.podspec @@ -0,0 +1,17 @@ +require 'json' + +package = JSON.parse(File.read(File.join(__dir__, 'package.json'))) + +Pod::Spec.new do |s| + s.name = "LocalAuth" + s.version = package['version'] + s.summary = "A React Native library for authenticating users with Local Authentication" + s.homepage = "https://github.com/tradle/react-native-local-auth" + s.license = "MIT" + + s.platform = :ios, "7.0" + s.source = { :git => "https://github.com/tradle/react-native-local-auth.git" } + + s.source_files = "*.{h,m}" + s.dependency "React" +end \ No newline at end of file From 14f16314dfefa7a934a559eb8c3b63b80246ceae Mon Sep 17 00:00:00 2001 From: Rabursky Date: Wed, 8 Jan 2020 12:41:02 +0100 Subject: [PATCH 2/2] chore: podspec authors added --- LocalAuth.podspec | 1 + 1 file changed, 1 insertion(+) diff --git a/LocalAuth.podspec b/LocalAuth.podspec index 9c5d82a3..7d0c2630 100644 --- a/LocalAuth.podspec +++ b/LocalAuth.podspec @@ -9,6 +9,7 @@ Pod::Spec.new do |s| s.homepage = "https://github.com/tradle/react-native-local-auth" s.license = "MIT" + s.author = { "Naoufal Kadhom" => "naoufalkadhom@gmail.com" } s.platform = :ios, "7.0" s.source = { :git => "https://github.com/tradle/react-native-local-auth.git" }