Skip to content

Commit e741488

Browse files
Salakarkelset
authored andcommittedJun 19, 2019
Implement changes to enable native modules auto linking (#24506)
Summary: Replaces #24099 (original PR became detached for some reason) Implements the template changes required to enable native modules auto-linking for both Android & iOS. Requires the following to be merged first and an updated CLI to be published: - [x] react-native-community/cli#254 - [x] react-native-community/cli#256 - [x] react-native-community/cli#258 cc grabbou thymikee orta for review - [ ] #24517 update CLI version) [TEMPLATE] [FEATURE] - Enable auto-initialization/linking of react native modules for new projects Pull Request resolved: #24506 Differential Revision: D15062701 Pulled By: cpojer fbshipit-source-id: 65296cbec2925405fe8033de71910325e0c719bc # Conflicts: # template/ios/Podfile
1 parent bf4ee6f commit e741488

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed
 

‎template/ios/Podfile

+2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
platform :ios, '9.0'
2+
require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'
23

34
target 'HelloWorld' do
45
# Pods for HelloWorld
@@ -32,6 +33,7 @@ target 'HelloWorld' do
3233
# Pods for testing
3334
end
3435

36+
use_native_modules!
3537
end
3638

3739
target 'HelloWorld-tvOS' do

0 commit comments

Comments
 (0)
Please sign in to comment.