Skip to content

Commit 4a15dc8

Browse files
obladorFacebook Github Bot 4
authored andcommitted
Add RCTAnimation to Podspec
Summary: **Motivation** This PR adds a subspec for the `NativeAnimation` iOS library which so one can use it with CocoaPods. **Test plan (required)** Tested with the code in `NativeAnimationsExample.js` and this: ``` pod 'React', :subspecs => ['Core', 'RCTAnimation'], :path => 'node_modules/react-native' ``` Closes #8487 Differential Revision: D3502970 fbshipit-source-id: 0958acdbe088da8b50a1e5e3661f27b64db329c1
1 parent f5f8611 commit 4a15dc8

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

React.podspec

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,12 @@ Pod::Spec.new do |s|
5454
ss.preserve_paths = "Libraries/AdSupport/*.js"
5555
end
5656

57+
s.subspec 'RCTAnimation' do |ss|
58+
ss.dependency 'React/Core'
59+
ss.source_files = "Libraries/NativeAnimation/{Nodes/*,*}.{h,m}"
60+
ss.preserve_paths = "Libraries/NativeAnimation/*.js"
61+
end
62+
5763
s.subspec 'RCTCameraRoll' do |ss|
5864
ss.dependency 'React/Core'
5965
ss.dependency 'React/RCTImage'

0 commit comments

Comments
 (0)