|
71 | 71 | "description": "Object of npm dependencies of this plugin. These will be injected into package.json"
|
72 | 72 | },
|
73 | 73 | "pluginDependencies": {
|
74 |
| - "type": "object", |
75 |
| - "additionalProperties": { |
76 |
| - "type": [ |
77 |
| - "string", |
78 |
| - "null" |
79 |
| - ] |
80 |
| - }, |
| 74 | + "anyOf": [ |
| 75 | + { |
| 76 | + "type": "object", |
| 77 | + "additionalProperties": { |
| 78 | + "type": [ |
| 79 | + "string", |
| 80 | + "null" |
| 81 | + ] |
| 82 | + } |
| 83 | + }, |
| 84 | + { |
| 85 | + "type": "null" |
| 86 | + } |
| 87 | + ], |
81 | 88 | "description": "List of other Renative plugins this plugin depends on"
|
82 | 89 | },
|
83 | 90 | "webpackConfig": {
|
|
297 | 304 | "tag": {
|
298 | 305 | "type": "string"
|
299 | 306 | },
|
300 |
| - "android:name": { |
| 307 | + "package": { |
301 | 308 | "type": "string"
|
302 | 309 | },
|
303 |
| - "android:required": { |
304 |
| - "type": "boolean" |
| 310 | + "xmlns:android": { |
| 311 | + "type": "string" |
305 | 312 | },
|
306 |
| - "package": { |
| 313 | + "xmlns:tools": { |
307 | 314 | "type": "string"
|
308 | 315 | },
|
309 | 316 | "children": {
|
|
312 | 319 | "type": "object",
|
313 | 320 | "properties": {
|
314 | 321 | "tag": {
|
315 |
| - "$ref": "#/definitions/rnv.plugin/properties/android/properties/templateAndroid/properties/AndroidManifest_xml/properties/tag" |
| 322 | + "type": "string" |
316 | 323 | },
|
317 | 324 | "android:name": {
|
318 |
| - "$ref": "#/definitions/rnv.plugin/properties/android/properties/templateAndroid/properties/AndroidManifest_xml/properties/android:name" |
| 325 | + "type": "string" |
| 326 | + }, |
| 327 | + "android:theme": { |
| 328 | + "type": "string" |
319 | 329 | },
|
| 330 | + "android:value": {}, |
320 | 331 | "android:required": {
|
321 |
| - "$ref": "#/definitions/rnv.plugin/properties/android/properties/templateAndroid/properties/AndroidManifest_xml/properties/android:required" |
| 332 | + "type": "boolean" |
| 333 | + }, |
| 334 | + "android:allowBackup": { |
| 335 | + "type": "boolean" |
| 336 | + }, |
| 337 | + "android:largeHeap": { |
| 338 | + "type": "boolean" |
| 339 | + }, |
| 340 | + "android:label": { |
| 341 | + "type": "string" |
| 342 | + }, |
| 343 | + "android:icon": { |
| 344 | + "type": "string" |
| 345 | + }, |
| 346 | + "android:roundIcon": { |
| 347 | + "type": "string" |
| 348 | + }, |
| 349 | + "android:banner": { |
| 350 | + "type": "string" |
| 351 | + }, |
| 352 | + "tools:replace": { |
| 353 | + "type": "string" |
| 354 | + }, |
| 355 | + "android:supportsRtl": { |
| 356 | + "type": "boolean" |
| 357 | + }, |
| 358 | + "tools:targetApi": { |
| 359 | + "type": "number" |
| 360 | + }, |
| 361 | + "android:usesCleartextTraffic": { |
| 362 | + "type": "boolean" |
| 363 | + }, |
| 364 | + "android:appComponentFactory": { |
| 365 | + "type": "string" |
| 366 | + }, |
| 367 | + "android:screenOrientation": { |
| 368 | + "type": "string" |
| 369 | + }, |
| 370 | + "android:noHistory": { |
| 371 | + "type": "boolean" |
| 372 | + }, |
| 373 | + "android:launchMode": { |
| 374 | + "type": "string" |
| 375 | + }, |
| 376 | + "android:exported": { |
| 377 | + "type": "boolean" |
| 378 | + }, |
| 379 | + "android:configChanges": { |
| 380 | + "type": "string" |
| 381 | + }, |
| 382 | + "android:windowSoftInputMode": { |
| 383 | + "type": "string" |
322 | 384 | },
|
323 | 385 | "children": {
|
324 | 386 | "type": "array",
|
|
328 | 390 | }
|
329 | 391 | },
|
330 | 392 | "required": [
|
331 |
| - "tag", |
332 |
| - "android:name", |
333 |
| - "children" |
| 393 | + "tag" |
334 | 394 | ],
|
335 | 395 | "additionalProperties": false
|
336 | 396 | }
|
337 | 397 | }
|
338 | 398 | },
|
339 | 399 | "required": [
|
340 |
| - "tag", |
341 |
| - "android:name" |
| 400 | + "tag" |
342 | 401 | ],
|
343 | 402 | "additionalProperties": false,
|
344 | 403 | "description": "Allows you to directly manipulate `AndroidManifest.xml` via json override mechanism\nInjects / Overrides values in AndroidManifest.xml file of generated android based project\n> IMPORTANT: always ensure that your object contains `tag` and `android:name` to target correct tag to merge into\n "
|
345 | 404 | },
|
346 | 405 | "strings_xml": {
|
347 | 406 | "type": "object",
|
348 | 407 | "properties": {
|
| 408 | + "tag": { |
| 409 | + "type": "string" |
| 410 | + }, |
| 411 | + "name": { |
| 412 | + "type": "string" |
| 413 | + }, |
| 414 | + "parent": { |
| 415 | + "type": "string" |
| 416 | + }, |
| 417 | + "value": { |
| 418 | + "type": "string" |
| 419 | + }, |
349 | 420 | "children": {
|
350 | 421 | "type": "array",
|
351 | 422 | "items": {
|
352 | 423 | "type": "object",
|
353 | 424 | "properties": {
|
354 | 425 | "tag": {
|
355 |
| - "type": "string" |
| 426 | + "$ref": "#/definitions/rnv.plugin/properties/android/properties/templateAndroid/properties/strings_xml/properties/tag" |
356 | 427 | },
|
357 | 428 | "name": {
|
358 |
| - "type": "string" |
| 429 | + "$ref": "#/definitions/rnv.plugin/properties/android/properties/templateAndroid/properties/strings_xml/properties/name" |
359 | 430 | },
|
360 |
| - "child_value": { |
361 |
| - "type": "string" |
| 431 | + "parent": { |
| 432 | + "$ref": "#/definitions/rnv.plugin/properties/android/properties/templateAndroid/properties/strings_xml/properties/parent" |
| 433 | + }, |
| 434 | + "value": { |
| 435 | + "$ref": "#/definitions/rnv.plugin/properties/android/properties/templateAndroid/properties/strings_xml/properties/value" |
| 436 | + }, |
| 437 | + "children": { |
| 438 | + "type": "array", |
| 439 | + "items": { |
| 440 | + "$ref": "#/definitions/rnv.plugin/properties/android/properties/templateAndroid/properties/strings_xml/properties/children/items" |
| 441 | + } |
362 | 442 | }
|
363 | 443 | },
|
364 | 444 | "required": [
|
|
369 | 449 | }
|
370 | 450 | },
|
371 | 451 | "required": [
|
372 |
| - "children" |
| 452 | + "tag" |
373 | 453 | ],
|
374 |
| - "additionalProperties": false |
| 454 | + "additionalProperties": false, |
| 455 | + "description": "Allows you to directly manipulate `res/values files` via json override mechanism\nInjects / Overrides values in res/values files of generated android based project\n> IMPORTANT: always ensure that your object contains `tag` and `name` to target correct tag to merge into\n " |
375 | 456 | },
|
376 |
| - "MainActivity_kt": { |
| 457 | + "styles_xml": { |
| 458 | + "$ref": "#/definitions/rnv.plugin/properties/android/properties/templateAndroid/properties/strings_xml", |
| 459 | + "description": "Allows you to directly manipulate `res/values files` via json override mechanism\nInjects / Overrides values in res/values files of generated android based project\n> IMPORTANT: always ensure that your object contains `tag` and `name` to target correct tag to merge into\n " |
| 460 | + }, |
| 461 | + "colors_xml": { |
| 462 | + "$ref": "#/definitions/rnv.plugin/properties/android/properties/templateAndroid/properties/strings_xml", |
| 463 | + "description": "Allows you to directly manipulate `res/values files` via json override mechanism\nInjects / Overrides values in res/values files of generated android based project\n> IMPORTANT: always ensure that your object contains `tag` and `name` to target correct tag to merge into\n " |
| 464 | + }, |
| 465 | + "MainApplication_kt": { |
377 | 466 | "type": "object",
|
378 | 467 | "properties": {
|
379 |
| - "onCreate": { |
380 |
| - "type": "string", |
381 |
| - "default": "super.onCreate(savedInstanceState)", |
382 |
| - "description": "Overrides super.onCreate method handler of MainActivity.java" |
383 |
| - }, |
384 | 468 | "imports": {
|
385 | 469 | "type": "array",
|
386 | 470 | "items": {
|
|
399 | 483 | "type": "string"
|
400 | 484 | }
|
401 | 485 | },
|
402 |
| - "resultMethods": { |
| 486 | + "packages": { |
| 487 | + "type": "array", |
| 488 | + "items": { |
| 489 | + "type": "string" |
| 490 | + } |
| 491 | + }, |
| 492 | + "packageParams": { |
403 | 493 | "type": "array",
|
404 | 494 | "items": {
|
405 | 495 | "type": "string"
|
406 | 496 | }
|
407 | 497 | }
|
408 | 498 | },
|
409 |
| - "additionalProperties": false |
| 499 | + "additionalProperties": false, |
| 500 | + "description": "Allows you to configure behaviour of MainActivity" |
410 | 501 | },
|
411 |
| - "MainApplication_kt": { |
| 502 | + "MainActivity_kt": { |
412 | 503 | "type": "object",
|
413 | 504 | "properties": {
|
| 505 | + "onCreate": { |
| 506 | + "type": "string", |
| 507 | + "default": "super.onCreate(savedInstanceState)", |
| 508 | + "description": "Overrides super.onCreate method handler of MainActivity.kt" |
| 509 | + }, |
414 | 510 | "imports": {
|
415 | 511 | "type": "array",
|
416 | 512 | "items": {
|
|
429 | 525 | "type": "string"
|
430 | 526 | }
|
431 | 527 | },
|
432 |
| - "packages": { |
433 |
| - "type": "array", |
434 |
| - "items": { |
435 |
| - "type": "string" |
436 |
| - } |
437 |
| - }, |
438 |
| - "packageParams": { |
| 528 | + "resultMethods": { |
439 | 529 | "type": "array",
|
440 | 530 | "items": {
|
441 | 531 | "type": "string"
|
442 | 532 | }
|
443 | 533 | }
|
444 | 534 | },
|
445 |
| - "additionalProperties": false, |
446 |
| - "description": "Allows you to configure behaviour of MainActivity" |
447 |
| - }, |
448 |
| - "settings_gradle": { |
449 |
| - "type": "object", |
450 |
| - "properties": {}, |
451 | 535 | "additionalProperties": false
|
452 | 536 | },
|
453 |
| - "gradle_wrapper_properties": { |
| 537 | + "SplashActivity_kt": { |
454 | 538 | "type": "object",
|
455 | 539 | "properties": {},
|
456 | 540 | "additionalProperties": false
|
457 | 541 | },
|
458 |
| - "SplashActivity_java": { |
459 |
| - "type": "object", |
460 |
| - "properties": {}, |
461 |
| - "additionalProperties": false |
462 |
| - }, |
463 |
| - "styles_xml": { |
| 542 | + "settings_gradle": { |
464 | 543 | "type": "object",
|
465 | 544 | "properties": {},
|
466 | 545 | "additionalProperties": false
|
467 | 546 | },
|
468 |
| - "colors_xml": { |
| 547 | + "gradle_wrapper_properties": { |
469 | 548 | "type": "object",
|
470 | 549 | "properties": {},
|
471 | 550 | "additionalProperties": false
|
|
791 | 870 | "description": "Build type of the pod"
|
792 | 871 | }
|
793 | 872 | },
|
794 |
| - "required": [ |
795 |
| - "git", |
796 |
| - "commit", |
797 |
| - "version", |
798 |
| - "podNames", |
799 |
| - "podName", |
800 |
| - "staticFrameworks", |
801 |
| - "isStatic", |
802 |
| - "buildType" |
803 |
| - ], |
804 | 873 | "additionalProperties": false
|
805 | 874 | },
|
806 | 875 | "tvos": {
|
|
0 commit comments