Commit 6e256e30dc6616b3ebea2e775fa60b3803bd82bb

Authored by weixin_45529955
1 parent b93f2f29

整理yaml文件鸿蒙和安卓iOS差异,并备注需要改动的地方

Showing 1 changed file with 57 additions and 31 deletions
@@ -348,6 +348,56 @@ dependencies: @@ -348,6 +348,56 @@ dependencies:
348 348
349 dependency_overrides: 349 dependency_overrides:
350 350
  351 + app_update_check_plugin:
  352 + path: library/app_update_check_plugin
  353 + flutter_udid:
  354 + git:
  355 + url: "https://gitcode.com/openharmony-sig/fluttertpc_flutter_udid.git"
  356 + path: "./"
  357 + ref: br_3.0.0_ohos
  358 +
  359 + flutter_barcode_scanner_ohos:
  360 + path: library/fluttertpc_flutter_barcode_scanner-af5d0e6d2bc53977f979c4f2b852f46274dc8405_new/ohos
  361 +
  362 + save_file:
  363 + path: library/save_file
  364 +
  365 + flutter_native_contact_picker:
  366 + git:
  367 + url: "https://gitcode.com/nutpi/flutter_native_contact_picker.git"
  368 + path: ""
  369 +
  370 +
  371 + image_picker_ohos:
  372 + git:
  373 + url: "https://gitcode.com/openharmony-tpc/flutter_packages.git"
  374 + path: "packages/image_picker/image_picker_ohos"
  375 + ref: br_image_picker-v1.1.2_ohos
  376 + #二选一 2.0.2版本 鸿蒙版和工程版本一致,但是比较老旧
  377 + package_info_plus:
  378 + git:
  379 + url: "https://gitcode.com/openharmony-sig/flutter_plus_plugins.git"
  380 + path: "packages/package_info_plus/package_info_plus"
  381 +
  382 + flutter_inappwebview_ohos:
  383 + git:
  384 + url: "https://gitcode.com/openharmony-sig/flutter_inappwebview.git"
  385 + path: "flutter_inappwebview_ohos"
  386 +
  387 +
  388 +
  389 +
  390 + # +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  391 +
  392 + # 以上部分不需要注释(安卓&&iOS)
  393 + # 以下部分鸿蒙需要打开,安卓和iOS需要注释
  394 +
  395 + # 1. 高德地图(两个文件,两个插件) map_choice_point_ohos
  396 + # 2. web_page_ohos
  397 + # 3. webview_page_ohos
  398 +
  399 +
  400 + # +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
351 401
352 # fluwx: 5.7.5 402 # fluwx: 5.7.5
353 # csp_amap_flutter_location: 403 # csp_amap_flutter_location:
@@ -362,27 +412,17 @@ dependency_overrides: @@ -362,27 +412,17 @@ dependency_overrides:
362 # url: "https://gitcode.com/astevencui/flutter_photo_manager" 412 # url: "https://gitcode.com/astevencui/flutter_photo_manager"
363 # contants_select: 413 # contants_select:
364 # path: library/contants_select 414 # path: library/contants_select
365 - app_update_check_plugin:  
366 - path: library/app_update_check_plugin  
367 - 415 +
368 # flutter_app_icon_badge: 416 # flutter_app_icon_badge:
369 # git: 417 # git:
370 # url: "https://gitcode.com/nutpi/flutter_app_icon_badge.git" 418 # url: "https://gitcode.com/nutpi/flutter_app_icon_badge.git"
371 # path: "" 419 # path: ""
372 420
373 - flutter_udid:  
374 - git:  
375 - url: "https://gitcode.com/openharmony-sig/fluttertpc_flutter_udid.git"  
376 - path: "./"  
377 - ref: br_3.0.0_ohos  
378 -  
379 - flutter_barcode_scanner_ohos:  
380 - path: library/fluttertpc_flutter_barcode_scanner-af5d0e6d2bc53977f979c4f2b852f46274dc8405_new/ohos 421 +
381 422
382 # path: ^1.9.1 423 # path: ^1.9.1
383 424
384 - save_file:  
385 - path: library/save_file 425 +
386 426
387 # flutter_sms: 427 # flutter_sms:
388 # git: 428 # git:
@@ -394,10 +434,7 @@ dependency_overrides: @@ -394,10 +434,7 @@ dependency_overrides:
394 # url: "https://gitcode.com/openharmony-sig/fluttertpc_flutter_document_picker.git" 434 # url: "https://gitcode.com/openharmony-sig/fluttertpc_flutter_document_picker.git"
395 # path: "./" 435 # path: "./"
396 436
397 - flutter_native_contact_picker:  
398 - git:  
399 - url: "https://gitcode.com/nutpi/flutter_native_contact_picker.git"  
400 - path: "" 437 +
401 438
402 # image_cropper: 439 # image_cropper:
403 # path: library/fluttertpc_image_cropper-65c2c99891882ea59732959a672f3d5993a837bb_new/image_cropper 440 # path: library/fluttertpc_image_cropper-65c2c99891882ea59732959a672f3d5993a837bb_new/image_cropper
@@ -446,11 +483,7 @@ dependency_overrides: @@ -446,11 +483,7 @@ dependency_overrides:
446 # path: "packages/sign_in_with_apple/sign_in_with_apple" 483 # path: "packages/sign_in_with_apple/sign_in_with_apple"
447 # ref: br_sign_in_with_apple_v5.0.0_ohos 484 # ref: br_sign_in_with_apple_v5.0.0_ohos
448 485
449 - image_picker_ohos:  
450 - git:  
451 - url: "https://gitcode.com/openharmony-tpc/flutter_packages.git"  
452 - path: "packages/image_picker/image_picker_ohos"  
453 - ref: br_image_picker-v1.1.2_ohos 486 +
454 487
455 # device_info_plus: 488 # device_info_plus:
456 # git: 489 # git:
@@ -458,11 +491,7 @@ dependency_overrides: @@ -458,11 +491,7 @@ dependency_overrides:
458 # path: "packages/device_info_plus/device_info_plus" 491 # path: "packages/device_info_plus/device_info_plus"
459 # ref: br_device_info_plus-v11.1.0_ohos 492 # ref: br_device_info_plus-v11.1.0_ohos
460 493
461 -#二选一 2.0.2版本 鸿蒙版和工程版本一致,但是比较老旧  
462 - package_info_plus:  
463 - git:  
464 - url: "https://gitcode.com/openharmony-sig/flutter_plus_plugins.git"  
465 - path: "packages/package_info_plus/package_info_plus" 494 +
466 495
467 # install_plugin: 496 # install_plugin:
468 # git: 497 # git:
@@ -502,10 +531,7 @@ dependency_overrides: @@ -502,10 +531,7 @@ dependency_overrides:
502 # path: "packages/shared_preferences/shared_preferences" 531 # path: "packages/shared_preferences/shared_preferences"
503 532
504 533
505 - flutter_inappwebview_ohos:  
506 - git:  
507 - url: "https://gitcode.com/openharmony-sig/flutter_inappwebview.git"  
508 - path: "flutter_inappwebview_ohos" 534 +
509 535
510 # url_launcher: 536 # url_launcher:
511 # git: 537 # git: