File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
packages/create-react-native-library/templates Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 167
167
}
168
168
]
169
169
]
170
- <% if (project.arch === "new" ) { -%>
170
+ <% if (project.arch !== 'legacy' ) { -%>
171
171
},
172
172
"codegenConfig" : {
173
173
"name" : " RN<%- project.name -%><%- project.view ? 'View': '' -%>Spec" ,
Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ yarn clean
57
57
```
58
58
59
59
<% } -%>
60
- <% if (project.arch === 'new' || project.arch === 'mixed ') { -%>
60
+ <% if (project.arch !== 'legacy ') { -%>
61
61
To confirm that the app is running with the new architecture, you can check the Metro logs for a message like this:
62
62
63
63
``` sh
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ Pod::Spec.new do |s|
11
11
s . license = package [ "license" ]
12
12
s . authors = package [ "author" ]
13
13
14
- s . platforms = { :ios => < %- project.arch === "new" ? '" 11.0"': '"10.0"' - %> }
14
+ s . platforms = { :ios => " 11.0" }
15
15
s . source = { :git => "<%- repo -%>.git" , :tag => "#{ s . version } " }
16
16
17
17
<% if (project.cpp) { -%>
@@ -32,7 +32,7 @@ Pod::Spec.new do |s|
32
32
"OTHER_CPLUSPLUSFLAGS" => "-DFOLLY_NO_CONFIG -DFOLLY_MOBILE=1 -DFOLLY_USE_LIBCPP=1",
33
33
"CLANG_CXX_LANGUAGE_STANDARD" => "c++17"
34
34
}
35
- <% if(project.arch === "new" && project.view) { -%>
35
+ <% if ( project.view) { -%>
36
36
s.dependency "React-RCTFabric"
37
37
<% } -%>
38
38
s.dependency "React-Codegen"
You can’t perform that action at this time.
0 commit comments