Skip to content

Commit 410945e

Browse files
committed
fix: update nitro config
1 parent 67f3553 commit 410945e

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

  • packages/create-react-native-library/templates/nitro-common

packages/create-react-native-library/templates/nitro-common/nitro.json

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,14 @@
99
},
1010
"autolinking": {
1111
"<%- project.name -%>": {
12-
"swift": "<% if (project.viewConfig === 'nitro-view') { -%>Hybrid<% } -%><%- project.name -%>",
13-
"kotlin": "<% if (project.viewConfig === 'nitro-view') { -%>Hybrid<% } -%><%- project.name -%>"
12+
"ios": {
13+
"language": "swift",
14+
"implementationClassName": "<% if (project.viewConfig === 'nitro-view') { -%>Hybrid<% } -%><%- project.name -%>"
15+
},
16+
"android": {
17+
"language": "kotlin",
18+
"implementationClassName": "<% if (project.viewConfig === 'nitro-view') { -%>Hybrid<% } -%><%- project.name -%>"
19+
}
1420
}
1521
},
1622
"ignorePaths": ["node_modules"]

0 commit comments

Comments
 (0)