react-native-aes-kit
react-native-aes-kit copied to clipboard
Support for react-native 0.60 with pod
Can you please update it to support the latest version on react native
Sorry about that, I haven't energy to do that lately . PR welcome !
Can you please update it to support the latest version on react native
check react-native-aes-pack,it is an updated version of this library.It support auto linking with pod.sorry @rocwangv ,I couldn't send PR because you were nowhere to be found.I even tried to send you an email but it didn't go through
save this file as RCTAesCrypto.podspec and add this file to node_modules/react-native-aes-kit before pod install
require "json"
package = JSON.parse(File.read(File.join(dir, "package.json")))
Pod::Spec.new do |s| s.name = 'RCTAesCrypto' s.version = package["version"] s.summary = package["description"] s.author = package["author"]
s.homepage = package["homepage"]
s.license = package["license"] s.platform = :ios, "8.0"
s.source = { :git => "https://github.com/rocwangv/react-native-aes-kit.git", :tag => "#{s.version}" } s.source_files = "ios//*.{h,m,swift}" s.preserve_paths = "/*.js"
s.dependency 'React' end
save this file as RCTAesCrypto.podspec and add this file to node_modules/react-native-aes-kit before pod install
require "json"
package = JSON.parse(File.read(File.join(dir, "package.json")))
Pod::Spec.new do |s| s.name = 'RCTAesCrypto' s.version = package["version"] s.summary = package["description"] s.author = package["author"]
s.homepage = package["homepage"]
s.license = package["license"] s.platform = :ios, "8.0"
s.source = { :git => "https://github.com/rocwangv/react-native-aes-kit.git", :tag => "#{s.version}" } s.source_files = "ios//*.{h,m,swift}" s.preserve_paths = "/*.js"
s.dependency 'React' end
Thanks for the suggestion, but there are some formatting issues with the .podspec. I made some small syntax tweaks:
require "json"
package = JSON.parse(File.read(File.join(__dir__, "package.json")))
Pod::Spec.new do |s|
s.name = 'RCTAesCrypto'
s.version = package["version"]
s.summary = package["description"]
s.author = package["author"]
s.homepage = package["homepage"]
s.license = package["license"]
s.platform = :ios, "8.0"
s.source = { :git => "https://github.com/rocwangv/react-native-aes-kit.git", :tag => "#{s.version}" }
s.source_files = "ios/*.{h,m}"
s.dependency 'React'
end
I'm using Pods v 1.9.1.
require "json"
package = JSON.parse(File.read(File.join(__dir__, "package.json")))
Pod::Spec.new do |s|
s.name = 'RCTAesCrypto'
s.version = package["version"]
s.summary = package["description"]
s.author = package["author"]
s.homepage = package["homepage"]
s.license = package["license"]
s.platform = :ios, "8.0"
s.source = { :git => "https://github.com/rocwangv/react-native-aes-kit.git", :tag => "#{s.version}" }
s.source_files = "ios/RCTAesCrypto/*.{h,m}"
s.subspec 'AesKit' do |t|
t.source_files='ios/RCTAesCrypto/AesKit/**/*'
end
s.dependency 'React'
end
I'm using Pods v 1.9.3
update please