react-native-aes-kit icon indicating copy to clipboard operation
react-native-aes-kit copied to clipboard

Support for react-native 0.60 with pod

Open anagar23 opened this issue 6 years ago • 6 comments

Can you please update it to support the latest version on react native

anagar23 avatar Oct 15 '19 09:10 anagar23

Sorry about that, I haven't energy to do that lately . PR welcome !

rocwong-cn avatar Oct 17 '19 04:10 rocwong-cn

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

lutakyn avatar Oct 25 '19 23:10 lutakyn

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

Thanhal-P-A avatar Dec 09 '19 06:12 Thanhal-P-A

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.

dnetoMOB avatar May 21 '20 19:05 dnetoMOB

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

figureai avatar Aug 21 '20 03:08 figureai

update please

celciusjj avatar Jan 15 '21 20:01 celciusjj