/
rnv.project.json
3943 lines (3943 loc) 路 192 KB
/
rnv.project.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
{
"$ref": "#/definitions/rnv.project",
"definitions": {
"rnv.project": {
"type": "object",
"properties": {
"workspaceID": {
"type": "string",
"description": "Workspace ID your project belongs to. This will mach same folder name in the root of your user directory. ie `~/` on macOS"
},
"projectVersion": {
"type": "string"
},
"projectName": {
"type": "string",
"description": "Name of the project which will be used in workspace as folder name. this will also be used as part of the KEY in crypto env var generator"
},
"isMonorepo": {
"type": "boolean",
"description": "Mark if your project is part of monorepo"
},
"isTemplate": {
"type": "boolean"
},
"defaults": {
"type": "object",
"properties": {
"ports": {
"type": "object",
"additionalProperties": {
"type": "number"
},
"propertyNames": {
"enum": [
"ios",
"android",
"androidtv",
"androidwear",
"firetv",
"web",
"webtv",
"tizen",
"tizenmobile",
"tvos",
"webos",
"macos",
"windows",
"linux",
"tizenwatch",
"kaios",
"chromecast",
"xbox"
]
},
"description": "Allows you to assign custom port per each supported platform specific to this project. this is useful if you foten switch between multiple projects and do not want to experience constant port conflicts"
},
"supportedPlatforms": {
"type": "array",
"items": {
"type": "string",
"enum": [
"ios",
"android",
"androidtv",
"androidwear",
"firetv",
"web",
"webtv",
"tizen",
"tizenmobile",
"tvos",
"webos",
"macos",
"windows",
"linux",
"tizenwatch",
"kaios",
"chromecast",
"xbox"
]
},
"description": "Array list of all supported platforms in current project"
},
"portOffset": {
"type": "number",
"description": "Offset each port default value by increment"
},
"defaultCommandSchemes": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"propertyNames": {
"enum": [
"run",
"export",
"build"
]
},
"description": "List of default schemes for each rnv command. This is useful if you want to avoid specifying `-s ...` every time your run rnv command. bu default rnv uses `-s debug`. NOTE: you can only use schemes you defined in `buildSchemes`"
},
"targets": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"propertyNames": {
"enum": [
"ios",
"android",
"androidtv",
"androidwear",
"firetv",
"web",
"webtv",
"tizen",
"tizenmobile",
"tvos",
"webos",
"macos",
"windows",
"linux",
"tizenwatch",
"kaios",
"chromecast",
"xbox"
]
},
"description": "Override of default targets specific to this project"
}
},
"additionalProperties": false,
"description": "Default system config for this project"
},
"pipes": {
"type": "array",
"items": {
"type": "string"
},
"description": "To avoid rnv building `buildHooks/src` every time you can specify which specific pipes should trigger recompile of buildHooks"
},
"templates": {
"type": "object",
"additionalProperties": {
"type": "object",
"properties": {
"version": {
"type": "string"
}
},
"required": [
"version"
],
"additionalProperties": false
},
"description": "Stores installed templates info in your project.\n\nNOTE: This prop will be updated by rnv if you run `rnv template install`"
},
"currentTemplate": {
"type": "string",
"description": "Currently active template used in this project. this allows you to re-bootstrap whole project by running `rnv template apply`"
},
"crypto": {
"type": "object",
"properties": {
"path": {
"type": "string",
"description": "Relative path to encrypted file in your renative project. Example: \"./secrets/mySecrets.enc\""
},
"isOptional": {
"type": "boolean",
"description": "Mark if crypto object should not checked every run"
}
},
"required": [
"path"
],
"additionalProperties": false,
"description": "This prop enables automatic encrypt and decrypt of sensitive information in your project. \nRNV will generate new env variable with can be used to encrypt and decrypt. this env var is generated by combining (and sanitizing) 2 properties from your renative.json: \nworkspaceID + projectName.\nThese 2 properties are also used to generate path on your local machine where encrypted files will be decrypted into."
},
"paths": {
"type": "object",
"properties": {
"appConfigsDir": {
"type": "string",
"description": "Custom path to appConfigs. defaults to `./appConfigs`"
},
"platformTemplatesDirs": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"propertyNames": {
"enum": [
"ios",
"android",
"androidtv",
"androidwear",
"firetv",
"web",
"webtv",
"tizen",
"tizenmobile",
"tvos",
"webos",
"macos",
"windows",
"linux",
"tizenwatch",
"kaios",
"chromecast",
"xbox"
]
},
"description": "Custom location of ejected platform templates. this is populated after you run `rnv platform eject`"
},
"appConfigsDirs": {
"type": "array",
"items": {
"type": "string"
},
"description": "Array of custom location app configs directories`"
},
"platformAssetsDir": {
"type": "string",
"description": "Custom path to platformAssets folder. defaults to `./platformAssets`"
},
"platformBuildsDir": {
"type": "string",
"description": "Custom path to platformBuilds folder. defaults to `./platformBuilds`"
},
"pluginTemplates": {
"type": "object",
"additionalProperties": {
"type": "object",
"properties": {
"npm": {
"type": "string"
},
"path": {
"type": "string"
}
},
"required": [
"path"
],
"additionalProperties": false
},
"description": "\n Allows you to define custom plugin template scopes. default scope for all plugins is `rnv`.\n this custom scope can then be used by plugin via `\"source:myCustomScope\"` value\n \n those will allow you to use direct pointer to preconfigured plugin:\n \n ```\n \"plugin-name\": \"source:myCustomScope\"\n ```\n \n NOTE: by default every plugin you define with scope will also merge any\n files defined in overrides automatically to your project.\n To skip file overrides coming from source plugin you need to detach it from the scope:\n \n ```\n {\n \"plugins\": {\n \"plugin-name\": {\n \"source\": \"\"\n }\n }\n }\n ```\n "
}
},
"additionalProperties": false,
"description": "Define custom paths for RNV to look into"
},
"permissions": {
"type": "object",
"properties": {
"android": {
"type": "object",
"additionalProperties": {
"type": "object",
"properties": {
"key": {
"type": "string"
},
"security": {
"type": "string"
}
},
"required": [
"key",
"security"
],
"additionalProperties": false
},
"description": "Android SDK specific permissions"
},
"ios": {
"type": "object",
"additionalProperties": {
"type": "object",
"properties": {
"desc": {
"type": "string"
}
},
"required": [
"desc"
],
"additionalProperties": false
},
"description": "iOS SDK specific permissions"
}
},
"additionalProperties": false,
"description": "Permission definititions which can be used by app configs via `includedPermissions` and `excludedPermissions` to customize permissions for each app"
},
"engines": {
"type": "object",
"additionalProperties": {
"type": "string",
"const": "source:rnv"
},
"description": "List of engines available in this project"
},
"custom": {
"description": "Object used to extend your renative with custom props. This allows renative json schema to be validated"
},
"enableHookRebuild": {
"type": "boolean",
"description": "If set to true in `./renative.json` build hooks will be compiled at each rnv command run. If set to `false` (default) rebuild will be triggered only if `dist` folder is missing, `-r` has been passed or you run `rnv hooks run` directly making your rnv commands faster"
},
"monoRoot": {
"type": "string",
"description": "Define custom path to monorepo root where starting point is project directory"
},
"extendsTemplate": {
"type": "string",
"description": "You can extend another renative.json file of currently applied template by providing relative or full package name path. Exampe: `@rnv/template-starter/renative.json`"
},
"tasks": {
"type": "object",
"properties": {
"install": {
"type": "object",
"properties": {
"script": {
"type": "string"
},
"platform": {
"type": "object",
"additionalProperties": {
"type": "object",
"properties": {
"ignore": {
"type": "boolean"
},
"ignoreTasks": {
"type": "array",
"items": {
"type": "string"
}
}
},
"additionalProperties": false
},
"propertyNames": {
"enum": [
"ios",
"android",
"androidtv",
"androidwear",
"firetv",
"web",
"webtv",
"tizen",
"tizenmobile",
"tvos",
"webos",
"macos",
"windows",
"linux",
"tizenwatch",
"kaios",
"chromecast",
"xbox"
]
}
}
},
"required": [
"script"
],
"additionalProperties": false
}
},
"additionalProperties": false,
"description": "Allows to override specific task within renative toolchain. (currently only `install` supported). this is useful if you want to change specific behaviour of built-in task. ie install task triggers yarn/npm install by default. but that might not be desirable installation trigger"
},
"integrations": {
"type": "object",
"additionalProperties": {
"type": "object",
"properties": {},
"additionalProperties": false
},
"description": "Object containing integration configurations where key represents package name"
},
"env": {
"type": "object",
"additionalProperties": {},
"description": "Object containing injected env variables"
},
"runtime": {
"description": "This object will be automatically injected into `./platfromAssets/renative.runtime.json` making it possible to inject the values directly to JS source code"
},
"skipAutoUpdate": {
"type": "boolean",
"description": "Enables the equivalent to passing --skipDependencyCheck parameter on every rnv run so you don't have to use it"
},
"isNew": {
"type": "boolean",
"description": "Marker indicating that this project has just been bootstrapped. this prop is managed by rnv"
},
"common": {
"type": "object",
"properties": {
"includedPermissions": {
"type": "array",
"items": {
"type": "string"
},
"description": "Allows you to include specific permissions by their KEY defined in `permissions` object. Use: `['*']` to include all"
},
"excludedPermissions": {
"type": "array",
"items": {
"type": "string"
},
"description": "Allows you to exclude specific permissions by their KEY defined in `permissions` object. Use: `['*']` to exclude all"
},
"id": {
"type": "string",
"description": "Bundle ID of application. ie: com.example.myapp"
},
"idSuffix": {
"type": "string"
},
"version": {
"type": "string",
"description": "Semver style version of your app"
},
"versionCode": {
"type": "string",
"description": "Manual verride of generated version code"
},
"versionFormat": {
"type": "string",
"description": "Allows you to fine-tune app version defined in package.json or renative.json.\n\nIf you do not define versionFormat, no formatting will apply to version.\n\n\"versionFormat\" : \"0.0.0\"\n\nIN: 1.2.3-rc.4+build.56 OUT: 1.2.3\n\nIN: 1.2.3 OUT: 1.2.3\n\n\n\n\"versionFormat\" : \"0.0.0.0.0\"\n\nIN: 1.2.3-rc.4+build.56 OUT: 1.2.3.4.56\n\nIN: 1.2.3 OUT: 1.2.3\n\n\"versionFormat\" : \"0.0.0.x.x.x.x\"\n\nIN: 1.2.3-rc.4+build.56 OUT: 1.2.3.rc.4.build.56\n\nIN: 1.2.3 OUT: 1.2.3\n\n"
},
"versionCodeFormat": {
"type": "string",
"description": "Allows you to fine-tune auto generated version codes.\n\nVersion code is autogenerated from app version defined in package.json or renative.json.\n\nNOTE: If you define versionCode manually this formatting will not apply.\n\nEXAMPLE 1:\n\ndefault value: 00.00.00\n\nIN: 1.2.3-rc.4+build.56 OUT: 102030456\n\nIN: 1.2.3 OUT: 10203\n\nEXAMPLE 2:\n\n\"versionCodeFormat\" : \"00.00.00.00.00\"\n\nIN: 1.2.3-rc.4+build.56 OUT: 102030456\n\nIN: 1.2.3 OUT: 102030000\n\nEXAMPLE 3:\n\n\"versionCodeFormat\" : \"00.00.00.0000\"\n\nIN: 1.0.23-rc.15 OUT: 100230015\n\nIN: 1.0.23 OUT: 100230000\n\n"
},
"versionCodeOffset": {
"type": "number"
},
"title": {
"type": "string",
"description": "Title of your app will be used to create title of the binary. ie App title of installed app iOS/Android app or Tab title of the website"
},
"description": {
"type": "string",
"description": "General description of your app. This prop will be injected to actual projects where description field is applicable"
},
"author": {
"type": "string",
"description": "Author name"
},
"license": {
"type": "string",
"description": "Injects license information into app"
},
"includedFonts": {
"type": "array",
"items": {
"type": "string"
},
"description": "Array of fonts you want to include in specific app or scheme. Should use exact font file (without the extension) located in `./appConfigs/base/fonts` or `*` to mark all"
},
"backgroundColor": {
"type": "string",
"minLength": 4,
"maxLength": 9,
"pattern": "^#",
"description": "Defines root view backgroundColor for all platforms in HEX format"
},
"splashScreen": {
"type": "boolean",
"description": "Enable or disable splash screen"
},
"fontSources": {
"type": "array",
"items": {
"type": "string"
},
"description": "Array of paths to location of external Fonts. you can use resolve function here example: `{{resolvePackage(react-native-vector-icons)}}/Fonts`"
},
"assetSources": {
"type": "array",
"items": {
"type": "string"
},
"description": "Array of paths to alternative external assets. this will take priority over ./appConfigs/base/assets folder on your local project. You can use resolve function here example: `{{resolvePackage(@flexn/template-starter)}}/appConfigs/base/assets`"
},
"includedPlugins": {
"type": "array",
"items": {
"type": "string"
},
"description": "Defines an array of all included plugins for specific config or buildScheme. only full keys as defined in `plugin` should be used.\n\nNOTE: includedPlugins is evaluated before excludedPlugins. Use: `['*']` to include all"
},
"excludedPlugins": {
"type": "array",
"items": {
"type": "string"
},
"description": "Defines an array of all excluded plugins for specific config or buildScheme. only full keys as defined in `plugin` should be used.\n\nNOTE: excludedPlugins is evaluated after includedPlugins. Use: `['*']` to exclude all"
},
"runtime": {
"$ref": "#/definitions/rnv.project/properties/runtime"
},
"custom": {
"$ref": "#/definitions/rnv.project/properties/custom"
},
"buildSchemes": {
"type": "object",
"additionalProperties": {
"type": "object",
"properties": {
"includedPermissions": {
"$ref": "#/definitions/rnv.project/properties/common/properties/includedPermissions"
},
"excludedPermissions": {
"$ref": "#/definitions/rnv.project/properties/common/properties/excludedPermissions"
},
"id": {
"$ref": "#/definitions/rnv.project/properties/common/properties/id"
},
"idSuffix": {
"$ref": "#/definitions/rnv.project/properties/common/properties/idSuffix"
},
"version": {
"$ref": "#/definitions/rnv.project/properties/common/properties/version"
},
"versionCode": {
"$ref": "#/definitions/rnv.project/properties/common/properties/versionCode"
},
"versionFormat": {
"$ref": "#/definitions/rnv.project/properties/common/properties/versionFormat"
},
"versionCodeFormat": {
"$ref": "#/definitions/rnv.project/properties/common/properties/versionCodeFormat"
},
"versionCodeOffset": {
"$ref": "#/definitions/rnv.project/properties/common/properties/versionCodeOffset"
},
"title": {
"$ref": "#/definitions/rnv.project/properties/common/properties/title"
},
"description": {
"type": "string",
"description": "Custom description of the buildScheme will be displayed directly in cli if you run rnv with an empty paramener `-s`"
},
"author": {
"$ref": "#/definitions/rnv.project/properties/common/properties/author"
},
"license": {
"$ref": "#/definitions/rnv.project/properties/common/properties/license"
},
"includedFonts": {
"$ref": "#/definitions/rnv.project/properties/common/properties/includedFonts"
},
"backgroundColor": {
"$ref": "#/definitions/rnv.project/properties/common/properties/backgroundColor"
},
"splashScreen": {
"$ref": "#/definitions/rnv.project/properties/common/properties/splashScreen"
},
"fontSources": {
"$ref": "#/definitions/rnv.project/properties/common/properties/fontSources"
},
"assetSources": {
"$ref": "#/definitions/rnv.project/properties/common/properties/assetSources"
},
"includedPlugins": {
"$ref": "#/definitions/rnv.project/properties/common/properties/includedPlugins"
},
"excludedPlugins": {
"$ref": "#/definitions/rnv.project/properties/common/properties/excludedPlugins"
},
"runtime": {
"$ref": "#/definitions/rnv.project/properties/common/properties/runtime"
},
"custom": {
"$ref": "#/definitions/rnv.project/properties/common/properties/custom"
},
"enabled": {
"type": "boolean",
"description": "Defines whether build scheme shows up in options to run"
},
"extendPlatform": {
"$ref": "#/definitions/rnv.project/properties/defaults/properties/supportedPlatforms/items"
},
"assetFolderPlatform": {
"type": "string",
"description": "Alternative platform assets. This is useful for example when you want to use same android assets in androidtv and want to avoid duplicating assets"
},
"engine": {
"type": "string",
"description": "ID of engine to be used for this platform. Note: engine must be registered in `engines` field"
},
"entryFile": {
"type": "string",
"default": "index",
"description": "Alternative name of the entry file without `.js` extension"
},
"bundleAssets": {
"type": "boolean",
"description": "If set to `true` compiled js bundle file will generated. this is needed if you want to make production like builds"
},
"enableSourceMaps": {
"type": "boolean",
"description": "If set to `true` dedicated source map file will be generated alongside of compiled js bundle"
},
"bundleIsDev": {
"type": "boolean",
"description": "If set to `true` debug build will be generated"
},
"getJsBundleFile": {
"type": "string"
}
},
"additionalProperties": false
}
}
},
"additionalProperties": false,
"description": "Common config props used as default props for all available buildSchemes"
},
"platforms": {
"type": "object",
"properties": {
"android": {
"type": "object",
"properties": {
"includedPermissions": {
"$ref": "#/definitions/rnv.project/properties/common/properties/includedPermissions"
},
"excludedPermissions": {
"$ref": "#/definitions/rnv.project/properties/common/properties/excludedPermissions"
},
"id": {
"$ref": "#/definitions/rnv.project/properties/common/properties/id"
},
"idSuffix": {
"$ref": "#/definitions/rnv.project/properties/common/properties/idSuffix"
},
"version": {
"$ref": "#/definitions/rnv.project/properties/common/properties/version"
},
"versionCode": {
"$ref": "#/definitions/rnv.project/properties/common/properties/versionCode"
},
"versionFormat": {
"$ref": "#/definitions/rnv.project/properties/common/properties/versionFormat"
},
"versionCodeFormat": {
"$ref": "#/definitions/rnv.project/properties/common/properties/versionCodeFormat"
},
"versionCodeOffset": {
"$ref": "#/definitions/rnv.project/properties/common/properties/versionCodeOffset"
},
"title": {
"$ref": "#/definitions/rnv.project/properties/common/properties/title"
},
"description": {
"$ref": "#/definitions/rnv.project/properties/common/properties/description"
},
"author": {
"$ref": "#/definitions/rnv.project/properties/common/properties/author"
},
"license": {
"$ref": "#/definitions/rnv.project/properties/common/properties/license"
},
"includedFonts": {
"$ref": "#/definitions/rnv.project/properties/common/properties/includedFonts"
},
"backgroundColor": {
"$ref": "#/definitions/rnv.project/properties/common/properties/backgroundColor"
},
"splashScreen": {
"$ref": "#/definitions/rnv.project/properties/common/properties/splashScreen"
},
"fontSources": {
"$ref": "#/definitions/rnv.project/properties/common/properties/fontSources"
},
"assetSources": {
"$ref": "#/definitions/rnv.project/properties/common/properties/assetSources"
},
"includedPlugins": {
"$ref": "#/definitions/rnv.project/properties/common/properties/includedPlugins"
},
"excludedPlugins": {
"$ref": "#/definitions/rnv.project/properties/common/properties/excludedPlugins"
},
"runtime": {
"$ref": "#/definitions/rnv.project/properties/common/properties/runtime"
},
"custom": {
"$ref": "#/definitions/rnv.project/properties/common/properties/custom"
},
"extendPlatform": {
"$ref": "#/definitions/rnv.project/properties/common/properties/buildSchemes/additionalProperties/properties/extendPlatform"
},
"assetFolderPlatform": {
"$ref": "#/definitions/rnv.project/properties/common/properties/buildSchemes/additionalProperties/properties/assetFolderPlatform"
},
"engine": {
"$ref": "#/definitions/rnv.project/properties/common/properties/buildSchemes/additionalProperties/properties/engine"
},
"entryFile": {
"$ref": "#/definitions/rnv.project/properties/common/properties/buildSchemes/additionalProperties/properties/entryFile"
},
"bundleAssets": {
"$ref": "#/definitions/rnv.project/properties/common/properties/buildSchemes/additionalProperties/properties/bundleAssets"
},
"enableSourceMaps": {
"$ref": "#/definitions/rnv.project/properties/common/properties/buildSchemes/additionalProperties/properties/enableSourceMaps"
},
"bundleIsDev": {
"$ref": "#/definitions/rnv.project/properties/common/properties/buildSchemes/additionalProperties/properties/bundleIsDev"
},
"getJsBundleFile": {
"$ref": "#/definitions/rnv.project/properties/common/properties/buildSchemes/additionalProperties/properties/getJsBundleFile"
},
"enableAndroidX": {
"type": [
"boolean",
"string"
],
"default": true,
"description": "Enables new android X architecture"
},
"enableJetifier": {
"type": [
"boolean",
"string"
],
"default": true,
"description": "Enables Jetifier"
},
"signingConfig": {
"type": "string",
"default": "Debug",
"description": "Equivalent to running `./gradlew/assembleDebug` or `./gradlew/assembleRelease`"
},
"minSdkVersion": {
"type": "number",
"default": 28,
"description": "Minimum Android SDK version device has to have in order for app to run"
},
"multipleAPKs": {
"type": "boolean",
"description": "If set to `true`, apk will be split into multiple ones for each architecture: \"armeabi-v7a\", \"x86\", \"arm64-v8a\", \"x86_64\""
},
"aab": {
"type": "boolean",
"description": "If set to true, android project will generate app.aab instead of apk"
},
"extraGradleParams": {
"type": "string",
"description": "Allows passing extra params to gradle command"
},
"minifyEnabled": {
"type": "boolean",
"description": "Sets minifyEnabled buildType property in app/build.gradle"
},
"targetSdkVersion": {
"type": "number",
"description": "Allows you define custom targetSdkVersion equivalent to: `targetSdkVersion = [VERSION]` in build.gradle"
},
"compileSdkVersion": {
"type": "number",
"description": "Allows you define custom compileSdkVersion equivalent to: `compileSdkVersion = [VERSION]` in build.gradle"
},
"kotlinVersion": {
"type": "string",
"default": "1.7.10",
"description": "Allows you define custom kotlin version"
},
"ndkVersion": {
"type": "string",
"description": "Allows you define custom ndkVersion equivalent to: `ndkVersion = [VERSION]` in build.gradle"
},
"supportLibVersion": {
"type": "string",
"description": "Allows you define custom supportLibVersion equivalent to: `supportLibVersion = [VERSION]` in build.gradle"
},
"googleServicesVersion": {
"type": "string",
"description": "Allows you define custom googleServicesVersion equivalent to: `googleServicesVersion = [VERSION]` in build.gradle"
},
"gradleBuildToolsVersion": {
"type": "string",
"description": "Allows you define custom gradle build tools version equivalent to: `classpath 'com.android.tools.build:gradle:[VERSION]'`"
},
"gradleWrapperVersion": {
"type": "string",
"description": "Allows you define custom gradle wrapper version equivalent to: `distributionUrl=https\\://services.gradle.org/distributions/gradle-[VERSION]-all.zip`"
},
"excludedFeatures": {
"type": "array",
"items": {
"type": "string"
},
"description": "Override features definitions in AndroidManifest.xml by exclusion"
},
"includedFeatures": {
"type": "array",
"items": {
"type": "string"
},
"description": "Override features definitions in AndroidManifest.xml by inclusion"
},
"buildToolsVersion": {
"type": "string",
"default": "34.0.0",
"description": "Override android build tools version"
},
"disableSigning": {
"type": "boolean"
},
"storeFile": {
"type": "string",
"description": "Name of the store file in android project"
},
"keyAlias": {
"type": "string",
"description": "Key alias of the store file in android project"
},
"newArchEnabled": {
"type": "boolean",
"description": "Enables new arch for android. Default: false"
},
"reactNativeEngine": {
"type": "string",
"enum": [
"jsc",
"v8-android",
"v8-android-nointl",
"v8-android-jit",
"v8-android-jit-nointl",
"hermes"
],
"default": "hermes",
"description": "Allows you to define specific native render engine to be used"
},
"templateAndroid": {
"type": "object",
"properties": {
"gradle_properties": {
"type": "object",
"additionalProperties": {
"type": [
"string",
"boolean",
"number"
]
},
"description": "Overrides values in `gradle.properties` file of generated android based project"
},
"build_gradle": {
"type": "object",
"properties": {
"allprojects": {
"type": "object",
"properties": {
"repositories": {
"type": "object",
"additionalProperties": {
"type": "boolean"
},
"description": "Customize repositories section of build.gradle"
}
},
"required": [
"repositories"
],
"additionalProperties": false
},
"plugins": {
"type": "array",
"items": {
"type": "string"
}
},
"buildscript": {
"type": "object",
"properties": {
"repositories": {
"type": "object",
"additionalProperties": {
"type": "boolean"
}
},
"dependencies": {
"type": "object",
"additionalProperties": {
"type": "boolean"
}
}
},
"required": [
"repositories",
"dependencies"
],
"additionalProperties": false
},
"dexOptions": {
"type": "object",
"additionalProperties": {
"type": "boolean"
}
},
"injectAfterAll": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"allprojects",
"plugins",
"buildscript",
"dexOptions",
"injectAfterAll"
],
"additionalProperties": false,
"description": "Overrides values in `build.gradle` file of generated android based project"
},
"app_build_gradle": {
"type": "object",
"properties": {
"apply": {
"type": "array",
"items": {
"type": "string"
}
},
"defaultConfig": {
"type": "array",
"items": {
"type": "string"
}
},
"buildTypes": {
"type": "object",
"properties": {
"debug": {
"type": "array",
"items": {
"type": "string"
}
},
"release": {
"type": "array",
"items": {
"type": "string"
}
}
},
"additionalProperties": false
},
"afterEvaluate": {
"type": "array",
"items": {
"type": "string"
}
},
"implementations": {
"type": "array",
"items": {
"type": "string"
}
},
"implementation": {
"type": "string"
}
},
"required": [
"apply",
"defaultConfig"
],
"additionalProperties": false,
"description": "Overrides values in `app/build.gradle` file of generated android based project"
},
"AndroidManifest_xml": {
"type": "object",
"properties": {
"tag": {
"type": "string"
},
"android:name": {
"type": "string"
},
"android:required": {
"type": "boolean"
},
"package": {