You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: proposals/0012-introduce-reactNativeMetadata.md
+4-2Lines changed: 4 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -227,6 +227,8 @@ The React Native direcotry can easily consume the `reactNativeManifest` by:
227
227
228
228
## Future proof and extensibility
229
229
230
+
We're versioning the schema using the `schema` key in the `reactNativeManifest` section. This allows us to evolve the schema in the future without breaking changes. We believe that the `schema` key should be a semver version string.
231
+
230
232
We believe that the `reactNativeManifest` section should be extensible as we believe new capabilities and features can be added there.
231
233
Specifically, we envision to evolve `reactNativeManifest` or `reactNativeManifest.capabilites` as follows:
232
234
@@ -246,7 +248,7 @@ For an app the section will look as follows:
246
248
"name": "my-awesome-app",
247
249
"version": "1.2.3",
248
250
"reactNativeManifest": {
249
-
"version": "1.0",
251
+
"schema": "1.0.0",
250
252
"type": "app",
251
253
"capabilities": {
252
254
"hermes": {
@@ -275,7 +277,7 @@ For a library the section will look as follows:
0 commit comments