1 |
|
2 | require 'json'
|
3 |
|
4 | package = JSON.parse(File.read(File.join(__dir__, 'package.json')))
|
5 |
|
6 | Pod::Spec.new do |s|
|
7 | s.name = "RNAWSCognito"
|
8 | s.version = package['version']
|
9 | s.requires_arc = true
|
10 | s.platforms = { :ios => "8.0" }
|
11 | s.license = { :file => 'LICENSE.txt' }
|
12 | s.homepage = "https://github.com/aws-amplify/amplify-js/tree/main/packages/amazon-cognito-identity-js"
|
13 | s.author = "Amazon"
|
14 |
|
15 | s.summary = "Amazon Cognito Identity SDK for JavaScript"
|
16 | s.description = <<-DESC
|
17 | The Amazon Cognito Identity SDK for JavaScript allows JavaScript enabled applications to sign-up users, authenticate users, view, delete, and update user attributes within the Amazon Cognito Identity service.
|
18 | DESC
|
19 |
|
20 | s.source = { :git => "https://github.com/aws/aws-amplify.git", :tag => "amazon-cognito-identity-js@#{s.version.to_s}" }
|
21 | s.source_files = 'ios/RNAWSCognito.{h,m}'
|
22 | s.dependency 'React'
|
23 | s.dependency 'JKBigInteger2', '0.0.5'
|
24 | end
|