forked from DioxusLabs/dioxus
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathschema.json
More file actions
3319 lines (3319 loc) · 90 KB
/
schema.json
File metadata and controls
3319 lines (3319 loc) · 90 KB
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
{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "DioxusConfig",
"type": "object",
"properties": {
"android": {
"description": "Android-specific configuration.",
"$ref": "#/definitions/AndroidConfig"
},
"application": {
"$ref": "#/definitions/ApplicationConfig"
},
"background": {
"description": "Unified background mode configuration. Background capabilities declared here are mapped to platform-specific configurations. Use `[ios]`, `[android]` sections for overrides.",
"$ref": "#/definitions/BackgroundConfig"
},
"bundle": {
"$ref": "#/definitions/BundleConfig"
},
"components": {
"$ref": "#/definitions/ComponentConfig"
},
"deep_links": {
"description": "Unified deep linking configuration. URL schemes and universal links declared here are mapped to platform-specific configurations. Use `[ios]`, `[android]`, `[macos]` sections for overrides.",
"$ref": "#/definitions/DeepLinkConfig"
},
"ios": {
"description": "iOS-specific configuration.",
"$ref": "#/definitions/IosConfig"
},
"linux": {
"description": "Linux-specific configuration.",
"$ref": "#/definitions/LinuxConfig"
},
"macos": {
"description": "macOS-specific configuration.",
"$ref": "#/definitions/MacosConfig"
},
"permissions": {
"description": "Unified permissions configuration. Permissions declared here are automatically mapped to platform-specific identifiers (AndroidManifest.xml, Info.plist, etc.)",
"$ref": "#/definitions/PermissionsConfig"
},
"renderer": {
"description": "Custom renderer configuration for projects that use `dioxus-core` with their own renderer.\n\nWhen present, this overrides the default renderer autodetection and feature injection. Existing Dioxus projects (without this section) are unaffected.\n\n```toml [renderer] name = \"my-renderer\" default_platform = \"desktop\"\n\n[renderer.features] desktop = [] web = [\"my-web\"] ios = [\"my-mobile\"] android = [\"my-mobile\"] ```",
"$ref": "#/definitions/RendererConfig"
},
"web": {
"$ref": "#/definitions/WebConfig"
},
"windows": {
"description": "Windows-specific configuration.",
"$ref": "#/definitions/WindowsConfig"
}
},
"definitions": {
"AndroidApplicationConfig": {
"type": "object",
"properties": {
"large_heap": {
"description": "Enable large heap.",
"type": [
"boolean",
"null"
]
},
"supports_rtl": {
"description": "RTL layout support.",
"type": [
"boolean",
"null"
]
},
"theme": {
"description": "Application theme.",
"type": [
"string",
"null"
]
},
"uses_cleartext_traffic": {
"description": "Enable cleartext (HTTP) traffic.",
"type": [
"boolean",
"null"
]
}
}
},
"AndroidConfig": {
"description": "Android-specific configuration.\n\nExample: ```toml [android] min_sdk = 24 target_sdk = 34 identifier = \"com.example.myapp.android\" # Override bundle.identifier for Android features = [\"android.hardware.location.gps\"]\n\n# Android signing configuration (previously in [bundle.android]) [android.signing] jks_file = \"keystore.jks\" jks_password = \"password\" key_alias = \"mykey\" key_password = \"keypassword\"\n\n[android.permissions] \"android.permission.FOREGROUND_SERVICE\" = { description = \"Background service\" } ```",
"type": "object",
"properties": {
"application": {
"description": "Application-level config.",
"$ref": "#/definitions/AndroidApplicationConfig"
},
"category": {
"description": "App category. Overrides `bundle.category` for Android builds.",
"type": [
"string",
"null"
]
},
"compile_sdk": {
"description": "Compile SDK version.",
"type": [
"integer",
"null"
],
"format": "uint32",
"minimum": 0.0
},
"copyright": {
"description": "Copyright notice. Overrides `bundle.copyright` for Android builds.",
"type": [
"string",
"null"
]
},
"features": {
"description": "Hardware/software features required.",
"type": "array",
"items": {
"type": "string"
}
},
"foreground_service_types": {
"description": "Foreground service types for background operations. Valid values: \"camera\", \"connectedDevice\", \"dataSync\", \"health\", \"location\", \"mediaPlayback\", \"mediaProjection\", \"microphone\", \"phoneCall\", \"remoteMessaging\", \"shortService\", \"specialUse\", \"systemExempted\"",
"type": "array",
"items": {
"type": "string"
}
},
"gradle_dependencies": {
"description": "Gradle dependencies to add.",
"type": "array",
"items": {
"type": "string"
}
},
"gradle_plugins": {
"description": "Gradle plugins to apply.",
"type": "array",
"items": {
"type": "string"
}
},
"icon": {
"description": "Icons for the app. Overrides `bundle.icon` for Android builds.",
"type": [
"array",
"null"
],
"items": {
"type": "string"
}
},
"identifier": {
"description": "The app's identifier (e.g., \"com.example.myapp\"). Overrides `bundle.identifier` for Android builds.",
"type": [
"string",
"null"
]
},
"intent_filters": {
"description": "Intent filters for deep linking. These extend the unified `[deep_links]` configuration with Android-specific options.",
"type": "array",
"items": {
"$ref": "#/definitions/AndroidIntentFilter"
}
},
"long_description": {
"description": "Long description. Overrides `bundle.long_description` for Android builds.",
"type": [
"string",
"null"
]
},
"manifest": {
"description": "Path to custom AndroidManifest.xml to merge.",
"type": [
"string",
"null"
]
},
"min_sdk": {
"description": "Minimum SDK version.",
"type": [
"integer",
"null"
],
"format": "uint32",
"minimum": 0.0
},
"permissions": {
"description": "Additional Android permissions not in unified config.",
"type": "object",
"additionalProperties": {
"$ref": "#/definitions/RawPermission"
}
},
"proguard_rules": {
"description": "ProGuard rule files.",
"type": "array",
"items": {
"type": "string"
}
},
"publisher": {
"description": "The app's publisher. Overrides `bundle.publisher` for Android builds.",
"type": [
"string",
"null"
]
},
"queries": {
"description": "Queries for package visibility (required for Android 11+). Specify packages or intents your app needs to query.",
"$ref": "#/definitions/AndroidQueries"
},
"raw": {
"description": "Raw XML injection points.",
"$ref": "#/definitions/AndroidRawConfig"
},
"resources": {
"description": "Additional resources to bundle. Overrides `bundle.resources` for Android builds.",
"type": [
"array",
"null"
],
"items": {
"type": "string"
}
},
"short_description": {
"description": "Short description. Overrides `bundle.short_description` for Android builds.",
"type": [
"string",
"null"
]
},
"signing": {
"description": "Android signing configuration for release builds. This replaces the deprecated `[bundle.android]` section.",
"anyOf": [
{
"$ref": "#/definitions/AndroidSigningConfig"
},
{
"type": "null"
}
]
},
"target_sdk": {
"description": "Target SDK version.",
"type": [
"integer",
"null"
],
"format": "uint32",
"minimum": 0.0
},
"url_schemes": {
"description": "Additional URL schemes beyond unified `[deep_links]`.schemes. These are merged with the unified schemes.",
"type": "array",
"items": {
"type": "string"
}
}
}
},
"AndroidIntentData": {
"description": "Android intent data specification.",
"type": "object",
"properties": {
"host": {
"description": "Host (e.g., \"example.com\").",
"type": [
"string",
"null"
]
},
"mime_type": {
"description": "MIME type.",
"type": [
"string",
"null"
]
},
"path": {
"description": "Path (exact match).",
"type": [
"string",
"null"
]
},
"path_pattern": {
"description": "Path pattern (with wildcards).",
"type": [
"string",
"null"
]
},
"path_prefix": {
"description": "Path prefix.",
"type": [
"string",
"null"
]
},
"port": {
"description": "Port number.",
"type": [
"string",
"null"
]
},
"scheme": {
"description": "URL scheme (e.g., \"https\", \"myapp\").",
"type": [
"string",
"null"
]
}
}
},
"AndroidIntentFilter": {
"description": "Android intent filter for deep linking.",
"type": "object",
"properties": {
"actions": {
"description": "Actions (e.g., \"android.intent.action.VIEW\").",
"type": "array",
"items": {
"type": "string"
}
},
"auto_verify": {
"description": "Auto-verify for App Links (requires HTTPS and assetlinks.json).",
"type": "boolean"
},
"categories": {
"description": "Categories (e.g., \"android.intent.category.DEFAULT\", \"android.intent.category.BROWSABLE\").",
"type": "array",
"items": {
"type": "string"
}
},
"data": {
"description": "Data specifications.",
"type": "array",
"items": {
"$ref": "#/definitions/AndroidIntentData"
}
}
}
},
"AndroidQueries": {
"description": "Android package visibility queries.",
"type": "object",
"properties": {
"intents": {
"description": "Intent actions to query.",
"type": "array",
"items": {
"$ref": "#/definitions/AndroidQueryIntent"
}
},
"packages": {
"description": "Package names to query.",
"type": "array",
"items": {
"type": "string"
}
}
}
},
"AndroidQueryIntent": {
"description": "Android query intent specification.",
"type": "object",
"required": [
"action"
],
"properties": {
"action": {
"description": "Action (e.g., \"android.intent.action.SEND\").",
"type": "string"
},
"mime_type": {
"description": "MIME type (e.g., \"text/plain\").",
"type": [
"string",
"null"
]
},
"scheme": {
"description": "Data scheme (e.g., \"mailto\").",
"type": [
"string",
"null"
]
}
}
},
"AndroidRawConfig": {
"type": "object",
"properties": {
"application": {
"description": "Raw XML inside `<application>` element.",
"type": [
"string",
"null"
]
},
"application_attrs": {
"description": "Raw attributes for `<application>` element.",
"type": [
"string",
"null"
]
},
"manifest": {
"description": "Raw XML to inject into manifest (after permissions).",
"type": [
"string",
"null"
]
}
}
},
"AndroidSettings": {
"type": "object",
"required": [
"jks_file",
"jks_password",
"key_alias",
"key_password"
],
"properties": {
"jks_file": {
"type": "string"
},
"jks_password": {
"type": "string"
},
"key_alias": {
"type": "string"
},
"key_password": {
"type": "string"
}
}
},
"AndroidSigningConfig": {
"description": "Android signing configuration for release builds.",
"type": "object",
"required": [
"jks_file",
"jks_password",
"key_alias",
"key_password"
],
"properties": {
"jks_file": {
"description": "Path to the Java keystore file.",
"type": "string"
},
"jks_password": {
"description": "Password for the keystore.",
"type": "string"
},
"key_alias": {
"description": "Alias of the key in the keystore.",
"type": "string"
},
"key_password": {
"description": "Password for the key.",
"type": "string"
}
}
},
"ApplicationConfig": {
"type": "object",
"properties": {
"android_main_activity": {
"description": "Use this file for the MainActivity.kt associated with the Android app.",
"type": [
"string",
"null"
]
},
"android_manifest": {
"description": "Use this file for the AndroidManifest.xml associated with the Android app. `dx` will merge any required settings into this file required to build the app",
"type": [
"string",
"null"
]
},
"android_min_sdk_version": {
"description": "Specified minimum sdk version for gradle to build the app with.",
"type": [
"integer",
"null"
],
"format": "uint32",
"minimum": 0.0
},
"asset_dir": {
"description": "The path where global assets will be added when components are added with `dx components add`",
"type": [
"string",
"null"
]
},
"ios_entitlements": {
"description": "Use this file for the entitlements.plist associated with the iOS app.",
"type": [
"string",
"null"
]
},
"ios_info_plist": {
"description": "Use this file for the info.plist associated with the iOS app. `dx` will merge any required settings into this file required to build the app",
"type": [
"string",
"null"
]
},
"macos_entitlements": {
"description": "Use this file for the entitlements.plist associated with the macOS app.",
"type": [
"string",
"null"
]
},
"macos_info_plist": {
"description": "Use this file for the info.plist associated with the macOS app. `dx` will merge any required settings into this file required to build the app",
"type": [
"string",
"null"
]
},
"out_dir": {
"type": [
"string",
"null"
]
},
"public_dir": {
"type": [
"string",
"null"
]
},
"tailwind_input": {
"type": [
"string",
"null"
]
},
"tailwind_output": {
"type": [
"string",
"null"
]
}
}
},
"BackgroundConfig": {
"description": "Unified background execution configuration.\n\nThis provides a cross-platform interface for background capabilities. Platform-specific overrides can be configured in `[ios]` and `[android]` sections.\n\nExample: ```toml [background] location = true audio = true fetch = true ```",
"type": "object",
"properties": {
"audio": {
"description": "Background audio playback. iOS: UIBackgroundModes \"audio\" Android: FOREGROUND_SERVICE_MEDIA_PLAYBACK",
"type": "boolean"
},
"bluetooth": {
"description": "Bluetooth LE accessories. iOS: UIBackgroundModes \"bluetooth-central\" and \"bluetooth-peripheral\" Android: FOREGROUND_SERVICE_CONNECTED_DEVICE",
"type": "boolean"
},
"external-accessory": {
"description": "External accessory communication. iOS: UIBackgroundModes \"external-accessory\"",
"type": "boolean"
},
"fetch": {
"description": "Background data fetch. iOS: UIBackgroundModes \"fetch\" Android: WorkManager or foreground service",
"type": "boolean"
},
"location": {
"description": "Background location updates. iOS: UIBackgroundModes \"location\" Android: ACCESS_BACKGROUND_LOCATION permission",
"type": "boolean"
},
"processing": {
"description": "Background processing tasks. iOS: UIBackgroundModes \"processing\" Android: WorkManager",
"type": "boolean"
},
"remote-notifications": {
"description": "Remote push notifications. iOS: UIBackgroundModes \"remote-notification\" Android: Firebase Cloud Messaging",
"type": "boolean"
},
"voip": {
"description": "VoIP calls. iOS: UIBackgroundModes \"voip\" Android: FOREGROUND_SERVICE_PHONE_CALL",
"type": "boolean"
}
}
},
"BundleConfig": {
"type": "object",
"properties": {
"android": {
"anyOf": [
{
"$ref": "#/definitions/AndroidSettings"
},
{
"type": "null"
}
]
},
"category": {
"type": [
"string",
"null"
]
},
"copyright": {
"type": [
"string",
"null"
]
},
"deb": {
"anyOf": [
{
"$ref": "#/definitions/DebianSettings"
},
{
"type": "null"
}
]
},
"external_bin": {
"type": [
"array",
"null"
],
"items": {
"type": "string"
}
},
"icon": {
"type": [
"array",
"null"
],
"items": {
"type": "string"
}
},
"identifier": {
"type": [
"string",
"null"
]
},
"long_description": {
"type": [
"string",
"null"
]
},
"macos": {
"anyOf": [
{
"$ref": "#/definitions/MacOsSettings"
},
{
"type": "null"
}
]
},
"publisher": {
"type": [
"string",
"null"
]
},
"resources": {
"type": [
"array",
"null"
],
"items": {
"type": "string"
}
},
"short_description": {
"type": [
"string",
"null"
]
},
"windows": {
"anyOf": [
{
"$ref": "#/definitions/WindowsSettings"
},
{
"type": "null"
}
]
}
}
},
"ComponentConfig": {
"description": "Configuration for the `dioxus component` commands",
"type": "object",
"properties": {
"components_dir": {
"description": "The path where components are stored when adding or removing components",
"type": [
"string",
"null"
]
},
"registry": {
"description": "The component registry to default to when adding components",
"$ref": "#/definitions/ComponentRegistry"
}
}
},
"ComponentRegistry": {
"description": "Arguments for a component registry Either a path to a local directory or a remote git repo (with optional rev)",
"type": "object",
"properties": {
"git": {
"description": "The url of the component registry",
"type": [
"string",
"null"
]
},
"path": {
"description": "The path to the components directory",
"type": [
"string",
"null"
]
},
"rev": {
"description": "The revision of the component registry",
"type": [
"string",
"null"
]
}
}
},
"CustomSignCommandSettings": {
"type": "object",
"required": [
"args",
"cmd"
],
"properties": {
"args": {
"description": "The arguments to pass to the command.\n\n\"%1\" will be replaced with the path to the binary to be signed.",
"type": "array",
"items": {
"type": "string"
}
},
"cmd": {
"description": "The command to run to sign the binary.",
"type": "string"
}
}
},
"DebianSettings": {
"type": "object",
"properties": {
"changelog": {
"description": "Path of the uncompressed Changelog file, to be stored at /usr/share/doc/package-name/changelog.gz. See <https://www.debian.org/doc/debian-policy/ch-docs.html#changelog-files-and-release-notes>",
"type": [
"string",
"null"
]
},
"conflicts": {
"description": "the list of package conflicts.",
"type": [
"array",
"null"
],
"items": {
"type": "string"
}
},
"depends": {
"description": "the list of debian dependencies.",
"type": [
"array",
"null"
],
"items": {
"type": "string"
}
},
"desktop_template": {
"description": "Path to a custom desktop file Handlebars template.\n\nAvailable variables: `categories`, `comment` (optional), `exec`, `icon` and `name`.",
"type": [
"string",
"null"
]
},
"files": {
"description": "List of custom files to add to the deb package. Maps the path on the debian package to the path of the file to include (relative to the current working directory).",
"type": "object",
"additionalProperties": {
"type": "string"
}
},
"post_install_script": {
"description": "Path to script that will be executed after the package is unpacked. See <https://www.debian.org/doc/debian-policy/ch-maintainerscripts.html>",
"type": [
"string",
"null"
]
},
"post_remove_script": {
"description": "Path to script that will be executed after the package is removed. See <https://www.debian.org/doc/debian-policy/ch-maintainerscripts.html>",
"type": [
"string",
"null"
]
},
"pre_install_script": {
"description": "Path to script that will be executed before the package is unpacked. See <https://www.debian.org/doc/debian-policy/ch-maintainerscripts.html>",
"type": [
"string",
"null"
]
},
"pre_remove_script": {
"description": "Path to script that will be executed before the package is removed. See <https://www.debian.org/doc/debian-policy/ch-maintainerscripts.html>",
"type": [
"string",
"null"
]
},
"priority": {
"description": "Change the priority of the Debian Package. By default, it is set to `optional`. Recognized Priorities as of now are : `required`, `important`, `standard`, `optional`, `extra`",
"type": [
"string",
"null"
]
},
"provides": {
"description": "the list of dependencies the package provides.",
"type": [
"array",
"null"
],
"items": {
"type": "string"
}
},
"recommends": {
"description": "the list of recommended debian dependencies.",
"type": [
"array",
"null"
],
"items": {
"type": "string"
}
},
"replaces": {
"description": "the list of package replaces.",
"type": [
"array",
"null"
],
"items": {
"type": "string"
}
},
"section": {
"description": "Define the section in Debian Control file. See : <https://www.debian.org/doc/debian-policy/ch-archive.html#s-subsections>",
"type": [
"string",
"null"
]
}
}
},
"DeepLinkConfig": {
"description": "Unified deep linking configuration.\n\nThis provides a cross-platform interface for URL schemes and universal/app links. Platform-specific overrides can be configured in `[ios]` and `[android]` sections.\n\nExample: ```toml [deep_links] schemes = [\"myapp\", \"com.example.myapp\"] hosts = [\"example.com\", \"*.example.com\"] ```",
"type": "object",
"properties": {
"hosts": {
"description": "Universal link / App link hosts (e.g., \"example.com\"). Maps to Associated Domains on iOS and App Links on Android. Supports wildcards like \"*.example.com\".",
"type": "array",
"items": {
"type": "string"
}
},
"paths": {
"description": "Path patterns for universal/app links (e.g., \"/app/*\", \"/share/*\"). If empty, all paths are matched.",
"type": "array",
"items": {
"type": "string"
}
},
"schemes": {
"description": "Custom URL schemes (e.g., \"myapp\" for myapp://path). Maps to CFBundleURLSchemes on iOS/macOS and intent-filter on Android.",
"type": "array",
"items": {
"type": "string"
}
}
}
},
"IosConfig": {
"description": "iOS-specific configuration.\n\nExample: ```toml [ios] deployment_target = \"15.0\" identifier = \"com.example.myapp.ios\" # Override bundle.identifier for iOS\n\n[ios.entitlements] app-groups = [\"group.com.example.app\"]\n\n[ios.plist] UIBackgroundModes = [\"location\", \"fetch\"] ```",
"type": "object",
"properties": {
"background_modes": {
"description": "Additional background modes beyond unified `[background]`. Valid values: \"audio\", \"location\", \"voip\", \"fetch\", \"remote-notification\", \"newsstand-content\", \"external-accessory\", \"bluetooth-central\", \"bluetooth-peripheral\", \"processing\"",
"type": "array",
"items": {
"type": "string"
}
},
"category": {
"description": "App category. Overrides `bundle.category` for iOS builds.",
"type": [
"string",
"null"
]
},
"copyright": {
"description": "Copyright notice. Overrides `bundle.copyright` for iOS builds.",
"type": [
"string",
"null"
]
},
"deployment_target": {
"description": "Minimum iOS deployment target (e.g., \"15.0\").",
"type": [
"string",
"null"
]
},
"document_types": {
"description": "Document types the app can open.",
"type": "array",
"items": {
"$ref": "#/definitions/IosDocumentType"
}
},
"entitlements": {
"description": "iOS entitlements configuration.",
"$ref": "#/definitions/IosEntitlements"
},
"exported_type_identifiers": {
"description": "Exported type identifiers (custom UTIs).",
"type": "array",
"items": {
"$ref": "#/definitions/IosTypeIdentifier"
}
},
"icon": {
"description": "Icons for the app. Overrides `bundle.icon` for iOS builds.",
"type": [
"array",
"null"
],
"items": {
"type": "string"
}
},
"identifier": {
"description": "The app's identifier (e.g., \"com.example.myapp\"). Overrides `bundle.identifier` for iOS builds.",
"type": [
"string",
"null"
]
},
"imported_type_identifiers": {
"description": "Imported type identifiers.",
"type": "array",
"items": {
"$ref": "#/definitions/IosTypeIdentifier"
}
},
"info_plist": {
"description": "Path to custom Info.plist to merge with generated.",
"type": [
"string",
"null"