Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for react-native 0.60 with pod #7

Open
anagar23 opened this issue Oct 15, 2019 · 6 comments
Open

Support for react-native 0.60 with pod #7

anagar23 opened this issue Oct 15, 2019 · 6 comments

Comments

@anagar23
Copy link

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

@rocwong-cn
Copy link
Owner

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

@lutakyn
Copy link

lutakyn commented Oct 25, 2019

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

@Thanhal-P-A
Copy link

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

@dnetoMOB
Copy link

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.

@figureai
Copy link

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

@celciusjj
Copy link

update please

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants